Hello Everyone,
In the previous article, we saw the process of assembling the software file for the upgrade, deleting unnecessary boards, and improving the efficiency of our upgrade. In this article, we are going to carry out the software update process of our OLT MA5800-X2.
Upgrade Impact
Before carrying out the procedure, we must understand the impacts of these operations in order to obtain success in carrying out the procedure.
Impacto on Services
Services will be interrupted during the necessary system restart after an upgrade. The service interruption lasts 35 minutes, depending on the original system configurations.
Time required for each upgrade step
Procedure | Time Required Unit: Minute) |
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.
|
Restart the system and wait until the control board recovers | 13 minutes |
Restart the system and wait until the service boards recover | 20 minutes |
Restart the system and wait until the services recover | 35 minutes |
OLT Health Validation
1. Software Version Validation. It is always important to validate that our current software version can support direct software upgrades to the desired version. To validate the software version, we will use the command "Display version"
MA5800-X2>display version
{ <cr>|backplane<K>|frameid/slotid<S><Length 3-15>||<K> }:
Command: display version
VERSION: MA5800V100R019C12
PATCH: SPH208
PRODUCT: MA5800-X2
Active Mainboard Running Area Information:
--------------------------------------------------
Current Program Area : Area A
Current Data Area : Area A
Program Area A Version : MA5800V100R019C12
Program Area B Version : MA5800V100R019C12
Data Area A Version : MA5800V100R019C12
Data Area B Version : MA5800V100R019C12
--------------------------------------------------
Uptime is 0 day(s), 0 hour(s), 2 minute(s), 21 second(s)2. Validate the status of Boards. It is important that all boards are in their “normal” status, otherwise do not follow this procedure.
MA5800-X2>display board 0 Command: display board 0 ------------------------------------------------------------------------- SlotID BoardName Status SubType0 SubType1 Online/Offline ------------------------------------------------------------------------- 0 H902PISB Normal 1 2 H901GPSF Normal 3 4 H901MPSC Active_normal CPCB 5
3. CPU consumption view.
MA5800-X2(config)#display cpu 0/2
{ <cr>||<K> }:
Command:
display cpu 0/2
Send message for inquiring board cpu occupancy successfully, board
executing...
CPU occupancy: 10%
MA5800-X2(config)#display cpu 0/4
Command: display cpu 0/4
CPU occupancy: 4%Procedure
1. Configure credentials for connecting to the FTP server.
MA5800-X2(config)#ftp set User Name(<=40 chars):huawei User Password(<=40 chars): (ftp user password)
2. Test Connectivity with FTP server, connectivity can be tested through the command “ping”.
MA5800-X2(config)#ping 192.168.88.2
{ <cr>|ip-forwarding<K> }:
Command:
ping 192.168.88.2
PING 192.168.88.2: 56 data bytes, press CTRL_C to break
Reply from 192.168.88.2: bytes=56 Sequence=1 ttl=128 time=4 ms
Reply from 192.168.88.2: bytes=56 Sequence=2 ttl=128 time=3 ms
Reply from 192.168.88.2: bytes=56 Sequence=3 ttl=128 time=2 ms
Reply from 192.168.88.2: bytes=56 Sequence=4 ttl=128 time=3 ms
Reply from 192.168.88.2: bytes=56 Sequence=5 ttl=128 time=2 ms
--- 192.168.88.2 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 2/2/4 ms3. Download the software file that is stored on the FTP server:
MA5800-X2(config)#load packetfile smart ftp 192.168.88.2 MA5800V100R019C12_MPSC_package.bin
{ <cr>|user<K> }:
Command:
load packetfile smart ftp 192.168.88.2 MA5800V100R019C12_MPSC_package.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
Info: Standby board is abnormal, and command of loading for standby board is Impossible Load(backup,duplicate,...) begins, please wait and notice the rate of progress Any operation such as reboot or switchover will cause failure and unpredictable resultThe loading time of this file is related to its size and network speed. In my case, it took an average of 10 min. You can run the “display progress load” command to view the loading process:
MA5800-X2(config)#display progress load Command: display progress load FrameID/SlotID: 0/4 Board name: H901MPSC Operation type: Load File type: Packet file Operation phase: Saving file Rate of process: 86% MA5800-X2(config)# After loading file, you must reboot system to make file take effect MA5800-X2(config)# The loading is successful PARAMETERS :FrameID: 0, SlotID: 4, Position: -1, Load type: Packet file, Load Object: Active control board
4. Run the upgrade command to start the update process
MA5800-X2(config)#upgrade
{ <cr>|board<K>|emergency-call-protect<K>|issu<K>|mpls<K> }:
Command:
upgrade
Software upgrades will lead to business interruption, continue? (y/n)[n]:y
The software upgrade process will take several minutes, please wait...5. After the OLT is restarted, run the display version command to make the software version take effect.
MA5800-X2>display version Command: display version VERSION : MA5800V100R019C12 PATCH : SPH226 PRODUCT : MA5800-X2 Active Mainboard Running Area Information: -------------------------------------------------- Current Program Area : Area B Current Data Area : Area B Program Area A Version : MA5800V100R019C12 Program Area B Version : MA5800V100R019C12 Data Area A Version : MA5800V100R019C12 Data Area B Version : MA5800V100R019C12
6. Run the display board 0 command to verify that the status of all boards is normal.
MA5800-X2>display board 0
{ <cr>||<K> }:
Command:
display board 0
-------------------------------------------------------------------------
SlotID BoardName Status SubType0 SubType1 Online/Offline
-------------------------------------------------------------------------
0 H902PISB Normal
1
2 H901GPSF Normal Online
3
4 H901MPSC Active_normal CPCB
5
-------------------------------------------------------------------------
Procedure completed successfully!
Thank you for reading!
Previous post: https://forum.huawei.com/enterprise/en/upgrade-software-version-olt-1/thread/793843-100181





