Activate Upgrade

Contents

1Introduction
1.1Prerequisites

2

Procedure

1   Introduction

This document describes how to perform the execution phase of a software upgrade.

A software upgrade has a limited time window during which some planned service impact is allowed. The execution phase of the software upgrade can have service impact and must be executed only within the upgrade time window and not during normal "traffic hours".

The procedure in this document covers the following:

The procedure is illustrated by an example where a software version with product name ERIC-COREMW_RUNTIME, product number CXP9020355_1, and product revision R7E01 is running in the system. A software upgrade package ERIC_UP-CXP9020355_1-R7F01, which is designed to upgrade this software version to product revision R7F01, has already been prepared and is going through the activation phase. This upgrade package has an activation fallback-timer, attribute activationFallbackTimer in the Managed Object (MO) UpgradePackage equal to 1200 seconds.

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 activate upgrade:

  1. Navigate to the upgrade package, for example:

    >dn ManagedElement=NODE06ST,SystemFunctions=1,SwM=1,UpgradePackage=ERIC_UP-CXP9020355_1-R7F01

  2. Activate the first step of the upgrade package:

    (UpgradePackage=ERIC_UP-CXP9020355_1-R7F01)>activate

    The system returns output true for a successfully triggered activation or false otherwise.

    If the upgrade package is configured for one-step activation, the first step is also the final step.

  3. Verify the result for a successfully triggered activation:

    (UpgradePackage=ERIC_UP-CXP9020355_1-R7F01)>show -v

    In the following example output, state=RUNNING and progressPercentage=10. It shows that 10% of the activation is completed.

    UpgradePackage=ERIC_UP-CXP9020355_1-R7F01
    [...]
       state=ACTIVATION_IN_PROGRESS <read-only>
    [...]
       reportProgress <read-only>
    [...]
          actionName="Activate" <read-only>
    [...]
          progressInfo="Activate UpgradePackage" <read-only>
          progressPercentage=10 <read-only>
    [...]
          state=RUNNING <read-only>
    [...]
  4. Continue to check the progress of this activation step until it is completed:

    (UpgradePackage=ERIC_UP-CXP9020355_1-R7F01)>show -v

    The following example output shows the resulting state of an activation step, which is followed by at least one more activation step:

    UpgradePackage=ERIC_UP-CXP9020355_1-R7F01
    [...]
       state=ACTIVATION_STEP_COMPLETED <read-only>
    [...]
       reportProgress <read-only>
    [...]
          progressInfo="Activate UpgradePackage" <read-only>
          progressPercentage=30 <read-only>
          result=SUCCESS <read-only>
          resultInfo="Campaign execution suspended by breakpoint" <read-only>
          state=FINISHED <read-only>
          step=1 <read-only>
    [...]
    Note:  
    State ACTIVATION_STEP_COMPLETED implicitly indicates that there is at least one more activation step to execute in this example.

    The following example output shows the resulting state of a final activation step:

    UpgradePackage=ERIC_UP-CXP9020355_1-R7F01
    [...]
       state=WAITING_FOR_COMMIT <read-only>
    [...]
       reportProgress <read-only>
    [...]
          progressInfo="Activate UpgradePackage" <read-only>
          progressPercentage=100 <read-only>
          result=SUCCESS <read-only>
          resultInfo="Campaign execution successfully completed" <read-only>
          state=FINISHED <read-only>
          step=2 <read-only>
    [...]
    Note:  
    State WAITING_FOR_COMMIT indicates that the final activation step has been executed successfully and that the upgrade can be committed.

  5. Verify that the ME state or behavior is according to expectations at this breakpoint. This is specific for the software upgrade and outside the scope of this document.
  6. Is the ME state or behavior according to expectations?

    Yes: Continue with the next step.

    No: Cancel the activation, refer to Cancel Upgrade Operation.

  7. Select operation according to the value of parameter state in the output:
    • If state=ACTIVATION_STEP_COMPLETED, proceed with Step 2 to activate the next step.
    • If state=WAITING_FOR_COMMIT, continue with the next step.
  8. Navigate to the SwM MO:

    (UpgradePackage=ERIC_UP-CXP9020355_1-R7F01)>up

  9. Verify how much time remains before fallback:

    (SwM=1)>show timeRemainingBeforeFallback

    The following example output shows that 1155 seconds remain before fallback:

    1155

    Do!

    Carefully read the following information before proceeding.

    Once the activation is effective, indicated by state=WAITING_FOR_COMMIT, the fallback countdown starts. Attribute timeRemainingBeforeFallback is automatically set to the value (in this example 1200 seconds) contained in attribute fallbackTimer in the SwM MO.

    If the user does not commit the operation before timeRemainingBeforeFallback reaches zero, a fallback is automatically triggered.

  10. Navigate to the upgrade package:

    (SwM=1)>UpgradePackage=ERIC_UP-CXP9020355_1-R7F01

  11. Commit the upgrade by using action commit in the Upgradepackage MO:

    (UpgradePackage=ERIC_UP-CXP9020355_1-R7F01)>commit

    The system returns output true or false.

    Note:  
    A Software Management upgrade is confirmed/committed by executing the Software Management action commit in Exec mode. This is different from ECLI command commit used to apply configuration changes in Config mode.

  12. Check the progress of action commit:

    (UpgradePackage=ERIC_UP-CXP9020355_1-R7F01)>show -v

    The following is an example output when the commit operation completed successfully:

    [...]
    state=COMMIT_COMPLETED <read-only>
    [...]
    reportProgress <read-only>
       actionId=2 <read-only>
       actionName="Commit" <read-only>
    [...]
       progressPercentage=100 <read-only>
       result=SUCCESS <read-only>
       resultInfo="Campaign committed sucessfully. Updated model ⇒
    successfully." <read-only>
       state=FINISHED <read-only>
    [...]
  13. Navigate to the SwM MO:

    (UpgradePackage=ERIC_UP-CXP9020355_1-R7F01)>up

  14. Verify that the active software state is the expected one:

    (SwM=1)>show -v

    The following is an example output. The active software version corresponds to the activated software upgrade scope. A software version with product name ERIC-COREMW_RUNTIME, product number CXP9020355_1, and product revision R7F01 is running in the system.

    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=ERIC_UP-CXP9020355_1-R7F01

    A software version with product name ERIC-COREMW_RUNTIME, product number CXP9020355_1, and product revision R7F01 is now committed and running in the system.



Copyright

© Ericsson AB 2016. 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.

    Activate Upgrade