- Oracle Hardware Management Pack 2.4 Installation Guide
- Installing the Software Manually
- Installing and Uninstalling Components Manually on a Linux Server
- Installing the Oracle Linux FMA Software
- Install the Required Linux Components Before Installing Oracle Linux FMA Software
Install the Required Linux Components Before Installing Oracle Linux FMA Software
To perform this procedure, you must be logged in to your system with root privileges.
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::
https://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.
-
Check to see if the IPMI service is installed and running by typing
the command:
#
service ipmi statusYou 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:
-
Type the command:
#
service ipmi start -
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.
-
Install the service by typing the command:
#
yum install OpenIPMINote:
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. -
After successful installation, start the service by typing the command:
#
service ipmi start -
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
-
-
-
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
-
-
If your system is running Oracle Linux 6.5 or 7.0 or later, disable the EDAC module.
If your system is running Oracle Linux 7 or later, skip to step 5.
-
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_edac3341 0 @ edac_core 54168 0
If the
grep
does not find an instance of EDAC, skip to step 4. -
To disable the EDAC module, type the commands:
# rmmod sb_edac # rmmod edac_core
The EDAC module is disabled.
-
To prevent the EDAC module from restarting when the server is
booted:
-
Add the following lines to the file /etc/modprobe.d/blacklist.conf:
blacklist sb_edac blacklist edac_core
-
Save the file.
-
-
Check to see if the EDAC module is enabled. Type the command:
-
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 or later, skip to Step 5.
Type the command:
#
service mcelogd statusYou 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:
-
Edit the
/etc/mcelog/mcelog.conf
file to uncomment the “raw = yes
” entry.This provides the log information detail that Oracle Linux FMA requires.
-
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.
-
If an mcelog file exists that was in the default format, delete it.
rm /var/log/mcelog
-
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:
-
Edit the
/etc/mcelog/mcelog.conf
file to uncomment the “raw = yes
” entry.This provides the log information detail that Oracle Linux FMA requires.
-
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.
-
If an mcelog file exists that was in the default format, delete it.
rm /var/log/mcelog
-
Start the service by typing the command:
#
service mcelogd start -
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.
-
Install the service by typing the command:
#
yum install mcelogNote:
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
). -
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.
-
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.
-
Start the service by typing the command:
#
service mcelogd start -
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 your system is running Oracle Linux 7 or later, the mcelog service must be running in daemon mode only.
-
Ensure the mcelog service is installed and running by typing
the command:
#
systemctl status mcelogIf mcelog is not installed, you see:
[root@testserver17 ~]# systemctl status mcelog mcelog.service Loaded: not-found (Reason: No such file or directory) Active: inactive (dead)
-
If mcelog is not installed, install mcelog using yum by typing
the command:
#
yum install mcelogAfter successful installation, proceed to the next step.
-
Edit the /etc/mcelog/mcelog.conf file to
do the folllowing:
-
Uncomment the "raw=yes" entry.
-
Comment out the existing "memory-ce-threshold" entry and create a new entry that reads "memory-ce-threshold = 3 / 72h".
-
-
If an mcelog file exists that was in the default format, delete it.
rm /var/log/mcelog
-
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
-
Apply the changes you have made by typing the command:
#
systemctl daemon-reload -
Restart the mcelog service by typing the command:
#
systemctl restart mcelog -
Confirm that mcelog is running in daemon mode by typing the
command:
#
systemctl status mcelogYou should see the output similar to:
[root@testserver17 ~]# 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
-
Ensure the mcelog service is installed and running by typing
the command:
Parent topic: Installing the Oracle Linux FMA Software