1.5.3 Description
wsadmin uses specific commands to monitor and administrate active GWWS processes in the specified Tuxedo domain. The TUXCONFIG environment variable is used to determine the location where the Tuxedo configuration file is loaded. wsadmin is used in the same manner as tmadmin(1) or dmadmin(1).
wsadmin accepts below optional parameter:
-v
Causes wsadmin to display the SALT version number, SALT Patch Level and license information. wsadmin exits after print out.
wsadmin Commands
Note:
Command line options that are not in brackets do not need to appear in the command line if the corresponding default has been set via the default command.wsadmin supports the following commands:
reload (reload) -i gwws_instance_id
Reload configuration for the specified GWWS gateway instance. The configuration file may have previously been modified using wsloadcf, this command is used to make the changes active.
configstats(cstat) -i gwws_instance_id
Displays the current configuration status for the specified GWWS process. The -i parameter must be specified.
default(d) [-i gwws_instance_id]
Sets the corresponding argument to the default GWWS Instance ID. The defaults can be changed by specifying * as an argument. If the default command is entered without arguments, the current defaults are printed.
echo(e) [{off | on}]
Repeats input command lines when set to on. If no option is given, the current setting is toggled, and the new setting is printed. The initial setting is off.
forgettrans (ft) -i gateway_instance_id [-c Coord_context]
Forgets one or all heuristic log records for the named GWWS instance. If the transaction identifier tran_id or coord_context coordination context is specified, only the heuristic log record for that transaction is forgotten. The coordination context (coord_context) can be obtained from the printtrans command or from the ULOG file.
help (h) [command]
Prints help messages. If command is specified, the abbreviation, arguments, and description for that command are printed.
Omitting all arguments causes the syntax of all commands to be displayed.
gwstats(gws) -i gwws_instance_id [-s serviceName]
Displays global level run time statistics information for the specified GWWS processes including fail, success, pending number for both inbound and outbound call, average processing time, active thread number, etc. If -s serviceName specified, the service-level information is displayed.
-i is mandatory. -s is optional.
paginate(page) [{off | on}]
Paginates output. If no option is given, the current setting is toggled, and the new setting is printed. The initial setting is on, unless either standard input or standard output is a non-tty device. Pagination may be turned on only when both standard input and standard output are tty devices.
The default paging command is indigenous to the native operating system environment. In a UNIX operating system environment, for example, the default paging command is pg. The shell environment variable PAGER may be used to override the default command used for paging output.
printtrans (pt) -i gateway_instance_id
process ID:GWWS instance id:service name:local
GTRID:remote coordination context ID:record
type:timestamp-
quit (q) - Terminates the session.
-
saml create [-p password] - "saml create" is used to create a key file with the name "saml_key_meta" in the current working directory.
-
-p password - "saml create" command will use this as password to protect the key file. This tool will prompt user to enter password if this option is not given as part of command line argument.
If the add operation target is trusted issuer and "-l" option is not given then the operation will use issuer name as local reference name by default. Also in this case either "-c" or "-s" must be given; if both are given then both information will be stored in the key file as part of trusted issuer record.
Both "-n" and "-l" option must be unique in the key file this means that no other trusted issuer has the same issuer name or local reference name. If a record with the same issuer name or same local reference exists then the operation will fail.
-
saml modify {-g -s shared_secret |-i {[-n issuer_name ][ -l issuer_local_id]}{[-c][-s shared_secret]} [-p password] - "saml modify" can be used to modify an entry to an existing GWWS key file; the entry can be either GWWS entry or trusted issuer entry. The key file must have the name "saml_key_meta" in the current working directory. Either one of the "-g" and "-i" option must be given.
-
-g - Modify the GWWS entry in the key file. If the GWWS record does not exists then this operation will fail. When "-g" option is given then "-n", "-l" and "-c" options are not allowed, if anyone of them if given the operation will fail.
-
-i - Modify the trusted SAML issuer entry in the key file. When this option is specified then either "-n" or "-l" option for the issuer name must also be specified. If both "-n" and "-l" options are specified and there is no record matches both search criteria then the operation will fail.
-
-n - The trusted SAML issuer name as it appears in the "issuer" subelement or attribute of a SAML assertion.
-
If the modify operation target is trusted issuer then only one of the "-n" and "-l" options is needed because both issuer name and local reference must be unique in the key file. If both "-n" and "-l" options are given then the record must match both; if no record matches both criteria then the operation will fail. If issuer is the target, i.e. "-i" option is given, and "-c" is not given then it will remove the certificate information from the record. If issuer is the target and "-c" is given then it will add the certificate information if it is not in the record originally.
If the "-s" option is given and the existing record already contains shared secret then the new shared secret will replace the old one. The "-s" option must be given with shared secret value specified. When the "-s" option is given with shared secret and the existing record does not have shared secret, then shared secret will be added to the record.
-
saml delete {-g|-i {-n issuer_name | -l issuer_local_id}} [-p password] - "saml delete" is used to delete an entry from an existing GWWS key file. The key file must have the name "saml_key_meta" in the current working directory. The entry can be either the GWWS entry or trusted issuer entry. Either "-g" or "-i" option must be given.
Parent topic: wsadmin