Openstack Walkthrough-----10-Graphical Interface Management installation configuration (Dashboard)

Source: Internet
Author: User

I. Introduction of Dashboard

Dashboard (Horizon) is a web interface that enables cloud platform administrators and users to manage different OpenStack resources and services. This deployment example uses an Apache WEB server. Dashboard only requires authentication services in the core services. You can use dashboard with other services, such as image services, compute services, and network services. You can also use dashboard in the Click Service environment, such as object storage.

Dashboard Features:

  • provide a Web interface Operation Openstack the system.

  • Use Django Framework based on Openstack API Development (development is the replacement of the template)

  • supports the Session stored in DB,Memcached

  • Support Cluster

There are three ways to create a virtual machine:

    • Horizon

    • Command line

    • Api

This case will install horizon on the compute node node2. Because it is necessary to install the compute nodes, it is very important to synchronize the time to the problem, so we must ensure the synchronization time problem.

If the service does not start, do not Keystone on the registration, because Horizon only recognize Keystone, it from the Keystone to see your registered service, you will think the service has been started, but at this time your service is started, this will be an error (although not affect the use of)

Second, dashboard installation configuration

1. Installation package

Yum Install Openstack-dashboard

2, edit file  /etc/openstack-dashboard/local_settings  and complete the following actions

    • in   controller   node to use the OpenStack service:

Openstack_host = "Controller" #这里controller是keystone的地址
    • Allow all hosts to access the dashboard:

allowed_hosts = [' * ',] #这里是可以控制的类似nginx的黑白名单
    • config   memcached   Session Storage Service:

Session_engine = ' Django.contrib.sessions.backends.cache ' CACHES = {' default ': {' backend ': ' Django.core.cache. Backends.memcached.MemcachedCache ', ' Location ': ' controller:11211 ',}} #当有集群的时候, in order to maintain the session sharing problem, the session is stored in the MEM The cache (and, of course, other caching services) #将其他的会话存储服务配置注释.
    • Enable the 3rd edition of the Certification API:

Openstack_keystone_url = "Http://%s:5000/v3"% openstack_host
    • Enable support for a domain

Openstack_keystone_multidomain_support = True #这里只有v3版本才支持

If there is no success here, there is one in the environment variable that is not configured

Export os_identity_api_version=3
    • To configure the API version:

Openstack_api_versions = {"Identity": 3, "image": 2, "Volume": 2,}
    • The default domain configuration for creating users from the dashboard is   default  :

openstack_keystone_default_domain =  "DEFAULT" 
    • user  :

Openstack_keystone_default_role = "User"
    • If you select network parameter 1, disable support for Layer 3 network services:

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,} 
    • You can optionally configure the time zone:

Time_zone = "Time_zone"

3. Complete the installation

Restart the Web server and the session store service:

Systemctl Restart Httpd.service

Verify the operation of the instrument panel.

Enter 'http://controller/dashboard ' in the browser to access the dashboard.

Verify use admin or ' demo ' user credentials and ' default ' domain credentials.

650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M00/8C/AA/wKioL1h0TPLgUR9wAADwbxLrC6Q689.png-wh_500x0-wm_ 3-wmp_4-s_3105244384.png "title=" Dashboard1.png "alt=" Wkiol1h0tplgur9waadwbxlrc6q689.png-wh_50 "/>

The attachment is the modified configuration file, and you can diff!! with your own


This article from the "Circle of a Bird" blog, declined to reprint!

Openstack Walkthrough-----10-Graphical Interface Management installation configuration (Dashboard)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.