JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle GlassFish Server 3.1-3.1.1 High Availability Administration Guide
search filter icon
search icon

Document Information

Preface

1.  High Availability in GlassFish Server

2.  Setting Up SSH for Centralized Administration

About SSH for Centralized Administration

Determining Whether to Use SSH for Centralized Administration

Obtaining SSH Software

Determining the SSH User

Requirements for the SSH User's Environment

File Access Permissions on UAC-Enabled Windows Systems

Setting Up Cygwin SSH on Windows

To Download and Install Cygwin

To Set the Path for Windows and for the Cygwin Shell

To Set the Home Directory for the Cygwin SSH User

To Configure and Start the Cygwin SSH Server Daemon sshd

Setting Up the MKS Toolkit on Windows

To Install the MKS Toolkit

To Set the Path for Windows and for the MKS Toolkit Shell

To Set the Home Directory for the MKS Toolkit SSH User

To Configure and Start the MKS Toolkit SSH Server Daemon sshd

Setting Up SSH on UNIX and Linux Systems

To Set Up SSH on Oracle Solaris Systems

To Set Up SSH on MacOS Systems

To Set Up SSH on Linux systems

Testing the SSH Setup on a Host

To Test the SSH Setup on a Host

Setting Up SSH User Authentication

To Set Up Public Key Authentication Without Encryption

To Set Up Encrypted Public Key Authentication

To Set Up Password Authentication

Installing and Removing GlassFish Server Software on Multiple Hosts

To Copy a GlassFish Server Installation to Multiple Hosts

To Remove GlassFish Server Software From Multiple Hosts

3.  Administering GlassFish Server Nodes

4.  Administering GlassFish Server Clusters

5.  Administering GlassFish Server Instances

6.  Administering Named Configurations

7.  Configuring Web Servers for HTTP Load Balancing

8.  Configuring HTTP Load Balancing

9.  Upgrading Applications Without Loss of Availability

10.  Configuring High Availability Session Persistence and Failover

11.  Configuring Java Message Service High Availability

12.  RMI-IIOP Load Balancing and Failover

Index

Setting Up SSH on UNIX and Linux Systems

Setting up SSH on UNIX and Linux systems involves verifying that the SSH server daemon sshd is running and, if necessary, starting this daemon. Set up SSH on the DAS host and on all hosts where instances in your cluster will reside.

On UNIX and Linux systems, SSH software is typically installed as part of the base operating system. If SSH is not installed, download and install the appropriate OpenSSH SSH package for your operating system.

How to set up SSH on UNIX and Linux systems depends on the flavor of the operating system that you are running, as explained in the following sections:

To Set Up SSH on Oracle Solaris Systems

  1. Ensure that the following options in the configuration file /etc/ssh/sshd_config are set to yes:
    • StrictModes

    • PubkeyAuthentication

  2. Determine if the SSH server daemon sshd is running.
    $ /usr/bin/svcs ssh
  3. If the SSH server daemon sshd is not running, start this daemon.

    If the daemon is running, no further action is required.

    $ /usr/sbin/svcadm enable ssh

Example 2-2 Determining if the sshd Daemon Is Running on an Oracle Solaris System

This example confirms that the SSH server daemon sshd is running on an Oracle Solaris system.

$ /usr/bin/svcs ssh
STATE          STIME    FMRI
online         Jul_06   svc:/network/ssh:default

See Also

svcs(1)

Next Steps

After you have completed the setup of SSH on a host, test the setup on the host as explained in Testing the SSH Setup on a Host.

To Set Up SSH on MacOS Systems

  1. Open System Preferences and click Sharing.

    The Sharing window opens.

  2. Ensure that Remote Login is selected in the Service list.
  3. Ensure that either of the following is allowed access:
    • All Users

    • The user that running the DAS or instance

Next Steps

After you have completed the setup of SSH on a host, test the setup on the host as explained in Testing the SSH Setup on a Host.

To Set Up SSH on Linux systems

  1. Ensure that the following options in the configuration file /etc/ssh/sshd_config are set to yes:
    • StrictModes

    • PubkeyAuthentication

  2. Determine if the SSH server daemon sshd is running.
    $ /sbin/service sshd status
  3. If the SSH server daemon sshd is not running, start this daemon.

    If the daemon is running, no further action is required.

    $ /sbin/service sshd start

Example 2-3 Determining if the sshd Daemon Is Running on a Linux System

This example confirms that the SSH server daemon sshd is running on a Linux system.

$ /sbin/service sshd status
openssh-daemon (pid  2373) is running...

Next Steps

After you have completed the setup of SSH on a host, test the setup on the host as explained in Testing the SSH Setup on a Host.