标签:部署 cte roo add art key set 环境 miss
管理网络:
eth0, nat
192.168.31.0/24
外部网络:
eth1, host only
192.168.32.0/24
数据网络:
eth2, lan
192.168.33.0/24
controller:
管理网络:eth0 192.168.31.10
外部网络:eth1 192.168.32.10
network:
管理网络:eth0 192.168.31.11
外部网络:eth1 192.168.32.11
数据网络:eth2 192.168.33.11
compute1:
管理网络:eth0 192.168.31.21
外部网络:eth1 192.168.32.21
数据网络:eth2 192.168.33.21
所有节点初始化
root@:~# echo "deb http://ubuntu-cloud.archive.canonical.com/ubuntu" "trusty-updates/kilo main" > /etc/apt/sources.list.d/cloudarchive-kilo.list
root@:~# apt-get update
root@:~# apt-get dist-upgrade
root@:~# apt-get install ubuntu-cloud-keyring
所有节点初始化
192.168.31.10? controller
192.168.31.11? network
192.168.31.21? compute1
root@:~# apt-get install ntp
部署在controller节点
root@controller:~# apt-get install mariadb-server python-mysqldb
root@controller:~# vi /etc/mysql/my.cnf
[mysqld]
bind-address = 192.168.31.10 #默认为管理网络ip,防止其他网络访问到核心数据库
default-storage-engine = innodb
innodb_file_per_table
collation-server = utf8_general_ci
init-connect = 'SET NAMES utf8'
character-set-server = utf8
root@controller:~# service mysql restart
部署在controller节点
root@controller:~# apt-get install rabbitmq-server
root@controller:~# rabbitmqctl add_user openstack RABBIT_PASS
Creating user "openstack" ...
root@controller:~# rabbitmqctl set_permissions openstack ".*" ".*" ".*"
Setting permissions for user "openstack" in vhost "/" ...
标签:部署 cte roo add art key set 环境 miss
原文地址:https://www.cnblogs.com/wshenjin/p/11365903.html