0% found this document useful (0 votes)
245 views

Create VM in Oda

The document provides steps to create a Linux virtual machine template from an OVA file, configure its network settings, clone it to create a new VM, and modify the VM's configuration file to enable remote access via VNC. Key steps include importing the OVA template, cloning it to create a new VM instance, editing the VM configuration file to enable VNC, and obtaining the VNC session details.

Uploaded by

Kuber
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
245 views

Create VM in Oda

The document provides steps to create a Linux virtual machine template from an OVA file, configure its network settings, clone it to create a new VM, and modify the VM's configuration file to enable remote access via VNC. Key steps include importing the OVA template, cloning it to create a new VM instance, editing the VM configuration file to enable VNC, and obtaining the VNC session details.

Uploaded by

Kuber
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

1.

download the template from edelivery


search linux vm

2. copy the zip file to the dom0 /OVS

3. unzip and copy the .ova file to /tmp

5. create repository

oakcli create repo trepo -size 30G -dg DATA

4. once done, go to ODA BASE

oakcli import vmtemplate OEL6U7 -assembly /tmp/OVM_OL6U7_x86_64_PVM.ova -repo


ovmrepo -node 0

5. now configure the network for the vmtemplate

[root@odax52iscdb01 ~]# oakcli configure vmtemplate OEL6U7 -network


"['type=netfront,bridge=net1']"

Configured VM Template

6. Now clone the VM from the template

[root@odax52iscdb01 ~]# oakcli clone vm dbvm -vmtemplate OEL6U7 -repo ovmrepo


-node 0 <<<<<<<<<<<<<<< Prev has been done for u

Cloned VM : tvm

[root@odax52iscdb01 ~]# oakcli show vm

NAME NODENUM MEMORY VCPU


STATE REPOSITORY

odav1 0 2048M 2
ONLINE myrepo
test1 0 2048M 2
OFFLINE myrepo
tvm 0 2048M 2
OFFLINE trepo

7. edit the vm.cfg file for the vm so as to make it accessible by vnc

vfb = ['type=vnc,vncunused=1,vnclisten=0.0.0.0'] <<<<<<<<<<< DOM0


/OVE/Repo*/ovmrepo/.ACFS/... VirtualMachines/../vm.cfg

8. start vm and get the vnc session

DOM0 - xm list -l <karthikvm>


odax52iscdb01-dom0:5901

You might also like