2019/07/19

OpenStack Network Topology

Hello



If you wanna install OpenStack(DevStack) on your Server for Test, refer this network topology.

Public Network Pool : 192.168.111.0/24
Private Network Pool 1 : 10.0.1.0/24
Private Network Pool 2(added later) : 10.0.2.0/24
Management Network Pool : 192.168.1.0/24


I had installed the ubuntu on VMware ESXi.

This ubuntu server has 2 NIC ports. one has assigned for management, the other one has assigned for public(router and floating).

and configured promiscuous mode on public bridge. (refer previous post.)


























and addition, I attach configuration for setup.



1. useradd -U -G sudo -s /bin/bash -m stack
2. echo "stack ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
3. passwd stack
4. su stack
5. cd
6. git clone https://git.openstack.org/openstack-dev/devstack
7. cd devstack
8. make new "local.conf" file for installation and paste refer this example.

[local.conf]==============================================

[[local|localrc]]

HOST_IP=192.168.1.201

SERVICE_HOST=192.168.1.201

MYSQL_HOST=192.168.1.201

RABBIT_HOST=192.168.1.201

GLANCE_HOSTPORT=192.168.1.201:9292

ADMIN_PASSWORD=PASSWORD

DATABASE_PASSWORD=PASSWORD

RABBIT_PASSWORD=PASSWORD

SERVICE_PASSWORD=PASSWORD



# Do not use Nova-Network

disable_service n-net

# Enable Neutron

ENABLED_SERVICES+=,q-svc,q-dhcp,q-meta,q-agt,q-l3



## Neutron options

Q_USE_SECGROUP=True

FLOATING_RANGE="192.168.111.0/24"

FIXED_RANGE="10.0.1.0/24"

Q_FLOATING_ALLOCATION_POOL=start=192.168.111.11,end=192.168.111.100

PUBLIC_NETWORK_GATEWAY="192.168.111.1"

PUBLIC_INTERFACE=ens192



# Open vSwitch provider networking configuration

Q_USE_PROVIDERNET_FOR_PUBLIC=True

OVS_PHYSICAL_BRIDGE=br-ex

PUBLIC_BRIDGE=br-ex

OVS_BRIDGE_MAPPINGS=public:br-ex

=====================================================


9. ./stack.sh
10. after installing DevStack, login to IP address assigned using web browser.



I had tried to install DevStack several times, It's not easy to install successful.

DevStack is developing day by day, so there is unpredictable bugs.



Good luck!

No comments:

Post a Comment