+

Search Tips   |   Advanced Search

ManagedObjectMetadata


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

The ManagedObjectMetadata includes the following commands:

 

compareNodeVersion

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 WAS 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:

 

getNodeBaseProductVersion

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

 

getNodeMajorVersion

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

 

getNodeMinorVersion

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

 

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 AdminTask for scripted administration

 

Related


Commands for AdminTask