Archived community.zenoss.org | full text search
Skip navigation
Currently Being Moderated

10.5 Upgrading RHEL 4 / CentOS 4 or RHEL 5 / CentOS 5 RPMs

VERSION 1 
Created on: Nov 1, 2010 6:11 PM by Zenoss API - Last Modified:  Nov 1, 2010 6:11 PM by Zenoss API

 5. Upgrading RHEL 4 / CentOS 4 or RHEL 5 / CentOS 5 RPMs

Use these instructions to install an updated version of the  Zenoss RPM for RHEL 4 / CentOS 4 or RHEL 5 / CentOS 5.

  1. Back up your  Zenoss data files, as outlined in the section titled "Back Up  Zenoss Data."

  2. Install the libraries. Use one of the following commands:

     RHEL 4

    up2date libgomp libgcj liberation-fonts

     RHEL 5, CentOS 5 or CentOS 4

    yum -y install libgomp libgcj liberation-fonts
  3. Download the  Zenoss software.

  4. Shut down your existing  Zenoss instance. Use this command:

    root# service zenoss stop
  5. Run the following command to make sure all of the  Zenoss processes have stopped. Verify that no results return from the command.

    root# ps ax|grep zenoss

    Note

    If you see processes owned by MySQL, do not stop them.

  6. Clean up cache files with the following commands:

    root# rm /opt/zenoss/var/*.zec
    root# find /opt/zenoss/perf -name \*.pickle -exec rm -f {} \;
  7. Install the RPM. (If you have the zenoss-core-zenpacks RPM already installed, use the --nodeps option with this command.)

    root# rpm -Uvh --nodeps zenoss-Version.rpm

    where Version is the current version of  Zenoss.

  8. Start the system to complete the upgrade:

    root# service zenoss start
    
  9. Stop the system, and then restart zeoctl:

    root# service zenoss stop
    su - zenoss sh -c "/opt/zenoss/bin/zeoctl start"
  10. Upgrade the Core ZenPacks:

    # rpm -Uvh --nodeps zenoss-core-zenpacks-Version.elX.i386.rpm

    where Version is the current version of  Zenoss and X is "4" or "5," depending on your OS.

  11. Delete your browser cache. (For example, if using Firefox, press Ctrl-Shift-R to clear your cache.)

Comments (0)