Added automatic Gen 14 + check
This commit is contained in:
parent
86155f19cf
commit
a8c12a62c9
3 changed files with 8 additions and 2 deletions
|
|
@ -46,6 +46,14 @@ then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
# If server model is Gen 14 (*40) or newer
|
||||
if [[ $SERVER_MODEL =~ .*[RT][[:space:]]?[0-9][4-9]0.* ]]
|
||||
then
|
||||
DELL_POWEREDGE_GEN_14_OR_NEWER=true
|
||||
else
|
||||
DELL_POWEREDGE_GEN_14_OR_NEWER=false
|
||||
fi
|
||||
|
||||
# Log main informations
|
||||
echo "Server model: $SERVER_MANUFACTURER $SERVER_MODEL"
|
||||
echo "iDRAC/IPMI host: $IDRAC_HOST"
|
||||
|
|
|
|||
|
|
@ -21,7 +21,6 @@ HEALTHCHECK --interval=30s --timeout=30s --start-period=5s --retries=3 CMD [ "/a
|
|||
ENV IDRAC_HOST local
|
||||
# ENV IDRAC_USERNAME root
|
||||
# ENV IDRAC_PASSWORD calvin
|
||||
ENV DELL_POWEREDGE_GEN_14_OR_NEWER false
|
||||
ENV FAN_SPEED 5
|
||||
ENV CPU_TEMPERATURE_THRESHOLD 50
|
||||
ENV CHECK_INTERVAL 60
|
||||
|
|
|
|||
|
|
@ -162,7 +162,6 @@ All parameters are optional as they have default values (including default iDRAC
|
|||
- `CHECK_INTERVAL` parameter is the time (in seconds) between each temperature check and potential profile change. **Default** value is 60(s).
|
||||
- `DISABLE_THIRD_PARTY_PCIE_CARD_DELL_DEFAULT_COOLING_RESPONSE` parameter is a boolean that allows to disable third-party PCIe card Dell default cooling response. **Default** value is false.
|
||||
- `KEEP_THIRD_PARTY_PCIE_CARD_COOLING_RESPONSE_STATE_ON_EXIT` parameter is a boolean that allows to keep the third-party PCIe card Dell default cooling response state upon exit. **Default** value is false, so that it resets the third-party PCIe card Dell default cooling response to Dell default.
|
||||
- `DELL_POWEREDGE_GEN_14_OR_NEWER` parameter that disabled 3rd party PCI calls and outputs CPU temperatures correctly for 14th Gen Dell servers, ex Dell r640, 740 series. Must have idrac 3.30.30.30 or older. **Default** value is false.
|
||||
|
||||
<p align="right">(<a href="#top">back to top</a>)</p>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue