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.

  • Extract from CD isolinux directoy
  • Modify isolinux.cfg
       default xen
    prompt 1
    timeout 600
    display boot.msg
    F1 boot.msg
    F2 options.msg
    label xen
      kernel mboot.c32
      append xen.gz --- vmlinuz ks noipv6 network ksdevice=bootif --- initrd.img
    label p2v
      kernel mboot.c32
      append xen.gz --- vmlinuz ks noipv6 network ksdevice=bootif p2v --- initrd.img
    label rescue
      kernel mboot.c32
      append xen.gz --- vmlinuz keymap=us lang=en_US.UTF-8 noipv6 ip=dhcp method=http://linuxsoft.cern.ch/oracle/vmserver/3.0.3/x86_64/ rescue --- initrd.img
    label local
      localboot 1
    
    label memtest86
      kernel memtest
      append -
       
  • Generate new iso.
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 
Topic attachments
I Attachment History Action Size Date Who Comment
PNGpng Screenshot.png r1 manage 322.5 K 2012-01-17 - 17:17 ThomasOulevey  
Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r7 - 2012-05-11 - ThomasOulevey
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    LinuxSupport All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright &© 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback