Building Disaster Recovery Serviceguard Solutions Using Metrocluster with 3PAR Remote Copy

/opt/cmcluster/toolkit/SG3PARRC/utils/setupMC3PARpasswdfile mc3parusr
3par001
Metrocluster 3PAR password file creation utility....
The user name specified is mc3parusr
The storage array specified is 3par001
Enter the username once more and the password when prompted
Trying to create the password file
user: mc3parusr
password:
Created the passwordfile
Trying to copy the password file to all nodes in the cluster
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]...}
The utility will prompt for the passwords of all the users of the storage systems that are passed as
arguments.
For Example:
# /opt/cmcluster/toolkit/SG3PARRC/utils/setsshkeys mc3parusr@3par001
If prompted, enter password for mc3parusr@3par001
Password:
Success: Passwordless SSH set from the host "clusternode1" to the storage system "3par001" for the user "mc3parusr"
Success: Passwordless SSH set from the host "clusternode2" to the storage system "3par001" for the user "mc3parusr"
Success: Passwordless SSH set from the host "clusternode3" to the storage system "3par001" for the user "mc3parusr"
Success: Passwordless SSH set from the host "clusternode4" to the storage system "3par001" for the user "mc3parusr"
NOTE:
By default, the setsshkeys utility creates a key pair using rsa format. If you want to create
the key pair using dsa format, use -k dsa option with the setsshkeys utility. Serviceguard
cluster must be configured before running this utility. For Continentalclusters, run this utility
separately in each Serviceguard cluster.
setsshkeys utility will setup passwordless SSH for the root user only with the key pair
id_rsa/id_dsa and id_rsa.pub/id_dsa.pub. If such a key pair does not exist, setsshkeys
utility will generate the key pair by itself. If SSH is configured to use any other IdentityFile,
you must set up the passwordless SSH manually.
To configure the SSH without a password from the cluster nodes to the 3PAR storage systems
manually:
1. Create a key pair using the ssh-keygen utility on the host system. Both rsa and dsa key
formats are supported by the storage system and the recommended key length is 1024.
To create a key pair using rsa format:
$ sshkeygen b 1024 t rsa
To create a key pair using dsa format:
18 Configuring an application in a Metrocluster environment