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

$ sshkeygen b 1024 t dsa
The sshkeygen utility generates two files: id_rsa and id_rsa.pub (or id_dsa and id_dsa.pub).
Generate the key without a passphrase.
Ensure that only the root has access and read/write permission on the private key file, otherwise
the SSH client refuses the key file.
2. Log on to a 3PAR storage system from the host using the new user.
$ssh mc3parusr@system1
mc3parusr@system1 password: <password>
3. Issue the setsshkey command.
system1 cli% setsshkey -add
Please enter the SSH public key below. When finished, press enter
twice. The key is usually long. It's better to copy it from inside
an editor and paste it here. (Please make sure there are no extra
blanks.) The maximum number of characters used to represent the SSH
key (including the "from" option, key type, and additional comments)
is 4095.
sshrsa AF5afPdciUTJ0PYzB6msRxFrCuDSqDwPshqWS5tGCFSoSZdE=
SSH public key successfully set!
4. Repeat steps 2 and 3 for the other storage system.
5. Repeat steps 1 through 4 on all nodes in the cluster.
Configuring LVM volume group and VxVM disk group
Creating and exporting LVM volume groups
To create and export LVM volume groups:
NOTE: If you are using the March 2008 version or later of HP-UX 11i v3, skip step1; vgcreate
(1m) will create the device file.
Perform the following steps on the source disk site:
1. Define the appropriate Volume Groups on each host system that might run the application
package.
# mkdir /dev/vgname
# mknod /dev/vgname/group c 64 0xnn0000
where the name /dev/vgname and the number nn are unique within the entire cluster.
2. Create the Volume Group on the source volumes.
# pvcreate -f /dev/rdisk/disk3
# vgcreate /dev/vgname /dev/disk/disk3
NOTE: From HP-UX 11i v3 onwards, HP recommends that you use agile DSF naming model
for mass storage devices. For more information on the agile view, see the section About Device
File Names (Device Special Files) in the nineteenth edition of Managing Serviceguard document
available at http://www.hp.com/go/hpux-serviceguard-docs.
3. Create the logical volumes for the volume group.
# lvcreate -L XXXX /dev/vgname
where xxxx indicates size in MB.
Configuring LVM volume group and VxVM disk group 19