Basic Enterprise Server Commands
Administration of the Enterprise Server includes tasks such as creation, conguration, 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 prole associated with it. For information on
proles, see
“Usage Proles” on page 27. You can choose the prole of a domain only during
creation. Use the --profile option with the create-domain command to specify a prole for
the domain. If you do not use the --profile option to explicitly specify a prole, the default
prole is associated with the domain. The AS_ADMIN_PROFILE variable in the asadminenv.conf
le denes the default prole.
BasicEnterpriseServerCommands
Chapter1 • EnterpriseServerOverview 31