+

Search Tips   |   Advanced Search

ManagedObjectMetadata

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

The ManagedObjectMetadata command group for the AdminTask objectcommands include:


compareNodeVersion

Compare the WebSphere Application Server 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 we want this command to return.

-version

A version number to compare to the WAS version number.

Batch mode example usage

Interactive mode example usage


getAvailableSDKsOnNode

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.

We 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

Name of the node for which we want a list of available software development kits. (String, required)

Optional parameters: None

Batch mode example usage

Interactive mode example usage


getMetadataProperties

Obtain all metadata for the node specified.

Target object: None

Parameters and return values

-nodeName

The name of the node associated with the metadata we want this command to return.

Batch mode example usage

Interactive mode example usage


getMetadataProperty

Obtain 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 we want this command to return.

-propertyName

Metadata property key.

Batch mode example usage

Interactive mode example usage


getNodeBaseProductVersion

Return 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 we want this command to return.

Batch mode example usage

Interactive mode example usage


getNodeMajorVersion

Return 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 we want this command to return.

Batch mode example usage

Interactive mode example usage


getNodeMinorVersion

Return 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 we want this command to return.

Batch mode example usage

Interactive mode example usage


getNodePlatformOS

Return 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 we want this command to return.

Batch mode example usage

Interactive mode example usage


getNodeSysplexName

Return the sysplex name for a node specified.

Target object: None

Parameters and return values

-nodeName

The name of the node associated with the metadata we want this command to return.

Batch mode example usage

Interactive mode example usage


getSDKPropertiesOnNode

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.

We might run this command before setting an SDK using the setter commands in the AdminSDKCmds command group. See AdminSDKCmds .

Target object: None

Required parameters:

-nodeName

Name of the node for which we want a list of installed SDK properties. (String, required)

Optional parameters:

-sdkName

Name of an SDK whose properties we want returned. (String, optional)

-sdkAttributes

List of the SDK attributes whose properties we want returned. (String, optional)

Batch mode example usage

Interactive mode example usage


isNodeZOS

Test if a node specified is running on the z/OS platform. This command does not apply to distributed platforms or to WAS

Target object:

None

Parameters and return values

-nodeName

The name of the node associated with the metadata we want this command to return.

Batch mode example usage

Interactive mode example usage

  • wsadmin AdminTask
  • AdminSDKCmds
  • Commands for the AdminTask object