Deploying the Prime Optical Virtual Appliance
You can deploy a preconfigured Prime Optical virtual appliance. This consists in deploying a ready for use virtual machine, already installed and configured with RHEL, Oracle and Prime Optical. It is distributed/released as OVF/OVA file (Open Virtual Machine Format).
Before You Begin
Make sure that the VMware setup is available and accessible via vSphere client (Consult your system administrator on the VMware configuration).
Make sure that VMwAre setup can support the virtual machine to be deployed as a virtual appliance. Check the VM disk, memory, and CPU description (Consult your system administrator on the VMware configuration).
Note the name for the VM, inventory location, host/cluster name, and disk format and location to store the VM virtual disks (Consult your system administrator on the VMware configuration).
Note See “About Virtual Disk Provisioning Policies” in VMware vSphere documentation for disk format details.
To deploy the Cisco Prime Optical virtual appliance:
Note Make sure to identify the network information of the VM to deploy such as the hostname, domain name, IP address, netmask/prefix, default gateway, and DNS.
Step 1 Create a new directory
using the following command
mkdir -p /ctm_backup/ovf107
Download the digital copy of
from the Cisco partner site and copy the
mkdir -p /ctm_backup/cpo107 cp -pvr <location where PRIME_OPTICAL_10.7.0.0_202.tar.gz is downloaded > /ctm_backup/cpo107
Step 2 Untar the cpo tar file using the following command:
tar -zxvf PRIME_OPTICAL_10.7.0.0_202.tar.gz
Note PRIME_OPTICAL_10.7.0.0_202.tar.gz contains PRIME_OPTICAL_10.7.0.0_202.tar, PRIME_OPTICAL_10.7.0.0_202.tar.signature and CPO_pubkey.der.
Step 3 Verify the authenticity of the cpo tar file with the certificates:
openssl dgst -sha512 -keyform DER -verify CPO_pubkey.der -signature PRIME_OPTICAL_10.7.0.0_202.tar.signature PRIME_OPTICAL_10.7.0.0_202.tar
Note You must see the output as verified.
Step 4 Untar the cpo tar file that was received after extracting the
using the following command:
tar -xvf PRIME_OPTICAL_10.7.0.0_202.tar
Step 5 (Optional) Remove all the tar files and certificates
rm -rf CPO_pubkey.der PRIME_OPTICAL_10.7.0.0_202.tar*
Step 6 Start the VMware vSphere Client and enter the IP address or name of the host that needs to be directly managed.
Step 7 Enter the username and password of the VMware server.
Step 8 Click Login.
Step 9 Choose File > Deploy OVF Template.
Step 10 Navigate to the OVF template file (va.ovf), then click Next.
Step 11 Verify OVF details, and then click Next.
Step 12 Specify the virtual appliance name and location for the template that you are deploying, then click Next.
Step 13 Select the VM host or cluster on which you want to run the OVF template, then click Next.
Step 14 Navigate to and select the resource pool (if required) where you want to run the OVF template (check with the VMware setup administrator), and then click Next.
Step 15 Select a datastore to store the deployed OVF template, and then click Next.
On this page, the datastore is a logical repository that has already been configured on the destination cluster or host. Select a datastore that has enough space to store the VM and all its virtual disks.
Step 16 Select a disk format to store the virtual disks, and then click Next. See “
About Virtual Disk Provisioning Policies
” in VMware vSphere documentation for disk format details.
Step 17 Verify the details of the OVF file, the name of the virtual appliance, size, host, and storage details, then click Finish to start the deployment. Consult your system administrator for more information on the VMware setup.
This may take a while to complete. Check the progress bar in the Deploying Virtual Application window to monitor the task status.
After the deployment task has successfully completed, a confirmation window appears.
Step 18 Click Close.
The virtual appliance that you deployed is listed under the host, in the left pane of the vSphere client.
Booting and Configuring the Prime Optical Virtual Appliance
To boot and then configure the Prime Optical virtual appliance:
Step 1 After deploying the virtual appliance, select the virtual machine name in vSphere, right-click it and choose Open Console.
Step 2 Choose Power > Power On, and then click in the window.
During initial boot of the newly deployed machine, you will be prompted to enter root (system) credentials (password is cisco!).
The VM is reachable only through the console till the network configuration is done.
Step 3 Configure IP, DNS, Domain name, and host file name manually.
How to configure network manually:
a. Identify the VM net if (ifconfig -a) (ex: eth1). Execute the following command:
b. Go to /etc/sysconfig/network-scripts and execute the following command:
c. Backup ifcfg-eth0.
mv ifcfg-eth0 to ifcfg-eth0.orig
d. Copy ifcfg-eth0.orig to ifcfg-eth1.
cp ifcfg-eth0.orig ifcfg-eth1
e. Edit ifcfg-eth1 file:
– fix ethx.
– fix the harware address.
– fix UUID.
– fix the gateway.
– fix the domain.
– fix the netmask.
– fix the IP.
f. Save the ifcfg-eth1 file and
when you are done editing.
g. Change the DNS server in /etc/resolve.conf.
h. Update the hosts file entry with the new IP and hostname in the format (For example: 10.58.236.181 cpo98 cpo98.cisco.com").
i. Edit the /etc/sysconfig/network and fix the hostname.
j. Restart network service.
k. Power-off the VM and check connectivity
Step 4 Login to the new VM remotely.
Step 5 Run the /opt/CiscoTransportManagerServer/bin/opt_sysconfig.sh script and change the new IP and the hostname of the new VM as prompted by the script.
You should see a success message once the script is executed with the changes.
Step 6 When you are prompted, reboot the VM by executing the following command:
Step 7 After reboot, the VM is reachable using SSH and Prime Optical will start to boot. It may take some time.