Aquire the Sun Ray software template (which is about to be discontinued) and unpack the template file.
OVM_OL6U3_X86_64_SRS5.4_PVHVM.mf: ASCII text
OVM_OL6U3_X86_64_SRS5.4_PVHVM.ova: POSIX tar archive
OVM_OL6U3_X86_64_SRS5.4_PVHVM.ovf: XML document text
Create a VM in proxmox with two ZFS volumes.
Read the OVM_OL6U3_X86_64_SRS5.4_PVHVM.ovf to get an idea on how much resources the machine should use.
Unpack the tar file:
This will give you:
Product.img: gzip compressed data, was “Product.img”, last modified: Fri May 3 15:01:48 2013, max compression, from Unix
System.img: gzip compressed data, was “System.img”, last modified: Fri May 3 14:59:13 2013, max compression, from Unix
These RAW images needs to be unpacked:
mv Product.img Product.gz && gunzip Product
mv System.img System.gz && gunzip System.gz
Now look at their properties:
System: DOS/MBR boot sector; GRand Unified Bootloader, stage1 version 0x3, boot drive 0x80, 1st sector stage2 0x8480e, GRUB version 0.94
Product: Linux rev 1.0 ext4 filesystem data, UUID=d0dd198a-031a-4dbe-8345-b411986f460e, volume name “Product-SRS54” (extents) (large files) (huge files)
Find the VM:s zfs volumes in /dev/zvol. For instance:
dd if=System of=/dev/zvol/vmpool/vm-107-disk-1 bs=1M
dd if=Product of=/dev/zvol/vmpool/vm-107-disk-2 bs=1M
When you boot your VM, you’ll probably encounter kernel panic because its unable to find the volume groups since the disks are named using xen standard (xvdb and so on)
Enter the grub menu, edit the last alternative in the menu. Remove “rhgb quiet” and add init=/bin/bash and then boot. Remount / as rw. Edit /etc/fstab and set /opt to the correct disk. Make sure /boot is correct as well.
Also adjust grub settings for new disks. Then you can enable public yum repository and install all the available updates and receive a new kernel that you can actually boot from. Make sure the grub config also points to the newest kernel.
The default sun ray admin password is 5r5demo and can be reset using
If you need to restart the sun ray services, run: