标签:volume tin proc ... emctl sock image yum physical
Dashboard简介Dashboard(horizon)是一个web接口,使得云平台管理员以及用户可以管理不同的Openstack资源以及服务。
这个部署示例使用的是 Apache Web 服务器。
# yum install openstack-dashboard -y
# vim /etc/openstack-dashboard/local_settings
//188
OPENSTACK_HOST = "controller"
//38
ALLOWED_HOSTS = [‘*‘]
配置memcache会话存储
//50
SESSION_ENGINE = ‘django.contrib.sessions.backends.cache‘
//注释166-170 去掉注释159-164
CACHES = {
‘default‘: {
‘BACKEND‘: ‘django.core.cache.backends.memcached.MemcachedCache‘,
‘LOCATION‘: ‘controller:11211‘,
}
}
开启身份认证API 版本v3
//190行
OPENSTACK_KEYSTONE_URL = "http://%s:5000/v3" % OPENSTACK_HOST
开启domains版本支持
//76 行
OPENSTACK_KEYSTONE_MULTIDOMAIN_SUPPORT = True
配置API版本
//65行
OPENSTACK_API_VERSIONS = {
"identity": 3,
"image": 2,
"volume": 2,
}
//98
OPENSTACK_KEYSTONE_DEFAULT_DOMAIN = "Default"
//324
OPENSTACK_NEUTRON_NETWORK = {
‘enable_router‘: False,
‘enable_quotas‘: False,
‘enable_distributed_router‘: False,
‘enable_ha_router‘: False,
‘enable_lb‘: False,
‘enable_firewall‘: False,
‘enable_***‘: False,
‘enable_fip_topology_check‘: False,
}
369注释掉 #‘supported_vnic_types‘: [‘*‘],
375注释掉 #‘physical_networks‘: [],
修改重启web服务和会话存储
# vim /etc/httpd/conf.d/openstack-dashboard.conf
WSGISocketPrefix run/wsgi
WSGIApplicationGroup %{GLOBAL}
//添加(将IApplicationGroup设置为GLOBAL 全局变量) 否则页面打不开
# systemctl restart httpd.service
# systemctl restart memcached.service
http://192.168.200.133/dashboard
domain: default
用户名:admin
密码:ADMIN_PASS
OpenStack搭建企业私有云 五: Dashboard(持续更新...)
标签:volume tin proc ... emctl sock image yum physical
原文地址:http://blog.51cto.com/13630803/2171424