MA5800 Upgrade Guide 08 (CLI)
MA5800 Upgrade Guide 08 (CLI)
Upgrade Guide
Issue 08
Date 2017-08-11
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 features are stipulat ed 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 purchase scope or the usage scope. Unless otherwise specifi ed 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.
Website: http://www.huawei.com
Email: support@huawei.com
Contents
Before you start an upgrade, read this topic carefully to ensure a successful upgrade.
Read the release notes of the target version to obtain information about the target version.
The upgrade must be performed by trained engineers only.
Ensure stable power supply for an upgrade. Power-off during an upgrade will cause
unexpected results.
This document is applicable to only cross-R version or cross-C version upgrades. For
details about an upgrade within the same R version, see the relevant patch installation
guides.
The user IP address may not be used after a upgrade, which may require a new dialup.
V100R015C00 and patch V100R015C00 and later versions support only upgrade with
versions service interruption and can only be upgraded to
V100R016C00SPH103 or V100R016C10SPC201. If the
version needs to be upgraded to V100R017C00 or later,
upgrade the version to V100R016C00SPH103 or
V100R016C10SPC201 first.
V100R016C00 and patch See this document, and only support upgrade with service
versions interruption.
V100R016C10 and later See this document.
versions
In the XGS-PON scenario where H901XSED or H901TWED is installed, you must use a
matched MxU. Before the upgrade, check the MxU version, including MA5821A, MA5878,
and MA5616 (CCUE). You can only use version MxU V800R18C00 and later for an
upgrade. Otherwise, the MxU cannot go online after the upgrade.
Upgrade Way
You can upgrade the device software using the U2000 or command line interface (CLI). The
following table lists the differences between the two scenarios.
This document describes how to remotely upgrade software of devices through CLI.
MA5800-X2, MA5800-X7, MA5800-X15 and MA5800-X17 have the same upgrade
procedure. This document uses MA5800-X17 as examples.
Upgrade Modes
There are two upgrade modes: the upgrade with service interruption and upgrade without
service interruption (ISSU).
The differences of the two upgrade modes are as follows. For the operation differences
between the two upgrade modes, see "4.4 Activating Package File4.4 Activating Package
File".
Environmental Single control board or active and Active and standby control
requirements standby control boards boards
Upgrade process Both the active and standby The standby control board is
control boards are upgraded upgraded, and then the active/
simultaneous ly. standby switchover is
performed. In the end, the
active control board is
upgraded.
Load the combined The time required for loading the combined package file
package file. depends on the device environment and size of the package file.
Single control board: It takes about 2 minutes to load a
combined package file of 100 MB at a rate of 50 MB/min.
Dual control boards: It takes about 4 minutes to load a
combined package file of 100 MB at a rate of 25 MB/min.
The time required from the system restart to the recovery of control boards, service boards, and services
is related to the configured data volume.
Load the combined package file. The time required for loading the combined
package file depends on the device environment
and size of the package file.
Single control board: It takes about 2 minutes
for loading a combined package file of 100 MB
at a rate of 50 MB/min.
Dual control boards: It takes about 4 minutes
for loading a combined package file of 100 MB
at a rate of 25 MB/min.
Impact on NE management
The NE will fail to connect to the NMS during the system restart after an upgrade from
an earlier version. After the system is restarted, the NMS needs to synchronize data with
the NE.
2 Upgrade Process
Adhere to the upgrade process when performing an upgrade. If any exceptions occur during
an upgrade, stop the upgrade and contact Huawei technical support engineers.
Activating package files may affect services. Therefore, it is advised to perform the operation
in early morning when the device carries minimum traffic.
The combined package file inc ludes the control board package file. The combined package
file obtained must match the control board type. Any mismatch may cause faults to the
control board hardware.
Ensure that the combined package file and the patch file of the source version are available
in case of any necessary system downgrade. For a source version that does not support a
combined package file, ensure that the control board package file of the source version are
available.
For details about an upgrade within the same R and C version, see Patch Installation
Guide.
Procedure
Step 1 Download the software packages for the source version and target version from
http://support.huawei.com.
Step 2 Authenticate the downloaded software packages by OpenPGP. These downloaded software
packages can be used only when they are authenticated. To authenticate downloaded software
packages, click Digital Signature Authentication Mode on the upper right corner of the
Software list.
Step 3 Decompress the downloaded software package, and select the files required for the upgrade.
The name of combined package file may be differences between the different versions, please refer
to the Release Notes to see the detail the Combined package file name.
For M A5800, there is no limit about the size of the combined package, but y ou can repack the
package file to improve loading efficiency. How to repack a package file using the
unpacking&packing tool, seeing “8.1 Unpacking and Packing”.
1 A PC running Windows XP or -
Windows 7 OS
8 Board spare parts, Phillips Ensure that, for each board used on the
screwdriver (with a 2# head) network, at least one spare board is
available, so that a board can be replaced
quickly if it fails.
----End
Prerequisites
Before configuring the file transfer service, ensure that network communication between the
file server and device to be upgraded is normal.
Context
The FTP, TFTP, and SFTP file transfer protocols are supported for file transfer between
the file server and the device. The SFTP protocol is recommended.
This topic uses the SFTP mode as an example to describe how to upload files required
for the upgrade to the device from the file server.
Procedure
Step 1 Install the SFTP tool on the file server.
Step 2 Remotely log in to the device to be upgraded. (The SSH login mode is recommended.)
Step 3 Use the ssh sftp clear command to clear the SFTP settings in the system.
Step 4 Use the ssh sftp set command to set the user name and password for logging in to the SFTP
server.
----End
Example
For example, set the user name and password for logging in to the SFTP server.
huawei(config)#ssh sftp clear
huawei(config)#ssh sftp set
User Name(<=40 chars):testUser //SFTP server user name
User Password(<=40 chars): //SFTP server password
Listening Port(0--65535):22
Step 2 Run the display patch all command to query the current patches. Check whether the current
patches meet the requirements of the source version. If not, refer to 4 Performing the
Upgrade4 Performing the Upgrade.
Step 3 Run the display board command to query the status of boards on the device to be upgraded.
Ensure that the status of all the boards on the device is normal.
Step 4 Run the display board frameid/slotid command to query the status of the ONUs connected to
the boards on the device. Ensure that the ONU status is normal.
Step 5 Run the display cpu command to query the CPU usage of the active control board. Ensure
that the CPU usage is below 80%.
Step 6 Run the display port traffic command to query the service traffic volume of upstream ports.
The traffic volume before the upgrade will be compared with that after the upgrade.
----End
Example
For example, query information about the device to be upgraded, including the software
version, patch version, board status, ONU status, CPU usage, and service traffic volume at
upstream ports. In this example:
The service board is in slot 0/3.
The active control board is in slot 0/9.
The upstream port on the control board is 0/9/0.
huawei(config)#display version
huawei(config)#display patch all
huawei(config)#display board 0
huawei(config)#display board 0/3
huawei(config)#display cpu 0/9
huawei(config-if-mpu-0/9)#display port traffic 0
SmartKit Inspector is released independently of the M A5800 series product. For more information,
contact Huawei technical support personnel.
For detailed usage guide to the SmartKit Inspector, see the Online Help of the tool. Press F1 on the
tool interface or Choose Help > Help Topics from the main menu to obtain the Online Help.
For areas that the SmartKit Inspector tool cannot be used, contact Huawei technical support
engineers for pre-upgrade check.
----End
Procedure
Step 1 Run the save command to save the database and configuration files.
During a new deployment, the database file must also be saved before you load the combined
package file.
Step 2 Run the backup data command to back up the database file to the file server.
Step 3 Run the backup configuration command to back up the configuration file to the file server.
----End
Example
For example, save and back up the database file and configuration file to the file server. In this
example:
The SFTP file transfer mode is used.
The IP address of the file transfer server is x.x.x.x.
The backup database file is named as db_mpl_old.dat.
The backup configuration file is named as config_old.txt.
huawei(config)#save
huawei(config)#backup data Sftp x.x.x.x db_mpl_old.dat
Please save database file before backup, or the database file that is backed u
p may not be the latest one. Are you sure to continue? (y/n)[n]: y
huawei(config)#backup configuration Sftp x.x.x.x config_old.txt
Please save configuration file before backup, or the configuration file that i
s backed up may not be the latest. Are you sure to continue? (y/n)[n]: y
Procedure
Step 1 Run the autosave interval off command to disable periodic automatic saving or run the
autosave time off command to disable scheduled automatic saving.
----End
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 98%. The period
ranges from 30 minutes to 120 minutes, depending on the file size and the speed of the network.
----End
Example
For example, load the combined package file of the target version
MA5800V100RxxxCxxSPCxxx. In this example:
The SFTP file transfer mode is used.
The IP address of the file transfer server is x.x.x.x.
The original combined package file is named as
V100RxxxCxxSPxxxx_wholepackage(SPCxxx)_zzzz_yyyy.bin.
The new combined package file (generated after unpacking&packing) is named as
V100RxxxCxxSPxxxx_wholepackage(SPCxxx)_zzzz_new.bin..
Activating package file may affect services, it is advised to perform the operation in early
morning when the device carries minimum traffic.
If you still fail to log in to the device after 30 minutes, the system may be abnormal due to an
upgrade failure. In this case, connect to the device through a serial port.
Procedure
Upgrade without service interruption (ISSU)
Run the upgrade issu command to upgrade the device software and activate the
combined package file.
Upgrade with service interruption
Run the upgrade command to reset the system and activate the combined package file.
Example
Reset the system and activate the combined package file in an upgrade with service
interruption.
huawei(config)#upgrade
Software upgrades will lead to business interruption, continue? (y/n)[n]:y
Activate the combined package file in an upgrade without service interruption.
huawei(config)#upgrade issu
Software upgrades will lead to business interruption, continue? (y/n)[n]: y
Procedure
Step 1 Run the autosave interval on command to enable periodic automatic saving or run the
autosave time on command to enable scheduled automatic saving.
----End
When the upgrade is complete, verify the upgrade results to ensure that the device runs
normally.
Context
If all items listed in Table 5-1 meet the criteria, the upgrade is successful.
Procedure
Step 1 Run the display version command to query version information about the device software
and control board. Ensure that the device version and control board version are consistent
with those in the Release Notes.
The current program area stores the target version after the upgrade and the standby p rogram area stores
the version before the upgrade. Software in the standby program area will synchronize that in the current
program area and will be the same as the target version 48 hours later.
Step 2 Run the display io-packetfile information command to query information about the IO
board package file. Ensure that the board version information is consistent with that in the
Release Notes.
Step 3 Run the display board command to query the board status. Ensure that the status of all
boards is normal.
Step 4 Run the display board frameid/slotid command to sample-check the port status. Ensure that
the service-provisioning ports are activated.
Step 5 Run the display port traffic command to query the service traffic volume of upstream ports.
Ensure that the service traffic volume of upstream ports is close to that before the upgrade.
----End
Example
For example, verify the upgrade results after a device is upgraded. In this example:
Two control boards are configured in slots 0/9 and 0/10.
The service board is in slot 0/5.
The upstream port on the control board is 0/9/0.
huawei(config)#display version
huawei(config)#display version 0/9
huawei(config)#display version 0/10
huawei(config)#display io-packetfile information
huawei(config)#display board 0
huawei(config)#display board 0/5
huawei(config-if-mpu-0/9)#display port traffic 0
After an upgrade, you can upgrade the software to the source version if the system cannot
recover from abnormalities.
Step 1 Obtain the combined package file of the source version, repack the file using the
unpacking&packing tool, 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 or upgrade fails.
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 98%. The period
ranges from 30 minutes to 120 minutes, depending on the file size and the speed of the network.
If the loading fails, refer to 7 Common Troubleshooting for handling.
2. Run the load data command to load the backup database of the source version.
3. Run the reboot system 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.
----End
7 Common Troubleshooting
This topic provides methods for handling common exceptions that occur during or after the
upgrade.
If a problem cannot be solved using the provided handling methods, record the operations, collect
related error information, and contact Huawei technical support engineers for help.
1. File loading fails.
No. Error Message Handling Methods
3 User name, password, The user name and password of the device are
or configuration of the inconsistent with those of the SFTP/FTP server.
file server is incorrect Reconfigure the user name and password of the
SFTP/FTP server.
8 Appendix
Step 4 Click the button. In the dialog box that is displayed, select the package file to be
unpacked, and click Open.
Step 5 Deselect unnecessary boards. Reserve the board software that has been used and will be used.
Deselect unnecessary boards. The following uses H901XGHD used in the current
environment as an example.
When the internal database is used for the upgrade, ensure that UPDATETOOLS is selected.
Step 6 Click Pack. In the dialog box that is displayed, select the directory for saving the package file
to generate a new package file.
Step 7 Click Save. After the new package file is generated, the system displays "The operation that
packing the host package is successful." Click OK.
----End
Pre-upgrade Check
Upgrade Procedure
Check
Post-upgrade
Verification
4. Click the Users node. On the right pane, click Add to add a user. Ensure that the user
name and password of the user added using the SFTP tool are consistent with those
configured on the device.
5. Click the SFTP server node. On the right pane, set the file address, and click
Apply&Save.
7. Set the SSH user name and password on the device. The user name and password must
be consistent with those configured on the SFTP server.
huawei(config)#ssh sftp set
User Name(<=40 chars):huawei
User Password(<=40 chars):
Listening Port(0--65535):22
Data transfer with the device using FTP
1. Double-click 3CDaemon.exe to display the configuration dialog box.
3. In the 3CDaemon Configuration dialog box that is displayed, click . Then, in the
dialog box that is displayed, select the path of the file to be loaded.
The user name and password of the FTP client must be the same as the user name and
password of the FTP server. Run the ftp set command to configure the user name and
password of the FTP client.
3. In the tftpd32: Settings dialog box, click the Browse button. In the window that is
displayed, select the directory for the file to be loaded.
The following alarms and events generated are lab data and are for reference only.
Alarms
Fault Alarm Quantity Description Supports Clear Alarm
Automatic
Clearance
or Not
Events
Event Quantity Description
The managing Uncertain This event is generated when multiple users log in
user of the to or log out of a device concurrently by using the
equipment serial port or telnet.
logout or logon
The system 1 This event is generated when the batch hot backup
batch hot between active and standby control boards starts
backup starts following the standby control board recovery.
The system 1 This event is generated when the batch hot backup
batch hot between active and standby control boards ends
backup is following the standby control board recovery.
complete