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.

Batch mode example usage

Interactive mode example usage

getAvailableSDKsOnNode

Run the getAvailableSDKsOnNode command to return a list of the names of the installed software development kits that a node can use. This command lists the software development kits that have been installed and are available for use by the node.

You might run this command before setting an SDK using the setter commands in the AdminSDKCmds command group. See AdminSDKCmds command group for the AdminTask object.

Target object

None

Required parameters

-nodeName
Specifies the name of the node for which you want a list of available software development kits. (String, required)

Optional parameters

None

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.

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.

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.

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.

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.

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.

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.

Batch mode example usage

Interactive mode example usage

getSDKPropertiesOnNode

Run the getSDKPropertiesOnNode command to return a list of the software development kit properties for a node. This command lists properties of the software development kits that have been installed and are available for use by the node.

When the -sdkName option is not specified, the command returns all properties for all available software development kits. When the -sdkAttributes option is specified, the command returns only properties for the specified SDK attributes.

You might run this command before setting an SDK using the setter commands in the AdminSDKCmds command group. See AdminSDKCmds command group for the AdminTask object.

Target object

None

Required parameters

-nodeName
Specifies the name of the node for which you want a list of installed SDK properties. (String, required)

Optional parameters

-sdkName
Specifies the name of an SDK whose properties you want returned. (String, optional)
-sdkAttributes
Specifies a list of the SDK attributes whose properties you want returned. (String, optional)

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.

Batch mode example usage

Interactive mode example usage

Reference topic    

Terms and conditions for information centers | Feedback

Last updated: April 20, 2014 08:46 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=phil&product=was-nd-mp&topic=rxml_atmanagedobjmetadata
File name: rxml_atmanagedobjmetadata.html