Restoring Cloud services configuration
If your Cloud services configuration data is lost due to any unforeseen incident, you can restore the data by using the mmcloudgateway service restoreConfig command.
To restore the configuration data and save it to the CCR, issue a command according to the
following
syntax:
mmcloudgateway service restoreConfig --backup-config-file <name of the tar file>
For
example, issue the following command to restore configuration data from the file,
tct_config_backup_20170915_085741.tar:mmcloudgateway service restoreConfig --backup-config-file tct_config_backup_20170915_085741.tar
The system displays an output similar to
this:
You are about to restore the TCT Configuration settings to the CCR.
Any new settings since the backup was made will be lost.
The TCT servers should be stopped prior to this operation.
Do you want to continue and restore the TCT cluster configuration?
Enter "yes" to continue: yes
mmcloudgateway: Unpacking the backup config tar file...
mmcloudgateway: Completed unpacking the tar file.
Restoring the Files:
[_cloudnodeclass1.settings - Restored]
[_cloudnodeclass.settings - Restored]
[mmcloudgateway.conf - Restored]
mmcloudgateway: TCT Config files were restored to the CCR.
mmcloudgateway: Command completed.
Note: During
the restore operation, transparent cloud
tiering servers are
restarted on all the nodes.