Horizon 为 Openstack 提供一个 WEB 前端的管理界面 (UI 服务 )通过 Horizone 所提供的 DashBoard 服务 , 管理员可以使用通过 WEB UI 对 Openstack 整体云环境进行管理 , 并可直观看到各种操作结果与运行状态。
安装:
# yum install openstack-dashboard -y
# vim /etc/openstack-dashboard/local_settings
OPENSTACK_HOST = "node1"
ALLOWED_HOSTS = ['horizon.example.com', 'localhost','*']
SESSION_ENGINE = 'django.contrib.sessions.backends.cache'
CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
'LOCATION': 'node1:11211',
},
}
OPENSTACK_KEYSTONE_MULTIDOMAIN_SUPPORT = True
OPENSTACK_API_VERSIONS = {
"identity": 3,
"image": 2,
"volume": 3,
}
OPENSTACK_KEYSTONE_DEFAULT_DOMAIN = 'Default'
OPENSTACK_KEYSTONE_DEFAULT_ROLE = "user"
TIME_ZONE = "UTC"
vim /etc/httpd/conf.d/openstack-dashboard.conf
WSGIApplicationGroup %{GLOBAL}
启动服务
# systemctl restart httpd.service memcached.service
搜索
复制
<iframe></iframe> 标签:WEB,cache,KEYSTONE,dashboard,OPENSTACK,openstack From: https://www.cnblogs.com/huxl1/p/16756126.html