Perform this procedure to add a remote replication component to an existing Oracle ZFS Storage Appliance protection group.
Before You Begin
Before you add a remote replication component to a protection group, ensure that the following conditions are met:
The protection group is defined on the local cluster.
The protection group is offline on the local cluster and the partner cluster, if the partner cluster can be reached.
The underlying project exists on the appliance that is connected to the local cluster.
The replication action must exist.
For more information about RBAC, see Securing Geographic Edition Software in Oracle Solaris Cluster Geographic Edition Installation and Configuration Guide.
# chmod A+user:username:rwx:allow /var/cluster/geo
The /var/cluster/geo directory must have the correct access control lists (ACL) applied for compatibility between the Geo Management RBAC rights profile and Oracle ZFS Storage Appliance software.
Update the file so that it contains one line that contains the rule information for the remote replication component.
project-name|any|nodelist
Name of the project.
The name of one or more cluster nodes where the plug-in is to validate the configuration.
For more information about configuration files, see configuration_file Property in Oracle Solaris Cluster Geographic Edition System Administration Guide.
# cp /opt/ORCLscgrepzfssa/etc/zfssa_geo_config /var/tmp/zfssa_geo_config
Define the following key=value pairs as shown:
PS=partnership PG=protection-group REPCOMP=project REPRS=resource REPRG=resource-group CONFIGFILE=eval-rules-configuration-file LOCAL_CONNECT_STRING=user@source-appliance REMOTE_CONNECT_STRING=user@target-appliance
Specifies the name of the existing partnership.
Specifies the name of the protection group that you are adding the remote replication component to.
Specifies the name of a resource other than the existing resource.
Specified an existing resource group that contains the remote replication resources for this protection group.
Specifies the edited copy of the zfssa_geo_eval_rules file that you created in Step 2.
Specifies the source user and hostname.
Specifies the target user and hostname.
Use the zfssa_geo_register script with a new configuration file.
phys-newyork-1# /opt/ORCLscgrepzfssa/util/zfssa_geo_register -f /var/tmp/zfssa_geo_config
The command adds a remote replication component to a protection group on the local cluster. If the partner cluster contains a protection group with the same name, the command also propagates the new configuration to the partner cluster.
Troubleshooting
If you have difficulties adding the remote replication component to the protection group, see Debugging an Oracle ZFS Storage Appliance Protection Group.