Hitachi

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


2.5.10 update-node-config

Updates the configuration data of a node.

Synopsis

asadmin [asadmin-options] update-node-config [--help]
    [--nodehost node-host] [--installdir as-install-parent]
    [--nodedir node-dir] node-name

Storage location

Application Server installation directory/javaee/glassfish/bin

Function

The update-node-config subcommand of asadmin updates the configuration data of a node. This subcommand can update any node, regardless of whether the node is enabled for remote communication. If a node that is enabled for remote communication is updated, the node is not enabled for remote communication after the update.

This subcommand does not require the Distributed Component Object Model (DCOM) remote protocol to be configured to update the node. You may run this subcommand from any host that can contact the DAS.

This subcommand is supported in remote mode only.

Precondition

Arguments

--help | -?

Displays the help text for the subcommand.

--nodehost node-host

Specifies the name of the host that the node is to represent after the node is updated.

Type: String

The following values can be specified:

  • Host name

Default value: N/A

--installdir as-install-parent

Specifies the full path to Application Server installation directory/javaee.

Type: String

The following values can be specified:

  • The full path to Application Server installation directory/javaee

Default value: N/A

--nodedir node-dir

Specifies the path to the directory that is to contain server instances that are created on the node. If a relative path is specified, the path is relative to the Application Server installation directory/javaee/glassfish directory, where Application Server installation directory/javaee/glassfish is the base installation directory of Application Server software on the host.

Type: String

The following values can be specified:

  • Path to the directory containing the server instances of the node

Default value: N/A

node-name

Specifies the name of the node to update.

Type: String

The following values can be specified:

  • Name of the node

Default value: N/A

Examples

The following example updates the host that the node sj04 represents to hsj04.

asadmin update-node-config --nodehost hsj04 sj04

Exit Status

Exit Status

Explanation

0

command executed successfully.

1

error in executing the command.