+

Search Tips   |   Advanced Search

 

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:

 

compareNodeV

The compareNodeVersion command compares the WAS version given a node specified 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 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 specified.

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 specified.

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:

 

getNodeBaseProductV

The getNodeBaseProductVersion command returns the version of the WebSphere Application Server for a node specified.

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:

 

getNodeMajorV

The getNodeMajorVersion command returns the major version of the WAS 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:

 

getNodeMinorV

The getNodeMinorVersion command returns the minor version of the WAS 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 specified.

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 specified.

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 specified is running on the z/OS platform. This command does not apply to distributed platforms or to WAS-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


Use the AdminTask object for scripted administration

 

Related Reference


Commands for the AdminTask object

 

Reference topic