createWXSDefinition command

Use the createWXSDefinition command to create a WebSphere® eXtreme Scale (eXtreme Scale) definition.

Use the following command to list all the eXtreme Scale administrative commands:
$AdminTask help WXSAdminCommands
The createWXSDefinition command is run using the AdminTask object of the wsadmin scripting client.

Prerequisites

The following conditions must be met:
  • If the server is not running, use the -conntype none option.

Location

The wsadmin scripting client is located in the install_root\bin directory.

Syntax

createWXSDefinition
-name definitionName
-catalogServiceEndpoints  defcatalogServiceEndpoints
-gridName defgridName
[-description defDescription]
[-securityEnabled true | false]
[-credentialGenerator UserPassword | WSToken]
[-authAlias AUTHALIAS]

Required parameters

-name definitionName
The name of the eXtreme Scale definition, as a string.
Note: This value must be unique.
-catalogServiceEndpoints defcatalogServiceEndpoints
The hostname (or IP address) and port of the eXtreme Scale Catalog Server.
Note: You can enter multiple endpoints, separated by commas.
-gridName defgridName
The ObjectGrid name defined in the ObjectGrid XML file.

Optional parameters

-description defDescription
Brief description of the definition. This is optional, for your own reference.
-securityEnabled securityEnabled
Connected to server with secure connection, defined as a Boolean value (true or false).
-credentialGenerator
The method of security used to connect to the server. You must select either UserPassword or WSToken.
Note: This becomes a required parameter if the securityEnabled parameter is set to true.
-authAlias AUTHALIAS
The alias to be used to authenticate with the eXtreme Scale server.
Note: This becomes a required parameter if the credentialGenerator parameter is set to UserPassword.

Example

AdminTask.createWXSDefinition('[-name mydefName -description "my description" 
    -catalogServiceEndpoints localhost:2089 -gridName Mygrid -securityEnabled true -credentialGenerator UserPassword -authAlias NEW_AUTH_ALIAS]')