02 Deploy EM12CR3 Template into Running Pool


Overview

The OVM Template for Cloud Control 12.1.0.3.0 (EM12CR3) needs to be customised before starting, and on first start-up.

References

Readme for Media Pack B75437-01

Procedure

Copy the Files to the Running Pool

Run the following command on VICTORIA to copy the extracted files:

cp /OVS/seed_pool/OVM_EM12R3/OVM_EM/* /OVS/running_pool/OVM_EM12R3/

Customise the Configuration File

Run the following commands on VICTORIA to extract the OVM files:

cd /OVS/running_pool/OVM_EM12R3/
vi vm.cfg

Change the following lines:

disk = ['file:/OVS1/seed_pool/OVM_EM/System.img,xvda,w',
'file:/OVS1/seed_pool/OVM_EM/em.img,xvdb,w']

to:

disk = ['file:/OVS/running_pool/OVM_EM12R3/System.img,xvda,w',
'file:/OVS/running_pool/OVM_EM12R3/em.img,xvdb,w']

Change the following line so that the name of the machine matches the subdirectory from where the machine is launched:

name = 'OVM_EM'

to:

name = 'OVM_EM12R3'

Change the following line so that we are using a HVM with the bridge as created in 01 Add Bridge :

vif = ['type=netfront']

to:

vif = [ 'bridge=xenbr0, type=netfront, mac=00:16:3E:00:00:01' ]

Set up the CLOUDCTL VM

Further configuration of the CLOUDCTL VM is required on first start up of the VM.

Start Up the VM

The VM is started on VICTORIA by using the following commands:

cd /OVS/running_pool/OVM_EM12R3
xl create vm.cfg

Connect to Console via VNC

Used VNCVIewer through MobaXTerm to 192.168.1.100. No password is needed.

Log File Location

The log file is /var/log/emgc_clone.log .

Configuration Questions and Answers

During the configuration process, the following questions were answered:

Question Answer
Do you want to enable dynamic IP configuration (DHCP) (Y|n)? n
Enter IP address: 182.168.1.103
Enter netmask address 255.255.255.0
Enter hostname cloudctl.yaocm.id.au
Enter default gateway address 192.168.1.103
Enter DNS server IP address 192.168.1.252

Repository database details

Repository database details are:

Parameter Value
Listener address 192.168.1.103
Listener port 1521
SID emrepus

Access the OEM Console

Use the url https://192.168.1.103:4900/em to access the OEM console on CLOUDCTL .