Perform the following steps to restore the SBC configuration using CLI:
Restoring the SBC configuration on a SBC SWe Cloud platform is not supported. Instead, load the saved configuration to a new SBC SWe Cloud instance.
Log on to the remote server where you have copied the configuration files, as described in Saving the SBC Configuration.
Execute the following commands to copy the files to your SBC system:
Example% cd /home/bob/SBC01/config % sftp -oPort=2024 admin@SBC01a Connecting to SBC01a admin@10:54:19.17's password: xxxxxxx sftp> put config_SBC01_20170324_021127.tar.gz /var/log/sonus/sbx/config/
To view the saved configuration files, use the following CLI command:
Exampleadmin@SBC01a> show table system savedConfigList INDEX FILE NAME SIZE ---------------------------------------------------------- 1 config_SBC01_20170324_021127.tar.gz 1061 KBytes
- Log on to SBC CLI, and load the configuration by executing the following CLI command:
admin@SBC01a> request system admin SBC01 loadConfig fileName config_SBC01_20170324_021127.tar.gz This command will load the last saved configuration and restart the applications on active/standby servers. Do you want to continue (yes/no) y Proceeding result success reason Starting DB restoration from: config_<server name>_20170324_021127.tar.gz please check /var/log/messages for progress
You must follow the procedure below to activate the traffic profile during loadconfig scenarios. Loadconfig does not activate the profile
To configure the required profiles you must first reset the profile to default, and then set desired profile.
1. Note the current active profile from CLI (xxx_profile
).
2. After loadconfig is done, activate the default profile in the system because the system will be in default profile.
3. After the system comes up after a reboot, activate the old active profile (for example, xxx_profile).
When you load config dump taken from SBC versions older than 8.0, the loadConfig
process internally converts Oracle based policy dump to the Postgres format. This process takes approximately 25 minutes to complete.