Contents
Required parameters
Parameter | Value | Example |
---|---|---|
logfile | Optional full path to the logfile that will be used to log the script output. If not specified a file name and path will be chosen based on session log file (one file per script execution). The file name is usually based on the configuration_name followed by "-SHUTDOWN-" and date/time. | logfile=C:\Charon\myds20_shutdown.log |
mode | 'opa0' | mode=opa0 |
os | Either Tru64 or VMS | os=Tru64 |
servicename | CHARON instance service name. When using "opa0" mode, the service is stopped by a " | 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 file as described below. If password is sent then cryptedpass (below) value must be set to "none" or left empty. | password=12345 |
cryptedpass | Full path to the text file containing the encrypted password. To create this file, open a command window "
Please note the password encryption is based on current user credentials The parameter can be set to " |
|
cryptedpsys | Full path to the text file containing the encrypted password that will be used as "system" user (during Windows server shutdown). To create this file, open a command window "
Use a different name for the output file as the one user for " The parameter can be set to " |
|
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 to check the user is connected. Notes:
|
|
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 |
windowwidth | Optional parameters used to resize the window when running with service user ("system" account). Useful during Windows shutdown to check operations executed. Width = 132 and Height = 32 by default. BufferHeight set 2000 lines by default. | windowwidth=120 |
windowheight | windowheight=50 |
Example
Configuration file
|
Script execution
Check mode
When check mode is enabled, a pop-up window will be displayed to check the operations performed on the CHARON instance console.
RCVD messages correspond to the received data from the OPA0 console. |
Shutdown execution - Tru64 example
RCVD messages correspond to the received data from the OPA0 console. |
Shutdown execution - VMS example
... (truncated) RCVD messages correspond to the received data from the OPA0 console. |