节点规划
Controller:openstack1
Computer:openstack2、openstack3
openstack1
1.下载依赖包
1)yum -y install mysql
2)yum -y install mysql-server
3)yum -y install MySQL-python
4)yum -y install openstack-utils
5)yum -y install qpid-cpp-server
2.MySQL文件配置
1)vi /etc/my.cnf
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
user=mysql
symbolic-links=0
default-storage-engine = innodb
innodb_file_per_table
collation-server = utf8_general_ci
init-connect = 'SET NAMES utf8'
character-set-server = utf8
3.开启MySQL
1)service mysqld restart
2)chkconfig mysqld on
4.MySQL权限配置
1)mysql_install_db
2)mysql_secure_installation
New password:123456
3)mysql -uroot -p123456
mysql> use mysql
mysql> update user set host=’%’ where host=‘localhost’;
mysql> update user set password=PASSWORD(‘123456’) where user=‘root’;
mysql> flush privileges;
mysql> exit
5.qpidd配置
1)vi /etc/qpidd.conf
auth=no
6.开启qpidd
1)service qpidd restart
2)chkconfig qpidd on
7.关闭防火墙
1)service iptables stop
2)chkconfig iptables off
openstack2
1.下载依赖包
1)yum -y install MySQL-python
2)yum -y install openstack-utils
2.关闭防火墙
1)service iptables stop
2)chkconfig iptables off
openstack3
1.下载依赖包
1)yum -y install MySQL-python
2)yum -y install openstack-utils
2.关闭防火墙
1)service iptables stop
2)chkconfig iptables off