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

相关文章
相关标签/搜索