1. 程式人生 > >私有云落地解決方案之openstack高可用(pike版本)-horizon

私有云落地解決方案之openstack高可用(pike版本)-horizon

作者:【吳業亮】

安裝rpm包

# yum  -y install openstack-dashboard

修改配置檔案 /etc/openstack-dashboard/local_settings

ALLOWED_HOSTS = ['*', 'localhost']
OPENSTACK_API_VERSIONS = {
#    "data-processing": 1.1,
    "identity": 3,
    "volume": 2,
    "compute": 2,
}


OPENSTACK_KEYSTONE_MULTIDOMAIN_SUPPORT = True
OPENSTACK_KEYSTONE_DEFAULT_DOMAIN = 'Default'
CACHES = { 'default': { 'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache', 'LOCATION': '172.16.100.60:11211', }, } OPENSTACK_HOST = "172.16.100.50" OPENSTACK_KEYSTONE_URL = "http://%s:5000/v3" % OPENSTACK_HOST OPENSTACK_KEYSTONE_DEFAULT_ROLE = "user"

重啟服務

# systemctl restart httpd memcached

登入web

http://172.16.8.50/dashboard

admin/Changeme_123
demo/Changeme_123