createWXSDefinition command

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

The createWXSDefinition command is run using the AdminTask object of the wsadmin scripting client.
  • Locate the command that starts the wsadmin scripting client: this is found in the install_root\bin directory.
  • Run the wsadmin command.
    • If the server is not running, use the -conntype none option.
    • If you are not connecting to the default profile, use the -profileName profile_name option.
Use the following command to list all the eXtreme Scale administrative commands.
$AdminTask help WXSAdminCommands
Use the following command to get detailed help on a particular command.
$AdminTask help command_name

Prerequisites

Location

The createWXSDefinition command is run using the AdminTask object of the wsadmin scripting client. The wsadmin scripting client is located in the install_root\bin directory.

Syntax

$AdminTask createWXSDefinition {-paramName paramValue ...}

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.

Examples

  • Jython example:
    AdminTask.createWXSDefinition('[-name mydefName -description "my description" 
        -catalogServiceEndpoints localhost:2089 -gridName Mygrid -securityEnabled true -credentialGenerator UserPassword -authAlias NEW_AUTH_ALIAS]') 
  • Jacl example:
    $AdminTask createWXSDefinition {-name mydefName -description "my description" 
    -catalogServiceEndpoints localhost:2089,localhost:2090 -gridName Mygrid -securityEnabled true -credentialGenerator UserPassword -authAlias NEW_AUTH_ALIAS}