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

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 or CLI client with the 3PAR storage system user having
super or edit privileges who has access to all domains.
If 3PAR CLI client is installed on your system, then use cli command, otherwise use ssh
command to connect to the storage.
When using SSH, run the following command:
$ ssh 3paradm@<3PARstorage-name>
After you enter the password, the CLI prompt appears.
<3PARstoragename> cli %
When using CLI, run the following command:
# cli
When prompted, enter the storage system IP or Name, and then enter the user credentials for
the particular storage system.
2. Create a CLI user (For Example, mc3parusr) and password using the createuser command.
cli% 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 the user must 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 secure access from the cluster nodes to 3PAR storage systems
Starting with PHSS_43444 or later (on HP-UX 11i v3) patch release, Metrocluster Software uses
CLI client to connect to the storage. On HP-UX 11i v3 without patch and on HP-UX 11i v2,
Metrocluster software uses SSH to connect to the storage.
For more information on HP-UX 11i v3 with patch PHSS_43444, see “Setting up password files
for cluster nodes to connect to HP 3PAR storage systems” (page 17)
For more information on HP-UX 11i v3 without patch and on HP-UX 11i v2, see “Setting up the
SSH without a password from the cluster nodes to the HP 3PAR storage systems” (page 18)
Setting up password files for cluster nodes to connect to HP 3PAR storage systems
Password files must be configured for Metrocluster to communicate with the HP 3PAR storage
systems. These password files must be generated manually on all the nodes.
If you want to configure password files from the cluster nodes to the storage systems using the utility
setup MC3PARpasswdfile, then run the utility on all the nodes using an appropriate 3PAR user on
the corresponding 3PAR storage system as follows:
/opt/cmcluster/toolkit/SG3PARRC/utils/setupMC3PARpasswdfile <user_name>
<storage_system_name or IP or DNS name>
When prompted, enter the username and password for the respective users on the corresponding
storage systems that are passed as arguments.
For example,
Setting up the replication using 3PAR Remote Copy 17