Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: missing word

...

If the script does not exist, it will be generated automatically based on existing guests and will by default do nothing.

You will have either to add your own shutdown scripts or to get examples provided in the 'charon_gstart.stop.example' script located in the '/opt/charon/utils' folder. Examples are provided for clean shutdown using 'ssh' or 'expect' thanks to the 'guest_shutdown.exp' script

Contents:

Table of Contents
excludeDescription

Explanation on the example file

...

  • Update the configuration file name
  • Replace the existing hostname 'pluto' by your Tru64 guest hostname

Div
classpagebreak


Example with Expect tool, Tru64 guest

...

  • Update the configuration file name
  • Replace the user, password and shell prompt by the corresponding one (shell prompt is used to determine if a user is logged on the console)

 
Div
classpagebreak


Example with Expect tool, VAX VMS guest

...

(info) The F6 key can be enabled or not in the configuration file. The expect script will send it if the 'power off' command fails and if the operation fails will exit with return code 9 meaning the emulator process will have to be killed.

 


Optional guest display status script

It is possible to create a script in the '/opt/charon/utils' folder named 'charon_gstart.chkrun' (an example is provided in the 'charon_gstart.chkrun.example' file).

This will add a status line while displaying the guests list.

Display output example:

Image Added

Script example:

Image Added


Include Page
KBCOMMON:DOC-GoToToc
KBCOMMON:DOC-GoToToc