Basic Enterprise Server Commands
Administrationof the Enterprise Server includes tasks such as creation, conguration, control
andmanagement of domains, clusters, node agents, and server instances. This section contains
thefollowing topics:
“Creatinga Domain” on page 31
“Deletinga Domain” on page 32
“ListingDomains” on page 32
“Startingthe Domain” on page 32
“Startingthe Default Domain on Windows” on page 33
“Stoppingthe Domain” on page 33
“Stoppingthe Default Domain on Windows” on page 33
“Restartingthe Domain” on page 33
“Creatinga Cluster” on page 33
“Startinga Cluster” on page 34
“Stoppinga Cluster” on page 34
“Creatinga Node Agent” on page 34
“Startinga Node Agent” on page 34
“Stoppinga Node Agent” on page 35
“Startingan Instance” on page 35
“Stoppingan Instance” on page 35
“Restartingan Instance” on page 35
“Recreatingthe Domain Administration Server” on page 36

Creatinga Domain

Domainsare created using the create-domain command. The following example command
createsa domain named mydomain. The administration server listens on port 5000 and the
administrativeuser name is admin. The command prompts for the administrative and master
passwords.
$ asadmin create-domain --adminport 5000 --adminuser admin mydomain
Tostart the Admin Console for mydomain domain, in a browser, enter the following URL:
http://hostname:5000
InEnterprise 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
thedomain. If you do not use the --profile option to explicitly specify a prole, the default
proleis associated with the domain. The AS_ADMIN_PROFILE variable in the asadminenv.conf
ledenes the default prole.
BasicEnterpriseSer ver Commands
Chapter1 • Enterprise Ser ver Overview 31