Sun Microsystems 820433510 Server User Manual


 
Basic Enterprise Server Commands
Administration of the Enterprise Server includes tasks such as creation, conguration, control
and management of domains, clusters, node agents, and server instances. This section contains
the following topics:
“Creating a Domain” on page 31
“Deleting a Domain” on page 32
“Listing Domains” on page 32
“Starting the Domain” on page 32
“Starting the Default Domain on Windows” on page 33
“Stopping the Domain” on page 33
“Stopping the Default Domain on Windows” on page 33
“Restarting the Domain” on page 33
“Creating a Cluster” on page 33
“Starting a Cluster” on page 34
“Stopping a Cluster” on page 34
“Creating a Node Agent” on page 34
“Starting a Node Agent” on page 34
“Stopping a Node Agent” on page 35
“Starting an Instance” on page 35
“Stopping an Instance” on page 35
“Restarting an Instance” on page 35
“Recreating the Domain Administration Server” on page 36
Creating a Domain
Domains are created using the create-domain command. The following example command
creates a domain named mydomain. The administration server listens on port 5000 and the
administrative user name is admin. The command prompts for the administrative and master
passwords.
$ asadmin create-domain --adminport 5000 --adminuser admin mydomain
To start the Admin Console for mydomain domain, in a browser, enter the following URL:
http://hostname:5000
In Enterprise Server 9.1, every domain has a prole associated with it. For information on
proles, see
“Usage Proles” on page 27. You can choose the prole of a domain only during
creation. Use the --profile option with the create-domain command to specify a prole for
the domain. If you do not use the --profile option to explicitly specify a prole, the default
prole is associated with the domain. The AS_ADMIN_PROFILE variable in the asadminenv.conf
le denes the default prole.
BasicEnterpriseServerCommands
Chapter1 • EnterpriseServerOverview 31