...
...
...
- Login to the CLI on the active server.
At the CLI prompt of active server, start the LSWU using the following CLI command.
Code Block |
---|
|
admin@WFDSBC01a> request system serverAdmin WFDSBC01b startSoftwareUpgrade package sbc-V05.0001.00-R000.x86_64.tar.gz
This command will start live software upgrade. Do you want to proceed (yes/no): <yes>
Proceeding
result success
reason Success from: WFDSBC01b
|
Note |
---|
|
The package name must not contain the package path. |
Once the upgrade starts, monitor the status using the following CLI command.
Code Block |
---|
|
admin@WFDSBC01a> show table system serverSoftwareUpgradeStatus
NAME UPGRADE
STATUS
----------------------------
WFDSBC01a pendingUpgrade
WFDSBC01b upgrading
|
Note |
---|
At the beginning of the upgrade, server is rebooted and disk partitioning is done automatically that takes approximately 15 to 20 minutes. Do not hit the power button or restart the server during this time. Open the JViewer console to watch the progress of upgrade. |
Verify the sync status is in syncCompleted state, using the following CLI command.
Code Block |
---|
|
admin@WFDSBC01a> show table system syncStatus
SYNC MODULE STATUS
-------------------------------------------
Policy Data syncCompleted
Disk Mirroring syncCompleted
Configuration Data syncCompleted
Call/Registration Data syncCompleted |
Verify the software upgrade status is in Upgraded state, using the following CLI command.
Code Block |
---|
|
admin@WFDSBC01a> show table system serverSoftwareUpgradeStatus
NAME UPGRADE
STATUS
--------------------------------
WFDSBC01a pendingUpgrade
WFDSBC01b upgraded
|
Note |
---|
This process takes approximately 45 minutes to complete on a single server. |
Verify the system server status using the following CLI command.
Code Block |
---|
|
admin@WFDSBC01a>> show table system serverStatus
MGMT
PLATFORM APPLICATION REDUNDANCY APPLICATION UP LAST RESTART
NAME HW TYPE SERIAL NUM PART NUM VERSION VERSION ROLE UP TIME TIME REASON SYNC STATUS
----------------------------------------------------------------------------------------------------------------------------------------------------------------------
WFDSBC01a SBC 5200 2044090074 821-00430 V04V05.0200.00R00002R000 V04V05.0200.00R00002R000 active 0 Days 02:44:22 0 Days 02:43:1104 systemRestart syncCompleted
WFDSBC01b SBC 5200 2052090007 821-00430 V05.0001.00R000 V05.0001.00R000 standby 0 Days 00:13:02 0 Days 00:07:23 softwareUpgradeOrRevert syncCompleted |
- Once the WFDSBC01b state changes to upgraded, proceed with upgrading the next server.
Upgrade the next server using the following CLI command.
Code Block |
---|
|
admin@WFDSBC01a> request system serverAdmin WFDSBC01a startSoftwareUpgrade package sbc-V05.0001.00-R000.x86_64.tar.gz
This command will start live software upgrade. Do you want to proceed (yes/no): <yes>
Proceeding
result success
reason Success from: WFDSBC01a
[ok][2015-01-20 05:37:04]
|
- This causes an automatic switch-over whereby the active role is assigned to the original standby server (WFDSBC01b) which is already upgraded.
Once the upgrade starts, monitor the status using the following CLI command on the new active server:.
Code Block |
---|
|
admin@WFDSBC01b> show table system serverSoftwareUpgradeStatus
NAME UPGRADE
STATUS
----------------------------
WFDSBC01a upgrading
WFDSBC01b upgraded
|
Note |
---|
At the beginning of the upgrade, server is rebooted and disk partitioning is done automatically that takes approximately 15 to 20 minutes. Do not hit the power button or restart the server during this time. Open the JViewer console to watch the progress of upgrade. |
Verify whether both the servers are upgraded using the following CLI command.
Code Block |
---|
|
admin@WFDSBC01b> show table system serverSoftwareUpgradeStatus
NAME UPGRADE
STATUS
----------------------------
WFDSBC01a upgraded
WFDSBC01b upgraded
|
After both the servers get upgraded and is in sync with its peer, an automatic switchover may happen.
Note |
---|
On all the SBC platforms other than the SBC 7000, an automatic switchover happens at the end of upgrade from pre-5.0 releases. |
Verify the Live Software Upgrade status is in UpgradeDone state and primary and secondary upgrade status is in upgraded state. Use the following CLI command.
Code Block |
---|
|
admin@WFDSBC01a> show table system softwareUpgradeStatus
state upgradeDone;
previousState upgrading;
upgradeStartTime "Fri JulAug 3 11:44:40 20152016";
revertStartTime n/a;
package /opt/sonus/external/sbc-V05.0001.00-R000.x86_64.tar.gz;
rpmName /opt/sonus/staging/sbc-V05.0001.00-R000.x86_64.rpm;
upgradeScript /opt/sonus/staging/sbxUpgrade.pl;
revertScript /opt/sonus/sbxRevert.pl;
reason successfulCompletion;
oldRelease V04V05.0200.03R00002R000;
newRelease V05.0001.00R000;
primaryUpgradeStatus upgraded;
secondaryUpgradeStatus upgraded; |
Verify the
server status using the following CLI command. Code Block |
---|
|
admin@WFDSBC01a>> show table system serverStatus
MGMT
PLATFORM APPLICATION REDUNDANCY APPLICATION UP LAST RESTART
NAME HW TYPE SERIAL NUM PART NUM VERSION VERSION ROLE UP TIME TIME REASON SYNC STATUS
----------------------------------------------------------------------------------------------------------------------------------------------------------------------
WFDSBC01a SBC 5200 2044090074 821-00430 V05.0001.00R000 V05.0001.00R000 active 0 Days 15:32:47 0 Days 15:31:04 softwareUpgradeOrRevert syncCompleted
WFDSBC01b SBC 5200 2052090007 821-00430 V05.0001.00R000 V05.0001.00R000 standby 0 Days 15:32:47 0 Days 15:31:0504 systemRestart softwareUpgradeOrRevert syncCompleted |
...