Service Command

Verify Command

The XML verifier command verifies the content of thedomain.xml file.

TABLE C–22Verify Command

Command

Definition

 

 

verify-domain-xml

Verifies the content of the domain.xml file.

 

 

Custom MBean Commands

The MBean commands allow you to manage and register custom MBeans. The commands are supported in remote mode only.

TABLE C–23Custom MBean Commands

Command

Definition

 

 

create-mbean

Creates and registers a custom MBean. If the target MBeanServer is not

 

running, the MBean is not registered.

 

 

delete-mbean

Deletes a custom MBean. Ensure that the target MBeanServer is running.

 

 

list-mbeans

Lists the custom mbeans for the specified target.

 

 

Service Command

The service command allows you to configure the starting of the Domain Administration Server (DAS).

TABLE C–24Service Command

Command

Definition

 

 

create-service

Configures the starting of a DAS on an unattended boot. On Solaris 10, this

 

command uses the Service Management Facility (SMF). This is a local

 

command and must be run as the OS-level user with superuser privileges. It is

 

available only for Solaris 10. When the service is created, the user has to start,

 

enable, disable, delete, or stop the service. The DAS must be stored on a folder

 

to which the super-user has access. The configuration cannot be stored on a

 

network file system. The service is created such that it is controlled by the

 

OS-level user, who owns the folder where the configuration of the DAS

 

resides. To run this command, you must have solaris.smf.* authorization.

 

 

Appendix C • The asadmin Utility

251

Page 251
Image 251
Sun Microsystems 820433510 manual Verify Command, Custom MBean Commands, Service Command