Hitachi

Hitachi Application Server V10 User's Guide (For UNIX® Systems)


4.10.3 Connecting to a remote host

To configure a cluster, you must configure the local host and remote host to connect with SSH. On the local host, you can establish the SSH connection using the setup-ssh subcommand of the asadmin utility command.

Prerequisites

Intended users

Procedure

  1. To resolve the name of the host with the DAS (local host) on a remote host, edit the host file.

  2. On the local host, create a password file.

    AS_ADMIN_SSHPASSWORD=remote_host_password
  3. To create the code key (SSL key), run the setup-ssh subcommand of the asadmin utility command on the localhost.

    asadmin --passwordfile password_file_path setup-ssh 
    --sshuser remote_host_SSH_user_name remote_host_name

    When this command is run, the result is displayed as follows:

    Command setup-ssh executed successfully.
  4. To set an alias for the password, run the create-password-alias subcommand of the asadmin utility command on the local host.

    asadmin create-password-alias password_alias_name

    Specify the password of the remote host when it is requested.

    When this command is run, the result is displayed as follows:

    Command create-password-alias executed successfully.
  5. Restart the domain administration server.

    asadmin restart-domain

    When this command is run, the result is displayed as follows:

    Command restart-domain executed successfully.
  6. Edit the password file available on the local host created in Step 2.

    AS_ADMIN_SSHPASSWORD=${ALIAS=password_alias_name}
  7. For each remote host to be configured as a distribution location of a request, repeat the procedure from steps 1 through 6 on each remote host.

Postrequisites