@@ -42,6 +42,7 @@ provisioning the following configuration can be used::
4242 floating_ip:
4343 start: "172.16.0.101"
4444 end: "172.16.0.150"
45+
4546 EOF
4647
4748.. note :: Change nic names for the bridget networks to match hypervisor interfaces.
@@ -51,86 +52,39 @@ provisioning the following configuration can be used::
5152Create configurations files for the virtual nodes
5253-------------------------------------------------
5354
54- Next step is to deploy virtual nodes for the hybrid cloud: ``controller `` and ``undercloud ``.
55+ Next step is to add network topology of virtual nodes for the hybrid cloud: ``controller `` and ``undercloud ``.
5556Interface section for every node configuration should match to the network configuration.
5657
57- Create controller configuration::
58-
59- cat << EOF > plugins/virsh/vars/topology/nodes/hybrid_controller.yml
60- name: controller
61- prefix: null
62- cpu: "4"
63- cpumodel: "host-model"
64- memory: "8192"
65- swap: "0"
66- os:
67- type: "linux"
68- variant: "rhel7"
69- disks:
70- disk1:
71- import_url: null
72- path: "/var/lib/libvirt/images"
73- dev: "/dev/vda"
74- size: "40G"
75- cache: "unsafe"
76- preallocation: "metadata"
77- interfaces:
78- - network: "br-ctlplane"
79- bridged: yes
80- - network: "br-vlan"
81- bridged: yes
82- - network: "br-link"
83- bridged: yes
84- - &external
85- network: management
86- external_network: *external
87-
88- groups:
89- - controller
90- - openstack_nodes
91- - overcloud_nodes
92- - network
9358
59+ Add controller configuration::
60+
61+ cat << EOF >> plugins/virsh/vars/topology/network/3_bridges_1_net.yml
62+ nodes:
63+ undercloud:
64+ interfaces:
65+ - network: "br-ctlplane"
66+ bridged: yes
67+ - network: "management"
68+ external_network:
69+ network: "management"
9470 EOF
9571
9672
97- Create undercloud configuration::
98-
99- cat << EOF > plugins/virsh/vars/topology/nodes/hybrid_undercloud.yml
100- name: undercloud
101- prefix: null
102- cpu: "4"
103- cpumodel: "host-model"
104- memory: "16384"
105- swap: "0"
106- os:
107- type: "linux"
108- variant: "rhel7"
109- disks:
110- disk1:
111- import_url: null
112- path: "/var/lib/libvirt/images"
113- dev: "/dev/vda"
114- size: "40G"
115- cache: "unsafe"
116- preallocation: "metadata"
117- interfaces:
118- - network: "br-ctlplane"
119- bridged: yes
120- - network: "br-vlan"
121- bridged: yes
122- - network: "br-link"
123- bridged: yes
124- - &external
125- network: management
126- external_network: *external
127-
128- groups:
129- - undercloud
130- - tester
131- - openstack_nodes
132- EOF
73+ Add undercloud configuration::
13374
75+ cat << EOF >> plugins/virsh/vars/topology/network/3_bridges_1_net.yml
76+ controller:
77+ interfaces:
78+ - network: "br-ctlplane"
79+ bridged: yes
80+ - network: "br-vlan"
81+ bridged: yes
82+ - network: "br-link"
83+ bridged: yes
84+ - network: "management"
85+ external_network:
86+ network: "management"
87+ EOF
13488
13589Provision virtual nodes with virsh plugin
13690-----------------------------------------
@@ -139,7 +93,7 @@ Once node configurations are done, the ``virsh`` plugin can be used to provision
13993on a dedicated hypervisor::
14094
14195 infrared virsh -v \
142- --topology-nodes hybrid_undercloud :1,hybrid_controller :1 \
96+ --topology-nodes undercloud :1,controller :1 \
14397 -e override.controller.memory=28672 \
14498 -e override.undercloud.memory=28672 \
14599 -e override.controller.cpu=6 \
@@ -149,7 +103,6 @@ on a dedicated hypervisor::
149103 --topology-network 3_bridges_1_net
150104
151105
152-
153106Install undercloud
154107------------------
155108Make sure you provide the undercloud.conf which corresponds
0 commit comments