Openstack(十五)快速添加新計算節點

 

 

 

當後期添加新物理服務器做爲計算節點,若是按照上面的過程安裝配置的話會很是的慢,可是能夠經過複製配置文件的方式快速添加。python

15.1計算節點服務安裝

#提早將yum倉庫、防火牆、selinux、主機名、時間同步等配置完畢。linux

# yum install -y net-tools vim lrzsz tree screen lsof tcpdumpvim

# yum install centos-release-openstack-ocata.noarchcentos

# yum install -y https://rdoproject.org/repos/rdo-release.rpm服務器

# yum install -y python-openstackclient openstack-selinux openstack-neutron-linuxbridge ebtables ipset #安裝所有相關rpm包tcp

# scp -P30022  /etc/neutron/neutron.conf  192.168.10.203:/etc/neutron/neutron.confrest

# scp  -P2021  /etc/neutron/plugins/ml2/linuxbridge_agent.ini   192.168.10.203:/etc/neutron/plugins/ml2/linuxbridge_agent.iniserver

# scp  -P2021  /etc/nova/nova.conf   192.168.10.203:/etc/nova/nova.confblog

# vim /etc/nova/nova.confip

9728 vncserver_proxyclient_address=192.168.10.203 #改成計算節點的IP

15.2計算節點啓動服務

# systemctl enable  openstack-nova-compute.service

# systemctl start openstack-nova-compute.service

# systemctl  restart neutron-linuxbridge-agent libvirtd.service

15.3控制端驗證nova註冊和neutron

# nova service-list

# neutron agent-list

15.4驗證虛擬機可否運行

15.4.1新建兩臺實例

15.4.2計算節點驗證虛擬機

14.4.3管理端驗證明例

相關文章
相關標籤/搜索