码迷,mamicode.com
首页 > 其他好文 > 详细

Openstack 安装部署指南翻译系列 之 Horizon服务安装(Dashboad)

时间:2017-11-13 14:51:23      阅读:198      评论:0      收藏:0      [点我收藏+]

标签:openstack 翻译 horizon安装

1.1.1.1. Horizon服务安装Dashboad

本节介绍如何在控制器节点上安装和配置仪表板。

仪表板所需的唯一核心服务是身份服务。您可以使用仪表板与其他服务(如镜像服务,计算和网络)结合使用。您还可以在具有独立服务(如对象存储)的环境中使用仪表板。

注意:本节假定使用Apache HTTP服务器和Memcached服务正确安装,配置和运行Identity服务。

1.1.1.1.1. 安装和配置组件

# yum install openstack-dashboard

编辑 /etc/openstack-dashboard/local_settings 文件并完成以下操作:

 

配置仪表板以在controller节点上使用OpenStack服务 :

OPENSTACK_HOST = "controller"

允许主机访问仪表板:

ALLOWED_HOSTS = [‘one.example.com‘, ‘two.example.com‘]

注意:ALLOWED_HOSTS也可以[‘*‘]接受所有主机。这可能对开发工作有用,但可能不安全,不应在生产中使用。有关 详细信息,请参阅 https://docs.djangoproject.com/en/dev/ref/settings/#allowed-hosts

配置memcached会话存储服务:

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

 

CACHES = {

    ‘default‘: {

         ‘BACKEND‘: ‘django.core.cache.backends.memcached.MemcachedCache‘,

         ‘LOCATION‘: ‘controller:11211‘,

    }

}

 

注意:注释任何其他会话存储配置。

启用Identity API版本3

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

启用对域的支持:

OPENSTACK_KEYSTONE_MULTIDOMAIN_SUPPORT = True

配置API版本:

OPENSTACK_API_VERSIONS = {

    "identity": 3,

    "image": 2,

    "volume": 2,

}

配置Default为通过仪表板创建的用户的默认域:

OPENSTACK_KEYSTONE_DEFAULT_DOMAIN = "Default"

配置user为通过仪表板创建的用户的默认角色:

OPENSTACK_KEYSTONE_DEFAULT_ROLE = "user"

如果选择网络选项1,请禁用第3层网络服务的支持:

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"

TIME_ZONE适当的时区标识符替换。有关详细信息,请参阅时区列表。

 

1.1.1.1.2. 完成安装

重新启动Web服务器和会话存储服务:

# systemctl restart httpd.service memcached.service

注意:该命令启动每个服务,如果当前没有运行。systemctl restart

1.1.1.1.3. Horizon插件

有许多有用的功能的Horizon插件。您可以通过安装相应的Horizon插件来获取仪表板支持。

1.1.1.1.3.1. 插件注册表

注意:目前,Horizon插件对自己的兼容性负责。

Plugin

URL

Launchpad

Astara Dashboard

https://github.com/openstack/astara-horizon

https://launchpad.net/astara

App Catalog UI

https://github.com/openstack/app-catalog-ui

https://launchpad.net/app-catalog

BGPVPN Dashboard

https://github.com/openstack/networking-bgpvpn

https://launchpad.net/bgpvpn

Blazar Dashboard

https://github.com/openstack/blazar-dashboard

https://launchpad.net/blazar

Cerberus Dashboard

https://github.com/openstack/cerberus-dashboard

https://launchpad.net/cerberus

Cisco UI

http://github.com/openstack/horizon-cisco-ui

https://launchpad.net/horizon-cisco-ui

Cloudkitty Dashboard

https://github.com/openstack/cloudkitty-dashboard

https://launchpad.net/cloudkitty

Congress Dashboard

https://github.com/openstack/congress-dashboard

https://launchpad.net/congress

Cue Dashboard

https://github.com/openstack/cue-dashboard

https://launchpad.net/cue-dashboard

Designate Dashboard

https://github.com/openstack/designate-dashboard

https://launchpad.net/designate-dashboard

Group Based Policy UI

https://github.com/openstack/group-based-policy-ui

https://launchpad.net/group-based-policy-ui

Freezer Web UI

https://github.com/openstack/freezer-web-ui

https://launchpad.net/freezer

Ironic UI

https://github.com/openstack/ironic-ui

https://launchpad.net/ironic-ui

Karbor Dashboard

https://github.com/openstack/karbor-dashboard

https://launchpad.net/karbor-dashboard

Magnum UI

http://github.com/openstack/magnum-ui

https://launchpad.net/magnum-ui

Manila UI

http://github.com/openstack/manila-ui

https://launchpad.net/manila-ui

Mistral Dashboard

https://github.com/openstack/mistral-dashboard

https://launchpad.net/mistral

Monasca UI

https://github.com/openstack/monasca-ui

https://launchpad.net/monasca

Murano Dashboard

http://github.com/openstack/murano-dashboard

http://launchpad.net/murano

Neutron FWaaS Dashboard

https://github.com/openstack/neutron-fwaas-dashboard

https://launchpad.net/neutron-fwaas-dashboard

Neutron LBaaS Dashboard

https://github.com/openstack/neutron-lbaas-dashboard

http://launchpad.net/octavia

Neutron VPNaaS Dashboard

https://github.com/openstack/neutron-vpnaas-dashboard

https://launchpad.net/neutron-vpnaas-dashboard

Octavia Dashboard

https://github.com/openstack/octavia-dashboard

https://launchpad.net/octavia

Sahara Dashboard

https://github.com/openstack/sahara-dashboard

https://launchpad.net/sahara

Searchlight UI

https://github.com/openstack/searchlight-ui

https://launchpad.net/searchlight

Senlin Dashboard

https://github.com/openstack/senlin-dashboard

http://launchpad.net/senlin-dashboard

Solum Dashboard

https://github.com/openstack/solum-dashboard

https://launchpad.net/solum

Sticks Dashboard

https://github.com/openstack/sticks-dashboard

https://wiki.openstack.org/wiki/Sticks

Tacker UI

https://github.com/openstack/tacker-horizon

https://launchpad.net/tacker

TripleO UI

https://github.com/openstack/tripleo-ui/

https://launchpad.net/tripleo

Trove Dashboard

https://github.com/openstack/trove-dashboard

https://launchpad.net/trove-dashboard

Vitrage Dashboard

http://github.com/openstack/vitrage-dashboard

https://launchpad.net/vitrage-dashboard

Watcher Dashboard

http://github.com/openstack/watcher-dashboard

https://launchpad.net/watcher-dashboard

Zaqar UI

http://github.com/openstack/zaqar-ui

https://launchpad.net/zaqar-ui

Zun UI

https://github.com/openstack/zun-ui

https://launchpad.net/zun-ui

 


本文出自 “yuweibing的技术博客” 博客,请务必保留此出处http://yuweibing.blog.51cto.com/3879355/1981182

Openstack 安装部署指南翻译系列 之 Horizon服务安装(Dashboad)

标签:openstack 翻译 horizon安装

原文地址:http://yuweibing.blog.51cto.com/3879355/1981182

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!