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:
- An Ericsson Command-Line Interface (ECLI) session in Exec mode is in progress.
2 Procedure
To delete an inactive software version:
- Navigate to the SwM managed object, for example:
>dn ManagedElement=<Node Name>,SystemFunctions=1,SwM=1
- 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 R3A01 is explicitly indicated as active. The other software version with revision R1A01 is inactive because it is not indicated as active. It is therefore possible to delete R1A01.
SwM=1 activeSwVersion "ManagedElement=1,SystemFunctions=1,⇒ SwM=1,SwVersionMain=ERIC-IPWAAA_RUNTIME-CXC1740180-R3A01" <read-only> [...] SwVersionMain=ERIC-IPWAAA_RUNTIME-CXC1740180-R1A01 SwVersionMain=ERIC-IPWAAA_RUNTIME-CXC1740180-R3A01 [...] - Delete the inactive software version, for example:
(SwM=1)>removeSwVersion ManagedElement=<Node Name>,SystemFunctions=1,SwM=1,SwVersionMain=ERIC-IPWAAA_RUNTIME-CXC1740180-R1A01
The system returns output true or false.
- 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-IPWAAA_RUNTIME-CXC1740180-R3A01" <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-IPWAAA_RUNTIME-CXC1740180-R3A01 [...]

Contents