Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1.- Install Iso
- 2.- Config controlled (all in default values)
- 3.- Add remaining nodes into host inventory You can get the MAC address of the compute node with the following cmd:
- virsh domiflist compute-0 | grep virbr2
- 4.- On controller node, add the compute nodes as hosts, cmdline sample like below:
- controller $ source /etc/nova/openrc
- ~(keystone_admin)$ system host-add -n compute-0 -p compute -m <mac-address>
- 5.- Start compute nodes
- Double click the compute nodes kvms in the virt-manager window.
- 6.- The compute nodes will install OS automatically through pxeboot.
- ~(keystone_admin)$ system host-show compute-0 | grep install
- [wrsroot@controller-0 ~(keystone_admin)]$ system host-show compute-0 | grep install
- | install_output | text |
- | install_state | installing |
- | install_state_info | 70/1085
- 7.- Unlock the controller.
- ~(keystone_admin)$ system host-unlock controller-0
- 8. Provision compute nodes with network and storage, and unlock the compute node
- On host, copy the provision script to controller-0 node
- $ scp provisioning_scripts/provision_compute.sh wrsroot@10.10.10.3:~/
- controller $ ./provision_compute.sh
- # be patient and wait for all compute nodes reboot after unlock
- 9. Check services
- [wrsroot@controller-0 ~(keystone_admin)]$ nova service-list
- +--------------------------------------+------------------+--------------+----------+----------+-------+----------------------------+-----------------+-------------+
- | Id | Binary | Host | Zone | Status | State | Updated_at | Disabled Reason | Forced down |
- +--------------------------------------+------------------+--------------+----------+----------+-------+----------------------------+-----------------+-------------+
- | cd5b4884-ba81-42a5-ba1e-85fffcb6971c | nova-consoleauth | controller-0 | internal | enabled | up | 2018-06-21T15:56:29.990016 | - | False |
- | 7d77829b-b04f-4947-91d4-b6f8e9c968c0 | nova-scheduler | controller-0 | internal | enabled | up | 2018-06-21T15:56:31.409144 | - | False |
- | ec25791c-f51c-4def-b162-a85144c8888b | nova-conductor | controller-0 | internal | enabled | up | 2018-06-21T15:56:31.482403 | - | False |
- | 6e2de650-10e3-4eec-b3c7-c5164b7fb822 | nova-compute | compute-0 | nova | disabled | down | 2018-06-21T15:23:29.391252 | disabled by VIM | True |
- +--------------------------------------+------------------+--------------+----------+----------+-------+----------------------------+-----------------+-------------+
- [wrsroot@controller-0 ~(keystone_admin)]$ neutron agent-list
- neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.
- +--------------------------------------+--------------------+-----------+-------------------+-------+----------------+---------------------------+
- | id | agent_type | host | availability_zone | alive | admin_state_up | binary |
- +--------------------------------------+--------------------+-----------+-------------------+-------+----------------+---------------------------+
- | 6ffe98f9-2c8f-4f67-a5fc-98c5347e035e | DHCP agent | compute-0 | nova | :-) | True | neutron-dhcp-agent |
- | c4a4b1db-f69a-491f-bfaa-00bedcb8e0bd | Metadata agent | compute-0 | | :-) | True | neutron-metadata-agent |
- | dbbd7496-cc07-458e-b220-4bc33ba884e0 | NIC Switch agent | compute-0 | | :-) | True | neutron-sriov-nic-agent |
- | 9fd86128-ef20-46e6-b46d-ca29c64f8ac9 | L3 agent | compute-0 | nova | :-) | True | neutron-l3-agent |
- | 684d415e-efd8-4afb-97f8-7a9033f7cc6e | Open vSwitch agent | compute-0 | | :-) | True | neutron-openvswitch-agent |
- +--------------------------------------+--------------------+-----------+-------------------+-------+----------------+---------------------------+
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement