Sun GlassFish Enterprise Server v3 Prelude Administration Guide

Basic Administration Commands

create-domain(1)

Creates the configuration of a domain. A domain can exist independent of other domains. Any user who has access to the asadmin utility on a given host can create a domain and store its configuration in a location of choice. For procedural information in this guide, see To Create a Domain.

create-system-properties(1)

The create-system-properties command creates or updates system properties. Supported in remote mode only. For procedural information in this guide, see To Create System Properties.

delete-domain(1)

Deletes the specified domain. The domain must be stopped before it can be deleted. For procedural information in this guide, see To Delete a Domain.

delete-system-property(1)

Deletes system properties of a domain or configuration. Supported in remote mode only. For procedural information in this guide, see To Delete a System Property.

get(1)

Gets an attribute of an element in the domain.xml file. With the -m option, gets the names and values of the monitorable or configurable attributes. For procedural information in this guide, see Guidelines for Using the list and get Commands for Monitoring.

list(1)

Lists the configurable element. On Solaris, quotes are needed when running commands with * as the option value or operand. For procedural information in this guide, see Guidelines for Using the list and get Commands for Monitoring.

list-commands(1)

Lists all the asadmin commands, local commands first, then remote commands. You can specify that only remote commands or only local commands be displayed. Supported in remote mode only. For procedural information in this guide, see To List Commands.

list-containers(1)

Lists application containers and the status of each container. Supported in remote mode only. For procedural information in this guide, see To List Containers.

list-domains(1)

Lists the existing domains and their statuses. If the domain directory is not specified, the domains in the default as-install/domains directory is displayed. For procedural information in this guide, see To List Domains.

list-modules(1)

Lists modules that are accessible to the Enterprise Server subsystem. The status of each module is included. Supported in remote mode only. For procedural information in this guide, see To List Modules.

list-system-properties(1)

Lists the system properties of a domain or configuration. Supported in remote mode only. For procedural information in this guide, see To List System Properties.

login(1)

Allows you to log in to the domain. For procedural information in this guide, see To Log In to a Domain (or Server)

monitor(1)

Displays monitoring information for the common Enterprise Server resources. Supported in remote mode only. For procedural information in this guide, see To View Common Monitoring Data.

set(1)

Sets the values of one or more configurable attributes. For procedural information in this guide, see Configuring Monitoring.

start-domain(1)

Starts a domain. If the domain directory is not specified, the default domain1 in the default as-install/domains directory is started. If there are two or more domains, the domain_name operand must be specified. For procedural information in this guide, see To Start a Domain (or Server).

start-database(1)

Starts the Java DB server. Use this command only for working with applications deployed to the Enterprise Server. For procedural information in this guide, see To Start the Database.

stop-database(1)

Stops a process of the Java DB database server. For procedural information in this guide, see To Stop the Database.

stop-domain(1)

Stops the domain administration server (DAS) of the specified domain. Supported in remote mode only. For procedural information in this guide, see To Stop a Domain (or Server).

uptime(1)

Displays the length of time that the domain administration server (DAS) has been running since the last restart. Supported in remote mode only. For procedural information in this guide, see To Display Domain Uptime.

version(1)

Displays the version information for the option specified in archive or folder format. If the command cannot communicate with the administration server with the given user/password and host/port, then the command will retrieve the version locally and display a warning message. Supported in remote mode only. For procedural information in this guide, see To Display the Enterprise Server Version.