IBM Business Process Manager, V8.0.1, All platforms > Reference > Commands and scripts > Commands (wsadmin scripting)
createWXSDefinition command
Use this command to create a WebSphere eXtreme Scale (eXtreme Scale) definition.
Before you begin
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 WXSAdminCommandsUse the following command to get detailed help on a particular command.$AdminTask help command_nameSyntax
$AdminTask createWXSDefinition {-paramName paramValue ...}Parameters
Required
- -name definitionName
- The name of the eXtreme Scale definition, as a string.
This value must be unique.
- -catalogServiceEndpoints defcatalogServiceEndpoints
- The hostname (or IP address) and port of the eXtreme Scale Catalog Server.
You can enter multiple endpoints, separated by commas.
- -gridName defgridName
- The ObjectGrid name defined in the ObjectGrid XML file.
Optional
- -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.
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.
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 SCA_Auth_Alias]')- Jacl example:
$AdminTask createWXSDefinition {-name mydefName -description "my description" -catalogServiceEndpoints localhost:2089,localhost:2090 -gridName Mygrid -securityEnabled true -credentialGenerator UserPassword -authAlias SCA_Auth_Alias}
Parent topic: Commands (wsadmin scripting)