Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install dashboard in openstack-mitaka

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

Editor to share with you how to install dashboard in openstack-mitaka, I believe most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!

Install and configure components

1. Install the package

Yum install openstack-dashboard

two。 Edit the / etc/openstack-dashboard/local_settings file and modify the operation:

L configure dashboard to use OpenStack services at the control node

OPENSTACK_HOST = "controller"

L allow all hosts to access dashboard

ALLOWED_HOSTS = ['*',]

L configure memcached session storage service

SESSION_ENGINE = 'django.contrib.sessions.backends.cache'

CACHES = {'default': {' BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',' LOCATION': 'controller:11211',}}

L Open Identity API version 3

OPENSTACK_KEYSTONE_URL = "http://%s:5000/v3"% OPENSTACK_HOST

L enable support for domains

OPENSTACK_KEYSTONE_MULTIDOMAIN_SUPPORT = True

L configure API version

OPENSTACK_API_VERSIONS = {"identity": 3, "image": 2, "volume": 2,}

L configure default as the default domain when creating users through dashboard

OPENSTACK_KEYSTONE_DEFAULT_DOMAIN = "default"

L configure user as the default role when creating users through dashboard

OPENSTACK_KEYSTONE_DEFAULT_ROLE = "user"

L how to choose network mode 1, you need to turn off support for layer-3 network services (previously selected mode 2, so ignored here)

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,}

L configure when time and space

TIME_ZONE = "TIME_ZONE"

Replace TIME_ZONE with the appropriate time and space identifier. For more information, see list of time zones.

Complete the installation

1. Restart the web server and session storage service

Systemctl restart httpd.service memcached.service authentication operation

Access http://controller/dashboard with browser

Account number: admin/admin or demo / demo

Domain: default

The above is all the contents of the article "how to install dashboard in openstack-mitaka". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report