Sun Microsystems Logo
Products and Services
 
Support and Training
 
 

A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  
 
User Commandsasadmin-stop-domain(1AS)


NAME

 asadmin-stop-domain, stop-domain - stops the given domain

SYNOPSIS

 stop-domain [--useradmin_user] [--passwordadmin_password] [--host local_host] [--port 4848] [--local=false] [--domaindomain_name] [--adminserv=true] [--passwordfile filename] [--secure|-s]

DESCRIPTION

 

Use the stop-domain command to stop all the instances in the domain specified. The stop-domain command can be run both locally and remotely. The domain must exist on the local machine to run this command locally.


OPTIONS

 
--user
administrative user associated for the instance.
--password
administrative password corresponding to the administrative user.
--host
host name of the machine hosting the administrative instance.
--port
administrative port number associated with the administrative host.
--local
determines if the command should delegate the request to administrative instance or run locally.
--domain
name of the domain; must be a unique name. If not specified, and there is only one domain, all instances in that domain are stopped.
--adminserv
determines if the administrative instance should be stopped along with other instances.
--passwordfile
file containing passwords appropriate for the command (e.g., administrative instance).
--secure
if set to true, uses SSL/TLS to communicate with the administrative instance.

EXAMPLES

 Example 1. Using stop-domain in local mode
 
 
asadmin> stop-domain --domain domain1 --adminserv=true
Instance domain1:admin-server stopped
Instance domain1:server1 stopped
Domain domain1 stopped

Where: the domain1 domain is stopped. By stopping the domain the admin-server and server1 instance in the domain are also stopped.

Example 2. Using stop-domain in remote mode
 
 
asadmin> stop-domain --user admin --passwordfile passwords.txt --host bluestar --port 6886
Domain stopped remotely

Where: the domain identified with the user, host, and port specified is stopped on the remote server. All instances in the domain are also stopped.


EXIT STATUS

 
0
command executed successfully
1
error in executing the command

SEE ALSO

 

asadmin-create-domain(1AS), asadmin-delete-domain(1AS), asadmin-start-domain(1AS), asadmin-list-domains(1AS), asadmin-start-appserv(1AS),.asadmin-stop-appserv(1AS), asadmin-start-instance(1AS), asadmin-stop-instance(1AS), asadmin-multimode(1AS)



Sun ONE Application ServerGo To TopLast Changed 9 Sep 2002


Updated: 2003-06-13, 20:32