I would like the ability to copy the replication setting of a source server to a list of target servers in a similar manner as the launch and post-launch settings.
In my use-case, I have several hundred servers that have been added to MGN, but have a slight error with their replication setting. Since they've already been added to MGN, the default replication template won't get picked up. I'd like this tool to be able to help me here since I'm already using it for the launch and post-launch settings.
The script could add another flag --copy-replication-settings, mirroring the other flags for launch and post-launch settings. The boto3 library has the ability to get the replication setting of a source server with the get_replication_configuration call. Then you can update the targets with the update_replication_configuration call.
I would like the ability to copy the replication setting of a source server to a list of target servers in a similar manner as the launch and post-launch settings.
In my use-case, I have several hundred servers that have been added to MGN, but have a slight error with their replication setting. Since they've already been added to MGN, the default replication template won't get picked up. I'd like this tool to be able to help me here since I'm already using it for the launch and post-launch settings.
The script could add another flag
--copy-replication-settings
, mirroring the other flags for launch and post-launch settings. The boto3 library has the ability to get the replication setting of a source server with the get_replication_configuration call. Then you can update the targets with the update_replication_configuration call.