To set up passwordless SSH access to the Failover Manager servers for root users:

  1. Login to the Active and Standby servers as a root user. If you are logged in as a non-root user, type sudo su at the command prompt in both the machines to get the root privileges.


    You must have root privileges to transfer files using ssh and scp commands.

  2. Type the following command to generate a private or public RSA key pair for both Active and Standby servers:

    # ssh-keygen -t rsa
  3. In both machines, type the name of the file in which you want to save the key. By default, the key is saved at /root/.ssh/id_rsa.

  4. At the prompt for setting a passphrase, press ENTER.


    You must not provide a passphrase.

  5. The key is displayed.

    The public keys are saved in the file, /root/.ssh/ on both machines.

  6. Copy the keys from /root/.ssh/ on the Active server to a directory on the Standby server, and vice versa using the following command:

    #scp /root/.ssh/ root@<host name>:/<dir>/
  7. Add the keys to the .ssh/authorized_keys file using the following command:

    #cat /<dir>/ >> /root/.ssh/authorized_keys

    To verify that passwordless SSH access has been set up on both the Failover Managerservers, initiate an SSH connection from each of the servers using the command,

    # ssh root@<host name>

    HostName is the DNS name of the system on which the server is running. The host name provided in the ServerSection of the failover.conf file must exactly match the name displayed when you run the hostname command. If the host names do not match, the hosts will not get registered with the Failover Manager server.

    EMC recommends that you run the hostname command first and use that output to provide the host name in the failover.conf file.