-
Notifications
You must be signed in to change notification settings - Fork 105
openstack_deploy
遇见王斌 edited this page Oct 10, 2017
·
14 revisions
git clone https://github.com/BillWang139967/openstack_install.git
openstack_install/etc/main-config.rc
修改
# controller IP
CONTROLLER_NODES_IP="192.168.1.32"
# computer IP
COMPUTE_NODES_IP="192.168.1.128"
# provider 物理网卡名称
PROVIDER_INTERFACE="ens36"
#bash main-installer.sh controller install
#hostnamectl set-hostname compute1
注:如果是第二台计算节点,则主机名修改为compute2
计算节点是通过主机名
来判断执行的机器是哪台的 compute
#bash main-installer.sh compute install
# Provider networks
NETWORK_OPT="provider"
# Self-service networks
NETWORK_OPT="self-service"
个人理解是,provider 和 self-service 网络是包含关系,self-service 在 provider 的基础上添加了 vxlan 的支持,同时增加了 neutron-l3-agent 服务(路由管理)
查看对应服务日志查找解决方法,同时可以根据
停
比如修改 compute1 物理机 IP 时,可以修改配置文件后,再执行以下操作
#rm -rf /etc/openstack-control-script-config
#bash main-installer.sh compute