Hitachi

Hitachi Application Server V10 Command Reference Guide (For UNIX® Systems)


2.5.8 ping-node-ssh

Tests nodes enabled for communication over SSH to determine if they are usable.

Synopsis

asadmin [asadmin-options] ping-node-ssh [--help]
    [--validate={false|true}] node-name

Storage location

Application Server installation directory/javaee/glassfish/bin

Function

The ping-node-ssh subcommand of asadmin validates the node to determine if the asadmin utility can run on the host which the node represents. This subcommand is supported in remote mode only.

Precondition

Arguments

--help | -?

Displays the help text for the subcommand.

--validate={false|true}

Specifies whether the subcommand validates the node.

Type: Boolean

The following values can be specified:

  • true

    The node is validated.

  • false

    The node is not validated. This is the default value.

Default value: false

node_name

Specifies the name of the node to test.

Type: String

The following values can be specified:

  • Name of the node

Default value: N/A

Examples

The following example tests if the SSH-enabled node sj03-node is usable.

asadmin ping-node-ssh sj03-node

Exit Status

Exit Status

Explanation

0

subcommand executed successfully.

1

error in executing the subcommand.