OpenStack Installation – Taking Packstack as an example (Part 2)

OpenStack Installation – Taking Packstack as an example (Part 2)

回顧:OpenStack Installation – Taking Packstack as an example (Part 1)

Add each host key

#ssh-copy-id root@controller

#ssh-copy-id root@compute1

#ssh-copy-id root@compute2

Update the host’s three operating systems to check that there are no projects that need to be updated

For the next steps, you will only need to operate the Controller, the other hosts will wait for the Controller’s commands.

First, we will need to add the library suite to the Controller, making sure to use the specific version of Pike.

Check after running

Update the Operating System

Install the packstack deployment tool

There are a lot of kits to be installed, but it is all automated so will finish soon.

Check for updates again

Create and modify configuration files

The parameters that need to be modified are as follows:

CONFIG_DEFAULT_PASSWORD=openstack
CONFIG_NTP_SERVERS=time.windows.com
CONFIG_CONTROLLER_HOST=192.168.122.31
CONFIG_COMPUTE_HOSTS=192.168.122.32,192.168.122.33
CONFIG_KEYSTONE_ADMIN_PW=openstack
CONFIG_HEAT_INSTALL=y
CONFIG_PROVISION_DEMO=n

After you finish modifying, you can execute.

The installer will run bit by bit, which will take about 40 mins

Installation Complete

Modify the VNC Console’s target location and restart the service

Check that Compute1’s VNC Server changed the IP
vncserver_proxyclient_address=compute1
改成 vncserver_proxyclient_address=192.168.122.32

Compute2’s service will also need to be modified and restarted
vncserver_proxyclient_address=compute2
改成 vncserver_proxyclient_address=192.168.122.33

Enable the Domain feature and restart Horizon

OPENSTACK_KEYSTONE_MULTIDOMAIN_SUPPORT = True
OPENSTACK_KEYSTONE_DEFAULT_DOMAIN = ‘Default’

Log in to Horizon

Now that the main portion of OpenStack is installed, doesn’t it save a lot of time? Now when we need to adjust any settings, you can easily refer to the official OpenStack file and quickly find any features you need to readjust.

OpenStack Official Website Files: https://docs.openstack.org/pike/

After the environment is installed, if you want to move the virtual machine created in the test environment to the actual one, you can download it after snapshotting and then move it to the new one.

We will introduce the network settings of OpenStack in the next article, so stay tuned!

撰文: 陳彥勝 迎棧科技資深解決方案架構師

EDM

Select list(s)*

 

Loading