6.11 Patching Quick Paths for Experts

The following Quick Paths contain a brief summary of steps for each of the methods that you can use to patch the server with the pre and post steps included. These Quick Paths do not include detailed instructions and are meant to help the more experienced user move through the process quickly.

IMPORTANT:If you are unfamiliar with the OES Linux patching process, read the complete section, Patching an OES Linux Server, to ensure a more successful experience.

6.11.1 Quick Path for Patching Using CDs or ISO Images

  1. Download OES ISO images from the OES Consolidated Support Pack Web site.

  2. Burn CDs from the OES ISO images or create a mount directory for each CD in the /mnt directory on the local server and mount all the downloaded images in the applicable directory.

    mount -o loop directory_name/iso_name /mnt/directory_name

    Example for first CD:

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

  3. Install all services that you want to run on the server.

  4. Ensure that the server has enough disk space for downloading and installing patches.

  5. (Conditional) If you are patching an OES FCS server and iPrint Services are running, stop them. /etc/init.d/novell-ipsmd stop /etc/init.d/novell-idsd stop

  6. Insert the Open Enterprise Server SP2 CD1 in to the CD drive of the server or access the ISO images.

  7. Verify that all the public keys are installed on the server. If they are not installed, import them.

    1. To verify, enter rpm -qa *pubkey*

      These keys should be listed:

      • gpg-pubkey-0dfb3188-41ed929b.asc
      • gpg-pubkey-3d25d3d9-36e12d04.asc
      • gpg-pubkey-9c800aca-39eef481.asc
      • gpg-pubkey-15c17deb-3f9e80c9.asc
    2. To import the keys, change to the directory where the media is and run the import command: cd /media/mount_point rpm --import gpg-pubkey-unique_number.asc

  8. Access the Welcome to YaST Online Update dialog box by Opening YaST, then clicking Software > Patch CD Update.

  9. Access the patch files and start the patch download and installation by doing one of these:

    • Source—CD: In the Welcome to YaST Online Update dialog box, click Next > Accept.

    • Source—ISO Image Local: In the Welcome to YaST Online Update dialog box, click New Server > Directory > OK > Browse. Browse to or type the pathname for the mount point for the first ISO file, then click OK > Next. After the patch information is updated, select and install all the patches by right-clicking one patch in the list, then clicking All in This List > Install > Accept.

    • Source—ISO Images on Network: In the Welcome to YaST Online Update dialog box, click New Server > the applicable protocol > OK. 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. After patch information is updated, select all the patches to be installed, then click Accept.

  10. Follow the on-screen prompts to install specific packages, insert additional CDs or access additional images, and acknowledge post-installation messages.

  11. When you see the Installation Finished message in the Process Log dialog box, click Finish.

  12. After the system configuration process is complete, reinsert Open Enterprise Server SP2 CD 1 and perform Step 8 through Step 11, then continue with Step 13 or Step 14 after the second configuration process is complete.

  13. (Conditional) If it has been some time since a Support Pack was made available and you want to update the server to the current 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.

    1. To avoid unwanted memory consumption after using the Red Carpet client, enter the following command at the shell command line prompt: rug set max-allowed-memory 40

  14. Update the applicable Installation sources using YaST:

    1. Update one of the applicable sources:

      • CD Source: Open YaST. Click Software > Change Source of Installation > Add > CD. Select the status for the CD, then click Up until the status for the CD is listed first (highest priority). Select the old installation source, then click Disable or Delete to remove it as an installation source, then click Finish.

      • ISO Image Local Source: Open YaST. Click Software > Change Source of Installation > Add > Local Directory > Browse. Browse to the yast/core9 directory of the first mounted ISO image, then click OK > OK.

      • Network ISO Source: Open YaST. Click Software > Change Source of Installation. Add > applicable_protocol. 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. Click Add > applicable protocol. 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//core9/CD1.

    2. Select the old installation source, then click Disable or Delete to remove it as an installation source, then click Finish.

  15. Configure services if they are running and reboot the server:

    1. Configure iManager plug-ins.

    2. If it is installed, configure Novell QuickFinder.

    3. If NCP server and Novell Remote Manager are installed and you are patching from the OES initial release to OES SP2, copy changes made from the etc/opt/novell/httpstkd.conf.rpmsave file to the current etc/opt/novell/httpstkd.conf file and save them.

    4. Reboot the server.

    5. If Novell Virtual Office is installed, restart Tomcat before starting Virtual Office: /etc/init.d/novell-tomcat4 restart

6.11.2 Quick Path for Patching From ZLM Using the RCD Command Line (rug)

  1. Download the oessp2prepatch.sh file and the OES ISO images from OES Consolidated Support Pack Web site.

  2. Install all services that you want to run on the server.

  3. Ensure that the server has enough disk space for downloading and installing patches.

  4. (Conditional) If you are patching an OES FCS server and iPrint Services are running, stop them. /etc/init.d/novell-ipsmd stop /etc/init.d/novell-idsd stop

  5. Prepare for the server for the Support Pack using the ZLM command line and the oessp2prepatch.sh script:

    1. Log in to the server as root or su to root.

    2. Verify that the OES service has been added: rug sl If it is not, add the OES service: rug sa https://update.novell.com/data

    3. Activate the OES service. rug act -s service_list_number activation_code email_address Example: rug act -s 1 123DE567890 jim@example.com

    4. Subscribe to the OES Update Channel: rug sub oes

    5. Verify that patches exist in the channel: rug pl oes If not, refresh the channel and verify again: rug refresh rug pl oes

    6. Copy http://support.novell.com/tools/csp/csp_oessp2.html oessp2prepatch.sh file to /root.

    7. Make oessp2prepatch.sh executable: chmod +x oessp2prepatch.sh

    8. Apply the script: ./oessp2prepatch

  6. Download and install all the patches in the OES channel: rug pin --entire-channel oes

  7. Review and accept the license agreement:

    Enter Y at the Do you agree to the above license? prompt.

  8. Wait for installation of patches to complete.

    Download complete
    Transaction Finished
    
  9. To avoid unwanted memory consumption after using the Red Carpet client, enter the following command at the shell command line prompt: rug set max-allowed-memory 40

  10. Update the applicable Installation sources using YaST.

    1. Update one of the applicable sources:

      • CD Source: Open YaST. Click Software > Change Source of Installation > Add > CD. Select the status for the CD, then click Up until the status for the CD is listed first (highest priority). Select the old installation source, then click Disable or Delete to remove it as an installation source, then click Finish.

      • Source ISO Image Local: Open YaST. Click Software > Change Source of Installation > Add > Local Directory > Browse. Browse to the yast/core9 directory of the first mounted ISO image, then click OK > OK.

      • Network ISO Source: Open YaST. Click Software > Change Source of Installation. Add > applicable_protocol. 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. Click Add > applicable protocol. 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//core9/CD1.

    2. Select the old installation source, then click Disable or Delete to remove it as an installation source, then click Finish.

  11. Configure services if they are running, and reboot the server.

    1. Configure iManager plug-ins.

    2. If it is installed, configure Novell QuickFinder.

    3. If NCP server and Novell Remote Manager are installed and you are patching from the OES initial release to OES SP2, copy changes made from the etc/opt/novell/httpstkd.conf.rpmsave file to the current etc/opt/novell/httpstkd.conf file and save them.

    4. Reboot the server.

    5. If Novell Virtual Office is installed, restart Tomcat before starting Virtual Office: /etc/init.d/novell-tomcat4 restart

6.11.3 Quick Path for Patching Using the ZLM Red Carpet GUI

  1. Download the oessp2prepatch.sh file and OES ISO images from the OES Consolidated Support Pack Web site.

  2. Install all services that you want to run on the server.

  3. Ensure that the server has enough disk space for downloading and installing patches.

  4. (Conditional) If you are patching an OES FCS server and iPrint Services are running, stop them. /etc/init.d/novell-ipsmd stop /etc/init.d/novell-idsd stop

  5. Prepare for the server for the Support Pack using the ZLM command line and the oessp2prepatch.sh script:

    1. Log in to the server as root or su to root.

    2. Verify that the OES service has been added: rug sl If it is not, add the OES service: rug sa https://update.novell.com/data

    3. Activate the OES service. rug act -s service_list_number activation_code email_address Example: rug act -s 1 123DE567890 jim@example.com

    4. Subscribe to the OES Update Channel: rug sub oes

    5. Verify that patches exist in the channel: rug pl oes If not, refresh the channel and verify again: rug refresh rug pl oes

    6. Copy http://support.novell.com/tools/csp/csp_oessp2.html oessp2prepatch.sh file to /root.

    7. Make oessp2prepatch.sh executable: chmod +x oessp2prepatch.sh

    8. Apply the script: ./oessp2prepatch

  6. Start the Red Carpet GUI: On the Linux server desktop, click N > System > Configuration > Red Carpet

  7. Select all the uninstalled patches and mark them for installation.

    1. Click the Patches tab.

    2. Click the Not Installed Packages filter.

    3. Press Ctrl+A.

    4. Click Mark for Installation.

  8. Install the patches.

    1. Click Run Now > Continue.

    2. After you see the following message, click OK: The transaction has completed successfully.

  9. To avoid unwanted memory consumption after using the Red Carpet client, enter the following command at the shell command line prompt: rug set max-allowed-memory 40

  10. Update the applicable Installation sources using YaST.

    1. Update one of the applicable sources:

      • CD Source: Open YaST. Click Software > Change Source of Installation > Add > CD. Select the status for the CD, then click Up until the status for the CD is listed first (highest priority). Select the old installation source, then click Disable or Delete to remove it as an installation source, then click Finish.

      • Source ISO Image Local: Open YaST. Click Software > Change Source of Installation > Add > Local Directory > Browse. Browse to the yast/core9 directory of the first mounted ISO image, then click OK > OK.

      • Network ISO Source: Open YaST. Click Software > Change Source of Installation. Add > applicable_protocol. 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. Click Add > applicable protocol. 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//core9/CD1.

    2. Select the old installation source, click Disable or Delete to remove it as an installation source, then click Finish.

  11. Configure services if they are running and reboot the server.

    1. Configure iManager plug-ins.

    2. If it is installed, configure Novell QuickFinder.

    3. If NCP server and Novell Remote Manager are installed and you are patching from the OES initial release to OES SP2, copy changes made from the etc/opt/novell/httpstkd.conf.rpmsave file to the current etc/opt/novell/httpstkd.conf file and save them.

    4. Reboot the server.

    5. If Novell Virtual Office is installed, restart Tomcat before starting Virtual Office: /etc/init.d/novell-tomcat4 restart