For the full syntax, type
asadmin help start-node-agent
.
Stopping a Node Agent
A node agent is stopped using the
stop-node-agent
command and specifying the node agent
name. For example, to stop the node agent
mynodeagent
, type the following:
$ asadmin stop-node-agent mynodeagent
For the full syntax, type
asadmin help stop-node-agent
.
Starting an Instance
A server instance is started using the
start-instance
command. The following example starts
the server instance named
myinstance
. The command prompts for the administrative
passwords.
$ asadmin start-instance --host myhost --port 1234 --user admin myinstance
The administrative server host is
myhost
, the administrative port is
1234
, the administrative
username is
admin
. The server instance
myinstance
can be clustered or standalone.
For the full syntax, type
asadmin help start-instance
.
Stopping an Instance
A server instance is started using the
stop-instance
command. The following example stops
the server instance named
myinstance
. The command prompts for the administrative
passwords.
$ asadmin stop-instance --host myhost --port 1234 --user admin myinstance
The administrative server host is
myhost
, the administrative port is
1234
, the administrative
username is
admin
. The server instance
myinstance
can be clustered or standalone.
For the full syntax, type
asadmin help stop-instance
.
Restarting an Instance
To restart server instance, stop and start the instance.
Basic Enterprise Server Commands
Chapter 1 • Enterprise Server Overview
35
Содержание Sun GlassFish Enterprise Server 2.1
Страница 12: ...12 ...
Страница 13: ...Figures FIGURE 1 1 Enterprise Server Instance 29 FIGURE 9 1 RoleMapping 105 13 ...
Страница 14: ...14 ...
Страница 18: ...18 ...
Страница 38: ...38 ...
Страница 62: ...62 ...
Страница 96: ...96 ...
Страница 126: ...126 ...
Страница 160: ...160 ...
Страница 214: ...214 ...
Страница 218: ...218 ...
Страница 230: ...230 ...