Basic Enterprise Server Commands

Basic Enterprise Server Commands

Administration of the Enterprise Server includes tasks such as creation, configuration, 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 profile associated with it. For information on profiles, see“Usage Profiles” on page 27. You can choose the profile of a domain only during creation. Use the --profile option with the create-domain command to specify a profile for the domain. If you do not use the --profile option to explicitly specify a profile, the default profile is associated with the domain. TheAS_ADMIN_PROFILE variable in the asadminenv.conf file defines the default profile.

Chapter 1 • Enterprise Server Overview

31

Page 31
Image 31
Sun Microsystems 820433510 manual Basic Enterprise Server Commands, Creating a Domain, Http//hostname5000