Dashboard集群
生活随笔
收集整理的這篇文章主要介紹了
Dashboard集群
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
#Dashboard集群
?openstack pike 部署 目錄匯總?http://www.cnblogs.com/elvi/p/7613861.html
##8.Dashboard集群#####在controller1安裝配置#安裝 yum install openstack-dashboard -y#配置 cp /etc/openstack-dashboard/local_settings{,.bak} #egrep -v '#|^$' /etc/openstack-dashboard/local_settings #顯示默認(rèn)配置 Setfiles=/etc/openstack-dashboard/local_settings sed -i 's#_member_#user#g' $Setfiles sed -i 's#OPENSTACK_HOST = "127.0.0.1"#OPENSTACK_HOST = "controller"#' $Setfiles ##允許所有主機訪問# sed -i "/ALLOWED_HOSTS/cALLOWED_HOSTS = ['*', ]" $Setfiles #去掉memcached注釋# sed -in '153,158s/#//' $Setfiles sed -in '160,164s/.*/#&/' $Setfiles sed -i 's#UTC#Asia/Shanghai#g' $Setfiles sed -i 's#%s:5000/v2.0#%s:5000/v3#' $Setfiles sed -i '/ULTIDOMAIN_SUPPORT/cOPENSTACK_KEYSTONE_MULTIDOMAIN_SUPPORT = True' $Setfiles sed -i "s@^#OPENSTACK_KEYSTONE_DEFAULT@OPENSTACK_KEYSTONE_DEFAULT@" $Setfiles echo ' #set OPENSTACK_API_VERSIONS = {"identity": 3,"image": 2,"volume": 2, } #'>>$Setfiles # systemctl restart httpd#訪問 # http://vip/dashboard/# http集群,前面步驟已配置http://www.cnblogs.com/elvi/p/7736570.html #########其它節(jié)點配置controller2,controller3#同步controller1配置到其它節(jié)點 rsync -avzP -e 'ssh -p 22' /etc/openstack-dashboard/local_settings controller2:/etc/openstack-dashboard/ rsync -avzP -e 'ssh -p 22' /etc/openstack-dashboard/local_settings controller3:/etc/openstack-dashboard/#重啟http ssh controller2 "systemctl restart httpd" ssh controller3 "systemctl restart httpd"
?
轉(zhuǎn)載于:https://www.cnblogs.com/elvi/p/7736724.html
創(chuàng)作挑戰(zhàn)賽新人創(chuàng)作獎勵來咯,堅持創(chuàng)作打卡瓜分現(xiàn)金大獎總結(jié)
以上是生活随笔為你收集整理的Dashboard集群的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 软工Hello World!团队第二周博
- 下一篇: Python 字典 values() 方