WebSphere Application Server Version 6.1 Feature Pack for Web Services
             Operating Systems: AIX, HP-UX, i5/OS, Linux, Solaris, Windows, z/OS

             Personalize the table of contents and search results

Utility command group of the AdminTask object

You can use the Jython or Jacl scripting languages to manage servers with the wsadmin tool. Use the commands and parameters in the Utility group to query for the name of the deployment manager, and to determine if the system is a single server or network deployment.

The Utility command group for the AdminTask object includes the following commands:

getDmgrProperties

Use the getDmgrProperties command to display the name of the deployment manager.

Target object

None

Parameters and return values

Return value

The command returns the name of the deployment manager in a network deployment system. The command returns an empty string if the system is a single server.

Examples

Batch mode example usage:

Interactive mode example usage:

isFederated

Use the isFederated command to determine whether the system is a single server or a network deployment configuration.

Target object

None

Parameters

None

Return value

The command returns a value of true if the system is a network deployment system. The command returns a value of false if the system is a single server.

Examples

Batch mode example usage:

Interactive mode example usage:




Related tasks
Using the AdminTask object for scripted administration
Related reference
Commands for the AdminTask object
Reference topic    

Terms of Use | Feedback

Last updated: Nov 25, 2008 2:35:59 AM CST
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/index.jsp?topic=/com.ibm.websphere.wsfep.multiplatform.doc/info/ae/ae/rxml_atutility.html