
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
•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, then you need to setup 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
To create a key pair using rsa format: $
To create a key pair using dsa format: $
The
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
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.
Configuring an application in a Metrocluster with 3PAR Remote Copy environment 319