Watch all our Tutorials and Training Videos for Free on our Youtube Channel, Get Online Web Tools for Free on swebtools.com

Search Suggest

Install Openstack Horizon Dashboard - Openstack Tutorial

install openstack horizon dashboard, install openstack dashboard, openstack dashboard installation, openstack horizon tutorial, deploy openstack webui

How to Install Openstack Horizon Dashboard - Openstack Tutorial


This article shows you that how to install Openstack Horizon Dashboard Service on Linux and How to Configure Openstack Horizon Dashboard.

In the previous posts, we have covered the below topics which also a main part of the whole Openstack Deployment. Refer those links to understand this topic from beginning.

1. Enable Repositories on node1 and node2
2. Install Openstack Liberty Packages on node1 and node2.
3. Install and Configure MariaDB(MySQL) Database on node1 and node2.
4. Install and Configure RabbitMQ Message service on node1.
5. Install and Configure keystone for Identity service on node1.
6. Install Glance for Image service on node1.
7. Install Nova Computing on node1 and node2.
8. Install Neutron Networking on node1 and node2.
8a. Install Openstack Neutron Component on Controller Node
8b. Install Openstack Neutron Component on Compute Node
9. Install Openstack Horizon for dashboard on node1

Lets get started, continue with the previous post, we show you how to install Openstack Horizon Dashboard components on controller node (node1) and How to Configure OpenStack Horizon Dashboard on it.

Install Openstack Horizon Dashboard - Openstack Tutorial

What is Openstack Horizon?

The OpenStack Dashboard, also known as horizon is a web interface that enables cloud administrators and users to manage various OpenStack resources and services.

The Dashboard enables web-based interactions with the OpenStack Compute cloud controller through the OpenStack APIs. Horizon enables you to customize the brand of the dashboard and it provides a set of core classes and reusable templates and tools.

Lab Setup for this Openstack Deployment:
Server Names : node1 and node2.
OS :  CentOS 7.2 - 64 Bit
Enabled Internet connection.

Prerequisites:

  1. Installed Centos 7.1 – 64 Bit

  2. Make sure each hosts are reachable. I made an entries in hosts file only.
    192.168.2.1     controller-node1.learnitguide.net  controller-node1
    192.168.2.2     compute-node1.learnitguide.net  compute-node1

  3. Verify the internet connection, because we use public repo's to install these components.

  4. Take a backup or snapshot at different stages to restore in case of failure.

  5. Disable Selinux and Stop firewall to avoid issues during the installations (systemctl stop firewalld ; systemctl disable firewalld) or allow each component services on firewall after installations.

  6. Enabled Openstack Liberty Repositories.

  7. Installed Openstack Liberty Packages.

  8. Installed and Configured MariaDB(MySQL) Database.


ALSO WATCH THIS TUTORIAL VIDEO FREE ON OUR YOUTUBE CHANNEL - HOW TO INSTALL OPENSTACK HORIZON DASHBOARD


Install Openstack Horizon Dashboard and Configure it on Node1 (controller node).

Lets Install the required packages for Openstack Horizon component.

[root@node1 ~]# yum install openstack-dashboard

Configure Openstack Horizon components.

Edit the /etc/openstack-dashboard/local_settings file and make the below changes to use OpenStack services on the controller node:

OPENSTACK_HOST = "node1"

Replace 'node1' with your controller node name.

Allow all hosts to access the dashboard:

ALLOWED_HOSTS = ['*', ]

Configure the memcached session storage service:

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

Replace 'node1' with your controller node name and comment out any other session storage configuration.

Configure user as the default role for users that you create via the dashboard:

OPENSTACK_KEYSTONE_DEFAULT_ROLE = "user"

Enable the multi-domain model:

OPENSTACK_KEYSTONE_MULTIDOMAIN_SUPPORT = True

Configure the service API version so that you can log into the dashboard by the Keystone V3 API:

OPENSTACK_API_VERSIONS = {
"identity": 3,
"volume": 2,
}
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,
}

Optionally, configure the time zone:

TIME_ZONE = "TIME_ZONE"

Replace TIME_ZONE with an appropriate time zone identifier.

Enable the web server and session storage service to start when the system boots.

[root@node1 ~]# systemctl enable httpd.service
[root@node1 ~]# systemctl enable memcached.service

Restart the web server and session storage service.

[root@node1 ~]# systemctl restart httpd.service
[root@node1 ~]# systemctl restart memcached.service

Access your Openstack Dashboard now.

Open your browser and access the dashboard URL https://192.168.2.1/dashboard. Enter your username and passwd and start using the openstack environment. You can watch this demo on youtube video "How to Install Openstack Horizon Dashboard".

In the next post, we will explain you how to manage the openstack project using management dashboard. openstack 

Also download 100% free eBooks related to OpenStack Cloud.
1. A Brief Look at OpenStack
2. OpenStack Cloud Computing Cookbook
3. Concepts of Cloud Computing in simple terms how to configure openstack horizon 

Keep practicing and have fun. Leave your comments if any.

Support Us: Share with your friends and groups.

Stay connected with us on social networking sites, Thank you.