Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: typo

Anchor
TOC
TOC
Include Page
KBCOMMON:KB-CSSstyle
KBCOMMON:KB-CSSstyle

...

  • Execute the installation script:

    # ./menusetup

    .

  • The setup will check first your terminal settings, if set to VT100 you will not be able to continue until you set the TERM value to VT200, dtterm or xterm (see how to here: Configuration)

  • Mandatory and recommended packages installation will be checked.
    • (warning) (warning) If some mandatory packages are missing you will not be able to continue.
    • (info) (info) If some recommended packages are missing, installation will continue. Installation of these packages can be done later if needed

  • If 'telnet' is installed, you will be prompted to force the mode to character to avoid some input issues while connected to the guests consoles

  • The 'menu', 'logtail' and 'logview' aliases will be created. They will be the commands you'll use to access the menu or to view virtual machines log files.

  • Recursive jobs will be added in the crontab file:
    • if the crontab file does not exist, it will be automatically filled
    • if it already exists, you will be prompted to update it via the selected editor: a check will be performed and the missing entries will be added

  • Alerts parameters will now have to be filled (see Alerts management chapter for more if needed)
    • Select between HTML or pure TEXT emails
    • Mail recipients list (used for alerts, not for sending files like log and configuration files for example)
    • Customize emails footer: if needed, add here your disclaimer, information on the CHARON server or any information you think useful
    • Enable/disable wall alert messages
    • Install or update the alert script. It can be customized later, in this case it is recommended to do this once the virtual machines are installed
    • Select the alert level from guests log files: 0 = none, 1 = informational+warning+error entries, 2 = warning+error entries (default), 3 = error entries only

    • View alerts if any

    • Enable or disable license expiration alerts from guests logs: 1 alert per hour if enabled, 1 (default) or more alerts per day as defined per the recursive jobs settings

      Div
      classpagebreak


      Example:

       

  • When the setup is completed either log out to define the command aliases or execute the following command:

    # . /etc/profile.d/charon_menu.sh


...

  • read the CHARON Linux Toolkit - Release notes for kit 1.46 document
    .
  • copy and extract the files from the tar file to the CHARON installation directory, subdirectory ‘utils'

    # cd /opt/charon/utils
    # tar –xf charon_linux_toolkit.kit<newkit>.tar .

    .

  • To install newly defined aliases (logtail, logview, vmlist, ...), please run the following command:

    # cd /opt/charon/utils (if not already done)
    # ./menusetup -a

    then either logout or execute the following command for the changes to take effect:

    # . /etc/profile.d/charon_menu.sh

    .

...

Warning

In case of upgrade from a kit older than 41 on a CentOS 7 or Red Hat 7 system, you must first stop all services, including the virtual machines running, and remove the services that were defined using the previous method as described below:

  1. List installed services


    Div
    classcommandline

    # chkconfig --list | grep charon

    charon_gstart      0:off    1:off    2:off    3:on    4:on    5:on    6:off

    charon_logchk      0:off    1:off    2:off    3:on    4:on    5:on    6:off


     

  2. Remove installed services


    Div
    classcommandline

    # chkconfig --del charon_gstart

    # chkconfig --del charon_logchk



Once these services are removed, you can perform a standard kit upgrade

(info) (info) Services will have to be redefined or updated from the 'menu', they will then use the 'systemd' features

...