Openstack(十五)快速添加新计算节点

 

 

 

当后期添加新物理服务器作为计算节点,如果按照上面的过程安装配置的话会非常的慢,但是可以通过复制配置文件的方式快速添加。

15.1计算节点服务安装

#提前将yum仓库、防火墙、selinux、主机名、时间同步等配置完毕。

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

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

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

# yum install -y python-openstackclient openstack-selinux openstack-neutron-linuxbridge ebtables ipset #安装全部相关rpm包

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

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

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

# vim /etc/nova/nova.conf

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管理端验证实例

 

posted @ 2018-04-03 14:47  shuyang  阅读(619)  评论(0编辑  收藏  举报