Centos0S7手动安装OpenStack Pike版--

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Centos0S7手动安装OpenStack Pike版--相关的知识,希望对你有一定的参考价值。

[[email protected] ~]# cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
192.168.137.145 controller
192.168.137.146 compute
192.168.137.149 storage

#Install ALL Packages and Configure Evironment

yum install centos-release-openstack-pike -y
yum install python-openstackclient -y
yum install openstack-selinux -y

yum install mariadb mariadb-server python2-Pymysql -y
yum install rabbitmq-server -y
yum install memcached python-memcached -y
yum install etcd -y
yum install openstack-keystone httpd mod_wsgi -y
yum install openstack-glance -y
yum install -y openstack-nova-api openstack-nova-conductor \
openstack-nova-console openstack-nova-novncproxy \
openstack-nova-scheduler openstack-nova-placement-api
yum install -y openstack-neutron openstack-neutron-ml2 \
openstack-neutron-linuxbridge ebtables

#Configure RabbitMQ
systemctl enable rabbitmq-server.service
systemctl start rabbitmq-server.service
systemctl status rabbitmq-server.service

rabbitmqctl add_user openstack passwd123
rabbitmqctl set_permissions openstack "." "." ".*"

#Configure Memcached
vim /etc/sysconfig/memcached
OPTIONS="-l 127.0.0.1,::1,controller"
systemctl enable memcached.service
systemctl start memcached.service

OpenStack服务可以使用户可靠,分布式键值存储的分布式密钥锁定,存储配置,跟踪服务活性等情况。
#Configure Etcd
vim /etc/etcd/etcd.conf
[[email protected] ~]# vim /etc/etcd/etcd.conf

#[Member]
ETCD_DATA_DIR="/var/lib/etcd/default.etcd"
ETCD_LISTEN_PEER_URLS="http://192.168.137.145:2380"
ETCD_LISTEN_CLIENT_URLS="http://192.168.137.145:2379"
ETCD_NAME="controller"

#[Clustering]
ETCD_INITIAL_ADVERTISE_PEER_URLS="http://192.168.137.145:2380"
ETCD_ADVERTISE_CLIENT_URLS="http://192.168.137.145:2379"
ETCD_INITIAL_CLUSTER="controller=http://192.168.137.145:2380"
ETCD_INITIAL_CLUSTER_TOKEN="etcd-cluster-01"
ETCD_INITIAL_CLUSTER_STATE="new"

systemctl enable etcd
systemctl start etcd
systemctl status etcd

以上是关于Centos0S7手动安装OpenStack Pike版--的主要内容,如果未能解决你的问题,请参考以下文章

Centos0S7手动安装OpenStack Pike版--

Centos0S7手动安装OpenStack Pike版--

Centos0S7手动安装OpenStack Pike版--

ubuntu20.04手动安装openstack(双节点)

OpenStack手动安装手册即错误排查(Icehouse)

手动安装openstack并配置虚拟化集成VM