Vous êtes sur la page 1sur 33

OptiX 155/622H(Metro 1000)

STM-1/STM-4/STM-16 MSTP Optical


Transmission System
V300R005C01SPH307
Upgrade Guide - Hot Patch Loading

Issue 01

Date 2018-01-15

HUAWEI TECHNOLOGIES CO., LTD.


Copyright © Huawei Technologies Co., Ltd. 2018. All rights reserved.
No part of this document may be reproduced o r transmitted in any form or by any means without prior
written consent of Huawei Technologies Co., Ltd.

Trademarks and Permissions

and other Huawei trademarks are trademarks of Huawei Technologies Co., Ltd.
All other trademarks and trade names mentioned in this document are the property of their respective
holders.

Notice
The purchased products, services and feat ures are stipulated by the contract made bet ween Huawei and
the customer. All or part of the products, services and features described in this document may not be
within the purchas e scope or the usage scope. Unless otherwis e specified in the contract, all statements,
information, and recommendations in this document are provided "AS IS" without warranties, guarantees or
representations of any kind, either express or implied.
The information in this document is subject to change without notice. E very effort has been made in the
preparation of this document to ensure accuracy of the contents , but all statements, information, and
recommendations in this document do not constitute a warranty of any kind, express or implied.

Huawei Technologies Co., Ltd.


Address: Huawei Industrial Base
Bantian, Longgang
Shenzhen 518129
People's Republic of China

Website: http://www.huawei.com

Email: support@huawei.com

Issue 01 (2018-01-15) Huawei Proprietary and Confidential i


Copyright © Huawei Technologies Co., Ltd
OptiX 155/622H(Metro 1000) STM -1/ STM-4/STM-16 MSTP Optical
Transmission System
Upgrade Guide - Hot Patch Loading Contents

About This Document

Overview
This document guides you through the upgrade, rollback, and troubleshooting procedures for
OptiX 155/622H(Metro 1000) STM-1/STM-4/STM-16 MSTP Optical Transmission System
V300R005C01SPH307.

Intended Audience
This document is intended for engineers who:
 Understand how involved network elements (NEs) are networked and what versions they
are.
 Have equipment maintenance experience and skills.

Symbol Conventions
The symbols that may be found in this document are defined as follows.

Symbol Description

Alerts you to a high risk hazard that could, if not avoided,


result in serious injury or death.

Alerts you to a medium or low risk hazard that could, if not


avoided, result in moderate or minor injury.

Alerts you to a potentially hazardous situation that could, if not


avoided, result in equipment damage, data loss, performance
deterioration, or unanticipated results.
Provides a tip that may help you solve a problem or save time.

Provides additional information to emphasize or supplement


important points in the main text.

Issue 01 (2018-01-15) Huawei Proprietary and Confidential ii


Copyright © Huawei Technologies Co., Ltd
OptiX 155/622H(Metro 1000) STM -1/ STM-4/STM-16 MSTP Optical
Transmission System
Upgrade Guide - Hot Patch Loading Contents

Change History
Issue Date Author Description

01 2018-01-15 Xiao Ye This issue is the first official release.

Issue 01 (2018-01-15) Huawei Proprietary and Confidential iii


Copyright © Huawei Technologies Co., Ltd
OptiX 155/622H(Metro 1000) STM -1/ STM-4/STM-16 MSTP Optical
Transmission System
Upgrade Guide - Hot Patch Loading Contents

Contents

About This Document.................................................................................................................... ii


1 Before You Start............................................................................................................................. 6
1.1 Upgrade Schemes ..............................................................................................................................................................6
1.1.1 Tool for Loading the Hot Patch .............................................................................................................................6
1.1.2 Patch State Transition .............................................................................................................................................6
1.1.3 Method for Checking Whether the SCC Board Supports Hot Patches ..........................................................7
1.2 Upgrade Paths.....................................................................................................................................................................7
1.3 Impact of the Upgrade.......................................................................................................................................................8
1.3.1 Impact on the System During the Upgrade .........................................................................................................8
1.3.2 Impact on the System After the Upgrade ............................................................................................................8
1.4 Precautions ..........................................................................................................................................................................8

2 Upgrade Process Overview ......................................................................................................... 9


2.1 Upgrade Flo wchart ............................................................................................................................................................9
2.2 Upgrade Schedule ............................................................................................................................................................10

3 Preparing for the Upgrade......................................................................................................... 11


3.1 Pre-upgrade Checklist .....................................................................................................................................................11
3.2 Obtaining Upgrade Reference Docu ments ..................................................................................................................12
3.3 Obtaining Upgrade Soft ware and Tools .......................................................................................................................12
3.4 Querying Version Information .......................................................................................................................................12
3.5 Checking the Running Status of the NE ......................................................................................................................13

4 Performing the Upgrade ............................................................................................................ 15


4.1 Selecting the Hot Patch ...................................................................................................................................................15
4.2 Loading the Hot Patch.....................................................................................................................................................19
4.3 Activating the Hot Patch .................................................................................................................................................20

5 Verifying the Upgrade ............................................................................................................... 22


5.1 Verification Checklist ......................................................................................................................................................22
5.2 Verification Procedure.....................................................................................................................................................23

6 Rolling Back to the Source Version ......................................................................................... 25


6.1 Rollback Process ..............................................................................................................................................................25
6.1.1 Rollback Flowchart ...............................................................................................................................................25

Issue 01 (2018-01-15) Huawei Proprietary and Confidential iv


Copyright © Huawei Technologies Co., Ltd
OptiX 155/622H(Metro 1000) STM -1/ STM-4/STM-16 MSTP Optical
Transmission System
Upgrade Guide - Hot Patch Loading Contents

6.1.2 Rollback Procedure ...............................................................................................................................................25


6.2 Performing a Ro llback ....................................................................................................................................................26
6.3 Verify ing the Rollback ....................................................................................................................................................28

7 FAQs .............................................................................................................................................. 29
7.1 A Hot Patch Fails to Be Loaded to an NE. Why?.......................................................................................................29
7.2 When a Board-Level Hot Patch Is Being Loaded to an NE, the DC Displays a Message Indicating that a Hot
Patch of the Same or Later Version Has Been Loaded to the NE. Why?......................................................................29

A Upgrade Record .......................................................................................................................... 30


B Acronyms and Abbreviations .................................................................................................. 31

Issue 01 (2018-01-15) Huawei Proprietary and Confidential v


Copyright © Huawei Technologies Co., Ltd
OptiX 155/622H(Metro 1000) STM -1/ STM-4/STM-16 MSTP Optical
Transmission System
Upgrade Guide - Hot Patch Loading 1 Before You Start

1 Before You Start

This document describes how to load the OptiX 155/622H(Metro 1000)


V300R005C01SPH307 hot patch by using the DC.

1.1 Upgrade Schemes


1.1.1 Tool for Loading the Hot Patch
The DC V100R002C01 or a later version is used for loading the hot patch.

1.1.2 Patch State Transition


Figure 1-1 Patch state transition

Load

System Idle Deactivated


System
reset Delete
reset
Deactivate
reset
System

Activate
Delete

Delete

Running Activated
Confirm

System
reset

Patch Status Description

Idle The patch data has not been loaded to the patch area.

Deactivated The patch data has been loaded to the patch area, but has not taken
effect.

Issue 01 (2018-01-15) Huawei Proprietary and Confidential 6


Copyright © Huawei Technologies Co., Ltd
OptiX 155/622H(Metro 1000) STM -1/ STM-4/STM-16 MSTP Optical
Transmission System
Upgrade Guide - Hot Patch Loading 1 Before You Start

Patch Status Description

Activated The patch has taken effect and is in the trial running state. If the system
is reset at this time, the patch automatically changes to the deactivated
state after the reset.

Running The patch has taken effect and is in the formal running state. If the
system is reset at this time, the patch remains in the running state after
the reset.

1.1.3 Method for Checking Whether the SCC Board Supports Hot
Patches
NOTE
The hot patch can be used only for an upgrade, and cannot be used for a downgrade. If the hot patch
already exists on the NE, loading the hot patch again to the NE fails.

Use the following method to check whether the system control and communication (SCC)
board supports hot patches:
Issue the :patch-get-area:bid; command to the SCC board to query the patch area
information. If an error is returned, the SCC board does not support hot patches.
 If the SCC board in slot 11 does not support hot patches, a timeout error is returned.
:patch-get-area:11
failed! cmd:0x040e error:0x0080 CMD_EXECUTE_TIMEOUT
 If the SCC board in slot 2 supports hot patches, the following information is displayed:

:patch-get-area:11
PATCH-AREA-INFO
PatchAreaAddr PatchAreaLen CodeAddr CodeLen CodeFreeLen DataAddr
DataLen DataFreeLen
0x00010000 0x000f0000 0x00010000 0x00078000 0x00075054 0x00088000
0x00078000 0x00077018
Total records :1

NOTE
The OptiX M etro 1000 V300R005C01 supports only board-level hot patches.

1.2 Upgrade Paths


Table 1-1 Upgrade paths

Upgrade from… To…

V300R005C01SPC302 V300R005C01SPH307

V300R005C01SPH303 V300R005C01SPH307 after the patch


V300R005C01SPH303 is deleted

Issue 01 (2018-01-15) Huawei Proprietary and Confidential 7


Copyright © Huawei Technologies Co., Ltd
OptiX 155/622H(Metro 1000) STM -1/ STM-4/STM-16 MSTP Optical
Transmission System
Upgrade Guide - Hot Patch Loading 1 Before You Start

Upgrade from… To…

V300R005C01SPH305 V300R005C01SPH307 after the patch


V300R005C01SPH305 is deleted

V300R005C01SPC300 or earlier V300R005C01SPC302 and then


V300R005C01SPH307

1.3 Impact of the Upgrade


1.3.1 Impact on the System During the Upgrade
Impact on Services
There is no impact on services.

Impact on Network Communication


There is no impact on services network communication.

1.3.2 Impact on the System After the Upgrade


There is no impact on the system after the upgrade.

1.4 Precautions
None.

Issue 01 (2018-01-15) Huawei Proprietary and Confidential 8


Copyright © Huawei Technologies Co., Ltd
OptiX 155/622H(Metro 1000) STM -1/ STM-4/STM-16 MSTP Optical
Transmission System
Upgrade Guide - Hot Patch Loading 2 Upgrade Process Overview

2 Upgrade Process Overview

2.1 Upgrade Flowchart


Figure 2-1 Upgrade flowchart

Start

Prepare for the upgrade.

Select the hot patch.

Activate the hot patch.

Fail
Load the hot patch.

Succeed
Fail
Verify the upgrade Roll back to the source version

Succeed

End

Issue 01 (2018-01-15) Huawei Proprietary and Confidential 9


Copyright © Huawei Technologies Co., Ltd
OptiX 155/622H(Metro 1000) STM -1/ STM-4/STM-16 MSTP Optical
Transmission System
Upgrade Guide - Hot Patch Loading 2 Upgrade Process Overview

2.2 Upgrade Schedule


Table 2-1 Upgrade schedule
No. Procedure Impact Time Mandatory or
Required Optional
(Minutes)

1 Prepare for the Chapter None 10 Mandatory


upgrade. 3
2 Select the hot Section None 1 Mandatory
patch. 4.1
3 Load the hot Section None 1 Mandatory
patch. 4.2
4 Activate the hot Section None 1 Mandatory
patch. 4.3

5 Verify the Chapter None 10 Mandatory


upgrade. 5

6 Roll back to the Chapter None 2 Optional


source version if 6
the upgrade fails.

Issue 01 (2018-01-15) Huawei Proprietary and Confidential 10


Copyright © Huawei Technologies Co., Ltd
OptiX 155/622H(Metro 1000) STM -1/ STM-4/STM-16 MSTP Optical
Transmission System
Upgrade Guide - Hot Patch Loading 3 Preparing for the Upgrade

3 Preparing for the Upgrade

3.1 Pre-upgrade Checklist


Table 3-1 Pre-upgrade checklist
No Task Criteria Expected Recommended Time
. Result Start Time Required
(Days/Hours
/Minutes)

1 Obtaining All the One week before One day


upgrade required the upgrade
reference upgrade
documents reference
documents
are obtained.
2 Obtaining The versions One week before One day
upgrade of the the upgrade
software and obtained
tools upgrade
software and
tools are
correct.

3 Verifying the The version One week before 10 minutes


version of the NE the upgrade
information of software is
the NE 5.37.05.15P0
2.

4 Checking the The queried One week before 1 hour


running status basic NE the upgrade
of the NE information is
correct. There
is no
abnormal
alarm.

Issue 01 (2018-01-15) Huawei Proprietary and Confidential 11


Copyright © Huawei Technologies Co., Ltd
OptiX 155/622H(Metro 1000) STM -1/ STM-4/STM-16 MSTP Optical
Transmission System
Upgrade Guide - Hot Patch Loading 3 Preparing for the Upgrade

 Time required varies according to the particulars for the site (such as onsite data volume and server
performance).
 The "Expected Result" column is completed by onsite engineers.

3.2 Obtaining Upgrade Reference Documents


Table 3-2 Reference documents
Document Description

OptiX Metro 1000 Provides patch information.


V300R005C01SPH307 Patch Release
Notes
OptiX Metro 1000 Provides version mapping information.
V300R005C01SPH307 Product
Version Mapping Table
OptiX Metro 1000 Provides instructions on how to upgrade the
V300R005C01SPH307 Upgrade OptiX Metro 1000 to V300R005C01SPH307.
Guide - Hot Patch Loading

Contact Huawei technical support engineers to obtain the above-mentioned documents.

3.3 Obtaining Upgrade Software and Tools


Contact Huawei technical support engineers to obtain the software package of the target
version and upgrade tools. Ensure that the software package version is consistent with that in
the corresponding release notes and version mapping table.

3.4 Querying Version Information


Description
Query the NE software and FPGA versions on the NE to determine whether the hot patch
needs to be loaded.

Precautions
None

Procedure
Run the following command to query the NE software and FPGA versions:
:ver;

Issue 01 (2018-01-15) Huawei Proprietary and Confidential 12


Copyright © Huawei Technologies Co., Ltd
OptiX 155/622H(Metro 1000) STM -1/ STM-4/STM-16 MSTP Optical
Transmission System
Upgrade Guide - Hot Patch Loading 3 Preparing for the Upgrade

The following information is displayed:


:ver;

BIOS 8.12.45T04 20100612 15:12:18 inactive


ExtBios 9.12.49T01 20140321 18:06:10 active
NeSoft(P) 5.37.05.15P02 20140324 22:13:39
Platform(D) 5.00.13.03B188 20131225 17:59:10
Logic (U301)320
Dsp

Verification
The NE software version is 5.37.05.15P02.

3.5 Checking the Running Status of the NE


Description
Check the running status of the NE.

Precautions
None

Procedure
Step 1 Run the following command to check the running status of the NE:

:cfg-get-nestate;

Step 2 Run the following commands to query alarms on the NE:


:alm-get-curdata:0,ALL;
:alm-get-hisdata:0,ALL;

Check the alarms that are displayed one by one.


Step 3 Run the following commands to check the protection configuration and the protection status:

:cfg-get-lmspg
:cfg-get-lmsattrib:PgId;
:cfg-get-lmsbdmap:PgId;
:cfg-get-lmsstate:PgId;

This step uses linear multiplex section protection (MSP) as an example. Other protection
schemes, such as subnetwork connection protection (SNCP), also need to be checked.
Step 4 Run the following command to check the reset records of the SCC board:

:errlog;

Step 5 Run the following commands to check the configuration and the in-service state of logical
boards:

Issue 01 (2018-01-15) Huawei Proprietary and Confidential 13


Copyright © Huawei Technologies Co., Ltd
OptiX 155/622H(Metro 1000) STM -1/ STM-4/STM-16 MSTP Optical
Transmission System
Upgrade Guide - Hot Patch Loading 3 Preparing for the Upgrade

:cfg-get-board;
:cfg-get-phybd;

Step 6 Run the following commands to check the ECC routes of the NE:

:cm-get-eccroute;
:cm-get-maccon;
:cm-get-coreroute;

Step 7 Run the following commands to check the database consistency:


:dbms-compare-all:mdb,drdb;
:dbms-compare-all:mdb,fdb0;
:dbms-compare-all:mdb,fdb1;

Step 8 If data in the databases is not consistent, run the following commands to synchronize data in
the databases:

:dbms-copy-all:mdb,drdb;
:dbms-copy-all:drdb,fdb0;
:dbms-copy-all:drdb,fdb1;

Step 9 Run the following command to check the NE time:

:time

If the time is incorrect, adjust it.


Step 10 Run the following commands to disable periodic file check on the SCC board:

:sftm-get-fpatrol-state:bid
:sftm-set-fpatrol:bid,VERCHECK,STOP
:sftm-set-fpatrol:bid,FILEPATROL,STOP
:sftm-set-fpatrol:bid,ASVERCHECK,STOP

NOTE
Replace bid in the preceding commands with 11, the slot ID of the SCC board.

Step 11 Run the following command to check the NE software version:


:sftm-get-nesoftver:bid

----End

Verification
The basic NE information is correct, and no abnormal alarm is generated.

Issue 01 (2018-01-15) Huawei Proprietary and Confidential 14


Copyright © Huawei Technologies Co., Ltd
OptiX 155/622H(Metro 1000) STM -1/ STM-4/STM-16 MSTP Optical
Transmission System
Upgrade Guide - Hot Patch Loading 4 Performing the Upgrade

4 Performing the Upgrade

4.1 Selecting the Hot Patch


The procedure for selecting the hot patch is as follows:
Step 1 Log in to the U2000, and choose Administration > NE Software Management > Board
Patch Software Upgrade.

The Load Patch Software pane is displayed.

Issue 01 (2018-01-15) Huawei Proprietary and Confidential 15


Copyright © Huawei Technologies Co., Ltd
OptiX 155/622H(Metro 1000) STM -1/ STM-4/STM-16 MSTP Optical
Transmission System
Upgrade Guide - Hot Patch Loading 4 Performing the Upgrade

Step 2 In the navigation tree, right-click the NE to which the hot patch is to be loaded, and choose
Login NE from the shortcut menu.

Step 3 After logging in to the NE, right-click the NE and choose Query Board from the shortcut
menu.

Issue 01 (2018-01-15) Huawei Proprietary and Confidential 16


Copyright © Huawei Technologies Co., Ltd
OptiX 155/622H(Metro 1000) STM -1/ STM-4/STM-16 MSTP Optical
Transmission System
Upgrade Guide - Hot Patch Loading 4 Performing the Upgrade

Select 11-scc in the board list that is displayed. Click the red double-arrow button to select the
SCC board to which the hot patch is to be loaded.

Issue 01 (2018-01-15) Huawei Proprietary and Confidential 17


Copyright © Huawei Technologies Co., Ltd
OptiX 155/622H(Metro 1000) STM -1/ STM-4/STM-16 MSTP Optical
Transmission System
Upgrade Guide - Hot Patch Loading 4 Performing the Upgrade

Step 4 Click .
The Choose File dialog box is displayed.
Select the hot patch file fpatch.pat, and click Open.

The patch version is displayed below Upgrade Version.

----End

Issue 01 (2018-01-15) Huawei Proprietary and Confidential 18


Copyright © Huawei Technologies Co., Ltd
OptiX 155/622H(Metro 1000) STM -1/ STM-4/STM-16 MSTP Optical
Transmission System
Upgrade Guide - Hot Patch Loading 4 Performing the Upgrade

4.2 Loading the Hot Patch


After the hot patch is selected, the record of the SCC board to which the hot patch is to be
loaded is displayed in the main window of the DC.

The procedure for loading the hot patch is as follows:


Click Start.
The DC starts to load the hot patch.

After loading the hot patch is complete, the DC displays the message "Load Software
Completed!"

Issue 01 (2018-01-15) Huawei Proprietary and Confidential 19


Copyright © Huawei Technologies Co., Ltd
OptiX 155/622H(Metro 1000) STM -1/ STM-4/STM-16 MSTP Optical
Transmission System
Upgrade Guide - Hot Patch Loading 4 Performing the Upgrade

----End

4.3 Activating the Hot Patch


After loading the hot patch is complete, activate the hot patch as follows:
Step 1 Click Activate to activate the hot patch.

After activating the hot patch is complete, the DC displays the message "Activating software
completed!"

Step 2 Click Finish to commit the hot patch.

After committing the hot patch is complete, the DC displays the message "Commit
completed!"

Issue 01 (2018-01-15) Huawei Proprietary and Confidential 20


Copyright © Huawei Technologies Co., Ltd
OptiX 155/622H(Metro 1000) STM -1/ STM-4/STM-16 MSTP Optical
Transmission System
Upgrade Guide - Hot Patch Loading 4 Performing the Upgrade

NOTE
After you click Finish, the hot patch is committed and enters the running state. In this case, you cannot
roll back to the source version by using the DC. Instead, you can delete the hot patch by using the
command tool for a rollback.

So far, activating the hot patch is successful.


Step 3 On the command tool, run the :patch-get-info:bid and :patch-get-statemsg:bid commands to
check whether the patch on the SCC board is in the running state. If the following information
is displayed, the patch is in the running state:
:patch-get-info:11
PATCH-UNIT-INFO
PatchNo PatchState CodeAddr CodeLen DataAddr DataLen FuncNum
20001 running 0x00010000 0x00002580 0x00088000 0x000002b8 8
20002 running 0x00012580 0x00000a2c 0x000882b8 0x00000d30 1
Total records :2

:patch-get-statemsg:11
PATCH-STATE
ProgVer PatchVer TotalPatchNum
RunPatchNum ActivePatchNum DeactivePatchNum CommPatchNum TempPatchNum
5.37.05.15P02T05 SPH002 2 2
0 0 2 0
Total records :1

----End

Issue 01 (2018-01-15) Huawei Proprietary and Confidential 21


Copyright © Huawei Technologies Co., Ltd
OptiX 155/622H(Metro 1000) STM -1/ STM-4/STM-16 MSTP Optical
Transmission System
Upgrade Guide - Hot Patch Loading 5 Verify ing the Upgrade

5 Verifying the Upgrade

5.1 Verification Checklist


Table 5-1 Verification checklist
No. Item Expected Result

1 Checking the running status of the The NE is in the running state.


NE
2 Checking the NE software and FPGA The NE software version is 5.37.05.15P02.
versions
3 Querying alarms on the NE No new abnormal alarm is generated.

4 Checking the NE performance All performance data can be correctly reported, and the
performance values do not experience any abnormal changes
during the upgrade.

5 Checking SCC board reset records No abnormal reset is recorded.

6 Checking whether any abnormal No abnormal alarm is generated.


alarms are generated on boards on the
NE

7 Checking ECC routes The ECC route information is complete.


8 Checking the status of the multiplex The MS protocol on the NE is in a normal state.
section (MS) protocol
9 Checking the database consistency The data in the four databases is consistent.

10 Checking the automatic backup of The automatic backup of databases is enabled.


databases

11 Checking the NE software version The U2000 version meets the lowest requirement specified in
and the U2000 version the version mapping table.

12 Checking whether services normally All services run normally.


run after the upgrade

Issue 01 (2018-01-15) Huawei Proprietary and Confidential 22


Copyright © Huawei Technologies Co., Ltd
OptiX 155/622H(Metro 1000) STM -1/ STM-4/STM-16 MSTP Optical
Transmission System
Upgrade Guide - Hot Patch Loading 5 Verify ing the Upgrade

5.2 Verification Procedure


Description
Check whether the NE is normally running after the upgrade.

Procedure
Step 1 Run the following command to check the running status of the NE:
:cfg-get-nestate

Step 2 Run the following command to check the NE software and FPGA versions:

:sftm-get-nesoftver:bid

Step 3 Run the following command to query alarms on the NE:


:alm-get-curdata:0,0

Step 4 Run the following commands to check the NE performance:


:per-set-starttime:period,starttime;

:per-set-monevent:0,0,0,0,perall,15m,enable ;

:per-get-curdata:0,0,0,0,perall,15m;

Step 5 Run the following command to check the SCC board reset records:
:errlog

Step 6 Run the following command to check whether any abnormal alarms are generated on boards
on the NE:

:alm-get-curdata:0,0

Step 7 Run the following commands to check the ECC routes of the NE:
:cm-get-newbdinfo
:cm-get-eccroute

Step 8 Run the following command to check the status of the MS protocol:

:cfg-get-lmsstate:PgId

Step 9 Run the following commands to check the database consistency:


:dbms-compare-all:mdb,drdb
:dbms-compare-all:drdb,fdb0
:dbms-compare-all:drdb,fdb1

Step 10 Run the following commands to check the automatic backup of databases:

:dbms-get-autobackup
:dbms-get-backuptime
:dbms-get-backupperiod

Step 11 Check whether the NE software version matches the U2000 version.
Step 12 Run the following commands to enable periodic file check on the SCC board:

Issue 01 (2018-01-15) Huawei Proprietary and Confidential 23


Copyright © Huawei Technologies Co., Ltd
OptiX 155/622H(Metro 1000) STM -1/ STM-4/STM-16 MSTP Optical
Transmission System
Upgrade Guide - Hot Patch Loading 5 Verify ing the Upgrade

:sftm-set-fpatrol:bid,VERCHECK,START
:sftm-set-fpatrol:bid,FILEPATROL,START
:sftm-set-fpatrol:bid,ASVERCHECK,START

NOTE
Replace bid in the preceding commands with 11, the slot ID of the SCC board.

Step 13 Check whether services normally run after the upgrade.


----End

Expected Results
See Table 5-1.

Issue 01 (2018-01-15) Huawei Proprietary and Confidential 24


Copyright © Huawei Technologies Co., Ltd
OptiX 155/622H(Metro 1000) STM -1/ STM-4/STM-16 MSTP Optical
Transmission System
Upgrade Guide - Hot Patch Loading 6 Rolling Back to the Source Version

6 Rolling Back to the Source Version

6.1 Rollback Process


6.1.1 Rollback Flowchart
Figure 6-1 Rollback flowchart

Start

Perform a rollback. See section 6.2.

Verify the rollback. See section 6.3.

End

6.1.2 Rollback Procedure


Table 6-1 Rollback procedure
No. Procedure Impact Time Required Mandatory or
(Minutes) Optional

1 Perform a Section 6.2 None 1 Optional


rollback.

Issue 01 (2018-01-15) Huawei Proprietary and Confidential 25


Copyright © Huawei Technologies Co., Ltd
OptiX 155/622H(Metro 1000) STM -1/ STM-4/STM-16 MSTP Optical
Transmission System
Upgrade Guide - Hot Patch Loading 6 Rolling Back to the Source Version

No. Procedure Impact Time Required Mandatory or


(Minutes) Optional

2 Verify the Section 6.3 None 1 Optional


rollback.

6.2 Performing a Rollback


 Before clicking Finish to commit the hot patch, you can click Rollback to roll back to the source
version if required.

After you click Rollback, the following dialog box is displayed.

Click Yes.
The system rolls back to the source version.

Issue 01 (2018-01-15) Huawei Proprietary and Confidential 26


Copyright © Huawei Technologies Co., Ltd
OptiX 155/622H(Metro 1000) STM -1/ STM-4/STM-16 MSTP Optical
Transmission System
Upgrade Guide - Hot Patch Loading 6 Rolling Back to the Source Version

 After clicking Finish to commit the hot patch, you can only delete the hot patch by using the
command tool for a rollback.
Step 1 On the command tool, run the :patch-get-info:bid and :patch-get-statemsg:bid commands to
check whether the hot patch exists on the SCC board.

:patch-get-info:11
PATCH-UNIT-INFO
PatchNo PatchState CodeAddr CodeLen DataAddr DataLen FuncNum
20001 running 0x00010000 0x00002580 0x00088000 0x000002b8 8
20002 running 0x00012580 0x00000a2c 0x000882b8 0x00000d30 1
Total records :2

:patch-get-statemsg:11
PATCH-STATE
ProgVer PatchVer TotalPatchNum
RunPatchNum ActivePatchNum DeactivePatchNum CommPatchNum TempPatchNum
5.37.05.15P02T05 SPH002 2 2
0 0 2 0
Total records :1

Step 2 If the hot patch exists on the SCC board, run the :patch-delete:bid,0 command to delete the
hot patch.
Step 3 Run the :patch-get-info:bid and :patch-get-statemsg:bid commands to check whether the
hot patch has been deleted.
:patch-get-info:11
failed! cmd:0x0406 error:0x9da5 NSERR_PATCH_NULL

:patch-get-statemsg:11
PATCH-STATE

Issue 01 (2018-01-15) Huawei Proprietary and Confidential 27


Copyright © Huawei Technologies Co., Ltd
OptiX 155/622H(Metro 1000) STM -1/ STM-4/STM-16 MSTP Optical
Transmission System
Upgrade Guide - Hot Patch Loading 6 Rolling Back to the Source Version

ProgVer PatchVer TotalPatchNum


RunPatchNum ActivePatchNum DeactivePatchNum CommPatchNum TempPatchNum

5.37.05.15P02T05 0 0
0 0 0 0
Total records :1

Step 4 After deleting the hot patch, run the :reset command to perform a warm reset on the SCC
board.
----End

6.3 Verifying the Rollback


Table 6-2 Verification checklist
No. Item Expected Result

1 Checking the running status of The NE is in the running state.


the NE
2 Checking the NE software and The NE software version is 5.37.05.15P02.
FPGA versions
3 Querying alarms on the NE No new abnormal alarm is generated.

4 Checking the NE performance All performance data can be correctly reported,


and the performance values do not experience
any abnormal changes during the upgrade.

5 Checking SCC board reset No abnormal reset is recorded.


records

6 Checking whether any abnormal No abnormal alarm is generated.


alarms are generated on boards
on the NE

7 Checking ECC routes The ECC route information is complete.


8 Checking the status of the The MS protocol on the NE is in a normal state.
multiplex section (MS) protocol
9 Checking the database The data in the four databases is consistent.
consistency
10 Checking the automatic backup The automatic backup of databases is enabled.
of databases
11 Checking the NE software The U2000 version meets the lowest
version and the U2000 version requirement specified in the version mapping
table.
12 Checking whether services All services run normally.
normally run after the upgrade

Issue 01 (2018-01-15) Huawei Proprietary and Confidential 28


Copyright © Huawei Technologies Co., Ltd
OptiX 155/622H(Metro 1000) STM -1/ STM-4/STM-16 MSTP Optical
Transmission System
Upgrade Guide - Hot Patch Loading 7 FA Qs

7 FAQs

7.1 A Hot Patch Fails to Be Loaded to an NE. Why?


The possible causes are as follows:
 A hot patch in running state already exists on the NE.
 The hot patch file contains incorrect information, such as incorrect NE type or patch file
size.

7.2 When a Board-Level Hot Patch Is Being Loaded to an


NE, the DC Displays a Message Indicating that a Hot
Patch of the Same or Later Version Has Been Loaded to
the NE. Why?
A hot patch already exists on the NE. You can run the :patch-get-info:11
and :patch-get-statemsg:bid commands on the command tool to check for a hot path.
To solve the problem, run the :patch-delete:bid,0 command on the command tool to delete
the hot patch.

Issue 01 (2018-01-15) Huawei Proprietary and Confidential 29


Copyright © Huawei Technologies Co., Ltd
OptiX 155/622H(Metro 1000) STM -1/ STM-4/STM-16 MSTP Optical
Transmission System
Upgrade Guide - Hot Patch Loading A Upgrade Record

A Upgrade Record

Site Name Upgrade Date

Source Version Target Version

Operator Operator from the customer:


Operator from Huawei:
Whether the Upgrade Is Successful

Checklists Result Troubleshooting

Pre-upgrade Checklist

Upgrade Checklist

Verification Checklist

Issue 01 (2018-01-15) Huawei Proprietary and Confidential 30


Copyright © Huawei Technologies Co., Ltd
OptiX 155/622H(Metro 1000) STM -1/ STM-4/STM-16 MSTP Optical
Transmission System
Upgrade Guide - Hot Patch Loading B Acrony ms and Abbreviations

B Acronyms and Abbreviations

D
DC Data Center

E
ECC embedded control channel

F
FTP File Transfer Protocol

G
GNE gateway network element

M
MS multiplex section
MSP multiplex section protection

N
NE network element

S
SCC system control and communication
SFTP Secure File Transfer Protocol
SNCP subnetwork connection protection

Issue 01 (2018-01-15) Huawei Proprietary and Confidential 31


Copyright © Huawei Technologies Co., Ltd
OptiX 155/622H(Metro 1000) STM -1/ STM-4/STM-16 MSTP Optical
Transmission System
Upgrade Guide - Hot Patch Loading B Acrony ms and Abbreviations

T
TFTP Trivial File Transfer Protocol

Issue 01 (2018-01-15) Huawei Proprietary and Confidential 32


Copyright © Huawei Technologies Co., Ltd

Vous aimerez peut-être aussi