OpenStack Pike Volet 5
OpenStack Pike Volet 5
2017/09/03
Volet 5
2
[root@dlp ~(keystone)]#
yum --enablerepo=centos-openstack-pike,epel -y install openstack-dashboard
[2] Configure Horizon.
[root@dlp ~(keystone)]#
vi /etc/openstack-dashboard/local_settings
# line 38: add Dashboard Host
ALLOWED_HOSTS = ['
dlp.srv.world
', 'localhost']
# line 64: uncomment like follows
OPENSTACK_API_VERSIONS = {
# "data-processing": 1.1,
"identity": 3,
"volume": 2,
"compute": 2,
}
OPENSTACK_KEYSTONE_MULTIDOMAIN_SUPPORT =
True
# line 97: uncomment
OPENSTACK_KEYSTONE_DEFAULT_DOMAIN = 'Default'
# line 162,163: change and add Memcache server
2
3
CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
'LOCATION': '10.0.0.30:11211',
},
}
OPENSTACK_HOST = "
10.0.0.30
"
OPENSTACK_KEYSTONE_URL = "http://%s:5000/
v3
" % OPENSTACK_HOST
OPENSTACK_KEYSTONE_DEFAULT_ROLE = "
user
"
[root@dlp ~(keystone)]#
systemctl restart httpd memcached
success
[root@dlp ~(keystone)]#
firewall-cmd --reload
success
Access to the URL below with web browser.
⇒ http://(server's hostname or IP address)/dashboard/
[5]
After accessing, following screen is displayed, then login with the admin user and password
(you set it on keystone bootstrap).
3
4
If it's OK to login normally, following screen is displayed. You can control Openstack on
[6]
this Dashboard.
4
5
To access an instance, Click [Instances] on the left menu. Then, instances' list is shown on
[7]
the right, next Click the name of instance you'd like to access.
5
6
6
7
[9] The console of instance is shown. You can operate instances on here.
7
8