Using the rda_migration tool included in the Qorestor installation starting with version 5.0.0.
NOTE: It is only used for RDS containers and not OST containers.
Syntax:
rda_migration --replicate_all --pluginlib=<plugin path> --src_srv=<source-server> --sg_name=<sg_name> --dev_name=<dev_name> --tgt_srv=<tgt-server> --tgt_sg_name=<tgt_sg_name> --tgt_dev_name=<tgt_dev_name>
--userid=<userid> --passwd=<password> --apiversion=2
- --pluginlib - Location of the plugin library being used. This is in location /opt/qorestor/bin (correct setting is going to be --pluginlib=./librofsoca.so)
- --userid and --passwd need to be the same for both machines. (Defaults would be --userid=backup_user --passwd=St0r@ge!)
- --apiversion this will typically be left at 2 but if you are on an older DR Series prior to 4.0 then API Version 1 should be used.
SOURCE
- --src_srv - source machines name or IP
- --sg_name - source storage group
- --dev_name - source container name
TARGET
- --tgt_srv - target machine name or IP
- --tgt_sg_name - target storage group
- --tgt_dev_name - source container name
Example:
/opt/qorestor/bin/rda_migration --replicate_all --pluginlib=./librofsoca.so --src_srv=10.8.250.16 --sg_name=DefaultGroup --dev_name=RDS1 --tgt_srv=10.8.251.112 --tgt_sg_name=DefaultGroup --tgt_dev_name=RDS1 --userid=backup_user --passwd=St0r@ge! --apiversion=2