Delete Upgrade Package

Contents

1Introduction
1.1Prerequisites

2

Procedure

1   Introduction

This document describes how to delete an upgrade package Managed Object (MO). It can be done once an upgrade package has been applied and is no longer needed on the IPWorks system.

For more information about the upgrade states, refer to Software Management.

1.1   Prerequisites

This section describes the prerequisites, which must be fulfilled before using the procedure.

1.1.1   Conditions

The following conditions must apply:

2   Procedure

To delete an upgrade package:

  1. Navigate to the SwM MO, for example:

    >dn ManagedElement=<Node Name>,SystemFunctions=1,SwM=1

  2. Check the available upgrade packages:

    (SwM=1)>show -v

    The following example output shows a running software version with product name ERIC-IPWAAA_RUNTIME, product number CXC1740180, and product revision R3A01. An upgrade package MO targeting an upgrade of the software version to the revision already activated is visible. The upgrade package is no longer applicable to the current software version and can be deleted.

    SwM=1
       activeSwVersion
          "ManagedElement=1,SystemFunctions=1,SwM=1,SwVersionMain=⇒
    ERIC-IPWAAA_RUNTIME-CXC1740180-R3A01" <read-only>
    [...]
       SwVersionMain=ERIC-IPWAAA_RUNTIME-CXC1740180-R3A01
       UpgradePackage=UpgradePackage=ERIC_UP_CXC1740180-R3A01
  3. Remove the upgrade package file from the file system of ME.

    # ssh <Username>@<MIP_OAM_IP> 

    # rm /cluster/UP/*

  4. Delete the UpgradePackage MO, for example:

    (SwM=1)>removeUpgradePackage ManagedElement=<Node Name>,SystemFunctions=1,SwM=1,UpgradePackage=ERIC_UP-CXC1740180-R3A01

    The system returns output true or false.

  5. Verify the success of the deletion operation and that the UpgradePackage MO is deleted:

    (SwM=1)>show -v

    The following example output shows the final result. If state=RUNNING, the operation is not yet completed. Result result=FAILURE means that the deletion failed.

    SwM=1
       activeSwVersion
          "ManagedElement=1,SystemFunctions=1,SwM=1,SwVersionMain=⇒
    ERIC-IPWAAA_RUNTIME-CXC1740180-R3A01" <read-only>
    [...]
       reportProgress <read-only>
          actionName="RemoveUpgradePackage" <read-only>
    [...]
          result=SUCCESS <read-only>
    [...]
          state=FINISHED <read-only>
    [...]
       SwVersionMain=ERIC-IPWAAA_RUNTIME-CXC1740180-R3A01