CV Backup and Restore Using Moshell PDF
CV Backup and Restore Using Moshell PDF
CV Backup and Restore Using Moshell PDF
The document gives the procedure to backup and restore a CV using moshell, which can be used for cello based node, e.g. RNC, RBS and MGW.
Although it is more visually to use EMAS [1][2] , it is a alternate method to use moshell for CV backup and restore.
1. CV backup
Use command cvget
Downloading CV 1 of 1: Fi_CXP9013831_R9TB_091020_1028
facc configurationversion=1 putToFtpServer Fi_CXP9013831_R9TB_091020_1028 /d/usr RNC13_Fi_CXP9013831_R9TB_091020_1028.zip 127.0.0.1 moshelluser $password
========================================================================================================
=========
Proxy MO Action Nr of Params
========================================================================================================
=========
7054 ConfigurationVersion=1 putToFtpServer 6
>>> Return value = 104835539
========================================================================================================
=========
Total: 1 MOs attempted, 1 MOs actioned
2. Restore a CV
Put the CV to the node
========================================================================================================
=========
Proxy MO Action Nr of Params
========================================================================================================
=========
7054 ConfigurationVersion=1 getFromFtpServer 4
>>> Return value = 105907793
========================================================================================================
=========
Total: 1 MOs attempted, 1 MOs actioned
========================================================================================================
=========
Proxy MO Action Nr of Params
========================================================================================================
=========
7054 ConfigurationVersion=1 verifyRestore 1
========================================================================================================
=========
Total: 1 MOs attempted, 1 MOs actioned
========================================================================================================
=========
MO Attribute Value
========================================================================================================
=========
ConfigurationVersion=1 actionResult Struct{6}
>>> 1.actionId = 154737150
>>> 2.time = Date: 2009-10-21, Time: 15:50:55.554
>>> 3.invokedAction = 5 (VERIFY_RESTORE)
>>> 4.mainResult = 1 (EXECUTED_WITH_WARNINGS)
>>> 5.configurationVersionName = Fi_CXP9013831_R9TB_090831_1449
>>> 6.pathToDetailedInformation = /c/systemfiles/cello/cma/cv/Fi_CXP9013831_R9TB_090831_1449/155054920.html
ConfigurationVersion=1 additionalActionResultData t[119] =
>>> Struct[0] has 2 members:
>>> 1.information = 26 (ACTION_RESTORE_IS_NOT_ALLOWED)
>>> 2.additionalInformation =
>>> Struct[1] has 2 members:
>>> 1.information = 27 (ACTION_FORCED_RESTORE_IS_ALLOWED)
>>> 2.additionalInformation =
>>> Struct[2] has 2 members:
>>> 1.information = 14 (NETWORK_CONFIGURATION_MISMATCH_FOR_IP_ATM)
>>> 2.additionalInformation = IP data in CV and Node is not matching.
XML Element: IpAddress
Attribute: ipAddress
Value in CV: 10.11.34.9
Value in Node: 159.107.215.20
>>> Struct[3] has 2 members:
>>> 1.information = 14 (NETWORK_CONFIGURATION_MISMATCH_FOR_IP_ATM)
>>> 2.additionalInformation = IP data in CV and Node is not matching.
XML Element: IpAddress
Attribute: subnetMask
Value in CV: 255.255.255.192
Value in Node: 255.255.255.0
>>> Struct[4] has 2 members:
>>> 1.information = 14 (NETWORK_CONFIGURATION_MISMATCH_FOR_IP_ATM)
>>> 2.additionalInformation = IP data in CV and Node is not matching.
XML Element: DefaultGateway
Attribute: nextHopIpAddress
Value in CV: 10.11.34.1
Value in Node: 159.107.215.1
>>> Struct[5] has 2 members:
>>> 1.information = 10 (HARDWARE_IS_INCOMPATIBLE)
>>> 2.additionalInformation = PlugInUnit (PIU) in Node does not exist in CV
SMN: 1
APN: 11
Product number of PIU in Node: ROJ1192103/41
Product revision of PIU in Node: *
Role of PIU in Node: BP
<cut for other hardwares>...
========================================================================================================
=========
Total: 1 MOs
From the result information, forced restore is allowed for the CV.
Because the CV is got from another node, the IP address will be changed after restore. On site configuration is needed to change the IP back.
Restore the CV
========================================================================================================
=========
Proxy MO Action Nr of Params
========================================================================================================
=========
7054 ConfigurationVersion=1 forcedRestore 2
========================================================================================================
=========
Total: 1 MOs attempted, 1 MOs actioned
If restore successfully, the node will restart with the restored CV.
RNC13> cvcu
========================================================================================================
===========
091020-22:01 CV Name Upgrade Package Release
========================================================================================================
===========
Startable: Fi_CXP9013831_R9TB_090831_1449 CXP9013831_R9TB P7.1
Loaded: Fi_CXP9013831_R9TB_090831_1449 CXP9013831_R9TB P7.1
Executing: Fi_CXP9013831_R9TB_090831_1449 CXP9013831_R9TB P7.1
Last created: RR_CXP9013831_R9TB_091020_1330 CXP9013831_R9TB P7.1
-------------------------------------------------------------------------------------------------------------------
Current UpgradePkg: UpgradePackage=CXP9013831_R9TB CXP9013831_R9TB P7.1
AutoCreatedCV: Enabled
Rollback status: Rollback is on
Rollback init timer: 2880
Rollback init counter: 2
Rollback counter: 0
Rollback list: s[17] = RR_CXP9013831_R9TB_091020_1330 RR_CXP9013831_R9TB_091020_1235 Fi_CXP9013831_R9TB_091020_1028
Rb_CXP9013831_R9TB_091020_0949 PGU_CXC1724152_P99ZZ90_090910_094153 Rb_CXP9012995_R6DB%5_091019_1309 CXP9012842_R3BC_10_before_57384
CXP9012123_R9AS%Z_addprog CXP9012123_R9AS%Z_090928_for_61316 Rb_CXP9012123_R10H%19_090925_1205 Fi_CXP9012123_R9AS%Z_090130_1050
Fi_CXP9012842_R3BC%10_090811_2007 Rb_CXP9013831_R9SB_090814_1401 CXP9012842_R3BB Rb_CXP9012842_R3BC%21_090728_1344
Rb_CXP9012842_R3BC_090202_1432 Fi_CXP9012842_R3BB_081208_1400
========================================================================================================
=========
Proxy MO Action Nr of Params
========================================================================================================
=========
10602 ConfigurationVersion=1 confirmRestore 0
>>> Return value = 140056542
========================================================================================================
=========
Total: 1 MOs attempted, 1 MOs actioned
========================================================================================================
===========
091020-22:13 CV Name Upgrade Package Release
========================================================================================================
===========
Startable: RF_CXP9013831_R9TB_091020_1401 CXP9013831_R9TB P7.1
Loaded: Fi_CXP9013831_R9TB_090831_1449 CXP9013831_R9TB P7.1
Executing: RF_CXP9013831_R9TB_091020_1401 CXP9013831_R9TB P7.1
Last created: RF_CXP9013831_R9TB_091020_1401 CXP9013831_R9TB P7.1
-------------------------------------------------------------------------------------------------------------------
Current UpgradePkg: UpgradePackage=CXP9013831_R9TB CXP9013831_R9TB P7.1
AutoCreatedCV: Enabled
Rollback status: Rollback is on
Rollback init timer: 2880
Rollback init counter: 2
Rollback counter: 2
Rollback list: s[17] = RR_CXP9013831_R9TB_091020_1330 RR_CXP9013831_R9TB_091020_1235 Fi_CXP9013831_R9TB_091020_1028
Rb_CXP9013831_R9TB_091020_0949 PGU_CXC1724152_P99ZZ90_090910_094153 Rb_CXP9012995_R6DB%5_091019_1309 CXP9012842_R3BC_10_before_57384
CXP9012123_R9AS%Z_addprog CXP9012123_R9AS%Z_090928_for_61316 Rb_CXP9012123_R10H%19_090925_1205 Fi_CXP9012123_R9AS%Z_090130_1050
Fi_CXP9012842_R3BC%10_090811_2007 Rb_CXP9013831_R9SB_090814_1401 CXP9012842_R3BB Rb_CXP9012842_R3BC%21_090728_1344
Rb_CXP9012842_R3BC_090202_1432 Fi_CXP9012842_R3BB_081208_1400
========================================================================================================
===========
3. References