-
Openstack Train Installation on Oracle Virtual Box (2)Cloud/Openstack_K8s_Docker 2020. 5. 11. 22:24
<Openstack installation by Packstack>
Please produce these steps on only Controller VM.
1. YUM package repository connection
[root@Controller ~]# yum install -y centos-release-openstack-train 2. Packstack installation
[root@Controller ~]# yum install -y openstack-packstack 3. Openstack CLI
[root@controller ~]# yum install -y openstack-utils 4. Generate Answer file of Packstack
[root@controller ~]# packstack --gen-answer-file /root/answers.txt 5. Edit the answer file as below network design.
br-ex(enp0s3) = Bridge mode : enp0s3 will get IP address with same network in AP. it's flat. VM can get public IPs through floating IP
br-vlan(enp0s8) = Host-Only mode : enp0s8 should have an IP address for internal. it's vlan
CONFIG_HEAT_INSTALL=y:
CONFIG_CONTROLLER_HOST=192.168.1.31
CONFIG_COMPUTE_HOSTS=192.168.1.31,192.168.1.32
CONFIG_NETWORK_HOSTS=192.168.1.31
CONFIG_NEUTRON_ML2_TYPE_DRIVERS=flat,vlan
CONFIG_NEUTRON_ML2_TENANT_NETWORK_TYPES=vlan
CONFIG_NEUTRON_ML2_MECHANISM_DRIVERS=openvswitch
CONFIG_NEUTRON_ML2_VLAN_RANGES=physnet1:100:200
CONFIG_NEUTRON_L2_AGENT=openvswitch
CONFIG_NEUTRON_OVS_BRIDGE_MAPPINGS=extnet:br-ex,physnet1:br-vlan
CONFIG_NEUTRON_OVS_BRIDGE_IFACES=br-ex:enp0s3,br-vlan:enp0s8
CONFIG_NEUTRON_OVS_BRIDGES_COMPUTE=br-vlan
CONFIG_KEYSTONE_ADMIN_PW=admin
CONFIG_PROVISION_DEMO=n // Demo Disable
CONFIG_PROVISION_OVS_BRIDGE=y6. Installing Openstack
the passwords are required for both VM SSH to proceed.
7. Openstack access via GUI
You can access openstack Web GUI via external IP.
'Cloud > Openstack_K8s_Docker' 카테고리의 다른 글
Openstack Tenant Network for a project by Horizon UI (0) 2020.05.15 Openstack Provider Network for a project by Horizon UI (0) 2020.05.15 Openstack configuration for a project by Horizon UI (0) 2020.05.14 Openstack Train Installation on Oracle Virtual Box (3) (0) 2020.05.12 Openstack Train Installation on Oracle Virtual Box (1) (0) 2020.05.11