Designing Disaster Recovery Clusters using Metroclusters and Continentalclusters, Reprinted October 2011 (5900-1881)

7. On the primary storage system, start the group created in step 5.
On primary storage system:
cli% startrcopygroup <group_name>
8. To verify the creation of a Remote Copy volume group pair, use either showrcopy command
or 3PAR Management Console.
cli% showrcopy groups <group_name>
A Remote Copy volume group pair is now created. These are the high level commands. For more
information on creating a Remote Copy volume group, see Remote Copy User Guide available
at: http://www.hp.com/go/saw or contact your HP representative.
Setting up the user to perform Remote Copy operations by Metrocluster
Metrocluster with 3PAR Remote Copy uses Secure Shell (SSH) to interact with the 3PAR storage
system. Create a 3PAR storage system user with “edit” access privileges on each storage system
for all communication from host systems to storage systems over SSH. Setup a passwordless SSH
using the 3PAR storage system users from each host system in the cluster to both the local and
remote storage systems.
Creating HP 3PAR Storage System User
A HP 3PAR storage system user can be created using HP 3PAR Management Console or HP 3PAR
CLI commands. For information on creating a user using HP 3PAR Management Console, see the
HP 3PAR Management Console Online Help. To create a user using HP 3PAR CLI commands:
From any host that has SSH client, login to the HP 3PAR CLI using the following example:
1. Access the HP 3PAR CLI using SSH with the 3PAR storage system user having super or edit
privileges who has access to all domains.
$ ssh 3paradm@<3PARstorage-name>
After the password is entered, you will see the CLI prompt.
<3PARstoragename> cli %
2. Create a CLI user (for example, mc3parusr) and password using the createuser command.
createuser c <password> mc3parusr <domain_name> <super or edit>
where:
<domain_name> is the name of the domain to which the new user will belong. If you are
using domains, specify the name of an existing domain in your system. Specify 'all' as
the domain name if you are not using any domain.
NOTE: For Metrocluster operations it is required that the user atleast have the edit” privileges.
HP strongly recommends you to create Remote Copy volume groups and user with “edit”
privileges for the Metrocluster operations under a 3PAR storage system domain. However,
Metrocluster does not restrict you to configure a user with “super” access privileges for
Metrocluster operations who has access to all the domains.
Setting up the SSH without a password from the cluster nodes to the HP 3PAR storage systems
An SSH without a password can be established from the cluster nodes to the 3PAR storage systems
either by running the utility /opt/cmcluster/toolkit/SG3PARRC/utils/setsshkeys or
by performing the steps manually.
To configure the passwordless SSH from the cluster nodes to the storage systems using the utility
setsshkeys, run the following utility:
# /opt/cmcluster/toolkit/SG3PARRC/utils/setsshkeys [-k
{dsa|rsa}]{[user_name@storage_system_name]...}
318 Building Disaster Recovery Serviceguard Solutions Using Metrocluster with 3PAR Remote Copy