Tungsten fabric deploy
发布日期:2022-02-12 16:07:01 浏览次数:2 分类:技术文章

本文共 1707 字,大约阅读时间需要 5 分钟。

 

1.

Deploy 节点:

yum -y install epel-release yum install -y python-pippip install requests
yum -y install gitpip install ansible==2.5.2.0

 其他节点:yum -y install epel-release

git clone http://github.com/Juniper/contrail-ansible-deployercd contrail-ansible-deployer
ssh-copy-id 192.168.1.100yum install -y ansible-2.4.2.0 #注意版本号,来用deploy当前r5.1#For Contrail R5.0 use git clone -b R5.0 http://github.com/Juniper/contrail-ansible-deployer#For master branch usegit clone http://github.com/Juniper/contrail-ansible-deployercd contrail-ansible-deployeransible-playbook -i inventory/ -e orchestrator=kubernetes -e '{"instances":{"bms1":{"ip":"192.168.1.100","provider":"bms"}}}' playbooks/configure_instances.ymlansible-playbook -i inventory/ -e orchestrator=kubernetes -e '{"instances":{"bms1":{"ip":"192.168.1.100","provider":"bms"}}}' playbooks/install_contrail.ymlansible-playbook -i inventory/ -e orchestrator=kubernetes -e '{"instances":{"bms1":{"ip":"192.168.1.100","provider":"bms"}}}' playbooks/install_k8s.yml

 

单节点instance.yaml配置:
provider_config:
  bms:
    ssh_pwd: contrail123
    ssh_user: root
    ntpserver: pool.ntp.org
    domainsuffix: local
instances:
  bms1:
    provider: bms
    ip: 172.xx.xx.240
    roles:
      config_database:
      config:
      control:
      analytics_database:
      analytics:
      webui:
      vrouter:
      openstack:
      openstack_compute:
global_configuration:
  CONTAINER_REGISTRY: opencontrailnightly
  REGISTRY_PRIVATE_INSECURE: True
contrail_configuration:
  CLOUD_ORCHESTRATOR: openstack
  OPENSTACK_VERSION: queens
  CONTRAIL_VERSION: r5.1
  VROUTER_GATEWAY: 192.168.1.1
  AUTH_MODE: keystone
  KEYSTONE_AUTH_URL_VERSION: /v3
kolla_config:
  kolla_globals:
    enable_haproxy: no
    enable_ironic: no
    enable_swift: no
  kolla_passwords:
    keystone_admin_password: contrail123

 

 

 

 

 

 

 

转载地址:https://blog.csdn.net/wellsmith/article/details/94441125 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!

上一篇:Openstack Neutron 专题
下一篇:ansible

发表评论

最新留言

路过按个爪印,很不错,赞一个!
[***.191.171.21]2022年06月17日 19时49分32秒

关于作者

    喝酒易醉,品茶养心,人生如梦,品茶悟道,何以解忧?唯有杜康!
-- 愿君每日到此一游!

最新文章