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

OpenStack architecture-horizon components (5)

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

Foreword:

The basic management service consists of five Keystone,Glance,Nova,Neutron,Horizon services. This blog focuses on the deployment of horizon components.

Horizon: console service, which provides the management of all services on all nodes in the form of Web, which is commonly referred to as DashBoard.

Experimental environment: host system IP address corner color controllerCentOS7192.168.37.128keystone, nova, glance, neutron, horizon, ntp, mariadb, rabbitmq, memcached, etcd, apachecomputeCentOS7192.168.37.130nova, neutron, ntpcinderCentOS7192.168.37.131cinder, ntp experimental process:

1. Yum installs the dashboard service

Yum install openstack-dashboard-y

2. Edit the configuration file

Vim / etc/openstack-dashboard/local_settings

# 188OPENSTACK_HOST = "controller" # 38ALLOWED_HOSTS = ['*'] * * configure memcache session Storage * * add SESSION_ENGINE = 'django.contrib.sessions.backends.cache'# comments 166170 remove annotations 159Dot 164CACHES = {' default': {'BACKEND':' django.core.cache.backends.memcached.MemcachedCache', 'LOCATION':' controller:11211' }} * * enable authentication API version v3 authentication domains 190 without modification OPENSTACK_KEYSTONE_URL = "http://%s:5000/v3"% OPENSTACK_HOST** enable domains version support * * # 75OPENSTACK_KEYSTONE_MULTIDOMAIN_SUPPORT = True** configuration API version * * # 65OPENSTACK_API_VERSIONS = {" identity ": 3," image ": 2," volume ": 2 } # 98OPENSTACK_KEYSTONE_DEFAULT_DOMAIN = "Default" # 324 change to falseOPENSTACK_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 } * * comment out: 365 lines * * # 'supported_vnic_types': [' *'], # 'physical_networks': []

3. Restart web service and session storage

Systemctl restart httpd.service

Systemctl restart memcached.service

4. Test

Http://192.168.175.145/dashboard domain: default username: admin password: 123456

Note: the web page cannot be opened (check error.log). The solution is as follows:

Vim / etc/httpd/conf.d/openstack-dashboard.conf

/ / add

WSGISocketPrefix run/wsgi

WSGIApplicationGroup% {GLOBAL}

Restart the httpd service

5. View the content set in the openstack platform

View the project:

View the overview:

View the image:

View users:

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