Openstack配置手册-前期准备

snow chuai汇总、整理、撰写---2020/2/5


1.Openstack各版本发布时间
版本名称          发布日志                   结束日期
Austin    ===>   2010-10-21        ===>   ----------
Bexar     ===>   2011-02-03        ===>   ----------
Cactus    ===>   2011-04-15        ===>   ----------
Diablo    ===>   2011-09-22        ===>   2013-05-06
Essex     ===>   2012-04-05        ===>   2013-05-06
Folsom    ===>   2012-09-27        ===>   2013-11-19
Grizzly   ===>   2013-04-04        ===>   2014-04-29
Havana    ===>   2013-10-17        ===>   2014-09-30
Icehouse  ===>   2014-04-17        ===>   2015-07-02
Juno      ===>   2014-10-16        ===>   2015-12-07
Kilo      ===>   2015-04-30        ===>   2016-05-02
Liberty   ===>   2015-10-15        ===>   2016-11-17
Mitaka    ===>   2016-04-07        ===>   2017-04-10
Newton    ===>   2016-10-06        ===>   2017-10-25
Ocata     ===>   2017-02-22        ===>   待定
Pike      ===>   2017-08-30        ===>   待定
Queens    ===>   2018-02-28        ===>   待定
Rocky     ===>   2018-08-30        ===>   待定
Stein     ===>   2019-04-10        ===>   预计时间:2020-11-11
Train     ===>   2019-10-16        ===>   预计时间:2021-04-16
Ussuri    ===>   2020-05-13        ===>   预计时间:2021-11-12
Victoria  ===>   预计:2020-10-14    ===>   待定

详细情况请查询:Openstack Releases
2.NTP配置
[root@node1]# yum install chrony -y
[root@node1]# vim /etc/chrony.conf
# 修改第3行,将NTP Server改为cn服务器
server 0.cn.pool.ntp.org iburst
server 1.cn.pool.ntp.org iburst
server 2.cn.pool.ntp.org iburst
server 3.cn.pool.ntp.org iburst
# 修改第25行,允许本地其他服务器同步 allow 192.168.10.0/24
[root@node1 ~]# systemctl restart chronyd # 确认同步信息 [root@node1 ~]# chronyc sources
3. 添加Openstack-Queens源
[root@node1 ~]# yum install centos-release-openstack-queens -y
[root@node1 ~]# sed -i -e "s/enabled=1/enabled=0/g" /etc/yum.repos.d/CentOS-OpenStack-queens.repo
4. 安装MairaDB
[root@node1 ~]# yum --enablerepo=centos-openstack-queens install mariadb-server -y
[root@node1 ~]# vim /etc/my.cnf #于[mysqld]区段最后添加如下内容 [mysqld] character-set-server=utf8
[root@node1 ~]# systemctl enable --now mariadb
# 密码设置为password [root@node1 ~]# mysql_secure_installation
5. 安装及配置Memcached与RabbitMQ
[root@node1 ~]# yum --enablerepo=epel install rabbitmq-server memcached -y
[root@node1 ~]# systemctl enable --now rabbitmq-server memcached
[root@node1 ~]# rabbitmqctl add_user openstack password
[root@node1 ~]# rabbitmqctl set_permissions openstack ".*" ".*" ".*"
# 防火墙设定 [root@node1 ~]# firewall-cmd --add-port={11211/tcp,5672/tcp} --permanent success [root@node1 ~]# firewall-cmd --reload success

 

如对您有帮助,请随缘打个赏。^-^

gold