ManagedObjectMetadata command group for the AdminTask object

You can use the Jython or Jacl scripting languages to manage servers with the wsadmin tool. The commands and parameters in the ManagedObjectMetadata group can be used to retrieve configuration and metadata information for a specified node.

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

compareNodeVersion

The compareNodeVersion command compares the WebSphere Application Server version given a node that you specify and an input version.

Target object

None

Parameters and return values

-nodeName
The name of the node associated with the metadata you want this command to return.
-version
A version number that you want to compare to the WebSphere Application Server version number.

Examples

Batch mode example usage:

Interactive mode example usage:

getMetadataProperties

The getMetadataProperties command obtains all metadata for the node that you specify.

Target object

None

Parameters and return values

-nodeName
The name of the node associated with the metadata you want this command to return.

Examples

Batch mode example usage:

Interactive mode example usage:

getMetadataProperty

The getMetadataProperty command obtains metadata with the specified key for the node that you specify.

Target object

None

Parameters and return values

-nodeName
The name of the node associated with the metadata you want this command to return.
-propertyName
Metadata property key.

Examples

Batch mode example usage:

Interactive mode example usage:

getNodeBaseProductVersion

The getNodeBaseProductVersion command returns the version of the WebSphere Application Server for a node that you specify.

Target object

None

Parameters and return values

-nodeName
The name of the node associated with the metadata you want this command to return.

Examples

Batch mode example usage:

Interactive mode example usage:

getNodeMajorVersion

The getNodeMajorVersion command returns the major version of the WebSphere Application Server for a node that you specify.

Target object

None

Parameters and return values

-nodeName
The name of the node associated with the metadata you want this command to return.

Examples

Batch mode example usage:

Interactive mode example usage:

getNodeMinorVersion

The getNodeMinorVersion command returns the minor version of the WebSphere Application Server for a node that you specify.

Target object

None

Parameters and return values

-nodeName
The name of the node associated with the metadata you want this command to return.

Examples

Batch mode example usage:

Interactive mode example usage:

getNodePlatformOS

The getNodePlatformOS command returns the operating system name for a node that you specify.

Target object

None

Parameters and return values

-nodeName
The name of the node associated with the metadata you want this command to return.

Examples

Batch mode example usage:

Interactive mode example usage:

getNodeSysplexName

The getNodeSysplexName command returns the sysplex name for a node that you specify.

Target object

None

Parameters and return values

-nodeName
The name of the node associated with the metadata you want this command to return.

Examples

Batch mode example usage:

Interactive mode example usage:

isNodeZOS

The isNodeZOS command tests if a node that you specify is running on the z/OS platform. This command does not apply to distributed platforms or to WebSphere Application Server-Express.

Target object

None

Parameters and return values

-nodeName
The name of the node associated with the metadata you want this command to return.

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: Aug 29, 2010 6:22:59 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=vela&product=was-express-dist&topic=rxml_atmanagedobjmetadata
File name: rxml_atmanagedobjmetadata.html