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:
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
Openstack_host = "Controller" #这里controller是keystone的地址
allowed_hosts = [' * ',] #这里是可以控制的类似nginx的黑白名单
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) #将其他的会话存储服务配置注释.
Openstack_keystone_url = "Http://%s:5000/v3"% openstack_host
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
Openstack_api_versions = {"Identity": 3, "image": 2, "Volume": 2,}
openstack_keystone_default_domain = "DEFAULT"
Openstack_keystone_default_role = "User"
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,}
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)