- updates the configuration data of a node
update-node-config [--help] [--nodehost node-host] [--installdir install-dir] [--nodedir node-dir] node-name
The update-node-config subcommand 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.
Options of this subcommand specify the new values of the node's configuration data. The default for these options is to leave the existing value unchanged.
This subcommand does not require SSH 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.
Displays the help text for the subcommand.
The name of the host that the node is to represent after the node is updated.
The full path to the parent of the base installation directory of the GlassFish Server software on the host, for example, /export/glassfish3/.
The path to the directory that is to contain GlassFish Server instances that are created on the node. If a relative path is specified, the path is relative to the as-install directory, where as-install is the base installation directory of the GlassFish Server software on the host.
The name of the node to update. The node must exist. Otherwise, an error occurs.
Example 1 Updating the Host That a Node Represents
This example updates the host that the node sj04 represents to hsj04.
asadmin> update-node-config --nodehost hsj04 sj04 Command update-node-config executed successfully.
command executed successfully
error in executing the command