TWiki
>
LinuxSupport Web
>
LinuxSupportInternals
>
OvmRepositorySync
(2012-05-11,
ThomasOulevey
)
(raw view)
E
dit
A
ttach
P
DF
---++ Sync the rpms/iso Connect on lxsoft04 AND lxsof05 : Update the mrepo config with the new release : <verbatim> 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 </verbatim> Add the same channel to linuxsoft.cern.ch on linux.oracle.com: (login details in /etc/mrepo.conf) <img width="800" alt="" src="%ATTACHURL%/Screenshot.png" height="621" /> <img alt="" src="%ATTACHURL%/Screenshot" /> Run: (cron will run it at 11h00 and 23h00) <verbatim> /usr/bin/linuxsoft-sync-rhn -s ovm3-x86_64 </verbatim> Download the ISO image in /afs/cern.ch/project/linux/dev/OVM3iso. Create new volume: <verbatim> 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 </verbatim> 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 : <verbatim> /usr/bin/linuxsoft-sync-afs -s oracle </verbatim> ---++ Configure accesses <verbatim> 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 </verbatim> ---++ Add the image to aims2 : <verbatim> 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" </verbatim> ---++ Create CERN customized Image. * Extract from CD isolinux directoy * Modify isolinux.cfg <verbatim> 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 - </verbatim> * Generate new iso. <verbatim> 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/ </verbatim> * Add to aims ---++ If you are very nice update the internal webpage <verbatim> vi /afs/cern.ch/project/linux/wwwtest/ovm/index.shtml /afs/cern.ch/project/linux/adm/bin/wwwtest2prod </verbatim>
Attachments
Attachments
Topic attachments
I
Attachment
History
Action
Size
Date
Who
Comment
png
Screenshot.png
r1
manage
322.5 K
2012-01-17 - 17:17
ThomasOulevey
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r7
<
r6
<
r5
<
r4
<
r3
|
B
acklinks
|
V
iew topic
|
WYSIWYG
|
M
ore topic actions
Topic revision: r7 - 2012-05-11
-
ThomasOulevey
Log In
LinuxSupport
LinuxSupport Web
LinuxSupport Web Home
Changes
Index
Search
Main
FIOgroup
Cern Search
TWiki Search
Google Search
LinuxSupport
All webs
Copyright &© 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