Ever since the HMC had data replication functionality, there hasn’t been command line interface to configure data replication. As the number of HMC's increase in data centers, there is a need to automate some of the management functions with data replication being one of them. To address the requirement of automation and also to address RFE 91187 , starting from version V9 R1 M920, HMC supports command line interface for data replication. The two commands -‘chdatarep’ and ‘lsdatarep’ have been introduced in HMC to configure data replication via CLI.
chdatarep - Change data replication settings for the HMC.
lsdatarep - Lists data replication status and configuration of the HMC.
In this blog, we will go through all the settings of data replication in GUI and explain how the settings can be done using CLI.
Enable/Disable Data Replication: