Operating System(s): Red Hat Enterprise Linux 5.x, Oracle Enterprise Linux 5.x
Database version(s): Oracle 11g R2
How do I install, enable, and configure IPMI for Oracle 11g R2?
1. In order to enable and configure the IPMI tool, please ensure the following prerequisities are met:
To check if the OpenIPMI-tools RPM is installed on your system please run the following command:
If the OpenIPMI-tools RPM is not installed, please install it using your yum repository via the following command:
2. In order to configure the Open IPMI driver,
As root, run the commands:
3. One the IPMI service has been started, please confirm that the IPMI modules are loaded by running:
The following output should be seen when the command is run: ipmi_devintf 44753 2 ipmi_si 77453 1 ipmi_msghandler 72985 2 ipmi_devintf,ipmi_si
4. Ensure the system recognizes the IPMI device, using the following command:
If the IPMI device has been dynamically loaded, then the output should be similar to the following:
crw------- 1 root root 252, 0 Dec 23 16:41
Configuring the BMC using the IPMI tool
1. Login as root and make sure ipmitool is communicating with the BMC using the IPMI driver. The command to communicate with the BMC is the following:
Device ID : 32
Device Revision : 0
Firmware Revision : 0.20
IPMI Version : 2.0
Manufacturer ID : 674
Manufacturer Name : Unknown (0x2a2)
Product ID : 256 (0x0100)
Enable IPMI Over LAN
1. Determine the channel number for IPMI over LAN. Beginning with channel 1, run the following command until you find the channel that displays the required LAN attributes, such as the IP address:
. . .
IP Address Source: 0x01
IP Address: 188.8.131.52
2. Enable LAN access for the channel found. For example, where the channel is 1:
3. Configure IP address settings for IPMI using one of the following procedures:
For example, if the channel is 1, then enter the following command to enable DHCP and set the channel:
Use of DHCP requires a DHCP server on the same subnet. Information on setting up a DHCP server is out of scope for this article.
The address specified in the example(192.168.0.55) is associated only with the BMC, and does not respond to normal pings.
4. Establish an administration account with a user name and password, using the following procedure (assuming the channel is 1):
a. Configure the BMC to authenticate password for Admin access over LAN.
b. List the account slots on the BMC, and identify an unused slot (a User ID with an empty user name field). For example:
. . .
User ID : 4
User Name :
Fixed Name : No
Access Available : call-in / callback
Link Authentication : disabled
IPMI Messaging : disabled
Privilege Level : NO ACCESS
. . .
Though the ‘User Name’ for ‘User ID’ 1 might show empty, it is not configurable. Use any other slot with empty ‘User Name’.
c. Assign the desired administrator username and password and enable messaging for the identified slot. Once the administrator username and password are set, set the privilege level for that slot when accessed over LAN (channel 1) to ADMIN (level 4). For example:
d. Verify the setup using the command lan print 1. The following output must be displayed:
Set in Progress : Set Complete
Auth Type Support : NONE MD2 MD5 PASSWORD
Auth Type Enable : Callback : MD2 MD5
: User : MD2 MD5
: Operator : MD2 MD5
: Admin : MD5 PASSWORD
: OEM : MD2 MD5
IP Address Source : DHCP Address [or Static
IP Address : 192.168.0.55
Subnet Mask : 255.255.255.0
MAC Address : 00:14:22:23:fa:f9
SNMP Community String : public
IP Header : TTL=0x40 Flags=0x40 Precedence=…
Default Gateway IP : 192.168.0.1
Default Gateway MAC : 00:00:00:00:00:00
# ipmitool channel getaccess 1 4
Maximum User IDs : 10
Enabled User IDs : 2
User Name : bmcuser
Link Authentication : enabled
IPMI Messaging : enabled
Privilege Level : ADMINISTRATOR
5. Repeat all the above steps on all Oracle nodes within the cluster.
6. Verify that the BMC is accessible and controllable from a remote node in your cluster using the bmc info command. For example, if node2-ipmi is the network host name assigned to BMC for node2, then to verify the BMC on node2 from node1, enter the following command on node1:
If BMC is correctly configured, then the information about BMC on the remote node is displayed. If you see an error message, such as Error: Unable to establish LAN session, check the BMC configuration on the remote node.