Delete Inactive Software Version

Contents

1Introduction
1.1Prerequisites

2

Procedure

1   Introduction

This document describes how to delete an inactive software version from the managed element. This operation can be used to save disk space when an inactive software version, which is no longer needed, has not been deleted automatically by the latest software upgrade.

1.1   Prerequisites

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

1.1.1   Conditions

The following condition must apply:

2   Procedure

To delete an inactive software version:

  1. Navigate to the SwM managed object, for example:

    >dn ManagedElement=NODE06ST,SystemFunctions=1,SwM=1

  2. Identify the inactive software version to delete:

    (SwM=1)>show -v

    The following example output shows that two software versions are present. The software version with revision R7F01 is explicitly indicated as active. The other software version with revision R7E01 is inactive because it is not indicated as active. It is therefore possible to delete R7E01.

    SwM=1
       activeSwVersion
          "ManagedElement=1,SystemFunctions=1,⇒
    SwM=1,SwVersionMain=ERIC-COREMW_RUNTIME-CXP9020355_1-R7F01" <read-only>
    [...]
       SwVersionMain=ERIC-COREMW_RUNTIME-CXP9020355_1-R7E01
       SwVersionMain=ERIC-COREMW_RUNTIME-CXP9020355_1-R7F01
    [...]
  3. Delete the inactive software version, for example:

    (SwM=1)>removeSwVersion ManagedElement=NODE06ST,SystemFunctions=1,SwM=1,SwVersionMain=ERIC-COREMW_RUNTIME-CXP9020355_1-R7E01

    The system returns output true or false.

  4. Verify that the software version is deleted:

    (SwM=1)>show -v

    The following is an example output showing 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-COREMW_RUNTIME-CXP9020355_1-R7F01" <read-only>
    [...]
       reportProgress <read-only>
          actionId=13 <read-only>
          actionName="RemoveSwVersion" <read-only>
          additionalInfo
             "" <read-only>
          progressInfo="Remove SwVersion" <read-only>
          progressPercentage=100 <read-only>
          result=SUCCESS <read-only>
          resultInfo="Successfully removed swVersion/swVersionMain." <read-only>
          state=FINISHED <read-only>
          timeActionCompleted="2014-04-03T13:48:03" <read-only>
          timeActionStarted="2014-04-03T13:46:31" <read-only>
          timeOfLastStatusUpdate="2014-04-03T13:48:03" <read-only>
       SwVersionMain=ERIC-COREMW_RUNTIME-CXP9020355_1-R7F01
    [...]


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 Inactive Software Version