OVM 3.1.1 vhd import
Hi,
I have VHD disks, working well in Virtualbox for Windows. When I import them into OVM 3 (3.0.3 or 3.1.1) they are correctly converted into IMG files but they are not bootable.
That process was working (with th exact same VHDs) in OVM 2.2
Same situation here...but I've solved importing VHDs to VM Virtualbox then exporting the VM created (File->Export Appliance)
In VM Manager import the .ova file generated by VirtualBox as an assembly. Clone the assembly to a template then deploy the VMs by that template.
Hope this helps!!
Greets!!
Similar Messages
-
Problem when importing vmware images
Hello,
I've tried to import a few vmware images into oracle vm but so far all have failed. The error in the mainlogs point to severe but really don't say a thing...
Can this be an issue with cpu families? ie coming from an AMD Opteron cpu(vmware 4 server) to an intel xeon cpu(oracle vm server)
If this should be possible, what's the best way to start troubleshooting this kind of issues?
JThe import process in OVM cannot deal with ESX,ESXi or vSphere VMDK-flat's directly. You need to export the VM using VirtualCenter and export it in a Vmware player/workstation 2.x format. Then move the exported files to OVM and re-attempt your import.
I ran into this exact problem a week ago. Its a shame OVM cant just import plain-old ESX-formatted images, maybe OVM 3.0 can deal with it? -
Oracle E-business Suite release 12.1.1 migration from AIX to OEL on OVM
Hi
We will be migrating our current Oracle E-business suite release 12.1.1 production environment from AIX to OEL using OVM. We are experienced in migrating from one platform to another on single box but this is the first time we will be using OVM.
We will be gratefull if somebody can provide us the right path to migrate to OVM, my understanding is:
1. Setup Hypervisor, install OVM guests OS using OVM templates
2. Install E-business suite environment using OVM templates
3. follow Export / import document to migrate E-business suite environment
need suggestions
Thank You
Shahrukh yasinNo. Do not use the EBS templates.
1. Get OVM up and running.
2. Install OEL guests.
3. Check requirements for running OEL on EBS 12.1. They are different for different version of OEL. There are several oracle support articles detailing the requirement from OEL4 thru OEL6. I personally would use OEL5.
4. Clone your DB and app tops and get them working.
5. When you get ready to cut, refresh your DB. You can use datapump but it will take some time depending on how much data you have. You may want to upgrade your DB. If you're running anything less than 11.2.0.3. If you do, then datapump is the best option. At least in my opinion. There are several issues with running 12.1 and 11.2.0.3. Make sure you address them. There are several support articles detailing them. Oracle 10 database isn't supported on OVM. 10 isn't offically supported at all anymore.
6. Rerun you clone scripts on your app tiers and reconfigure your app layout. -
Error 13 invalid or unsupported executable format- while starting VMs
I am using OVM 3.0.3
I imported some old VMs(2.2) as template and cloned them as virtual machine through VM manager.When I start the virtual machines,and want to see it’s execution through console on VM Manager’s toolbar.The following error shows up for all of them..
Booting Enterprise Linux Server (2.6.18.194.0.0.0.3.el5xen)
root (hd0,0)
Filesystem type is ext2fs, partition type 0x83
kernel /vmlinuz-2.6.18.194.0.0.0.3.el5xen ro root=LABEL=/
Error 13: Invalid or unsupported executable format
press any key to continu...
Please help.itsakc wrote:
Error 13: Invalid or unsupported executable formatWhat type of guest was the source template and what type is this VM? Looks like it's trying to boot the Xen kernel variant and perhaps you've set the guest to HVM or HVM with PV Drivers. -
OVM 3.0.3 import VirtualBox OVM Manager 3.0.3 OVA template
VirtualBox Template for Oracle VM Manager 3.0.3,
http://www.oracle.com/technetwork/server-storage/vm/template-1482544.html
The OVM 3.0.3 host should be configured with enough space to accommodate import of OVA template. In
this case 36G was allocated for "sda",
[root@ovm303 ~]# fdisk -l /dev/sda
Disk /dev/sda: 38.6 GB, 38654705664 bytes
255 heads, 63 sectors/track, 4699 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 4189 33648111 83 Linux
/dev/sda2 4190 4699 4096575 82 Linux swap / Solaris
Post OVA import disk usage,
[root@ovm303 ~]# df -T -t ext3
Filesystem Type 1K-blocks Used Available Use% Mounted on
/dev/sda1 ext3 32594216 24105604 6806208 78% /.
[root@ovm303 ~]# cat /etc/motd
Warning: making manual modifications in the management domain
might cause inconsistencies between Oracle VM Manager and the server.
[root@ovm303 ~]# head -4 /etc/ovs-info
OVS summary
release: 3.0.3
date: 201111300901
build: 123
The contents of "ovs-info" also include package information.
The "vbox-img" package is something new in OVM 3.0.3,
[root@ovm303 ~]# grep vbox-img /etc/ovs-info
vbox-img-1.0-2
[root@ovm303 ~]# rpm -ql vbox-img
/usr/bin/vbox-img
/usr/share/doc/vbox-img-1.0
/usr/share/doc/vbox-img-1.0/COPYING
[root@ovm303 ~]# vbox-img --help
Oracle VM VirtualBox Disk Utility 4.1.3
(C) 2005-2011 Oracle Corporation
All rights reserved.
Usage: vbox-img
setuuid --filename <filename>
[--format VDI|VMDK|VHD|...]
[--uuid <uuid>]
[--parentuuid <uuid>]
[--zeroparentuuid]
convert --srcfilename <filename>
--dstfilename <filename>
[--stdin]|[--stdout]
[--srcformat VDI|VMDK|VHD|RAW|..]
[--dstformat VDI|VMDK|VHD|RAW|..]
[--variant Standard,Fixed,Split2G,Stream,ESX]
info --filename <filename>
compact --filename <filename>
createcache --filename <filename>
--size <cache size>
Download "OracleVMManager3" OVA,
[root@ovm303 xen]# mkdir /etc/xen/ovm303-m
[root@ovm303 ~]# cd /etc/xen/ovm303-m
[root@ovm303 xen]# wget http://download.oracle.com/otn-pub/otn_software/OracleVMManager3.ova
--2012-03-14 17:06:01-- http://download.oracle.com/otn-pub/otn_software/OracleVMManager3.ova
Length: 4234452992 (3.9G) [text/plain]
Saving to: `OracleVMManager3.ova'
100%[====================================>] 4,234,452,992 834K/s in 55m 36s
2012-03-14 18:01:38 (1.21 MB/s) - `OracleVMManager3.ova' saved [4234452992/4234452992]
[root@ovm303 xen]# md5sum OracleVMManager3.ova
75fc334422eda6c3425a2f09fb88f9e0 OracleVMManager3.ova
Unpack OVA,
[root@ovm303 xen]# tar tvf OracleVMManager3.ova
-rw------- someone/someone 59626 2012-01-12 17:42:49 OracleVMManager3.ovf
-rw------- someone/someone 1987182592 2012-01-12 17:48:06 OracleVMManager3-disk1.vmdk
-rw------- someone/someone 2247208960 2012-01-12 17:51:24 OracleVMManager3-disk2.vmdk
[root@ovm303 ovm303-m]# tar xvf OracleVMManager3.ova
OracleVMManager3.ovf
OracleVMManager3-disk1.vmdk
OracleVMManager3-disk2.vmdk
Use "vbox-img" to show "OracleVMManager3-disk1.vmdk",
[root@ovm303 ovm303-m]# vbox-img info --filename OracleVMManager3-disk1.vmdk
--- Dumping VD Disk, Images=1
Dumping VD image "OracleVMManager3-disk1.vmdk" (Backend=VMDK)
Header: Geometry PCHS=16383/16/63 LCHS=1024/255/63 cbSector=52428800
Header: uuidCreation={f3859e00-962c-440f-a63d-feb7b731d5da}
Header: uuidModification={00000000-0000-0000-0000-000000000000}
Header: uuidParent={00000000-0000-0000-0000-000000000000}
Header: uuidParentModification={00000000-0000-0000-0000-000000000000}
Convert "OracleVMManager3-disk1.vmdk" to RAW,
[root@ovm303 ovm303-m]# vbox-img convert srcfilename OracleVMManager3-disk1.vmdk dstfilename OracleVMManager3-disk1.img srcformat VMDK dstformat RAW
Converting image "OracleVMManager3-disk1.vmdk" with size 26843545600 bytes (25600MB)...
[root@ovm303 ovm303-m]# file OracleVMManager3-disk1.img
OracleVMManager3-disk1.img: x86 boot sector; partition 1: ID=0x83, active, starthead 1, startsector 63, 208782 sectors; partition 2: ID=0x8e, starthead 0, startsector 208845, 52211250 sectors, code offset 0x48
[root@ovm303 ovm303-m]# fdisk -l OracleVMManager3-disk1.img
last_lba(): I don't know how to handle files with mode 8180
You must set cylinders.
You can do this from the extra functions menu.
Disk OracleVMManager3-disk1.img: 0 MB, 0 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
OracleVMManager3-disk1.img1 * 1 13 104391 83 Linux
OracleVMManager3-disk1.img2 14 3263 26105625 8e Linux LVM
Partition 2 has different physical/logical endings:
phys=(1023, 254, 63) logical=(3262, 254, 63)
Use "vbox-img" to show "OracleVMManager3-disk2.vmdk",
[root@ovm303 ovm303-m]# vbox-img info --filename OracleVMManager3-disk2.vmdk
--- Dumping VD Disk, Images=1
Dumping VD image "OracleVMManager3-disk2.vmdk" (Backend=VMDK)
Header: Geometry PCHS=16383/16/63 LCHS=1024/255/63 cbSector=20971520
Header: uuidCreation={abc43be0-7a43-4ba2-a205-eaf37184a4d3}
Header: uuidModification={00000000-0000-0000-0000-000000000000}
Header: uuidParent={00000000-0000-0000-0000-000000000000}
Header: uuidParentModification={00000000-0000-0000-0000-000000000000}
Convert "OracleVMManager3-disk2.vmdk" to RAW,
[root@ovm303 ovm303-m]# vbox-img convert srcfilename OracleVMManager3-disk2.vmdk dstfilename OracleVMManager3-disk2.img srcformat VMDK dstformat RAW
Converting image "OracleVMManager3-disk2.vmdk" with size 10737418240 bytes (10240MB)...
[root@ovm303 ovm303-m]# file OracleVMManager3-disk2.img
OracleVMManager3-disk2.img: x86 boot sector; partition 1: ID=0x83, starthead 1, startsector 63, 20964762 sectors, extended partition table (last)\011
[root@ovm303 ovm303-m]# fdisk -l OracleVMManager3-disk2.img
last_lba(): I don't know how to handle files with mode 8180
You must set cylinders.
You can do this from the extra functions menu.
Disk OracleVMManager3-disk2.img: 0 MB, 0 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
OracleVMManager3-disk2.img1 1 1305 10482381 83 Linux
Partition 1 has different physical/logical endings:
phys=(1023, 254, 63) logical=(1304, 254, 63)
Update disk image "/boot" configuration using loopback mount,
[root@ovm303 ovm303-m]# mkdir boot
[root@ovm303 ovm303-m]# kpartx -l OracleVMManager3-disk1.img
loop1p1 : 0 208782 /dev/loop1 63
loop1p2 : 0 52211250 /dev/loop1 208845
loop deleted : /dev/loop1
[root@ovm303 ovm303-m]# kpartx -a OracleVMManager3-disk1.img
[root@ovm303 ovm303-m]# mount /dev/mapper/loop1p1 boot
Update "/boot/grub/device.map",
[root@ovm303 ovm303-m]# cat boot/grub/device.map
# this device map was generated by anaconda
(hd0) /dev/hda
Update "/boot/grub/grub.conf" to use non-UEK kernel to avoid issues with OL5u7 default UEK boot and HVM,
[root@ovm303 ovm303-m]# grep default boot/grub/grub.conf
default=1
Mount "/" logical volume,
[root@ovm303 ovm303-m]# vgscan
Reading all physical volumes. This may take a while...
Found volume group "VolGroup00" using metadata type lvm2
[root@ovm303 ovm303-m]# vgchange -ay VolGroup00
2 logical volume(s) in volume group "VolGroup00" now active
[root@ovm303 ovm303-m]# lvs
LV VG Attr LSize Origin Snap% Move Log Copy% Convert
LogVol00 VolGroup00 -wi-a- 19.06G
LogVol01 VolGroup00 -wi-a- 5.81G
[root@ovm303 ovm303-m]# mkdir root
[root@ovm303 ovm303-m]# ls /dev/VolGroup00/
LogVol00 LogVol01
[root@ovm303 ovm303-m]# mount /dev/VolGroup00/LogVol00 root
Update "/etc/inittab" to boot single user,
[root@ovm303 ovm303-m]# grep id root/etc/inittab
id:1:initdefault:
Update "/etc/fstab" to ignore "/u01" block device mount,
[root@ovm303 ovm303-m]# grep sdb root/etc/fstab
#/dev/sdb1 /u01 ext3 defaults 1 1
Unmount "/boot" and "/",
[root@ovm303 ovm303-m]# umount boot
[root@ovm303 ovm303-m]# umount root
[root@ovm303 ovm303-m]# vgchange -an VolGroup00
0 logical volume(s) in volume group "VolGroup00" now active
[root@ovm303 ovm303-m]# kpartx -d OracleVMManager3-disk1.img
loop deleted : /dev/loop1
The OVM 3.0.3 network bridge configuration uses "bond0" vs "xenbr0".
Configure "vm.cfg",
[root@ovm303 ovm303-m]# cat vm.cfg
# (H)ardware (V)irtual (M)achine configuration
# /etc/xen/xmexample.hvm
kernel = 'hvmloader'
builder = 'hvm'
memory = '4096'
# The number of cpus guest platform has, default=1
#vcpus=1
# PXE boot
#bootloader = '/usr/bin/pypxeboot'
#bootloader = '/usr/bin/pygrub'
# Virtual block device configuration using file:
# dd if=/dev/zero of=/$VM_PATH/$VM_NAME/System.img bs=1M count=$MB
# disk = [ 'file:/$VM_PATH/$VM_NAME/System.img,ioemu:hda,w', ]
# Configuration using physical disk logical volume:
# lvcreate --size ${GB}G --name $VM_NAME $VG_NAME
# disk = [ 'phy:/dev/$VG_NAME/$VM_NAME,xvda,w',]
# CDROM configuration using file:
# disk = [ 'file:/$BOOT_ISO_NAME,hdc:cdrom,r', ]
disk = [ 'file:/etc/xen/ovm303-m/OracleVMManager3-disk1.img,ioemu:hda,w', 'file:/etc/xen/ovm303-m/OracleVMManager3-disk2.img,ioemu:hdb,w', ]
# Domain name
name = "ovm303-m"
# Networking
# Network bridge status:
# /etc/xen/scripts/network-bridge status
# 'bridge' should be proper interface e.g. xenbr0
vif = ['type=ioemu, bridge=bond0']
# boot on floppy (a), hard disk (c), Network (n) or CD-ROM (d)
# default: hard disk, cd-rom, floppy
boot = "cdn"
# Enable HV VNC console
# Uses avaiablle next VNC port $OVM_SERVER_HOST:0 == 5900, :1 == 5901 etc
# Use "xm list -l" to determince VNC port "location"
vnc=1
vncunused=1
vnclisten="0.0.0.0"
vncpasswd=''
sdl=0
# Set the real time clock to local time [default=0 i.e. set to utc]
# Allows Win VM clock to work with UTC on OVM host system.
#localtime=1
Start VM,
[root@ovm303 ovm303-m]# xm create vm.cfg
Using config file "./vm.cfg".
Error: Device 0 (vif) could not be connected. Hotplug scripts not working.
Current bridge,
[root@ovm303 ~]# brctl show
bridge name bridge id STP enabled interfaces
Update "/etc/xen/xend-config.sxp" to enable "network-bridge",
[root@ovm303 ovm303-m]# cp /etc/xen/xend-config.sxp /etc/xen/xend-config.sxp.orig
[root@ovm303 ovm303-m]# diff /etc/xen/xend-config.sxp /etc/xen/xend-config.sxp.orig
165,167d164
< # Enable network-bridge, JAP 20120322
< (network-script network-bridge)
<
[root@ovm303 ~]# service xend restart
Restarting xend...
xend daemon (pid 8848) is running...
[root@ovm303 ~]# brctl show
bridge name bridge id STP enabled interfaces
bond0 8000.002128d5ce86 no pbond0
Start VM,
[root@ovm303 ovm303-m]# xm create vm.cfg
Using config file "./vm.cfg".
Started domain ovm303-m (id=1)
Determine VNC console session,
[root@ovm303 ovm303-m]# xm list -l ovm303-m | grep location
(location 0.0.0.0:5900)
(location 3)
VNC console session. The "oraclevm-template" tools are not run in single user so hostname is "localhost",
[root@localhost ~]# who -r
run-level S 2012-03-23 09:09 last=1
Update "/etc/fstab" for "/u01" mount to use label,
[root@localhost ~]# grep /u01 /etc/fstab
#/dev/sdb1 /u01 ext3 defaults 1 1
[root@localhost ~]# blkid
/dev/mapper/VolGroup00-LogVol01: TYPE="swap"
/dev/mapper/VolGroup00-LogVol00: UUID="2751f1b2-836b-4786-ae71-8b402e0f8503" TYPE="ext3"
/dev/VolGroup00/LogVol00: UUID="2751f1b2-836b-4786-ae71-8b402e0f8503" SEC_TYPE="ext2" TYPE="ext3"
/dev/VolGroup00/LogVol01: TYPE="swap"
/dev/hda1: LABEL="/boot" UUID="8701866e-5ed5-49f7-9597-bb9709d22359" TYPE="ext3"
/dev/hdb1: UUID="5f9a7bef-3a6d-4a83-b288-638537424fa7" SEC_TYPE="ext2" TYPE="ext3"
[root@localhost ~]# e2label /dev/hdb1 u01
[root@localhost ~]# grep u01 /etc/fstab
LABEL=u01 /u01 ext3 defaults 1 1
[root@localhost ~]# mount /u01
[root@localhost ~]# df /u01
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hdb1 10317828 4250832 5542880 44% /u01
As configured the default run level will be elevated to "5" by the "/etc/rc.local" script. This enables a
console desktop for user "ovm". This is unneeded and will be implemented by VNC session for user
"ovm".
Update "/etc/inittab" to enable full multiuser mode run level 3,
[root@localhost ~]# grep id /etc/inittab
id:3:initdefault:
Disable "/etc/rc.local" run level elevation,
[root@localhost ~]# tail -2 /etc/rc.local
# Disable local forced runlevel 5, JAP 20120404
#telinit 5
Disable firewall to allow VNC connections,
[root@localhost ~]# chkconfig --list iptables
iptables 0:off 1:off 2:on 3:on 4:on 5:on 6:off
[root@localhost ~]# chkconfig iptables off
[root@localhost ~]# chkconfig --list ip6tables
ip6tables 0:off 1:off 2:on 3:on 4:on 5:on 6:off
[root@localhost ~]# chkconfig ip6tables off
Reboot,
[root@localhost ~]# reboot
Broadcast message from root (pts/0) (Mon Apr 2 09:22:17 2012):
The system is going down for reboot NOW!
Post "oraclevm-template" configuration e.g. defining FQDN and static IP addresss etc. OVM Manager 3.0.3 is up.
Configure VNC for "ovm",
[root@ovm303-m ~]# su - ovm
[ovm@ovm303-m ~]$ vncserver
You will require a password to access your desktops.
Password: Welcome1
Verify: Welcome1
xauth: creating new authority file /home/ovm/.Xauthority
New 'ovm303-m:1 (ovm)' desktop is ovm303-m:1
Creating default startup script /home/ovm/.vnc/xstartup
Starting applications specified in /home/ovm/.vnc/xstartup
Log file is /home/ovm/.vnc/ovm303-m:1.log
[ovm@ovm303-m ~]$ vncserver -kill :1
Killing Xvnc process ID 12499
Update "xstartup",
[ovm@ovm303-m ~]$ cat /home/ovm/.vnc/xstartup
#!/bin/sh
# Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc
#[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
#[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
#xsetroot -solid grey
#vncconfig -iconic &
#xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#twm &
[ovm@ovm303-m ~]$ vncserver
New 'ovm303-m:1 (ovm)' desktop is ovm303-m :1
Starting applications specified in /home/ovm/.vnc/xstartup
Log file is /home/ovm/.vnc/ovm303-m:1.log
Configure "/etc/sysconfig/vncservers",
[root@ovm303-m ~]# chkconfig --list vncserver
vncserver 0:off 1:off 2:off 3:off 4:off 5:off 6:off
[root@ovm303-m ~]# chkconfig vncserver on
[root@ovm303-m ~]# chkconfig --list vncserver
vncserver 0:off 1:off 2:on 3:on 4:on 5:on 6:off
[root@ovm303-m ~]# tail -2 /etc/sysconfig/vncservers
# Start VNC session for ovm, JAP 20120404
VNCSERVERS="1:ovm"Thanks Jim - looks great!
-
Import .VHD Files from Virtual Iron or Xen Server
Hi,
I have some .vhd Files from the XEN Based Virtual Iron Server here. I copied them to the OVM Server and try to start but the only thing i got was a "Booting from Harddisk" at the console. Do i have to convert them. Do you know how?
Thank you.
RegardsOkay, seems that one of the .vhd was broken. i did a new export in VI and import in OVM, now it works.
-
OVM 2.2.2 import VirtualBox OVA
[root@ovm]# cat /etc/ovs-release
Oracle VM server release 2.2.2
Unpack OVA,
[root@ovm]# file VB.ova
VB.ova: POSIX tar archive
[root@ovm]# tar tvf VB.ova
-rw------- someone/someone 15691 2011-12-08 20:32:29 VB.ovf
-rw------- someone/someone 2917182464 2011-12-08 20:36:53 disk1.vmdk
-rw------- someone/someone 11493981184 2011-12-08 20:54:21 disk2.vmdk
[root@ovm]# tar xvf VB.ova
VB.ovf
VB-disk1.vmdk
VB-disk2.vmdk
VMDK details using "qemu-img",
[root@ovm]# ls -l *vmdk
-rw------- 1 root root 2917182464 Dec 8 20:36 VB-disk1.vmdk
-rw------- 1 root root 11493981184 Dec 8 20:54 VB-disk2.vmdk
[root@ovm ]# qemu-img info -f vmdk VB-disk1.vmdk
disk1.vmdk
file format: vmdk
virtual size: 10G (10737418240 bytes)
disk size: 2.7G
[root@ovm]# qemu-img info -f vmdk VB-disk2.vmdk
image: disk2.vmdk
file format: vmdk
virtual size: 60G (64424509440 bytes)
disk size: 11G
Attempt using "qemu-img" to convert VMDK to raw,
[root@ovm# qemu-img convert -f vmdk -O raw VB-disk1.vmdk disk1.img
qemu-img: error while reading
Install VirtualBox on WinXP 32-bit laptop. Share the VMDK files using Samba.
Attempt "VBoxManage clonehd" of "VB-disk1.vmdk",
V:\>"C:\Program Files\Oracle\VirtualBox\VboxManage" clonehd VB-disk1.vmdk disk1.img --format raw
VBoxManage.exe: error: The medium 'V:\VB-disk1.vmdk' can't be used as the requested device type
VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component Medium, interface IMedium, callee IUnknown
Context: "OpenMedium(Bstr(pszFilenameOrUuid).raw(), enmDevType, AccessMode_ReadWrite, fForceNewUuidOnOpen, pMedium.asOutParam())" at line 210 of file VBoxManageDisk.cpp
Update UUID of VMDK,
V:\>"C:\Program Files\Oracle\VirtualBox\VboxManage" internalcommands sethduuid VB-disk1.vmdk
UUID changed to: 73a7de22-6846-4868-9cd3-94bbf589d940
V:\>"C:\Program Files\Oracle\VirtualBox\VboxManage" clonehd VB-disk1.vmdk disk1.img --format raw
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Clone hard disk created in format 'raw'. UUID: faf96692-93ed-477e-9d52-1ade05009
b60
V:\>"C:\Program Files\Oracle\VirtualBox\VboxManage" internalcommands listpartitions -rawdisk disk1.img
Number Type StartCHS EndCHS Size (MiB) Start (Sect)
1 0x83 0 /1 /1 12 /254/63 101 63
2 0x8e 13 /0 /1 1023/254/63 10134 208845
[root@ovm]# file disk1.img
disk1.img: x86 boot sector; partition 1: ID=0x83, active, starthead 1, startsector 63, 208782 sectors; partition 2: ID=0x8e, starthead 0, startsector 208845, 20755980 sectors, code offset 0x48
[root@ovm]# fdisk -l disk1.img
last_lba(): I don't know how to handle files with mode 8180
You must set cylinders.
You can do this from the extra functions menu.
Disk disk1.img: 0 MB, 0 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
disk1.img1 * 1 13 104391 83 Linux
disk1.img2 14 1305 10377990 8e Linux LVM
Partition 2 has different physical/logical endings:
phys=(1023, 254, 63) logical=(1304, 254, 63)
No UUID issues with "VB-disk2.vmdk" proceed with "clonehd",
V:\>"C:\Program Files\Oracle\VirtualBox\VboxManage" clonehd VB-disk2.vmdk disk2.img --format raw
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Clone hard disk created in format 'raw'. UUID: de21cd38-494d-49df-81b4-c3fd3c8c67ae
V:\>"C:\Program Files\Oracle\VirtualBox\VboxManage" internalcommands listpartitions -rawdisk disk2.img
Number Type StartCHS EndCHS Size (MiB) Start (Sect)
1 0x8e 0 /0 /2 1023/254/63 61439 1
[root@ovm]# file disk2.img
disk2.img: LVM2 (Linux Logical Volume Manager) , UUID: VbrZ2qmX6kQU2os4ye7xncrd4y4NEe5
[root@ovm]# fdisk -l disk2.img
last_lba(): I don't know how to handle files with mode 81e4
You must set cylinders.
You can do this from the extra functions menu.
Disk disk2.img: 0 MB, 0 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
disk2.img1 1 7833 62914559+ 8e Linux LVM
Partition 1 has different physical/logical endings:
phys=(1023, 254, 63) logical=(7832, 127, 39)
Configure HVM "vm.cfg",
# (H)ardware (V)irtual (M)achine configuration
# /etc/xen/xmexample.hvm
kernel = '/usr/lib/xen/boot/hvmloader'
builder = 'hvm'
memory = '4096'
device_model ='/usr/lib/xen/bin/qemu-dm'
# PXE boot
#bootloader = '/usr/bin/pypxeboot'
#bootloader = '/usr/bin/pygrub'
# Virtual block device configuration using file:
# dd if=/dev/zero of=/$VM_PATH/$VM_NAME/System.img bs=1M count=$MB
# disk = [ 'file:/$VM_PATH/$VM_NAME/System.img,ioemu:hda,w', ]
# Configuration using physical disk logical volume:
# lvcreate --size ${GB}G --name $VM_NAME $VG_NAME
# disk = [ 'phy:/dev/$VG_NAME/$VM_NAME,xvda,w',]
# CDROM configuration using file:
# disk = [ 'file:/$BOOT_ISO_NAME,hdc:cdrom,r', ]
disk = [ 'file:/OVS/disk1.img,ioemu:hda,w', 'file:/OVS/disk2.img,ioemu:hdb,w', ]
# Domain name
name = "foobar"
# Networking
# Network bridge status:
# /etc/xen/scripts/network-bridge status
# 'bridge' should be proper interface e.g. xenbr0
vif = ['type=ioemu, bridge=xenbr0']
# boot on floppy (a), hard disk (c), Network (n) or CD-ROM (d)
# default: hard disk, cd-rom, floppy
boot = "cdn"
# Enable HV VNC console
vnc=1
vncunused=1
vnclisten="0.0.0.0"
vncpasswd=''
sdl=0
Update "grub.conf" and "device.map" using loopback mount of "disk1.img" boot partition,
[root@ovm]# mkdir boot
[root@ovm]# lomount -diskimage disk1.img -partition 1 boot
Excerpt "grub.conf",
[root@ovm]# cat boot/grub/grub.conf
title Oracle Linux Server (2.6.32-200.13.1.el5uek)
root (hd0,0)
kernel /vmlinuz-2.6.32-200.13.1.el5uek ro root=/dev/VolGroup00/LogVol00
Excerpt "Oracle Linux 5.7 Release Notes",
"Oracle Linux 5.7 ships with the following kernel packages
Unbreakable Enterprise kernel [kernel-uek-2.6.32-200.13.1.el5uek
Installed and booted by default"
Excerpt "Oracle Linux 5.7 Release Notes",
"Known Issues
Hardware virtualized (HVM) guests with Unbreakable Enterprise Kernel always use paravirtualized (PV) drivers
Unbreakable Enterprise Kernel version kernel-uek-2.6.32-100.34.1 adds support for paravirtualized drivers in a HVM guest on Oracle VM. Starting with this kernel version, the default is to present only paravirtualized drivers when running in a hardware virtualized guest. To run kernel-uek --including the drivers-- fully hardware virtualized, an additional kernel boot parameter "xen_emul_unplug=never" must be added to the boot parameters in /etc/grub.conf:
kernel /vmlinuz-2.6.32-100.34.1.el5uek ro root=/dev/VolGroup00/LogVol00 xen_emul_unplug=never
Adding this kernel boot parameter makes the kernel also present the emulated drivers as it did before (e.g. the 8139cp network driver). "
Update "grub.conf" to boot non-UEK kernel,
[root@ovm]# grep ^default boot/grub/grub.conf
default=1
[root@ovm# cat boot/grub/device.map
# this device map was generated by anaconda
(hd0) /dev/sda
[root@ovm]# cat boot/grub/device.map
# this device map was generated by anaconda
(hd0) /dev/hdaI have had success importing VirtualBox images of OEL 6.4, but I am unable to import Solaris 11 VMs to OVM. When I import a Solaris 11 VM, the grub menu comes up. I select Solaris 11 and press enter. The OS begins to boot and progresses through to this point:
SunOS Release 5.11 Version 11.1 64-bit
Copyright (c) 1983, 2012, Oracle and/or its affiliates. All rights reserved.
It is at this point that console window in OVM goes black and OVM registers the shutdown of the VM. I have not been able to get the VM to boot any further through the sequence.
Can you give me some grub configuration changes to try? -
OVM 3.0.3 importing templates issue
We are doing some testing with the JD Edwards EnterpriseOne environment and Oracle provides templates to use for Oracle VM. The instructions are a bit confusing but I am stuck at trying to import these templates.
Here are the templates I have hosted on a web server so I can import them into OVM.
http://<server>/templates2/E1_EL5U5_X86_64_PVM_10GB.tar.bz2 --> This is the only one I can import successfully. When completed it shows a system.img file and I can actually setup a VM and it boots up fine. (Oracle Linux 5 OS)
http://<server>/templates2/E1_DB_898.4.1_11GR2_X86_64.tar.bz2.part.0 (2.0 GB)
http://<server>/templates2/E1_DB_898.4.1_11GR2_X86_64.tar.bz2.part.1 (2.0 GB)
http://<server>/templates2/E1_DB_898.4.1_11GR2_X86_64.tar.bz2.part.2 (2.0 GB)
http://<server>/templates2/E1_DB_898.4.1_11GR2_X86_64.tar.bz2.part.3 (2.0 GB)
http://<server>/templates2/E1_DB_898.4.1_11GR2_X86_64.tar.bz2.part.4 (2.0 GB)
http://<server>/templates2/E1_ENT_898.4.1_X86_64.tar.bz2 (2.0 GB)
http://<server>/templates2/E1_HTML_898.4.1_WLS_X86_64.tar.bz2 (700 MB)
All the other templates I get an error when it is unpacking the template. The error reads
"Server error message: Template import error: Cannot find disk file: system.img
on server "44:45:4c:4c:52:00:10:48:80:51:ca:c0:4f:42:46:31" associated with object "cfgFile_0004fb000014000024d7f889441e1672""
Why is it looking for this system.img file? These other templates contain *.img files they just are not called system.img (ex E1_HTML.img, ...)
I should note I am using local storage for my repository (1 TB drive) but I haven't had any issues with that so far.
Thanks
Troyuser5933938 wrote:
http://<server>/templates2/E1_DB_898.4.1_11GR2_X86_64.tar.bz2.part.0 (2.0 GB)
http://<server>/templates2/E1_DB_898.4.1_11GR2_X86_64.tar.bz2.part.1 (2.0 GB)
http://<server>/templates2/E1_DB_898.4.1_11GR2_X86_64.tar.bz2.part.2 (2.0 GB)
http://<server>/templates2/E1_DB_898.4.1_11GR2_X86_64.tar.bz2.part.3 (2.0 GB)
http://<server>/templates2/E1_DB_898.4.1_11GR2_X86_64.tar.bz2.part.4 (2.0 GB)
You need to combine all these files into a single .tar.gz file first -- follow the README on E-Delivery for the template to recombine and unpack the template. Unfortunately, OVM3 can't do the recombination for you. -
OVM 3.0.3 unable to Import RAC Template
This could be just a minor issue, but I need assistance to troubleshoot.
A) Problem: Server error message: Template import error: [Errno 14] curl#7 - "couldn't connect to host"
B) Environment:
OVS 3.0.3 fresh install
- hostname OVServer & ip address = 192.168.1.222
- Downloaded RAC templates: OVM_EL5U5_X86_64_11201RAC_PVM-1of2.tgz & OVM_EL5U5_X86_64_11201RAC_PVM-2of2.tgz
- unzipped templates in /OVS/seed_pool
- Storage: 2 Hard drives: 1 TB & 80 GB - The 80GB is used for the Repositories at this time.
- I have created 5 Virtual Disks disks as per RAC11201-OVM-template-TestConfiguration.pdf
OVM 3.0.3 fresh install
- hostname: OVManager & ip address = 192.168.1.223
Doubts: Wile trying to import the Template, I was not sure of what to enter for "Template URL". I tied different entries but they all failed including:
https://192.168.1.222//OVS/seed_pool/OVM_EL5U5_X86_64_11201RAC_PVM-1of2.tgz
https://192.168.1.222//OVS/seed_pool/OVM_EL5U5_X86_64_11201RAC_PVM-2of2.tgz
where 192.168.1.222 is the ip address of the OVS.
C) Error details:
Job Construction Phase
begin()
Appended operation 'Import Virtual Machine Template' to object 'cfgFile_0004fb0000140000d751156e96401489'.
Appended operation 'Virtual Machine Cfg File Configure' to object 'cfgFile_0004fb0000140000d751156e96401489'.
commit()
Completed Step: COMMIT
Objects and Operations
Object (CREATED): [VirtualMachineCfgFile] cfgFile_0004fb0000140000d751156e96401489
Operation: Import Virtual Machine Template
Operation: Virtual Machine Cfg File Configure
Object (CREATED): [VirtualMachineTemplate] 0004fb0000140000d751156e96401489 (OVM_EL5U5_X86_64_11201RAC_PVM-1of2.tgz)
Job Running Phase at 00:41 on Wed, Jan 4, 2012
Job Participants: [53:4d:43:49:00:02:2b:90:25:00:2b:90:25:00:f1:d7 (OVServer)]
Actioner
Starting operation 'Import Virtual Machine Template' on object 'cfgFile_0004fb0000140000d751156e96401489'
Job Internal Error (Operation)com.oracle.ovm.mgr.api.exception.JobFailureException: OVMAPI_5001E Job "1325655693252" Failed due to failure "(01/04/2012 12:41:35:964 AM)
Async operation failed on server: OVServer.
Object: cfgFile_0004fb0000140000d751156e96401489,
PID: 2211,
Server error message: Template import error: [Errno 14] curl#7 - "couldn't connect to host"
" on server "53:4d:43:49:00:02:2b:90:25:00:2b:90:25:00:f1:d7" associated with object "cfgFile_0004fb0000140000d751156e96401489"
Wed Jan 04 00:41:36 EST 2012
at com.oracle.ovm.mgr.api.job.JobEngine.checkJobStatus(JobEngine.java:602)
at com.oracle.ovm.mgr.api.job.JobEngine.objectAsyncStart(JobEngine.java:580)
at com.oracle.ovm.mgr.api.job.JobEngine.objectAsyncStart(JobEngine.java:564)
at com.oracle.ovm.mgr.op.virtual.VirtualMachineTemplateImport.action(VirtualMachineTemplateImport.java:68)
at com.oracle.ovm.mgr.api.job.JobEngine.operationActioner(JobEngine.java:193)
at com.oracle.ovm.mgr.api.job.JobEngine.objectActioner(JobEngine.java:264)
at com.oracle.ovm.mgr.api.job.InternalJobDbImpl.objectCommitter(InternalJobDbImpl.java:1090)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:247)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:207)
at com.oracle.odof.core.BasicWork.invokeMethod(BasicWork.java:136)
at com.oracle.odof.command.InvokeMethodCommand.process(InvokeMethodCommand.java:100)
at com.oracle.odof.core.BasicWork.processCommand(BasicWork.java:81)
at com.oracle.odof.core.TransactionManager.processCommand(TransactionManager.java:751)
at com.oracle.odof.core.WorkflowManager.processCommand(WorkflowManager.java:401)
at com.oracle.odof.core.WorkflowManager.processWork(WorkflowManager.java:459)
at com.oracle.odof.io.AbstractClient.run(AbstractClient.java:42)
at java.lang.Thread.run(Thread.java:662)
FailedOperationCleanup
Starting failed operation 'Import Virtual Machine Template' cleanup on object 'cfgFile_0004fb0000140000d751156e96401489'
Complete rollback operation 'Import Virtual Machine Template' completed with direction=cfgFile_0004fb0000140000d751156e96401489
Rollbacker
Objects To Be Rolled Back
Object (CREATED): [VirtualMachineCfgFile] cfgFile_0004fb0000140000d751156e96401489
Object (CREATED): [VirtualMachineTemplate] 0004fb0000140000d751156e96401489 (OVM_EL5U5_X86_64_11201RAC_PVM-1of2.tgz)
Write Methods Invoked
Class=InternalJobDbImpl vessel_id=3428 method=addTransactionIdentifier accessLevel=6
Class=VirtualMachineTemplateDbImpl vessel_id=3446 method=setName accessLevel=6
Class=VirtualMachineTemplateDbImpl vessel_id=3446 method=setFoundryContext accessLevel=6
Class=VirtualMachineTemplateDbImpl vessel_id=3446 method=onPersistableCreate accessLevel=6
Class=VirtualMachineTemplateDbImpl vessel_id=3446 method=setLifecycleState accessLevel=6
Class=VirtualMachineTemplateDbImpl vessel_id=3446 method=setRollbackLifecycleState accessLevel=6
Class=VirtualMachineCfgFileDbImpl vessel_id=3451 method=setName accessLevel=6
Class=VirtualMachineCfgFileDbImpl vessel_id=3451 method=setFoundryContext accessLevel=6
Class=VirtualMachineCfgFileDbImpl vessel_id=3451 method=onPersistableCreate accessLevel=6
Class=VirtualMachineCfgFileDbImpl vessel_id=3451 method=setLifecycleState accessLevel=6
Class=VirtualMachineCfgFileDbImpl vessel_id=3451 method=setRollbackLifecycleState accessLevel=6
Class=VirtualMachineCfgFileDbImpl vessel_id=3451 method=setJobAsset accessLevel=6
Class=VirtualMachineTemplateDbImpl vessel_id=3446 method=setVirtualMachineCfgFile accessLevel=6
Class=VirtualMachineCfgFileDbImpl vessel_id=3451 method=setVirtualMachine accessLevel=6
Class=VirtualMachineCfgFileDbImpl vessel_id=3451 method=importVirtualMachineTemplate accessLevel=6
Class=VirtualMachineTemplateDbImpl vessel_id=3446 method=setSimpleName accessLevel=6
Class=VirtualMachineCfgFileDbImpl vessel_id=3451 method=setAsset accessLevel=6
Class=VirtualMachineCfgFileDbImpl vessel_id=3451 method=configure accessLevel=6
Class=VirtualMachineTemplateDbImpl vessel_id=3446 method=setOrigin accessLevel=6
Class=VirtualMachineTemplateDbImpl vessel_id=3446 method=setDescription accessLevel=6
Class=VirtualMachineCfgFileDbImpl vessel_id=3451 method=setAsset accessLevel=6
Class=VirtualMachineCfgFileDbImpl vessel_id=3451 method=configure accessLevel=6
Class=InternalJobDbImpl vessel_id=3428 method=setCompletedStep accessLevel=6
Class=InternalJobDbImpl vessel_id=3428 method=setAssociatedHandles accessLevel=6
Class=InternalJobDbImpl vessel_id=3428 method=setFailedOperation accessLevel=6
Class=VirtualMachineCfgFileDbImpl vessel_id=3451 method=nextJobOperation accessLevel=6
Class=VirtualMachineTemplateDbImpl vessel_id=3446 method=nextJobOperation accessLevel=6
Completed Step: ROLLBACK
Job Failed Commit due to OVMAPI_5001E Job "1325655693252" Failed due to failure "(01/04/2012 12:41:35:964 AM)
Async operation failed on server: OVServer.
Object: cfgFile_0004fb0000140000d751156e96401489,
PID: 2211,
Server error message: Template import error: [Errno 14] curl#7 - "couldn't connect to host"
" on server "53:4d:43:49:00:02:2b:90:25:00:2b:90:25:00:f1:d7" associated with object "cfgFile_0004fb0000140000d751156e96401489"
Wed Jan 04 00:41:36 EST 2012
com.oracle.ovm.mgr.api.exception.JobFailureException: OVMAPI_5001E Job "1325655693252" Failed due to failure "(01/04/2012 12:41:35:964 AM)
Async operation failed on server: OVServer.
Object: cfgFile_0004fb0000140000d751156e96401489,
PID: 2211,
Server error message: Template import error: [Errno 14] curl#7 - "couldn't connect to host"
" on server "53:4d:43:49:00:02:2b:90:25:00:2b:90:25:00:f1:d7" associated with object "cfgFile_0004fb0000140000d751156e96401489"
Wed Jan 04 00:41:36 EST 2012
at com.oracle.ovm.mgr.api.job.JobEngine.checkJobStatus(JobEngine.java:602)
at com.oracle.ovm.mgr.api.job.JobEngine.objectAsyncStart(JobEngine.java:580)
at com.oracle.ovm.mgr.api.job.JobEngine.objectAsyncStart(JobEngine.java:564)
at com.oracle.ovm.mgr.op.virtual.VirtualMachineTemplateImport.action(VirtualMachineTemplateImport.java:68)
at com.oracle.ovm.mgr.api.job.JobEngine.operationActioner(JobEngine.java:193)
at com.oracle.ovm.mgr.api.job.JobEngine.objectActioner(JobEngine.java:264)
at com.oracle.ovm.mgr.api.job.InternalJobDbImpl.objectCommitter(InternalJobDbImpl.java:1090)
at sun.reflect.GeneratedMethodAccessor1097.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:247)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:207)
at com.oracle.odof.core.BasicWork.invokeMethod(BasicWork.java:136)
at com.oracle.odof.command.InvokeMethodCommand.process(InvokeMethodCommand.java:100)
at com.oracle.odof.core.BasicWork.processCommand(BasicWork.java:81)
at com.oracle.odof.core.TransactionManager.processCommand(TransactionManager.java:751)
at com.oracle.odof.core.WorkflowManager.processCommand(WorkflowManager.java:401)
at com.oracle.odof.core.WorkflowManager.processWork(WorkflowManager.java:459)
at com.oracle.odof.io.AbstractClient.run(AbstractClient.java:42)
at java.lang.Thread.run(Thread.java:662)
End of Job
Why can't I connect to the host - "couldn't connect to host"?
Is my URL wrong?
In addition to the above, Is the location of my templates correct?
ThanksThanks. I didn't see that fact in the docs.
I moved the templates into my VM Manager box (192.168.1.223) into a new folder /ora_templates which has chmod 777.
192.168.1.223 is a Virtual Machine.
I tried testing the URL http://192.168.1.223/ora_templates in my windows browser and it failed with "HTTP Error 403" & "The server has denied your browser request"
I tried the Template import again using the following url and it failed again with similar errors:
http://192.168.1.223/ora_templates/OVM_EL5U5_X86_64_11201RAC_PVM-1of2.tgz
http://192.168.1.223/ora_templates/OVM_EL5U5_X86_64_11201RAC_PVM-2of2.tgz
Error Details:
Job Construction Phase
begin()
Appended operation 'Import Virtual Machine Template' to object 'cfgFile_0004fb00001400007ce6220db5c76163'.
Appended operation 'Virtual Machine Cfg File Configure' to object 'cfgFile_0004fb00001400007ce6220db5c76163'.
commit()
Completed Step: COMMIT
Objects and Operations
Object (CREATED): [VirtualMachineCfgFile] cfgFile_0004fb00001400007ce6220db5c76163
Operation: Import Virtual Machine Template
Operation: Virtual Machine Cfg File Configure
Object (CREATED): [VirtualMachineTemplate] 0004fb00001400007ce6220db5c76163 (OVM_EL5U5_X86_64_11201RAC_PVM-1of2.tgz)
Job Running Phase at 00:02 on Thu, Jan 5, 2012
Job Participants: [53:4d:43:49:00:02:2b:90:25:00:2b:90:25:00:f1:d7 (OVServer)]
Actioner
Starting operation 'Import Virtual Machine Template' on object 'cfgFile_0004fb00001400007ce6220db5c76163'
Job Internal Error (Operation)com.oracle.ovm.mgr.api.exception.JobFailureException: OVMAPI_5001E Job "1325739720365" Failed due to failure "(01/05/2012 12:02:04:344 AM)
Async operation failed on server: OVServer.
Object: cfgFile_0004fb00001400007ce6220db5c76163,
PID: 15086,
Server error message: Template import error: [Errno 14] curl#7 - "couldn't connect to host"
" on server "53:4d:43:49:00:02:2b:90:25:00:2b:90:25:00:f1:d7" associated with object "cfgFile_0004fb00001400007ce6220db5c76163"
Thu Jan 05 00:02:04 EST 2012
at com.oracle.ovm.mgr.api.job.JobEngine.checkJobStatus(JobEngine.java:602)
at com.oracle.ovm.mgr.api.job.JobEngine.objectAsyncStart(JobEngine.java:580)
at com.oracle.ovm.mgr.api.job.JobEngine.objectAsyncStart(JobEngine.java:564)
at com.oracle.ovm.mgr.op.virtual.VirtualMachineTemplateImport.action(VirtualMachineTemplateImport.java:68)
at com.oracle.ovm.mgr.api.job.JobEngine.operationActioner(JobEngine.java:193)
at com.oracle.ovm.mgr.api.job.JobEngine.objectActioner(JobEngine.java:264)
at com.oracle.ovm.mgr.api.job.InternalJobDbImpl.objectCommitter(InternalJobDbImpl.java:1090)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:247)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:207)
at com.oracle.odof.core.BasicWork.invokeMethod(BasicWork.java:136)
at com.oracle.odof.command.InvokeMethodCommand.process(InvokeMethodCommand.java:100)
at com.oracle.odof.core.BasicWork.processCommand(BasicWork.java:81)
at com.oracle.odof.core.TransactionManager.processCommand(TransactionManager.java:751)
at com.oracle.odof.core.WorkflowManager.processCommand(WorkflowManager.java:401)
at com.oracle.odof.core.WorkflowManager.processWork(WorkflowManager.java:459)
at com.oracle.odof.io.AbstractClient.run(AbstractClient.java:42)
at java.lang.Thread.run(Thread.java:662)
Questions:
1. How do I test access to these files from a browse?
2. If I have to ftp, what will the entry look like.
3. ftp doesn't seem to be installed on the OVM Server - how do I install it or activate if it there?
4. What is the solution to my problem above?
Trying to get these templates working has been pretty time consuming much more than described and expected.
Thanks for your help.
MAC -
I have downloaded and extracted the E1 OVm templates. Namely E1_OAS, E1_ENT, E1_DB. I make them accessible in localhost. When I tried to import them, I got an invalid URL error. Here are my steps
1. login VM manager 2.2 as admin.
2. Import VM template, downloaded from Edelivery.
3. Source - external HTTP. aka localhost
4. Virtutal Machine Template, E1_OAS, OS - Oracle linux 64
5. URL - http://localhost/tmp. /tmp is where I place the extracted img and cfg files in their repective folders. I can browse the folder under localhost.
Then I got invalid URL. Please help.
Linguser11121848 wrote:
3. Source - external HTTP. aka localhostThis is incorrect -- unpack the templates into the /OVS/seed_pool directory and use the "Discover from Server Pool" option instead. That will then just register the templates that already exist on your Oracle VM Server. To use HTTP, you need to put the compressed templates onto a webserver somewhere on your network. -
Failed to start vm by imported ova in OVM
Hi,
I am new in ovm, I have a .ova file which is exported from virtual box vm manager. I have sucessfully imported the .ova file and created a template also.
The exported .ova file is linux image along with 3 number of harddisk (.vdmk) . the imported template in ovm is converted those in .img file and also created a vm.cfg file. But I found the OS is not showing there, thats why I edited the template and choose Red Hat Linux, other options also there like oracle linux,Microsoft Windows 7. I have sucessfully created a vm from that template.
but when I start the vm, I got error e2fsck failed and asking for root password to recover.
Please help and correct me if any thing wrong in my process.
Thanks,
Debashish DeyHi,
Yes, you are right. I compared the fstab in both devices ( Virtual box and ovm) and found the device name is different.
in virtual box it was /dev/sdc where in OVM it is /dev/xvdc. I changed in fstab and its works for me.
Thanks,
Debashish -
How can I see progress when importing an ISO into a repository using OVM 3.2.2?
How can I determine if anything is happening when importing an ISO into an OVM 3.2.2 repository. The job says "In progress", no indication of activity.
Hi,
You can verify with the jobs tab.
Select a job in the table and click Details... to see the details of the job.
I hope this can help you
Best Regards -
Import Error OVM Template Via VM Manager
I'm getting this import error message
Register an empty virtual machine
register the virtual machine genernal information
get the virtual machine detail information...
Invalid virtual machine type(HVM/PVM).
When tried to import OVM_EL5U5_X86_64_PVM_10GB
and OVM_EL5U2_X86_64_ORACLE11G_PVM
This was only my initial import on resource.
Can anyone help me on this?? thanksHi bach,
I can't follow you there... here's the extracted content of "OVM_EL5U2_X86_64_ORACLE11G_PVM.tgz"
oracle11g_x86_64_asm.img
README
System.img
vm.cfg
vm.cfg.orig
here's the README
OEL 5.2 X86_64 Oracle 11g image for PVM guests
Version 2.2
Released on Feb 02 2009
Changelog:
* Mon Feb 02 2009
- Bumped the release number from 2.1.2 to 2.2 .
- Replace system image with the image based on OEL 5.2 JeOS.
- Upgraded kernel to kernel-xen-2.6.18-92.1.22.0.1.el5, ocfs2 and oracleasm
were upgraded correspondingly.
- Added strace, gdb packages.
- Upgraded oracle-validated to 1.0.0-16.el5
- Moved Oracle home from LVM2 logical volume to regular ext3 partition.
how does this relate with your answer ? -
Hello!
I have such question.
Does the VM template stored in the repository wholly?
Or in repository stored only the link on the template?
ThanksHi,
yes, the template get's stored in the repository completely. However, it differs a bit between OVM 2.x and OVM 3. Where in OVM 2 all files belonging to the template directly (vm.cfg plus any virtual disk) are stored inside the same folder, in OVM 3 all virtual disk files are store in one folder inside the repository and only the vm.cfg is stored inside there "template folder" - just as it is with the VMs. -
How to manually import OVM templates?
Hi
With my workstation laptop, I created a VM Server and VM Manager machines.
I discovered server, created server pool, NFS file servers etc. Everything is perfect.
I have a template but its tgz size is 11 gb and extracted size is 135 gb.
I start import operation but after a while it is aborted automatically.
Is there any way to import templates manually?After import is aborted, I see a file is being created under Template folder. ----> 0004fb00001400006a5b408f4fff921a
the structure is following:
[root@ovserver nfs1]# ls -lrt
total 20
drwx------ 2 65534 65534 4096 Jan 17 20:49 VirtualMachines
drwx------ 2 65534 65534 4096 Jan 17 20:49 VirtualDisks
drwx------ 2 65534 65534 4096 Jan 17 20:49 ISOs
drwx------ 2 65534 65534 4096 Jan 17 20:49 Assemblies
drwx------ 3 65534 65534 4096 Jan 18 22:57 Templates
[root@ovserver nfs1]# cd Templates/
[root@ovserver Templates]# ls -lrt
total 4
drwxr-xr-x 3 65534 65534 4096 Jan 18 22:57 0004fb00001400006a5b408f4fff921a
[root@ovserver Templates]# cd 0004fb00001400006a5b408f4fff921a/
[root@ovserver 0004fb00001400006a5b408f4fff921a]# ls -lrt
total 4
drwxr-xr-x 3 65534 65534 4096 Jan 18 23:00 tmp
[root@ovserver 0004fb00001400006a5b408f4fff921a]# cd tmp/
[root@ovserver tmp]# ls -lrt
total 3869736
drwxrwx--- 2 65534 65534 4096 Jan 18 23:00 qr01cel01
[root@ovserver tmp]#
Please can you explain which files I should copy to where?
Thanks a lot for your help....
Maybe you are looking for
-
Urgent..please anyone can help me??????
<b>Hi all.. please anyone can help me.for this issue.... My Requirements is first need to MR11 tarnsaction and create zmr11 transaction and also the copy the corresponding MR11 program create Z program, which i did it. but now i have create a POPUP w
-
Landscape orientation on iPhone 5
Ever since I upgraded to the latest iOS, I haven't been able to get my phone to change orientation. When in Safari, mail, etc., it stays in portrait orientation. How can I get this to work?
-
Some Mail Perfernces keep reseting.
Any ideas on this? 1. Under preferences/accounts/ <my pop account>/advanced. Is a check box, 'Remove copy from server after retriving... I like to have this checked, and right away selected from the options below. The problem is it keeps unchecking i
-
Why are songs from the same album being separated in my library?
My library is currently sorted by "Album by Artist." I have 5 songs from a particular album and the library is grouping only 4 of them together, while singling out and listing 1 song separately, just beneath the other 4 songs. The text in the Artist,
-
After Effects CS3 - Rendering --Use an External Drive not C: Drive
Newbie AE Question 1. Saving Files: Is it best to save all AE files to an External Hard Drive in other words all output files MPEG--AVI--Quicktime to a Media Drive rather than the C: Drive? 2. Rendering How can I make AE Default to save as a MPEG or