List And Status Commands - Sun Microsystems GlassFish Enterprise Server 2.1 Administration Manual

Hide thumbs Also See for GlassFish Enterprise Server 2.1:
Table of Contents

Advertisement

List and Status Commands

TABLE C–2
Command
start-domain
stop-domain
restore-domain
list-domains
backup-domain
login
create-instance
delete-instance

List and Status Commands

The list and status commands display the status of a deployed component.
TABLE C–3
Command
show-component-status
238
Sun GlassFish Enterprise Server 2.1 Administration Guide • December 2008
Server Lifecycle Commands
Definition
Starts a domain. If the domain directory is not specified, the domain in the
default install_dir/domains directory is started. If there are two or more
domains, the domain_name operand must be specified.
Stops the Domain Administration Server of the specified domain.
Restores files under the domain from a backup directory.
Lists the domain. If the domain directory is not specified, the domain in the
default install_dir/domains directory is listed. If there is more than one
domain, the domain_name operand must be specified.
Backs up files under the named domain.
Lets you log in to a domain. If various application server domains are created
on various machines (locally), asadmin invocation from any of these machines
can manage the domains located elsewhere (remotely). This comes in handy
especially when a particular machine is chosen as an administration client and
it manages multiple domains and servers. asadmin commands that are used to
manage domains located elsewhere are called remote commands. The asadmin
login command eases the administration of such remote domains. The login
command runs only in the interactive mode. It prompts you for the admin user
name and password. On successful login, the file .asadminpass will be created
in the user's home directory. This is the same file that is modified during the
create-domain command while using the --savelogin option. The domain
must be running for this command to run.
Creates a new server instance residing on a local or remote machine.
Deletes the server instance. This command can be run remotely or locally. The
user authenticates using the password identified for the administration server.
Additionally, the instance must already exist within the domain served by the
administration server. Use this command with discretion since it is destructive
and cannot be undone.
List and Status Commands
Definition
Gets the status of the deployed component. The status is a string representation
returned by the server. The possible status strings include status of app-name is
enabled or status of app-name is disabled.
(Continued)

Advertisement

Table of Contents
loading

Table of Contents