You are on page 1of 2

Preparing to Certified OpenStack Administrator Exam Course

Lab 1. Set up the COA Prep Lab


Objective 1.

Install VirtualBox and verify its operation.

Download link: https://www.virtualbox.org/wiki/Downloads

Objective 2.

Prepare VirtualBox Networks:

• Host Network: vboxnet2


address 10.0.0.11
netmask 255.255.255.0
DHCP server 10.0.0.2
netmask 255.255.255.0
lower address range 10.0.0.100
upper range: 10.0.0.199
• NAT Network: ProviderNetwork1
CIDR 203.0.113.0/24
DHCP on
• NAT Network: NatNetwork1
CIDR 10.10.10.0/24
DHCP on

Objective 3.

Download COA-Lab OVA and Import Appliance, verify Settings:

• RAM: 8192 MB (6144MB minimum, 12288MB optimum)


• CPU: 2 (2 minimum, 4 optimum)
• Network Adapter 1: Host-only Adapter, bound to vboxnet2
• Network Adapter 2: NAT Network bound to ProviderNetwork1
• Network Adapter 3: NAT Network bound to NatNetwork1

Objective 4.

Start the COA Lab Virtual Appliance to verify connectivity:

• Log in with username coa and password openstack


• Check connectivity:
ping -c 3 openstack.org

© Kris Celmer @ Open Cloud Consulting


Preparing to Certified OpenStack Administrator Exam Course

• Open browser window on Host Computer and go to Horizon Dashboard


at 10.0.0.11/horizon
login with username admin, password openstack
• Open browser window on Host Computer and navigate to Lab Objectives Page at
10.0.0.11/coa-lab

Objective 5.

Open Terminal window on Host Computer to prepare SSH Connectivity to COA-Lab:

• Create ~/.ssh directory and set access rights, if necessary:


mkdir ~/.ssh
chmod 700 ~/.ssh

• Generate SSH Key for COA Lab:


ssh-keygen -t rsa

• Transfer Public Key to Virtual Appliance:


ssh-copy-id coa@10.0.0.11

• Verify SSH connectivity:


ssh coa@10.0.0.11

• Source openrc file for admin user:


. admin-openrc

• Execute a sample OpenStack CLI command:


openstack services list

Objective 6.

• Shutdown the Virtual Appliance


• Snapshot Virtual Appliance
• Start up COA-Lab

© Kris Celmer @ Open Cloud Consulting

You might also like