You are on page 1of 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