Skip to content

almightyyeh/saltstack-openstack-source

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

saltstack-openstack

###使用Saltstack自动部署Openstack集群。

架构概述

1.OpenStack架构 架构图

2.介绍

1.每个服务均有一个SLS目录。每个目录下均有SLS和files目录。files目录放置源码包和配置文件。 2.每个服务均有一个Pillar文件,主要定义和配置相关的如IP地址、网络接口、用户名和密码等。

使用步骤

1.下载SLS和源码安装包

# git clone https://github.com/unixhot/saltstack-openstack

2.修改Pillar目录的各个服务的配置

3.修改top.sls

All-In-One(所有服务均安装在一台服务器)

base:
  'openstack-node1.unixhot.com':
    - openstack.keystone.keystone
    - openstack.glance.glance
    - openstack.nova.nova_control
    - openstack.neutron.neutron_server
    - openstack.neutron.neutron_linuxbridge_agent
    - openstack.horizon.horizon
    - openstack.nova.nova_compute

Cluster(一个控制节点,多个计算节点)

base:
  'openstack-node1.unixhot.com':
    - openstack.keystone.keystone
    - openstack.glance.glance
    - openstack.nova.nova_control
    - openstack.neutron.neutron_server
    - openstack.neutron.neutron_linuxbridge_agent
    - openstack.horizon.horizon
    
  'openstack-node2.unixhot.com':
    - openstack.nova.nova_compute
    - openstack.neutron.neutron_linuxbridge_agent
  
  'openstack-node3.unixhot.com':
    - openstack.nova.nova_compute
    - openstack.neutron.neutron_linuxbridge_agent

About

Auto Deploy Openstack Cluster With Saltstack.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • SaltStack 47.1%
  • Shell 36.4%
  • Python 16.5%