Use the following procedure to restore your Signaling Database application in the case of application failure.
Step | Action |
---|---|
1 | SDA Database Backup |
2 | Uninstall the Existing SDA Version |
3 | Install SDA |
4 | SDA Database Restore |
5 | Additional Configuration |
6 | Final Verification |
On a SysMgr CPU, verify that the created backup tarball file is available.
# ls -l /var/database_backups/
total 284 -rw-r--r-- 1 root root 268750 Sep 21 04:09 FlexDB-DSC0tmaslot4-21-09-22-040944.tgz
Copy the backup tarball file to /var/log/backups on MGMT CPU.
# scp /var/database_backups/<backup_tarball_file> slot2_0:/var/log/backups
Execute the following commands on the first SysMgr CPU.
# /opt/sigflex/current/scripts/sigflexmgr stop # /opt/sigflex/current/scripts/.drbdini –-teardown --peerslot <peer> # rm -rf /opt/sigflex; rm -rf /data; rm -rf /nfmd0a; rm /opt/FLXsm; rm -rf /export # /usr/sbin/userdel smroot
Execute the following commands on the second SysMgr CPU.
# /opt/sigflex/current/scripts/sigflexmgr stop # rm -rf /opt/sigflex; rm -rf /data; rm -rf /nfmd0a; rm /opt/FLXsm; rm -rf /export # /usr/sbin/userdel smroot
Execute the following commands on all DSS CPUs (one CPU at a time).
# /opt/sigflex/current/scripts/sigflexdss stop # rm -rf /opt/sigflex; rm -rf /data; rm -rf /nfmd0a; rm /opt/FLXsm; rm -rf /export
Execute the following commands on both MGMT CPU.
# rm -rf /var/log/sigflex # rm /opt/cpu_ss7gw/current/data/flex_slot.conf
Follow the SDA Installation Guide at Installing SDA Software.
On the MGMT CPU, copy the backup file that we saved previously to both SysMgr CPUs.
# scp /var/log/backups/<backup_tarball_file> slot_<sysmgr1>_0:/var/database_backups/ # scp /var/log/backups/<backup_tarball_file> slot_<sysmgr2>_0:/var/database_backups/
On Web UI, click Backups > Restore Backup > Restore.
There are three IP addresses required for SDA. Two IP addresses are for each of the SDA System Manager CPU cards, and an additional address for the High Availability IP (Shared IP). To configure or modify the IP Address, proceed with the following procedure.
Before starting this procedure make sure you have the following information.
On the MGMT CPU, execute the following command to check if drbdipmgr issue persist.
# tail -f /var/log/ptidbglog | grep drbdipmgr
Sep 26 03:05:34.562670 [SEQ 350589] DSC0tmaslot5 drbdipmgr: Recreating LOCIP 10.10.10.5 on interface p19p1:1 Sep 26 03:05:34.562670 [SEQ 350590] DSC0tmaslot5 drbdipmgr: Recreating LOCIP 10.10.10.5 on interface p19p1:1 Sep 26 03:05:34.562670 [SEQ 350591] DSC0tmaslot5 drbdipmgr: Recreating LOCIP 10.10.10.5 on interface p19p1:1 Sep 26 03:05:34.582798 [SEQ 350598] DSC0tmaslot4 drbdipmgr: Recreating LOCIP 10.10.10.4 on interface p19p1:1 Sep 26 03:05:34.582798 [SEQ 350599] DSC0tmaslot4 drbdipmgr: Recreating LOCIP 10.10.10.4 on interface p19p1:1 Sep 26 03:05:34.582798 [SEQ 350600] DSC0tmaslot4 drbdipmgr: Recreating LOCIP 10.10.10.4 on interface p19p1:1
If drbdipmgr issue persist, apply drbdipmgr patch: DSC-19381 MOP for drbdipmgr Script Replacement from Ribbon Support Portal.
Execute the status command at the system prompt on both SysMgr CPUs.
# /opt/sigflex/current/scripts/sigflexmgr status
Remote is primary sigflxsys running flxsql stopped flexServicesLicense stopped sigFlxOrbMgr stopped sfsc stopped TrcMgr stopped FwdMgr stopped EventMgrSvr stopped CmdLgr stopped SmIntruder stopped Moss stopped SySecMgrSrvr stopped Trcrt stopped 5129Server stopped NSMServer stopped ScrServer stopped autoexec-script stopped ScrSecIntf stopped SmFlex5129Server stopped ScrFlexIntf stopped FlexRTGUIServer stopped
The first line of the status command output indicates whether the SysMgr CPU is active or standby. In this example, the output message 'Remote is primary' indicates the other SysMgr card is the active CPU. Only the sigflxsys process is running on the standby SysMgr CPU.
Local is primary sigflxsys running flxsql running flexServicesLicense running sigFlxOrbMgr running sfsc running TrcMgr running FwdMgr running EventMgrSvr running CmdLgr running SmIntruder running Moss running SySecMgrSrvr running Trcrt running 5129Server running NSMServer running ScrServer running autoexec-script running ScrSecIntf running SmFlex5129Server running ScrFlexIntf running FlexRTGUIServer running
Execute the status command at the system prompt on all DSS CPUs.
# /opt/sigflex/current/scripts/sigflexdss status
yj4flx running mDaemon running