6.5 Patching Using a Patch CD or ISO Images

For each release of a Support Pack for OES Linux, Novell updates the Open Enterprise Server SPx CD 1 boot CD ISO image and all other OES CD images. You can use these CDs or ISO images to patch the server with all the patches included in OES Support Pack 2. For information about downloading the images and burning the CDs, see Downloading the Updated ISO Images for Use with YaST Patch CD Update.

Use the following procedure for patching a server.

  1. Make sure you have completed the following preparation procedures in Before You Patch the Server.

  2. With the server running, insert Open Enterprise Server SP2 CD 1 into the CD drive of the server or mount all the physical CDs or ISO images that you downloaded to the local server.

    If you are going to patch using ISO images, mount each of the downloaded ISO images before starting the YaST Online Update dialog:

    1. Create a directory for each of the images in the /mnt directory.

    2. Enter the following mount command at a shell prompt:

      mount -o loop directory_name/iso_name /mnt/directory_name

      For example:

      If you have saved the files in the /patchcd directory and created the iso-1, iso-2, and iso-3 directories in the /mnt directory, you would enter the following command to mount the first ISO image:

      mount -o loop /patchcd/oessp2linux01.iso /mnt/iso-1

  3. (Conditional) Verify that the public keys are installed.

    If you haven't previously verified that the public keys have been installed, do the following; otherwise, skip to Step 5.

    At a shell command line prompt, enter

    rpm -qa | grep pubkey

    or

    rpm -qa *pubkey*

    You should see the following public keys displayed:

    • gpg-pubkey-0dfb3188-41ed929b.asc

    • gpg-pubkey-3d25d3d9-36e12d04.asc

    • gpg-pubkey-9c800aca-39eef481.asc

    • gpg-pubkey-15c17deb-3f9e80c9.asc

  4. If all the public keys listed in Step 3 are displayed, continue with Step 5.

    or

    If nothing is returned or any of the keys is missing, import one or more of the four public keys as applicable from the Open Enterprise Server SP2 CD 1 or oessp2linux01.iso image by doing the following:

    1. Change to the current drive where the CD is mounted or the ISO image is located by entering the following at a shell command line prompt:

      Commands for CD Media

      Commands for ISO Image Media

      cd /media/mount_point

      cd /mnt/directory_name

      For example,

      cd /media/cdrom

      cd /media/cdrecorder

      cd /media/dvd

      For example,

      cd /mnt/iso-1

    2. Get a list of all the keyfile names by entering the following at a shell command line prompt:

      ls gpg-pubkey*.asc

    3. Import each file by entering the following command for each file:

      rpm --import gpg-pubkey-unique_number.asc

  5. Access the Welcome to YaST Online Update dialog box.

    Do the following based on what occurred when you inserted the Open Enterprise Server SP2 CD 1 in the CD drive.

    If

    Then

    The server automatically launched a screen that displayed a message that the SUSE patch CD was found.

    1. Click the terminal window that opened when the CD was inserted.

    2. Click Yes.

    3. In the Welcome to YaST Online Update dialog box, accept the default settings, then click Next.

      All patches to be installed for the Support Pack are selected by default.

    4. Click Accept, then proceed to Step 6.

    Nothing happened

    1. Open YaST.

    2. Click Software > Patch CD Update.

    3. In the Welcome to YaST Online Update dialog box, accept the default settings, then click Next.

      All patches to be installed for the Support Pack are selected by default.

    4. Click Accept, then proceed to Step 6.

    Do the following if you are installing the patches from the ISO images on the local server or using a network installation source:

    Image Location

    Procedure

    Directory on the local server

    1. Open YaST.

    2. Click Software > Patch CD Update.

    3. In the Welcome to YaST Online Update dialog box, click New Server.

    4. In the Select Type of URL dialog box, select Directory, then click OK.

    5. In the Local Directory dialog box, click Browse.

      Browse to the mount point for the first ISO image or type the pathname to it, then click OK > Next.

      The patch information is updated and the YaST Online Update Patch dialog box is displayed.

    6. Select all the patches.

      Right-click a patch in the list. Click All in This List > Install.

    7. Click Accept, then proceed to Step 6.

    URL to a network installation source

    1. Open YaST.

    2. Click Software > Patch CD Update.

    3. In the Welcome to YaST Online Update dialog box, click New Server.

    4. In the Select Type of URL dialog box, select the applicable protocol, then click OK.

    5. Type the applicable information in the Server Name and Directory on Server fields, then click OK.

      In the Directory on Server field, type the path_to_installation_source/sles9/CD1.

      The patch information is updated and the YaST Online Update Patch dialog box is displayed.

    6. Select all the patches in the list to be installed.

    7. Click Accept, then proceed to Step 6.

  6. When prompted to accept specific packages, click Install Patch.

    The downloading of the patches should begin.

  7. Follow the on-screen prompts to accept the downloading or installing of patches, and to insert CDs.

    When prompted to insert YOU patch CDs, insert the CDs as shown or type the path to the applicable ISO image in the URL field of the prompt:

    At Prompt

    ISO Image File

    CD label

    YOU Patch CD CD 2

    oessp2linux02.iso

    Open Enterprise Server SP2 CD 2

    YOU Patch CD CD 3

    oessp2linux03.iso

    Open Enterprise Server SP2 CD 3

    To display the URL field of the prompt, click Details.

    When everything has been downloaded and installed, you should see the following message in the Process Log dialog box:

    Installation finished.
    
  8. When you see the Installation Finished message, click Finish.

    The system starts a system configuration process. When that process is finished, the Welcome to YaST Online Update dialog box is returned or closed.

  9. Repeat the download, installation, and configuration steps.

    Reinsert Open Enterprise Server SP2 CD 1 or access the ISO images and perform Step 5, Step 6, Step 7, and Step 8, then continue with Step 10 or Step 11 when the second configuration step is complete.

    The download and installation time is much shorter the second time because fewer patches are downloaded and installed the second time.

    IMPORTANT:Completing this step installs patches that could not be installed the first time.

  10. (Conditional) If it has been some time since a Support Pack was made available and you want to update the server with the latest patches, use the procedures in Patching a Server From the OES Channel Using the Red Carpet Command Line (rug) or Patching a Server From the OES Channel Using the Red Carpet GUI.

  11. Continue with Updating Installation Sources Using YaST.