一.controller节点服务配置
1.配置ssh免密登录
ssh-keygen # 一直回车,别输密码
ssh-copy-id -i /root/.ssh/id_rsa.pub controller # ssh该机器无需密码配置,无需密码就是回车
ssh-copy-id -i /root/.ssh/id_rsa.pub computea
ssh-copy-id -i /root/.ssh/id_rsa.pub computeb
控制节点对三个节点都要输,略
2. 配置数据库mariadb
yum -y install mariadb-server python2-PyMySQL # 和MySQL一个东西
vim /etc/my.cnf.d/openstack.cnf
[mysqld]
bind-address = controller
default-storage-engine = innodb
innodb_file_per_table = on
max_connections = 4096
collation-server = utf8_general_ci
character-s