Go to main content
Oracle® Hardware Management Pack Installation Guide

Exit Print View

Updated: December 2016
 
 

Install the Required Linux Components Before Installing Oracle Linux FMA Software

The procedures in this section assume that your system is configured with access to Oracle Linux Software Repositories. By default, Oracle Linux configures the Oracle Linux repositories for the system through network access to the Oracle Linux Public site::

http://public-yum.oracle.com/

If your site does not permit this access, then you need another means of acquiring the required software package(s). Your site might provide its own internal "mirror" repository, or you might even have to manually download (for example, using HTTP, FTP, and manually mounting the installation DVD) and copy the appropriate package file(s) to your system and manually install them.

Unless you are an expert user familiar with manual installation of Linux components, use the Yum utility or its corresponding GUI counterpart 'gpk-application' available from the GNOME desktop (Menu: System > Administration > Add/Remove Software) to deal with software installation and updates.

Before You Begin

To perform this procedure, you must be logged in to your system with root privileges.

  1. Check to see if the IPMI service is installed and running by typing the command:

    service ipmi status

    You should see output similar to:

    [root@hostname ~]# service ipmi status
    ipmi_msghandler module loaded.
    ipmi_si module loaded.
    ipmi_devintf module loaded.
    /dev/ipmi0 exists.
    • If the service is installed but is not running, start the service:
      1. Type the command:

        service ipmi start

      2. To have the service automatically start after a server reboot (so that you do not have to manually start it each time), also type the command:

        chkconfig --levels 345 ipmi on

    • If the IPMI service is not installed, you see an "unrecognized service" error. If so, you will need to install the IPMI service software package first, and then start it.

      Oracle Linux provides the OpenIPMI software distribution for use as the standard (or default) IPMI service.

      1. Install the service by typing the command:

        yum install OpenIPMI


        Note -  If you are not using Yum, you will have to download and install the OpenIPMI package (Oracle Linux 6.5 base version: OpenIPMI-2.0.16-14.el6.x86_64.rpm) and the ancillary OpenIPMI-libs package (Oracle Linux 6.5 base version: OpenIPMI-libs-2.0.16-14.el6.x86_64.rpm). Other dependencies could include glibc and openssl, install them as needed.
      2. After successful installation, start the service by typing the command:

        service ipmi start

      3. To have the service automatically start after a server reboot so that you do not have to manually start it each time, type:

        chkconfig --levels 345 ipmi on

  2. Check to see if the dmidecode package is installed and available by typing the command:

    dmidecode -V

    • If dmidecode is available, you should see its version listed as output, similar to:
      [root@hostname ~]# dmidecode -V
      2.11
    • If dmidecode is not available, install it by typing the command:

      yum install dmicode

  3. If your system is running Oracle Linux 6.5 or later, disable the EDAC module.

    If your system is running Oracle Linux 7 or later, skip to step 5.

    1. Check to see if the EDAC module is enabled. Type the command:

      lsmod | grep edac

      If you see output like this, then the EDAC module is enabled, and you must disable it.

      [root@ban25uut190 ~]# lsmod | grep edac
            @ sb_edac                3341  0
            @ edac_core              54168  0
      

      If the grep does not find an instance of EDAC, skip to step 4.

    2. To disable the EDAC module, type the commands:
      rmmod sb_edac 
      rmmod edac_core

      The EDAC module is disabled.

    3. To prevent the EDAC module from restarting when the server is booted:
      1. Add the following lines to the file /etc/modprobe.d/blacklist.conf:
        blacklist sb_edac
        blacklist edac_core
      2. Save the file.
  4. If your system is running Oracle Linux 6.5, check to see if the mcelog service is installed and running.

    If your system is running Oracle Linux 7, skip to Step 5.

    Type the command:

    service mcelogd status

    You should see output similar to:

    [root@hostname ~]# service mcelogd status   [ OK ]
    Checking for mcelog
    mcelog (pid 44912) is running...
    • If the service is installed and running, edit the mcelog.conf file and then restart the service, as follows:
      1. Edit the /etc/mcelog/mcelog.conf file to uncomment the “raw = yes” entry.

        This provides the log information detail that Oracle Linux FMA requires.

      2. Edit the /etc/mcelog/mcelog.conf file to uncomment the “memory-ce-threshold” entry and change it to "memory-ce-threshold = 3 / 72h".

        This specifies when meclog should offline a memory page.

      3. Restart the service by typing the command:

        service mcelogd restart

    • If the service is installed but is not running, you need to edit the mcelog.conf file and then start the service, as follows:
      1. Edit the /etc/mcelog/mcelog.conf file to uncomment the “raw = yes” entry.

        This provides the log information detail that Oracle Linux FMA requires.

      2. Edit the /etc/mcelog/mcelog.conf file to uncomment the “memory-ce-threshold” entry and change it to "memory-ce-threshold = 3 / 72h".

        This specifies when meclog should take a memory page offline.

      3. Start the service by typing the command:

        service mcelogd start

      4. To have the service automatically start after a server reboot (so that you do not have to manually start it each time), also type the command:

        chkconfig --levels 345 mcelogd on

    • If the mcelog service is not installed, you see an "unrecognized service" error. If so, you must install the mcelog service software package, edit the mcelog.conf file, and then start the service.

      Oracle Linux provides the mcelog software distribution for use.

      1. Install the service by typing the command:

        yum install mcelog


        Note -  If you are not using Yum, you must download and install the mcelog package (Oracle Linux 6.5 base version: mcelog-1.0pre3_20120814_2-0.13.el6.x86_64.rpm).
      2. After successful installation, edit the /etc/mcelog/mcelog.conf file to uncomment the “raw = yes” entry.

        This provides the log information detail that Oracle Linux FMA requires.

      3. Edit the /etc/mcelog/mcelog.conf file to uncomment the “memory-ce-threshold” entry and change it to "memory-ce-threshold = 3 / 72h".

        This specifies when meclog should take a memory page offline.

      4. Start the service by typing the command:

        service mcelogd start

      5. To have the service automatically start after a server reboot (so that you do not have to manually start it each time), also type the command:

        chkconfig --levels 345 mcelogd on

  5. If your system is running Oracle Linux 7, the mcelog service must be running in daemon mode only.
    1. Ensure the mcelog service is installed and running by typing the command:

      systemctl status mcelog

      If mcelog is not installed, you see:

      [root@testserver16 ~]# systemctl status mcelog
      mcelog.service
         Loaded: not-found (Reason: No such file or directory)
         Active: inactive (dead)
    2. If mcelog is not installed, install mcelog using yum by typing the command:

      yum install mcelog

      After successful installation, proceed to the next step.

    3. Edit the /etc/mcelog/mcelog.conf file to do the folllowing:
      1. Uncomment the "raw=yes" entry.
      2. Comment out the existing "memory-ce-threshold" entry and create a new entry that reads "memory-ce-threshold = 3 / 72h".
    4. If the file /etc/mcelog/mcelog.setup exists, edit it and comment out the existing "/usr/sbin/mcelog --ignorenodev --syslog --foreground" entry and make a new entry that reads "/usr/sbin/mcelog --daemon".
    5. Edit the /etc/systemd/system/multi-usr.target.wants/mcelog.service file to remove the "--syslog" from the "ExecStart" field. When this is done, the field should look like this:
      [Service]
      Type=forking
      ExecStartPre=/etc/mcelog/mcelog.setup
      ExecStart=/usr/sbin/mcelog --daemon
      StandardOutput=syslog 
    6. Apply the changes you have made by typing the command:

      systemctl daemon-reload

    7. Restart the mcelog service by typing the command:

      systemctl restart mcelog

    8. Confirm that mcelog is running in daemon mode by typing the command:

      systemctl status mcelog

      You should see the output similar to:

      [root@testserver16 ~]# systemctl status mcelog
      mcelog.service - Machine Check Exception Logging Daemon
         Loaded: loaded (/usr/lib/systemd/system/mcelog.service; enabled)
         Active: active (running) since Fri 2014-10-03 12:52:13 EDT; 6s ago
        Process: 3939 ExecStart=/usr/sbin/mcelog --daemon (code=exited,
      status=0/SUCCESS)
        Process: 3935 ExecStartPre=/etc/mcelog/mcelog.setup (code=exited,
      status=0/SUCCESS)
       Main PID: 3940 (mcelog)
         CGroup: /system.slice/mcelog.service
                      |__3940 /usr/sbin/mcelog --daemon

Next Steps