UNDER CONSTRUCTION
TO DO:
- update log output in other modes and here too
- specify parameters and values are case sensitive (in all other modes too)
Contents
Required parameters
Parameter | Value | Example | |||
---|---|---|---|---|---|
logfile | Full path to the logfile that will be used to log the script output | logfile=C:\Charon\myds20_shutdown.log | |||
mode | 'opa0' | mode=opa0 | |||
os | Either Tru64 or VMS | os=Tru64 | |||
servicename | CHARON instance service name. When using expect, the service is stopped by the expect script either with a " If this operation does not succeed (cannot connect to console or "F6" key not enabled for example), it is then stopped using a Windows service command. | servicename=myds20 | |||
username | Defines the remote username that will be used to connect to the console of the CHARON instance (if not already logged in) | For OpenVMS:
For Tru64:
| |||
password | Defines the password in clear text that will be used to connect to the console. The password can be also stored in an encrypted clixml file as described below. | password=12345 | |||
clixml | Defines the full path of the clixml file that contains the encrypted password (password parameter must then not be set). To create this file, open a "
Example:
| clixml=C:\Charon\myds20pwd.clixml | |||
port | Defines the port to access the console (same as the one defined in the configuration file). | port=10003 | |||
prompt | Defines the prompt at the shell level of the guest operating system. Used by 'expect' to check that the connection did succeed. |
| |||
timelimitsec | Defines the maximum number of seconds the script can run (default = 180 seconds). This value depends on the time needed to shutdown properly the operating system | timelimitsec=600 |
Example
Configuration file
|
Script execution
Check mode
When check mode is enabled, a pop-up window will be displayed to check the expect operations performed on the CHARON instance console.
-->To update |
Shutdown execution
-->To update |