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 Managed Element (ME).

Note:  
If the upgrade file initially was retrieved from a Uniform Resource Identifier (URI), this operation deletes it together with the MO. If the upgrade package file initially was downloaded with the SSH File Transfer Protocol (SFTP), this operation does not delete it from the ME.

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=NODE06ST,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-COREMW_RUNTIME, product number CXP9020355_1, and product revision R7F01. 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=NODE06ST,SystemFunctions=1,SwM=1,SwVersionMain=⇒
    ERIC-COREMW_RUNTIME-CXP9020355_1-R7F01" <read-only>
    [...]
       SwVersionMain=ERIC-COREMW_RUNTIME-CXP9020355_1-R7F01
       UpgradePackage=UpgradePackage=ERIC_UP-CXP9020355_1-R7F01
  3. Delete the UpgradePackage MO, for example:

    (SwM=1)>removeUpgradePackage ManagedElement=NODE06ST,SystemFunctions=1,SwM=1,UpgradePackage=ERIC_UP-CXP9020355_1-R7F01

    The system returns output true or false.

  4. 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=NODE06ST,SystemFunctions=1,SwM=1,SwVersionMain=⇒
    ERIC-COREMW_RUNTIME-CXP9020355_1-R7F01" <read-only>
    [...]
       reportProgress <read-only>
          actionName="RemoveUpgradePackage" <read-only>
    [...]
          result=SUCCESS <read-only>
    [...]
          state=FINISHED <read-only>
    [...]
       SwVersionMain=ERIC-COREMW_RUNTIME-CXP9020355_1-R7F01
    Note:  
    If the UpgradePackage MO has been created with operation createUpgradePackageLocal, then the upgrade package file that was downloaded in Prepare Upgrade Package still exists in the file system of the ME. The deletion of the upgrade package file is outside the scope of this document.



Copyright

© Ericsson AB 2014, 2015. All rights reserved. No part of this document may be reproduced in any form without the written permission of the copyright owner.

Disclaimer

The contents of this document are subject to revision without notice due to continued progress in methodology, design and manufacturing. Ericsson shall have no liability for any error or damage of any kind resulting from the use of this document.

Trademark List
All trademarks mentioned herein are the property of their respective owners. These are shown in the document Trademark Information.

    Delete Upgrade Package