+

Search Tips   |   Advanced Search

registerNode command

Use the registerNode command to register a stand-alone node with an administrative agent so that the administrative agent can manage the node.

Run the registerNode command from the bin directory of the administrative agent server to register a node with the administrative agent. When we run the command, the stand-alone node is converted into a node that the administrative agent manages.

The administrative agent and the node being registered must be on the same computer.

The administrative agent provides a single interface to administer multiple unfederated (stand-alone) application server nodes in, for example, development, unit test, or server farm environments. By using a single interface to administer the application servers, you reduce the overhead of running administrative services in every application server.

Use the administrative console of the administrative agent to configure the administrative agent, view and change properties for nodes registered to the administrative agent, register and unregister application server nodes with job managers, and view and change job manager configurations for a registered node. A job manager allows us to asynchronously submit and administer jobs for a node registered to the administrative agent when the node is also registered to the job manager. For more details about the administrative agent subsystem, see the Administrative agent section in the Overview of administrative enhancements developer works article.

Registered nodes must have the same products as the administrative agent, and the products must be at the same version levels on the registered node and the administrative agent. This requirement is enforced because the administrative agent must have a matching environment in order to handle all of the administrative capabilities of the registered node. A node is not allowed to register with an administrative agent unless that node has an identical set of products and versions..

We can only run the command on an unfederated node. If the command is run on a federated node, the command exits with an error.

When we run the registerNode command, the command stops all running application servers on the node. We can optionally stop application servers on the node that we are registering before running the registerNode command.

For transitioning users: If we were previously running on v7.0.0.11 or earlier, and have an administrative agent with a managed node that has mismatched products or versions, when you when we migrate to v8.0, that administrative agent will not be able to start the subsystem for any mismatched nodes. We must update these nodes to have the same products and versions as the administrative agents, restart the servers on the node and then restart the administrative agent, before the administrative agent can resume managing these registered nodestrns

If the administrative console or the management EJB applications of the application server being registered are enabled, the node registration process disables them.


Syntax

The registerNode command syntax is as follows:

registerNode [options]


Parameters

The following options are available for the registerNode command:


Usage scenarios


  • Administer stand-alone nodes using the administrative agent
  • Use command-line tools
  • Use High Performance Extensible Logging to troubleshoot applications
  • deregisterNode command