hyilk 发表于 2014-5-22 09:03:57

CentOS 6.5 Openstack Icehouse 安装笔记

http://docs.openstack.org/icehouse/install-guide/install/yum/content/ch_preface.html
vmware workstation 下装一台CentOS 6.5, 然后复制出另外两台。
1, 架构


2, 基本环境,
2.1网络设置:
//我在vmware 里添加的网卡是host only。
controller:management: 192.168.1.210

network: management: 192.168.1.211
                      tennels:          192.168.2.211
                     external:不设置

compute1: management:192.168.1.212
                               tennels: 192.168.2.212

改一下 hosts文件, 测试都能ping通。

2.2 NTP:
所有节点:
# yum install ntp

controller:
# service ntpd start
# chkconfig ntpd on

其他节点:
/etc/ntp.conf 更改设置, server指向 controller。

2.3 database
controller:
# yum install mysql mysql-server MySQL-python
/etc/my.cnf

...
bind-address = 192.168.1.210


...
default-storage-engine = innodb
collation-server = utf8_general_ci
init-connect = 'SET NAMES utf8'
character-set-server = utf8
//下面这一段报错,不知道啥,先去掉了,以后再看。


// 先运行# service mysqld start报错了,然后我搜了一个下, 先运行
# mysql_install_db
# mysql_secure_installation
//delete the anonymous users, 其他的默认设置。

# service mysqld start
# chkconfig mysqld on

其他节点:
# yum install MySQL-python

2.4 安装openstack package
# yum install http://repos.fedorapeople.org/repos/openstack/openstack-icehouse/rdo-release-icehouse-3.noarch.rpm

//GPG key
# yum install http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm

# yum install openstack-utils
# yum install openstack-selinux
# yum upgrade

// 提示another app is holding the yum dock 的话,#rm -f /var/run/yum.pid

# reboot

2.5 message server

# yum install qpid-cpp-server

/etc/qpidd.conf
auth=no
//简单试一下,把认证关了。

# service qpidd start
# chkconfig qpidd on

//也可以自己装其他的message server

[*]RabbitMQ

[*]Qpid

[*]ZeroMQ


页: [1]
查看完整版本: CentOS 6.5 Openstack Icehouse 安装笔记