Print

Upgrading secondary EMS

Before you begin

Download the tar file sbce-7.2.x.0–xx-xxxxx-<md5sum>.tar.gz from the PLDS website for upgrading from Release 7.1.0 to Release 7.2.x.

Procedure

  1. Copy the tar file to the Secondary EMS server using ipcs user on port 222.

    You can use SFTP or SCP tools to access the Secondary EMS server.

  2. Connect to the system using VGA or Serial console.
  3. Using root permissions, move the upgrade tar file from the ipcs user home directory to /archive/urpackages directory.
  4. Ensure that the md5sum of the upgrade tar file matches the checksum given in the name of the file.

    You can use the md5sum command to verify whether the md5sum and the checksum match.

  5. At the command prompt, type mkdir /usr/local/ipcs/temp, where temp is the name of the temporary directory.

    The system creates a temporary directory in the archive directory.

  6. At the command prompt, type rm —rf /usr/local/ipcs/temp/*.

    This command removes all content in the temporary directory.

  7. At the command prompt, type tar -zxvf /archive/urpackages/sbce-7.2.x.0-xx-xxxxx-<md5sum>.tar.gz –C /usr/local/ipcs/temp, where xx-xxxxx is the build number.

    The system extracts the upgrade tar file in the temporary directory.

  8. At the command prompt, type cd /usr/local/ipcs/temp, where temp is the name of the temporary directory.
  9. At the command prompt, type chmod +x ursbce.py.
  10. At the command prompt, type ./ursbce.py -U --daemonize.

    This step reboots the system.

    warningWarning

    Use the --daemonize option while using CLI-based upgrades over SSH. Without the --daemonize option, the upgrade fails if the user is disconnected because of inactivity.

  11. Wait for the system to reboot.
  12. Type cat /etc/sbce-version and verify the version of the system.

    The file /archive/log/icu/upgrade.log contains upgrade related logs.

  13. At the command prompt, type grep UPGRADE_STATE /usr/local/ipcs/etc/sysinfo to check the upgrade status.

    The system displays UPGRADE_STATE=UPGRADE_COMPLETED for the successful upgrade and UPGRADE_STATE=UPGRADE_FAILED for a failed upgrade process.