Advertisement
Guest User

Untitled

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