Unattended Upgrade with AutoYaST using OES 11 SP1 Integrated ISO

0 Likes
This article aims to describe the AutoYast upgrade unattended from OES2 (64 bit) to OES11SP1 with no user intervention.

Prerequisites:



  • Create the answer file on OES2/OES11 Server before proceeding with upgrade.


    1. Type the following command in the terminal

      yast2 /usr/share/YaST2/clients/create-answer-file.ycp

  • In Yast2 dialog provide the eDirectory password and click OK

  • Once the answer file is generated, copy the answer file to /opt/novell/oes-install



  • Ensure that the correct eDirectory replica server's IP address is present in the eDirectory install configuration file (for OES 2 SP2, the file name is edir2_sp2 and for OES 2 SP3, it is edir2_sp3) at /etc/sysconfig/novell/ as shown below:

    CONFIG_EDIR_REPLICA_SERVER = "<Replica IP>"


Upgrading an OES2/OES11(64 bit) Server to OES11SP1:


 

  • Download the OES11SP1 Integrated ISO (SLES OES Single Media DVD Image) and loop mount under any directory.eg: mount -o loop SLES11-SP1_with_OES11-SP1-x86_64-DVD.iso /mnt/autoupgrade (It will be mounted as read-only)

  • Copy the autoupgrade folder to another location and delete the add-on products.xml file.eg: cp -r /mnt/autoupgrade /tmp

  • Re-master the ISO without the add-on products.xml.mkisofs -R -b boot/x86_64/loader/isolinux.bin -c boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -o /tmp/SLES11-with-OES11-SP1.iso /tmp/autoupgrade







    -R

    Generate SUSP and RR records using the Rock Ridge protocol to further describe the files on the ISO9660 filesystem.



    -b eltorito_boot_image

    Specifies the path and filename of the boot image to be used when making an El Torito bootable CD for x86 PCs.



    -c boot_catalog

    Specifies the path and filename of the boot catalog, which is required for an El Torito bootable CD



    -no-emul-boot

    The system will load and execute this image without performing any disk emulation



    -boot-load-size load_sectors

    Specifies the number of "virtual" (512-byte) sectors to load in no-emulation mode. The default is to load the entire boot file. Some BIOSes may have problems if this is not a multiple of 4



    -boot-info-table

    Specifies that a 56-byte table with information of the CD-ROM layout will be patched in at offset 8 in the boot file



    -o

    Specify the output file for the ISO9660 filesystem image









  • Use the Re-mastered ISO.to boot the OES2/OES11 machine. 

  • In the Installation screen, select Install and specify the following parameters under the boot options.autoupgrade=1 autoyast=relurl://oes/autoupgrade.xml netsetup=hostip hostip=<enter the host IP> netmask=<enter the netmask IP> gateway=<enter the gateway IP>

    autoupgrade=1 - To Enter into autoupgrade process

    autoyast path - It will pick up from the Re-mastered ISO

  • Press Enter.

    The upgrade proceeds without any user intervention from the Re-mastered ISO

Labels:

How To-Best Practice
Comment List
Anonymous
Related Discussions
Recommended