Download as pdf or txt
Download as pdf or txt
You are on page 1of 29

SmartAX MA5800

V100R018C00SPH109
Patch Installation Guide

Issue 01

Date 2018-06-12

HUAWEI TECHNOLOGIES CO., LTD.


SmartAX MA 5800 V100R018C00SPH109
Patch Installation Guide

Copyright © Huawei Technologies Co., Ltd. 2018. All rights reserved.


No part of this document may be reproduced or transmitted in any form or by any means wi thout 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-06-12) Huawei Proprietary and Confidential i


Copyright © Huawei Technologies Co., Ltd.
SmartAX MA 5800 V100R018C00SPH109
Patch Installation Guide

Change History

Version Description Released on Author

1.0 First release 2018-06-12 Jiang Yuanshun

Issue 01 (2018-06-12) Huawei Proprietary and Confidential ii


Copyright © Huawei Technologies Co., Ltd.
SmartAX MA 5800 V100R018C00SPH109
Patch Installation Guide

Contents

1 Pre-Installation Instructions ....................................................................................................... 1


1.1 Requirements on the Source Software Version.............................................................................................................1

2 Patch Installation by Using the U2000 DC ............................................................................... 2


2.1 Preparing to Install.............................................................................................................................................................2
2.1.1 Obtaining Files for Patch Installat ion ..................................................................................................................2
2.1.2 Uploading Files ........................................................................................................................................................2
2.1.3 Configuring the DC System Information ............................................................................................................2
2.1.4 Creat ing a Software Library ..................................................................................................................................4
2.1.5 Checking the Device Status ...................................................................................................................................8
2.1.6 Backing Up the Database File .............................................................................................................................12
2.2 Installing the Patch File ..................................................................................................................................................14
2.2.1 Installing the Patch SPH109 ................................................................................................................................14
2.2.2 Verify ing the Installation of the Control Board Patch File .............................................................................19

3 Patch Installation by Using the CLI ........................................................................................ 20


3.1 Installat ion Procedure and Estimated Time .................................................................................................................20
3.2 Preparing for Patch Installation .....................................................................................................................................20
3.2.1 Checking the Device Version and Status ...........................................................................................................20
3.2.2 Backing Up the Database .....................................................................................................................................21
3.3 Installing the Patch File ..................................................................................................................................................22
3.4 Verify ing Patch Installation ............................................................................................................................................22

4 Patch rollback............................................................................................................................... 23
4.1 Rolling Back the System ................................................................................................................................................23

5 FAQs .............................................................................................................................................. 25

Issue 01 (2018-06-12) Huawei Proprietary and Confidential iii


Copyright © Huawei Technologies Co., Ltd.
SmartAX MA 5800 V100R018C00SPH109
Patch Installation Guide 1 Pre-Installation Instructions

1 Pre-Installation Instructions

NOTE
 Ensure that the patch is installed by qualified engineers.
 Read the MA5800 V100R018C00SPH109 Release Notes 01 (for TDC) carefully before installing this
patch.
 If any unknown problems occur during patch installation, stop installation and consult technical
support personnel.

1.1 Requirements on the Source Software Version


Make sure that the source software version for the device is listed in Table 1-1 before
installing this patch. If your version is not listed in the table, contact Huawei technical support
personnel to determine whether this patch can be installed onto the device.

Table 1-1 Requirements on the source software version


Source Software Release Date Description
Version

SmartAX MA5800 2018-04-10 Follow this document to directly install the


V100R018C00HP1102 patch.

In this document, SmartAX MA5800 V100R018C00HP1102 is used as an example for the


source software version.
----End

Issue 01 (2018-06-12) Huawei Proprietary and Confidential 1


Copyright © Huawei Technologies Co., Ltd.
SmartAX MA 5800 V100R018C00SPH109
Patch Installation Guide 2 Patch Installat ion by Using the U2000 DC

2 Patch Installation by Using the U2000 DC

2.1 Preparing to Install


2.1.1 Obtaining Files for Patch Installation

 The program patch package file of the control board must match the control board type.
Any mismatch may cause faults to the control board hardware.
 Ensure that the combined package file is available in case of any necessary system
downgrade.

Table 2-1 File required for the patch installation of H901MPLB control board
SN File Description File Name Remarks

1 Patch package file V100R018C00SPH109_ Obtain this file from


wholepatch_MPLB_TDC MA5800V100R018C00SPH109

2.1.2 Uploading Files


Before performing automatic loading by using the DC, upload the desired patch installation
files to the preset file transfer service root directory.

2.1.3 Configuring the DC System Information


Context
Set the IP address of the OSS server, the backup directory, and the loading directory.

Procedure
Step 1 Choose Administration > NE Software Management > FTP Settings. Then, the FTP
Settings dialog box is displayed.

Issue 01 (2018-06-12) Huawei Proprietary and Confidential 2


Copyright © Huawei Technologies Co., Ltd.
SmartAX MA 5800 V100R018C00SPH109
Patch Installation Guide 2 Patch Installat ion by Using the U2000 DC

Step 2 On the System Information tab, select Single NIC Configuration and configure the IP
address of the U2000 server in System IP Address.

Step 3 On the Transfer Protocol tab, select MA5800-X7(V100) in NE type, and SFTP Password
in Protocol. Then, click OK.

Issue 01 (2018-06-12) Huawei Proprietary and Confidential 3


Copyright © Huawei Technologies Co., Ltd.
SmartAX MA 5800 V100R018C00SPH109
Patch Installation Guide 2 Patch Installat ion by Using the U2000 DC

----End

2.1.4 Creating a Software Library


Import the patch package file into the software library before the U2000 DC automatically
loads the patch.

Context
Files can be imported in either of the following modes:
 Using the OSS server
This mode is used if files required for the upgrade have been uploaded to the OSS server
by using file transfer tools, such as FTP/SFTP, or by copying.

CAUTION
The binary mode must be used when you upload files to the OSS server using file transfer
tools such as FTP/SFTP.

Issue 01 (2018-06-12) Huawei Proprietary and Confidential 4


Copyright © Huawei Technologies Co., Ltd.
SmartAX MA 5800 V100R018C00SPH109
Patch Installation Guide 2 Patch Installat ion by Using the U2000 DC

 Using the OSS client


This mode is used if files required for the upgrade are stored on the PC maintenance
terminal and the FTP/SFTP channel between the PC and OSS server is reachable. (The
PC maintenance terminal has OSS client software installed and serves as the OSS client.)
In this mode, files required for the upgrade can be automatically uploaded to the OSS
server from the client.
The following procedure uses the example of importing the patch package file using the OSS
client.

Prerequisite
The FTP/SFTP channel between the PC and OSS server is reachable.

Procedure
Step 1 Choose Administration > NE Software Management > NE Software Library
Management from the main menu.

Step 2 In the NE Software Library Management window, right-click and choose Import.

Issue 01 (2018-06-12) Huawei Proprietary and Confidential 5


Copyright © Huawei Technologies Co., Ltd.
SmartAX MA 5800 V100R018C00SPH109
Patch Installation Guide 2 Patch Installat ion by Using the U2000 DC

Step 3 In the Import dialog box, Access NE > MA5800-X7, and choose Patch in File Type, as
shown in the following figure.

Step 4 Click . In the Select File dialog box, select OSS Client.

Step 5 Click to select the file (for example,


V100R018C00SPH109_wholepatch_MPLB_TDC) to be imported, and click Open. Then
click OK.

Issue 01 (2018-06-12) Huawei Proprietary and Confidential 6


Copyright © Huawei Technologies Co., Ltd.
SmartAX MA 5800 V100R018C00SPH109
Patch Installation Guide 2 Patch Installat ion by Using the U2000 DC

Step 6 In the Information dialog box, click OK. After obtaining the file information, make sure that
the Patch Version is SPH109. Then, enter MA5800V100R018C00 to Version, click OK,
and click OK in the following figure.

Issue 01 (2018-06-12) Huawei Proprietary and Confidential 7


Copyright © Huawei Technologies Co., Ltd.
SmartAX MA 5800 V100R018C00SPH109
Patch Installation Guide 2 Patch Installat ion by Using the U2000 DC

Step 7 When all the required files are imported, the window shown in the following figure is
displayed.

----End

2.1.5 Checking the Device Status


Verify that the device to be upgraded is functioning properly and ready for upgrade.

Procedure
Step 1 Choose Administration > NE Software Management > NE Data Backup/Restoration
from the main menu. The device information list is displayed.

Issue 01 (2018-06-12) Huawei Proprietary and Confidential 8


Copyright © Huawei Technologies Co., Ltd.
SmartAX MA 5800 V100R018C00SPH109
Patch Installation Guide 2 Patch Installat ion by Using the U2000 DC

Step 2 On the NE Data Backup/Restoration window, check whether the device to be upgraded is in
the device information list. If the device to be upgraded is not in the device information list,
click the button on the toolbar to refresh the list.

Step 3 Check the device version.


In the device information list, select a required device, right-click, and choose Update
Version from the shortcut menu as shown in the following figure. Verify that the device
version is correct.

Issue 01 (2018-06-12) Huawei Proprietary and Confidential 9


Copyright © Huawei Technologies Co., Ltd.
SmartAX MA 5800 V100R018C00SPH109
Patch Installation Guide 2 Patch Installat ion by Using the U2000 DC

Step 4 Check the patch version of the device.


In the device information list, select the target device, right-click, and then choose Get Patch
to query the patch. After the operation is successful, you can view the corresponding patch
number.

Step 5 Navigate back to the Main Topology window, select the device to be queried, right-click, and
then choose NE Explorer. Check status of the control board.

Click the M PLB control board and check the board details. Ensure that the Board Status of control board
is displayed as Normal. The patch can be installed by using the DC only when the control board is
functioning properly.

Issue 01 (2018-06-12) Huawei Proprietary and Confidential 10


Copyright © Huawei Technologies Co., Ltd.
SmartAX MA 5800 V100R018C00SPH109
Patch Installation Guide 2 Patch Installat ion by Using the U2000 DC

Issue 01 (2018-06-12) Huawei Proprietary and Confidential 11


Copyright © Huawei Technologies Co., Ltd.
SmartAX MA 5800 V100R018C00SPH109
Patch Installation Guide 2 Patch Installat ion by Using the U2000 DC

Step 6 Check status of the service boards in the same way. Ensure that the all the service boards are
functioning properly.
Step 7 Double-click a service board to display the port view. Verify that the ports with services
provisioned are in the activated state.

----End

2.1.6 Backing Up the Database File


Back up the database to restore the device and to analyze the issue if an issue occurs during
the patch installation.

Procedure
Step 1 Choose Administration > NE Software Management > NE Data Backup/Restoration
from the main menu. The device information list is displayed.

Step 2 In the device information list, select a device, right-click, and choose Backup, as shown in the
following figure.

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


Copyright © Huawei Technologies Co., Ltd.
SmartAX MA 5800 V100R018C00SPH109
Patch Installation Guide 2 Patch Installat ion by Using the U2000 DC

Step 3 In the displayed dialog box, select OSS Server and click Start.

Step 4 In the device information list, select a device and select Backup Information in the lower
pane. The path for saving the backed up database is displayed, as shown in the following
figure.

NOTE
You can query the path of only one device at a time.

----End

Issue 01 (2018-06-12) Huawei Proprietary and Confidential 13


Copyright © Huawei Technologies Co., Ltd.
SmartAX MA 5800 V100R018C00SPH109
Patch Installation Guide 2 Patch Installat ion by Using the U2000 DC

2.2 Installing the Patch File


2.2.1 Installing the Patch SPH109
Procedure
Step 1 Choose Administration > NE Software Management > NE Upgrade Task Management
from the main menu. The NE Upgrade Task Management window is displayed.

Step 2 On the tab page that is displayed, right-click and choose New Task > Patch Update Task.
The Create Task [Patch Update] dialog box is displayed.

Step 3 In the Create Task [Patch Update] dialog box, use or change the task name assigned
automatically by the U2000 in Task Name (the task name must be unique), select NE Type,
NE Version, and Main Board Type. Select the devices to be upgraded. And then, click Next.

Issue 01 (2018-06-12) Huawei Proprietary and Confidential 14


Copyright © Huawei Technologies Co., Ltd.
SmartAX MA 5800 V100R018C00SPH109
Patch Installation Guide 2 Patch Installat ion by Using the U2000 DC

Step 4 In the Operation Configuration [Patch Update] dialog box, select Load Patch, Activate
Patch, and Confirm.

If you select Pause Before Current Operation for Operation (for example, Confirm), the task will
pause before this operation is performed. If you want to continue the task, right-click the task and choose
Continue Task.

Step 5 Select the target version from the Target Version drop-down combo box. In the Confirm
dialog box, click Yes.

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


Copyright © Huawei Technologies Co., Ltd.
SmartAX MA 5800 V100R018C00SPH109
Patch Installation Guide 2 Patch Installat ion by Using the U2000 DC

Step 6 In the Select Patch File(s) dialog box, select patch file
V100R018C00SPH109_wholepatch_MPLB_TDC, add them to the right panel, and click
OK.

If unnecessary files exist in the window on the right, select them and click . Reserve only
V100R018C00SPH109_wholepatch_MPLB_TDC. Then, click OK.

Issue 01 (2018-06-12) Huawei Proprietary and Confidential 16


Copyright © Huawei Technologies Co., Ltd.
SmartAX MA 5800 V100R018C00SPH109
Patch Installation Guide 2 Patch Installat ion by Using the U2000 DC

Step 7 In the Operation Configuration [Patch Update] dialog box, click Next.

Step 8 In the Confirm [Patch Update] dialog box, confirm that the installation procedure is correct
and click OK.

Step 9 A loading task has now been created. To immediately start the loading task, right-click the
task and choose Start Task from the shortcut menu. Then, in the High Risk dialog box,
select I have read the message and fully understood the operation impacts on services,
and click Yes.

Issue 01 (2018-06-12) Huawei Proprietary and Confidential 17


Copyright © Huawei Technologies Co., Ltd.
SmartAX MA 5800 V100R018C00SPH109
Patch Installation Guide 2 Patch Installat ion by Using the U2000 DC

Step 10 Wait until Success is displayed in the Operation Status column.

----End

Issue 01 (2018-06-12) Huawei Proprietary and Confidential 18


Copyright © Huawei Technologies Co., Ltd.
SmartAX MA 5800 V100R018C00SPH109
Patch Installation Guide 2 Patch Installat ion by Using the U2000 DC

2.2.2 Verifying the Installation of the Control Board Patch File


Step 1 On the NE View tab page, right-click the device to which the control board patch file has
been loaded, and choose Get Patch from the shortcut menu.

Step 2 Verify that the control board patch file is successfully installed.

If the control board patch file is successfully installed, Running is displayed in the Patch
State column.

----End

Issue 01 (2018-06-12) Huawei Proprietary and Confidential 19


Copyright © Huawei Technologies Co., Ltd.
SmartAX MA 5800 V100R018C00SPH109
Patch Installation Guide 3 Patch Installat ion by Using the CLI

3 Patch Installation by Using the CLI

3.1 Installation Procedure and Estimated Time


No. Operation Item Estimated Time (Unit: Minute)

1 Check the device status. 3

2 Save and back up the data. 5

3 Load the patch. 30

4 Activate and run the patch. 20


5 Verify the patch installation. 1

3.2 Preparing for Patch Installation


3.2.1 Checking the Device Version and Status
Check the device version and device status to ensure that the device is functioning properly so
that the patch can be installed successfully
Step 1 Check the device version
MA5800-X7(config)#display language
{ <cr>||<K> }:

Command:
display language
Local:
Description: CHINESE SIMPLIFIED (DEFAULT LANGUAGE)
Version: MA5800V100R018C00
Encoding: GBK

General:
Description: ENGLISH (DEFAULT LANGUAGE)
Version: MA5800V100R018C00
Encoding: ANSI

MA5800-X7(config)#display patch all


{ <cr>||<K> }:

Command:

Issue 01 (2018-06-12) Huawei Proprietary and Confidential 20


Copyright © Huawei Technologies Co., Ltd.
SmartAX MA 5800 V100R018C00SPH109
Patch Installation Guide 3 Patch Installat ion by Using the CLI

display patch all


Software Version:MA5800V100R018C00
SPH105
HP1010; HP1020
HP1102
------------------------------------------------------------------------
Current Patch State:
------------------------------------------------------------------------
Patch Name Patch State Delivery Attribute Dependency
------------------------------------------------------------------------
SPH105 running common hot patch NO
HP1010 running common hot patch NO
HP1020 running common hot patch YES
HP1102 running common hot patch NO
------------------------------------------------------------------------
Total:4
Patches in the system cannot be rolled back

----End

Step 2 Check the device status to ensure that the device is working properly.
MA5800-X7(config)#display board 0
-------------------------------------------------------------------------
SlotID BoardName Status SubType0 SubType1 Online/Offline
-------------------------------------------------------------------------
0
1 H901XGHD Normal
2 H901XGHD Normal
3
4
5 H901CVEC Normal
6 H901CVEC Normal
7
8 H901MPLB Active_normal
9 H901MPLB Standby_normal
10 H901PILA Normal
11
-------------------------------------------------------------------------

----End

3.2.2 Backing Up the Database

Prerequisite
The FTP/SFTP/TFTP channel between the PC and NMS server is reachable.

Procedure
Save and back up the database file and configuration file for system recovery and
troubleshooting in case the new patch does not work properly.

MA5800-X7(config)#save

MA5800-X7(config)#backup data sftp 10.11.104.1 sysdata.dat


Please save database file before backup, or the database file that is backed
up may not be the latest one. Are you sure to continue? (y/n)[n]: y

MA5800-X7(config)#backup configuration sftp 10.11.104.1 config.txt

Issue 01 (2018-06-12) Huawei Proprietary and Confidential 21


Copyright © Huawei Technologies Co., Ltd.
SmartAX MA 5800 V100R018C00SPH109
Patch Installation Guide 3 Patch Installat ion by Using the CLI

Please save configuration file before backup, or the configuration file that
is backed up may not be the latest. Are you sure to continue? (y/n)[n]:y

----End

3.3 Installing the Patch File


Step 1 Load, activate and run the Patch file V100R018C00SPH109_wholepatch_MPLB_TDC.
MA5800-X7(config)#load patch sftp 10.11.104.1 V100R018C00SPH109_wholepatch_MPLB_TDC

MA5800-X7(config)#patch activate SPH109

MA5800-X7(config)#patch run SPH109

----End

3.4 Verifying Patch Installation


Run the following commands to check whether the patch is installed correctly.
MA5800-X7(config)#display patch all
{ <cr>||<K> }:

Command:
display patch all
Software Version:MA5800V100R018C00
SPH109
HP1010
------------------------------------------------------------------------
Current Patch State:
------------------------------------------------------------------------
Patch Name Patch State Delivery Attribute Dependency
------------------------------------------------------------------------
SPH109 running common hot patch NO
HP1010 running common hot patch NO
------------------------------------------------------------------------
Total:2
Last Patch State:
------------------------------------------------------------------------
Patch Name Patch State Delivery Attribute Dependency
------------------------------------------------------------------------
SPH105 running common hot patch NO
HP1010 running common hot patch NO
HP1020 running common hot patch YES
------------------------------------------------------------------------
Total:3

----End

Issue 01 (2018-06-12) Huawei Proprietary and Confidential 22


Copyright © Huawei Technologies Co., Ltd.
SmartAX MA 5800 V100R018C00SPH109
Patch Installation Guide 4 Patch ro llback

4 Patch rollback

4.1 Rolling Back the System


If necessary, follow the steps below to restore the system to the source version.

Procedure
Step 1 Obtain the combined package file of the source version, and put the file to the SFTP directory.
Step 2 Obtain the database file that has been backed up before the upgrade, and put it to the SFTP
directory.

You must use the database file of the source version that is backed up before the upgrade.
Otherwise, configuration data may be lost.

Step 3 Load the combined package file, and database of the source version.
1. Run the load packetfile command to load the combined package file of the source
version.

 You can run the display progress load command to query the loading progress. In the SFTP loading
mode, the loading progress remains unchanged for a period of time when it reaches 99%. The period
ranges from 20 minutes to 30 minutes, depending on the file size.
2. Run the load data command to load the backup database of the source version.
3. Run the upgrade command to reset the system.
Step 4 Verify the downgrade results. Ensure that the version information after the downgrade is
consistent with that before the upgrade. Pay attention to the patch version.

Example
For example, roll back the software version to the MA5800V100R018C00 version. In this
example:
 The SFTP file transfer mode is used.
 The IP address of the file transfer server is x.x.x.x.

Issue 01 (2018-06-12) Huawei Proprietary and Confidential 23


Copyright © Huawei Technologies Co., Ltd.
SmartAX MA 5800 V100R018C00SPH109
Patch Installation Guide 4 Patch ro llback

 The combined package file is


V100R018C00HP1102_wholepackage(SPC100)_MPLB_for_TDC.bin .
 The database file that is backed up before the upgrade is sysdata.dat.
MA5800-X7(config)#load packetfile sftp x.x.x.x
V100R018C00HP1102_wholepackage(SPC100)_MPLB_for_TDC.bin
The new packet file will overwrite the old one
Rollback function will be disabled
Be sure that the system needn't this function
Are you sure to load new packet file? (y/n)[n]:y

MA5800-X7(config)#load data sftp x.x.x.x sysdata.dat all


The new database will overwrite the old one
Rollback function will be disabled
Be sure that the system needn't this function
It's irreversible. Are you sure to load new database? (y/n)[n]:y

MA5800-X7(config)#upgrade
{ <cr>|emergency-call-protect<K>|issu<K>|mpls<K> }:

Command:
upgrade
Software upgrades will lead to business interruption, continue? (y/n)[n]:y

----End

Issue 01 (2018-06-12) Huawei Proprietary and Confidential 24


Copyright © Huawei Technologies Co., Ltd.
SmartAX MA 5800 V100R018C00SPH109
Patch Installation Guide 5 FA Qs

5 FAQs

Question: How to differentiate between a fully-compiled service pack (SP) and an


incrementally-compiled SP by version number?
Answer:

An SP is named SPxabc. According to the values of x and bc, an SPxabc can be an


incrementally-compiled hot SP, incrementally-compiled cold SP, or fully-compiled SP.
 x = C, bc = 00: fully-compiled SP
 x = H, bc ≠ 00: incrementally-compiled hot SP
 x = C, bc ≠ 00: incrementally-compiled cold SP

Issue 01 (2018-06-12) Huawei Proprietary and Confidential 25


Copyright © Huawei Technologies Co., Ltd.

You might also like