On Linux systems, the OpenIPMI driver is the supported driver for Oracle Clusterware deployments with IPMI. You can install and configure the driver dynamically by manually loading the required modules.
- Log in as
- Run the following commands:
# /sbin/modprobe ipmi_msghandler # /sbin/modprobe ipmi_si # /sbin/modprobe ipmi_devintf
- (Optional) Run the command
/sbin/lsmod |grep ipmito confirm that the IPMI modules are loaded. For example:
# /sbin/lsmod | grep ipmi ipmi_devintf 12617 0 ipmi_si 33377 0 ipmi_msghandler 33701 2 ipmi_devintf,ipmi_si
You can install the modules whether or not a BMC is present.
- Open the
/etc/rc.localfile using a text editor, navigate to the end of the file, and enter lines similar to the following, to run the
modprobecommands in step 2 automatically on system restart:
# START IPMI ON SYSTEM RESTART /sbin/modprobe ipmi_msghandler /sbin/modprobe ipmi_si /sbin/modprobe ipmi_devintf
On SUSE Linux Enterprise Server systems, add the
modprobecommands above to
- Check to ensure that the Linux system is recognizing the IPMI device, using the following command:
ls -l /dev/ipmi0If the IPMI device is dynamically loaded, then the output must be similar to the following:
# ls -l /dev/ipmi0 crw------- 1 root root 253, 0 Sep 23 06:29 /dev/ipmi0
If you do see the device file output, then the IPMI driver is configured, and you can ignore the following step.
If you do not see the device file output, then the
udevddaemon is not set up to create device files automatically. Proceed to the next step.
- Determine the device major number for the IPMI device using the command
grep ipmi /proc/devices. For example:
# grep ipmi /proc/devices 253 ipmidevThe device major number is 253.
- Run the
mknodcommand to create a directory entry and
i-nodefor the IPMI device, using the device major number. For example:
# mknod /dev/ipmi0 c 253 0x0The permissions on
/dev/ipmi0in the example allow the device to be accessible only by root. The device should only be accessed by root, to prevent a system vulnerability.