casutl [/res-name]
[/sprototype:host:port]
[/lservername]
[/n]
[/xfiles-to-switch]
[/ccurrent-directory]
[/uuserid]
[/ppassword]
[/ggroup]
[/z[userid]]
[/f{[e|d|s]}]
[/h{[e|d|c]}]
[/te{[ tracelist],[aux],[all],[ims]}]
[/td{[ tracelist],[aux],[all],[ims]}]
[/tl]
[/a{[amax|admin]=nnn}]
[/w{[l|p|f]}]
/res-name |
Connects to an enterprise server with the specified name, es-name. Restriction: When calling
casutl from
a Web service (that is, when you are running
casutl within a SEP), it is not possible to use the
/r option to connect to the server. In such cases, you must use either
/s or
/l to connect to the server.
|
/sprototype:host:port | Uses the specified URL to locate the enterprise server to connect to. For example:
stcp:localhost:9003 |
/lservername | Looks up the specified servername to find the enterprise server to connect to. |
/n | Creates a new console log file, console.log. The contents of the current console.log are saved to a new file, console.nnn_switch_date_time. |
/xfiles-to-switch |
Switches the active aux trace, dump and/or HSF files. files-to-switch specifies the files to switch. This can be one or more of the following single-character arguments:
|
/ccurrent-directory | Sets an internal FS current directory. |
/uuserid | An authorized user. This user must exist within the security domains of both: the enterprise server and MF Directory Server.
That is, the security configuration for both enterprise server and Directory Server must be able to verify the user credentials
supplied. Note that enterprise server and Directory Server may be using different security managers. Therefore, it may be
necessary that the user is defined in more than one security repository.
In order to update Directory Server status information, within the Directory Server domain, the user must have modify permission on the appropriate enterprise server resource within the Servers resource class. In order to successfully run the casstop command, within the enterprise server's security domain, the user must have alter permissions on the casstop resource within the OPERCMDS resource class. Note: This is required only if you have configured security.
|
/ppassword | Specifies an authorization password. |
/ggroup | Specifies the sign-on group to use when running commands. |
/z[userid] | The parameter enables you to pass user credentials through an interactive prompt or as a redirection from the console, the
userid is optional. This can be used to pass credentials stored in the Vault Facility.
Note: Micro Focus recommends that you use this option in preference to /u and /p.
|
[/f{[e|d|s]}] |
|
/h{[e|d|c]} |
|
/te{[ tracelist],[aux],[all],[ims]} | Enables trace flags. Where:
See the Examples section. |
/td{[ tracelist],[aux],[all],[ims]} | Disables trace flags. Where:
See the Examples section. |
/tl | List of valid trace flags that can be used in tracelist on the /te and /td options. |
/a{[amax|admin]=nnn} | Change the number of default SEPs or admin SEPs:
Note: nnn is an integer between 1 and 999.
|
/w{[l|p|f]} | All changes to timeouts, trace flags, and memory strategy will be applied to:
|
You must start the enterprise server before you can issue a casutl command.
The following examples demonstrate a few scenarios where you can use casutl. MYREGION is the name of your enterprise server instance.
To switching the active trace file, use the following command:
casutl /rMYREGION /xt
To switch both the active dump and HSF files at the same time, use the following command:
casutl /rMYREGION /xdh
To start a new console log, use the following command:
casutl /rMYREGION /n
This creates the new log file and also creates a backup copy of the existing console.log as console.nnn_switch_date_time.
To enable aux,api,scp and kcp, use the following command:
casutl /teaux,api,scp,kcp
To enable all trace flags:
castul /teall
To disable all ims trace flags:
casutl /tdims
To dynamically modify the number of application execution processes to 5 for the duration of the current region instance:
casutl /rMYREGION /aamax=05
Comments:
The /r, /s and /l options are alternatives and are mutually exclusive.
On UNIX you can use a dash (-) before a parameter as an alternative to a forward slash (/).