Contents
Parameters
logfile
Full path to the log file that will be used to log the script output.
Example:
logfile=C:\Charon\myds20vms_shutdown.log
windowsevent
Defines which message levels will create a new entry in the Windows Application Events (Source="CHARON")
Can be either "none" or any combination of S, W and E. 'S' for Success, 'W' for Warning and 'E' for Error. Default is 'SE' so Success and Error only.
Example:
windowsevent=SWE
waitbeforestop
Number of seconds to wait before stopping the service once the guest operating system no longer responds to 'ping'. If not set, default value = 60.
Example:
waitbeforestop=10
servicename
CHARON instance service name
Example:
servicename=myds20vms
guestsystem
Server name or IP address
Example:
guestsystem
=10.0.0.3
os
VMS or Tru64
Example:
os=VMS
mode
rsh
Example:
mode=rsh
rshbin
Defines the location of the "rsh.exe" program.
Example:
rshbin=C:\charon\rsh.exe
username
Defines the remote username that will be used to connect to the guest operating system via rsh.
Example:
username=system
openconsolecmd
Optional parameter used to open the console program while executing the script.
It is recommended to define this parameter in case of integration with Windows shutdown
Example:
openconsolecmd=C:\Program Files\CHARON\Build_20203\x64\putty
openconsolearg
Optional parameter defining the parameters of the openconsolecmd
parameter above.
Example:
openconsolearg=-load OPA0 -P 10003
windowwidth and windowheight
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.
Example:
windowwidth=120
windowheight=50
Enabling remote connection on Tru64
To allow connections from the Windows server to the Tru64 guest system without having to specify a password, the Tru64 local account's .rhosts
file has to be updated with the name or IP address of the Windows system and the account used.
The .rhosts
file contains a list of remote users who are not required to supply a login password when they use the local user account and execute the rcp, rlogin, and rsh commands (see "# man rhosts
" for more).
In the example below, a proxy will be created between the Windows 'administrator
' account (the IP address of the Windows system is 10.0.0.1) and the Tru64 'root
' account (the IP address of the Tru64 system is 10.0.0.2).
|
Enabling remote connection on OpenVMS
Enable the REXEC and RSH service on OpenVMS by executing the TCPIP$CONFIG
script (depending on the OpenVMS version, the script could also be called UCX$CONFIG
):
...
|
Check that the service is enabled:
|
To allow connection from the Windows server to the OpenVMS guest system without specifying a password, a proxy must be created between the Windows user that will execute the 'rsh
' command and the OpenVMS user account:
In the example below, a proxy will be created between the Windows 'administrator
' account (the IP address of the Windows system is 10.0.0.1) and the OpenVMS 'system
' account (the IP address of the OpenVMS system is 10.0.0.3)
|
Examples
Configuration file
|
Script execution
Check mode
|
Shutdown execution
|