Contents
Required parameters
Parameter | Value | Example |
---|---|---|
logfile | full path to the logfile that will be used to log the script output | logfile=C:\Charon\myds20vms_shutdown.log |
waitbeforestop | number of seconds to wait once the virtual machine is not responding to 'ping' before stopping the service. If not set, default value = 60 | waitbeforestop=10 |
servicename | CHARON virtual machine service name | servicename=myds20vms |
servername | Server name or IP address | servername=10.0.0.3 |
os | VMS or Tru64 | os=VMS |
mode | rsh | mode=rsh |
rshbin | Defines the location of the "rsh.exe" | rshbin=C:\bin\rsh.exe |
username | Defines the remote username that will be used to connect to the virtual machine via rsh |
|
Enabling remote connection on Tru64
To allow passwordless connection from the Windows server to the Tru64 system, the Tru64 local account's .rhosts
file has to be updated by specifying the Windows server name and 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 (Windows system IP address is 10.0.0.1) and the Tru64 'root
' account (Tru64 system IP address 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 OpenVMS version, the script could be UCX$CONFIG
) :
...
|
Check the service is enabled:
|
To allow passwordless connection from the Windows server to the OpenVMS system, 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 (Windows system IP address is 10.0.0.1) and the OpenVMS 'system
' account (OpenVMS system IP address is 10.0.0.3)
|
Example
Configuration file
|
Script execution
Check mode
|
Shutdown execution
|