To Start the Node Agent
A node agent is a lightweight process running
on each machine that participates in an Application Server administrative
domain. The node agent is responsible for starting and stopping server
instances on the host. It also communicates with the Domain Administration
Server to create new Application Server instances.
Note –
You can use node agents only on domains with the cluster
or enterprise profile. If you are running only a developer domain,
you need to create a domain with cluster profile before you can create
and use node agents. For information on creating domains, type asadmin
create-domain --help or see create-domain(1) in the Sun Java System Application Server 9.1 Reference Manual
One node agent is needed on a machine for each Application Server
administrative domain that the machine belongs to. If you are using
Sun Java System Application Server 9.1 (Enterprise bundle), choose the
Node Agent Component during installation and a default node agent
called hostname is created. If you have
installed Glassfish, the node agent is not automatically created.
To create a node agent, follow the instructions in To Create a Node Agent in Sun Java System Application Server 9.1 High Availability Administration Guide.
-
In a terminal window, type this command:
asadmin start-node-agent nodeagentname
Replace the variable nodeagentname with
the name of the node agent you created. If you want to use the default
node agent, which is created by Sun Java System Application Server 9.1,
replace the nodeagentname with the name
of the host on which Application Server is running. If your default domain
on port 4848 (domain1) is not running on cluster
or enterprise profile, use the --port option
to specify the port of the cluster or enterprise domain.
-
When you are prompted, provide the master password.
The node agent starts and connects with the Domain Administration
Server.
Note –
Ensure that the Domain Administration Server is running
before you start the node agent. Check the server.log file
of a cluster instance to identify problems related to starting node
agents or cluster instances.
If you have problems while
starting a node agent or a cluster on Windows, see the Sun Java System Application Server 9.1 Release Notes for possible solutions
to the problem.
After the node agent has been started once, you can view it
in the Admin Console.
Next Steps
In this section you started the Domain Administration Server
and confirmed that it is running. You also logged in to the Admin
Console and used the Log Viewer. You started the node agent. You can
stop the Quick Start trail here if you do not wish to continue, or
you can go on to the next section.