Creating a Node Agent

To create a node agent, run the asadmin command create-node-agent locally on the machine on which the node agent runs.

For example:

$ asadmin create-node-agent --host myhost --port 4849 ---user admin nodeagent1

where myhost is your Domain Administration Server hostname, 4849 is your Domain Administration Server port number, admin is your Domain Administration Server user, and nodeagent1 is the name of the node agent you are creating.

The default name for a node agent is the host name on which the node agent is created.

If you’ve already created a node agent placeholder, use the same name as the node agent placeholder to create the associated node agent.

For a complete description of the command syntax, see the online help for the command.


Note

In the following situations, you must specify a DNS-reachable hostname:

1.  If domains cross subnet boundaries (that is, the node agent and the Domain Administration Server (DAS) are in different domains, for example, sun.com and java.com)

2.  If using a DHCP machine with a host name not registered in the DNS

Specify a DNS-reachable hostname by explicitly specifying the host name for the domain and the node agent when you create them:

create-domain --domainproperties domain.hostName=DAS-host-name

create-node-agent --host DAS-host-name --agentproperties remoteclientaddress=node-agent-host-name

Another solution is to update the hosts hostname/IP resolution file specific to the platform so the hostname resolves to the correct IP address. However, when reconnecting using DHCP you might get assigned a different IP address. In that case, you must update the host resolution files on each server.


See Also:


Legal Notices