Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Use this option to connect to the guests consoles, kill active connections if any and to view console log files.

Notes:

  • (warning) "telnet" and/or "putty" package must be installed, it they will be used to connect from the CHARON Charon server to the virtual machine console
  • The method selected for connecting to the console is defined in the "Preferences".
  • The session will be recorded in a log file:
    • If 'set OPA0 log=' is found in the configuration file (not available with all CHARON products versions), the log will be stored in the temporary folder: '/tmp/console.<configuration file name shortened>.tmp.log' and will be overwritten for each session. It is just kept for information as the console log is managed by the CHARON emulator itself. (info) For Charon-AXP and Charon-VAX version 4.9 and above, the line "set COM1 alias = OPA0 port = <port>" (new syntax) is also checked.
    • If there is no 'set OPA0 log=' line in the configuration file, the file will be located in '/opt/charon/log/console.<configuration file name shortened>.log'
  • If 'stop_on' and/or 'break_on' features are enabled in the configuration file, this will be reminded before starting the telnet session
  • To leave the "telnet" session, press the escape character which is by default CTRL + ] . This character can be changed in the /root/.telnetrc file by defining the 'set escape' parameter:
    Example:

    # cat /root/.telnetrc
    DEFAULT
      mode   mode char
      set   set escape ²
    #

    (info) Pressing the escape key will lead you to the 'telnet> ' prompt. To leave the session, enter 'quit'.

  • To leave the "putty" session, close the window. Note this will not stop the virtual machine as it is running in the background.
  • If a connection to the console is active from the server, you will be prompted to kill the previous one.
  • If a connection to the console is active from another location, it will be displayed but will not be killed. This will have to be done manually .
  • Emulator termination check:
    • For CHARON-AXP, if the 'power off' command is detected (or shortened command), the guest STOP state will be set to REQUESTED. (warning) If a telnet connection to the console is performed without this utility, the REQUESTED state will not be set.
    • If the emulator is no more running when you leave the session, you will have to confirm that is requested or not
  • (there is no way to kill a remote connection to the console).
  • (info) The console port number is displayed per guest. If a port number is used more than once, an alert will be displayed.


Div
classpagebreak


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

...