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 Commandsstop-domain(1)


NAME

 stop-domain - stops the given domain

SYNOPSIS

 stop-domain [ --user admin_user ] [ --password admin_password ] [ --host localhost ] [ --port 4848 ] [ --local=false ] [ --domain domain_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

 

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



Go To TopLast Changed April 2004