mirror of
https://github.com/tigerblue77/Dell_iDRAC_fan_controller_Docker.git
synced 2025-10-23 04:51:57 +00:00
Adding the prerequisite to use IPMI over LAN to README file
This commit is contained in:
48
README.md
48
README.md
@@ -20,6 +20,34 @@ https://hub.docker.com/repository/docker/tigerblue77/dell_idrac_fan_controller
|
||||
|
||||
<p align="right">(<a href="#top">back to top</a>)</p>
|
||||
|
||||
<!-- PREREQUISITES -->
|
||||
## Prerequisites
|
||||
### To access iDRAC over LAN (not needed in "local" mode) :
|
||||
|
||||
1. Log into your iDRAC web console
|
||||
|
||||

|
||||
|
||||
2. In the left side menu, expand "iDRAC settings", click "Network" then click "IPMI Settings" link at the top of the web page.
|
||||
|
||||

|
||||
|
||||
3. Check the "Enable IPMI over LAN" checkbox then click "Apply" button.
|
||||
|
||||

|
||||
|
||||
4. Test access to IPMI over LAN running the following commands :
|
||||
```bash
|
||||
apt -y install ipmitool
|
||||
ipmitool -I lanplus \
|
||||
-H <iDRAC IP address> \
|
||||
-U <iDRAC username> \
|
||||
-P <iDRAC password> \
|
||||
sdr elist all
|
||||
```
|
||||
|
||||
<p align="right">(<a href="#top">back to top</a>)</p>
|
||||
|
||||
<!-- USAGE -->
|
||||
## Usage
|
||||
|
||||
@@ -30,8 +58,8 @@ docker run -d \
|
||||
--name Dell_iDRAC_fan_controller \
|
||||
--restart=unless-stopped \
|
||||
-e IDRAC_HOST=local \
|
||||
-e FAN_SPEED=<dec or hex fan speed> \
|
||||
-e CPU_TEMPERATURE_TRESHOLD=<dec temperature treshold> \
|
||||
-e FAN_SPEED=<decimal or hexadecimal fan speed> \
|
||||
-e CPU_TEMPERATURE_TRESHOLD=<decimal temperature treshold> \
|
||||
-e CHECK_INTERVAL=<seconds between each check> \
|
||||
--device=/dev/ipmi0:/dev/ipmi0:rw \
|
||||
tigerblue77/dell_idrac_fan_controller:latest
|
||||
@@ -43,11 +71,11 @@ docker run -d \
|
||||
docker run -d \
|
||||
--name Dell_iDRAC_fan_controller \
|
||||
--restart=unless-stopped \
|
||||
-e IDRAC_HOST=<iDRAC host IP> \
|
||||
-e IDRAC_HOST=<iDRAC IP address> \
|
||||
-e IDRAC_USERNAME=<iDRAC username> \
|
||||
-e IDRAC_PASSWORD=<iDRAC password> \
|
||||
-e FAN_SPEED=<dec or hex fan speed> \
|
||||
-e CPU_TEMPERATURE_TRESHOLD=<dec temperature treshold> \
|
||||
-e FAN_SPEED=<decimal or hexadecimal fan speed> \
|
||||
-e CPU_TEMPERATURE_TRESHOLD=<decimal temperature treshold> \
|
||||
-e CHECK_INTERVAL=<seconds between each check> \
|
||||
tigerblue77/dell_idrac_fan_controller:latest
|
||||
```
|
||||
@@ -66,8 +94,8 @@ services:
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- IDRAC_HOST=local
|
||||
- FAN_SPEED=<dec or hex fan speed>
|
||||
- CPU_TEMPERATURE_TRESHOLD=<dec temperature treshold>
|
||||
- FAN_SPEED=<decimal or hexadecimal fan speed>
|
||||
- CPU_TEMPERATURE_TRESHOLD=<decimal temperature treshold>
|
||||
- CHECK_INTERVAL=<seconds between each check>
|
||||
devices:
|
||||
- /dev/ipmi0:/dev/ipmi0:rw
|
||||
@@ -87,8 +115,8 @@ services:
|
||||
- IDRAC_HOST=<iDRAC IP address>
|
||||
- IDRAC_USERNAME=<iDRAC username>
|
||||
- IDRAC_PASSWORD=<iDRAC password>
|
||||
- FAN_SPEED=<dec or hex fan speed>
|
||||
- CPU_TEMPERATURE_TRESHOLD=<dec temperature treshold>
|
||||
- FAN_SPEED=<decimal or hexadecimal fan speed>
|
||||
- CPU_TEMPERATURE_TRESHOLD=<decimal temperature treshold>
|
||||
- CHECK_INTERVAL=<seconds between each check>
|
||||
```
|
||||
|
||||
@@ -102,7 +130,7 @@ All parameters are optional as they have default values (including default iDRAC
|
||||
- `IDRAC_HOST` parameter can be set to "local" or to your distant iDRAC's IP address. **Default** value is "local".
|
||||
- `IDRAC_USERNAME` parameter is only necessary if you're adressing a distant iDRAC. **Default** value is "root".
|
||||
- `IDRAC_PASSWORD` parameter is only necessary if you're adressing a distant iDRAC. **Default** value is "calvin".
|
||||
- `FAN_SPEED` parameter can be set as a decimal (from 0 to 100%) or hexadecimal value (from 0x00 to 0x64) you want to set the fans to. **Default** value is 5(%).
|
||||
- `FAN_SPEED` parameter can be set as a decimal (from 0 to 100%) or hexadecimaladecimal value (from 0x00 to 0x64) you want to set the fans to. **Default** value is 5(%).
|
||||
- `CPU_TEMPERATURE_TRESHOLD` parameter is the T°junction (junction temperature) threshold beyond which the Dell fan mode defined in your BIOS will become active again (to protect the server hardware against overheat). **Default** value is 50(°C).
|
||||
- `CHECK_INTERVAL` parameter is the time (in seconds) between each temperature check and potential profile change. **Default** value is 60(s).
|
||||
|
||||
|
Reference in New Issue
Block a user