OpenStack Ussuri : Configure Horizon2020/06/07 |
Configure OpenStack Dashboard Service (Horizon).
It's possible to control OpenStack on Web GUI to set Dashboard. |
|
[1] | Install Horizon. |
root@dlp ~(keystone)# apt -y install openstack-dashboard
|
[2] | Configure Horizon. |
root@dlp ~(keystone)#
vi /etc/openstack-dashboard/local_settings.py # line 99: change Memcache server
CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
'LOCATION': '10.0.0.30:11211',
},
}
# line 113: add SESSION_ENGINE = "django.contrib.sessions.backends.cache" # line 126: set Openstack Host # line 127: comment out and add a line to specify URL of Keystone Host OPENSTACK_HOST = " 10.0.0.30 "# OPENSTACK_KEYSTONE_URL = "http://%s/identity/v3" % OPENSTACK_HOSTOPENSTACK_KEYSTONE_URL = "http://10.0.0.30:5000/v3"
# line 131: set your timezone TIME_ZONE = " Asia/Tokyo "
# add to the end OPENSTACK_KEYSTONE_MULTIDOMAIN_SUPPORT = True OPENSTACK_KEYSTONE_DEFAULT_DOMAIN = 'Default' OPENSTACK_API_VERSIONS = { "identity": 3, "volume": 3, "compute": 2, } systemctl restart apache2
|
[3] |
Access to the URL below with any web browser.
After accessing, following screen is displayed, then you can login with a user in Keystone.⇒ http://(server's hostname or IP address)/horizon/ It's possible to use all features if you login with [admin] user when you set it on keystone bootstrap. If you login with a common user, it's possible to use or manage own instances. |
[4] | After login successfully, following screen is displayed (with common user). You can control Openstack on this Dashboard. |
[5] | To access an instance, Click [Instances] on the left menu. Then, instances' list is shown on the right, next Click the name of instance you'd like to access. |
[6] | The description of instance is shown, next, Click [Console] tab. |
[7] | The console of instance is shown. You can operate instances on here. |
Sponsored Link |