Starts an enterprise server.
casstart [/res-name] [/uusername] [/ppassword] [/cgroup] [/w]
/res-name | Name of the enterprise server to start. Defaults to ESDEMO |
/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 casstart command, within the enterprise server's security domain, the user must have alter permissions on the casstart resource within the OPERCMDS resource class. Note: This is only required if you have configured security. |
/ppassword | The password for the user |
/cgroup | The sign-on group for the user. By default, when a user
requests access to a resource, some external security managers will only apply
rules that refer to that user and the user's current sign-on group.
If this option is not specified, the user is signed on with a default group as determined by the security manager. |
/w | Wait for startup to be completed |
On UNIX you can use a dash (-) before a parameter as an alternative to a forward slash (/).
The command line utilities: casstart, casstop, casfile, casout, and cassub can be invoked by program using the call interface and passing the command line parameters to the call. For instance, we might use the following to start a server:
01 ws-cmd-parms. 05 ws-cmd-len pic x(02) comp-x. 05 ws-cmd-value pic x(1024). ...... ...... ...... *> Start up the Server move 1 to ws-cmd-len move low-values to ws-cmd-value string "-rMyRegion" delimited by size " -uSYSAD -pSYSAD /w" delimited by size into ws-cmd-value with pointer ws-cmd-len end-string subtract 1 from ws-cmd-len call 'casstart' using ws-cmd-parms end-call ...... ......