Home » devstack on esxi

devstack on esxi

1. install esxi

  • esxi 6.5 다운로드 받아서 설치

2. install ubuntu 16.04

  • VM 추가

NAT 구성하기

  • vSwitch 추가
  • port group 추가
  • pfSense-CE-2.3.2-RELEASE-amd64.iso 설치 (라우터 역할)

3. install devstack

$ adduser stack
$ echo “stack ALL=(ALL) NOPASSWD: ALL” >> /etc/sudoers
$ su stack
$ git clone https://git.openstack.org/openstack-dev/devstack
$ cd devstack

$ vi local.conf

** Controller 노드
[[local|localrc]]
ADMIN_PASSWORD=secret
DATABASE_PASSWORD=$ADMIN_PASSWORD
RABBIT_PASSWORD=$ADMIN_PASSWORD
SERVICE_PASSWORD=$ADMIN_PASSWORD
HOST_IP=192.168.0.240
FIXED_RANGE=10.1.0.0/24
FIXED_NETWORK_SIZE=256
FLOATING_RANGE=192.168.0.0/24
MULTI_HOST=1
LOGFILE=/opt/stack/logs/stack.sh.log

** Compute 노드
[[local|localrc]]
ADMIN_PASSWORD=secret
DATABASE_PASSWORD=$ADMIN_PASSWORD
RABBIT_PASSWORD=$ADMIN_PASSWORD
SERVICE_PASSWORD=$ADMIN_PASSWORD
HOST_IP=192.168.0.241
FIXED_RANGE=10.1.0.0/24
FIXED_NETWORK_SIZE=256
FLOATING_RANGE=192.168.0.0/24
MULTI_HOST=1
LOGFILE=/opt/stack/logs/stack.sh.log
SERVICE_HOST=192.168.0.240
MYSQL_HOST=$SERVICE_HOST
RABBIT_HOST=$SERVICE_HOST
GLANCE_HOSTPORT=$SERVICE_HOST:9292
#ENABLED_SERVICES=
VNCSERVER_LISTEN=0.0.0.0
VNCSERVER_PROXYCLIENT_ADDRESS=$HOST_IP

$ ./stack.sh