Sync the rpms/iso
Connect on lxsoft04 AND lxsof05 :
Update the mrepo config with the new release :
cat /etc/mrepo.conf.d/ovm3-x86_64.conf
[ovm3-x86_64]
name = Oracle VM $release ($arch)
release = 3
arch = x86_64
metadata = yum repomd repoview
#iso = RHEL$release-U1-$arch-ES-disc?.iso
#RPMS
ovm3_3.0.3_x86_64_base = ulns://linux-update.oracle.com/ovm3_3.0.3_x86_64_base
ovm3_3.0.2_x86_64_base = ulns://linux-update.oracle.com/ovm3_3.0.2_x86_64_base
ovm3_3.0_x86_64_base = ulns://linux-update.oracle.com/ovm3_3.0_x86_64_base
ovm3_3.0_x86_64_patch = ulns://linux-update.oracle.com/ovm3_3.0_x86_64_patch
Add the same channel to linuxsoft.cern.ch on linux.oracle.com: (login details in /etc/mrepo.conf)
Run: (cron will run it at 11h00 and 23h00)
/usr/bin/linuxsoft-sync-rhn -s ovm3-x86_64
Download the ISO image in /afs/cern.ch/project/linux/dev/OVM3iso.
Create new volume:
cd /afs/.cern.ch/project/linux/oracle/vmserver (the DOT !)
afs_admin create -q 250000 3.1.1 p.linux.ovm311.x8664 (check quota)
afs_admin vos_release p.linux.root
cd /afs/cern.ch/project/linux/oracle/vmserver
chmod 755 3.1.1
fs copyacl -clear 3.0.3/ 3.1.1/
fs la
cd 3.1.1
mkdir x86_64
Uncompress the ISO to: /afs/cern.ch/project/linux/oracle/vmserver/3.1.1/x86_64/
"linuxsoft-sync-afs.sh" will copy in in lxsoft0{4,5}:/data/oracle/vmserver.
If you are in an hurry :
/usr/bin/linuxsoft-sync-afs -s oracle
Configure accesses
cd /afs/cern.ch/project/linux/adm/rhel/
co -l config_groups
/afs/cern.ch/project/linux/adm/rhel/config_groups
ci -u config_groups
Add the image to aims2 :
aims2client addimg --name ORAVMS_303_X86_64 --arch x86_64 --vmlinuz /afs/cern.ch/project/linux/dev/OVM3iso/memdisk --description "ORACLE VM SERVER 3.0.3 TEST FOR X86_64 ARCH." --initrd /afs/cern.ch/project/linux/dev/OVM3iso/OracleVM-Server-3.0.3.iso --kopts "raw iso"
Create CERN customized Image.
mkisofs -R -boot-info-table -no-emul-boot -b isolinux/isolinux.bin -c isolinux/boot.cat -o OracleVM-Server-3.1.1-CERN.iso mydir/
* Add to aims
If you are very nice update the internal webpage
vi /afs/cern.ch/project/linux/wwwtest/ovm/index.shtml
/afs/cern.ch/project/linux/adm/bin/wwwtest2prod