Versions Compared

Key

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

...

This option will allow you to connect to the guests consoles.

 Notes:

  • The session will be recorded in a log file:
    • If 'set OPA0 log=' is found in the configuration file (not available with all Charon versions), the log will be stored in the temporary folder: '/tmp/console.<configuration file name shortened>.log'. Note this file will be overwritten for each session. It is just kept for information as the console log is managed by the Charon emulator itself.
    • If not found, 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 char
      set escape ²
    #

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

  • If a connection to the console is active from the server, you will be prompted to kill the previous one.
  • Emulator termination check:
    • For AXP, if the 'power off' command is detected (or shortened command), the guest STOP state will be set to REQUESTED
    • If the emulator is no more running when you leave the session, you will have to confirm that is requested or not
  • (info) The console port number is displayed per guest. If a port number is used more than once, an alert will be displayed

Autoconnect feature

This feature has been implemented to prevent from buffer issues with old Charon-AXP versions where a connection to the console had to be active for the guest not to be blocked (hang). This could prevent from booting the system.

Advantage of this feature is it will record console output for Charon products versions that have not the console log feature implemented and activated: every 1 minute, a crontab job (/opt/charon/utils/charon_console_autoconnect) will check if a connection to the console is active or not. If not, a telnet session will be engaged in the background.

This feature can also be disabled from this menu.

(info) This feature is automatically disabled for the guest that have activated console log recording with the 'set OPA0 log=' option.

Example

Image Added

We can see here the console is already locked by the autoconnect utility. We will now connect to the running VAX and kill the active session:

Image Added

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