Versions Compared

Key

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

...

The service works with a guests list containing the HW emulator executable file name, configuration file and, optionally, the auto_boot (at service level, not same as SRM levlelevel) on server startup parameterparameters:

  • Startup: the HW emulator virtual machine is executed in detached mode (using ‘-d’ dparameter) and then requires the console to be set as virtual serial line.
    • Connection to the console will be performed using telnet on defined localhost / port. This can also be performed using other utilities like putty. If there is more than one guest on the server, guests are started in parallel.
    • Before the guest starts, the network interfaces used will be checked and all the offload parameters will be set offline

  • Shutdown: a common shutdown script can be created for guests shutdown. See "Service management - Create/Edit guest stop script" for details.
    • If the script does not exist, the HW emulator virtual machine process is killed without proper guest shutdown.
    • If the script exists, it executes the customer defined scripts command lines to perform a proper shutdown (using ‘ssh’ or ‘expect’ ssh’ or ‘expecttool for example). If the HW emulator virtual machine process is still running after execution, the stop operation is considered as failed so for Linux systems not using systemd (Red Hat 6) the script must stop the emulator either by sending a “power off” power offat SRM prompt (AXP) or F6 key (VAX) with ‘expect’ expector just by killing the process. For Linux systems using systemd (Red Hat 7 and Fedora), the process is killed by the system.
    • If there is more than one guest on the server, guests are stopped in sequential mode based on their order in the guests list. This order can be modified from the menu. : (warning) This this is valid only for Linux systems not using systemd (Red Hat 6). For , for other systems, the services description files will have to be modified to add dependencies using Before= or After= for example. (info) For more information, see manpages: # man systemd.unit

...

  • The first part of the menu displays server information like server boot time, current time (at display), number of CPUs and Memory Free / Total.
  • The second part displays the list of emulated virtual machines (guests) managed. Column details:

    ColumnDescription
    Emulator/Config FileEmulator used with its configuration file name (shortened)
    CPU

    Displays the number of CPUs by looking into configuration file settings (set n_of_cpus ...) first then using default value for the selected hardware. If no information is available, "-" is displayed instead.

    (warning) The number of CPUs displayed does represent the number defined in the configuration file or the default number of cpus for this hardware model. The real number of CPUs the virtual machine owns depends on the CHARON server HW limitations, CHARON licenses and also licenses on the virtual machine side

    MemDisplays the amount of memory defined for the guestin the configuration file (if defined). If no information is available, "-" is displayed instead.
    State
    • For Red Hat 6
      • can be either RUNNING, STARTING, STARTING/ALL (if all guests have been started at the same time), STOPPED.
      • If the guest is in STOPPED state, an additional information will be displayed:
        • REQUESTED: the service has been stopped by user request or has not been started on Linux server boot due to boot parameter set to off
        • FAILURE: the guest process failed
    • For Red Hat 7 and Fedora (using both systemd)
      • can be either ACTIVE, ACTIVATING, INACTIVE, DEACTIVATING, FAILED or UNKNOWN
      • If the guest is in STOPPED state, an additional information will be displayed:
        • REQUESTED: the service has been stopped by user request or has not been started on Linux server boot due to boot parameter set to off
        • FAILURE: the guest process failed
    Stop script

    Displays the status of the stop script used to stop perform a clean shutdown of the guest. Can be:

    • Not found: the script has not been created. (warning) In this case, a service stop request will induce a kill of the emulator process
       
    • To customize: the script exists and a case line has been added for the specified configuration file. It must however be customized with your commands to perform a clean shutdown of the guest (OpenVMS or Tru64 virtual machine). (info) For more information, see Service management - Create/Edit guest stop script
    • Case not set : the script exists but does not relate to the specified configuration file. This mean means it has either been created manually or initialized automatically by the menu and you added a new guest.Not found: the script has not been created. (warning) In this case, a service stop request will induce a kill of the emulator process
    BDisplays the Boot no server startup value, yes Yes or no No.

    .

  • The third part displays the available options that are detailed below.
Div
classpagebreak

 

 

Examples

Red Hat 6 -

...

Virtual machine up and running

Red Hat 7 -

...

Virtual machine up and running

(info) Due to improvements added in service management with systemd, more information is displayed on the service

Red Hat 7 -

...

Virtual machine failed due to kill signal sent by the administrator

(info) A "kill -kill <pid>" command has been sent to the virtual machine process.

Menu options

Child pages (Children Display)
alltrue

...