CentOS7.1 Liberty云平台之Dashboard篇(7)

控制节点:

一、安装及配置Dashboard

1.安装dashboard相关包

yum install openstack-dashboard

2.配置/etc/openstack-dashboard/local_settings

OPENSTACK_HOST = "controller"
ALLOWED_HOSTS = ['*', ]
CACHES = {
    'default': {
         'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
         'LOCATION': '127.0.0.1:11211',
    }
}         #凝视掉其它CACHES
OPENSTACK_KEYSTONE_DEFAULT_ROLE = "user"
OPENSTACK_KEYSTONE_MULTIDOMAIN_SUPPORT = True
OPENSTACK_API_VERSIONS = {
    "identity": 3,
    "volume": 2,
}
OPENSTACK_NEUTRON_NETWORK = {
    ...
    'enable_router': False,
    'enable_quotas': False,
    'enable_distributed_router': False,
    'enable_ha_router': False,
    'enable_lb': False,
    'enable_firewall': False,
    'enable_vpn': False,
    'enable_fip_topology_check': False,
}
TIME_ZONE = "Asia/Shanghai"

3.重新启动httpd、memcached服务

systemctl restart httpd.service memcached.service

二、验证安装

打开谷歌或火狐浏览器,输入http://controller/dashboard,显演示样例如以下:


输入默认域、admin用户及password,显演示样例如以下:





posted on 2017-08-11 08:39  blfbuaa  阅读(230)  评论(0编辑  收藏  举报