Update README.md

This commit is contained in:
That-Guy-Jack 2020-10-23 19:50:57 +01:00 committed by GitHub
parent 5a4022c1d6
commit fc4e37e2d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,53 +11,26 @@ all you need to run is the commands below.
1. Switch Ilo into Maintainance mode. On the Dl360p Gen8 This is located near the backplane conectors on the motherboard. (images in the images file) then reboot. 1. Switch Ilo into Maintainance mode. On the Dl360p Gen8 This is located near the backplane conectors on the motherboard. (images in the images file) then reboot.
2. Download and copy to you server the ilo_250 Folder 2. Download the install.sh script and Run it this will download all required files and pre moves installs the autofan.service and downloads the autofan.sh ready to be edited. if You are more advanced you can install everything sperately.
3. Then run These commands: (on non root users you may need to add sudo to these command) 3. Then run The prep.sh in the ilo_250 folder ( cd /ilo_250 ) if this errors it may be beacuse the ilo isnt it maintainace (on non root users you may need to add sudo to this command)
> >
/etc/init.d/hp-ams stop
/etc/init.d/hp-health stop
/etc/init.d/hp-snmp-agents stop
rmmod hpilo
modprobe -r hpilo
cd ilo_250
./flash_ilo4 --direct (also When Flashing the Fans may spin up to near 100% so be prepared) ./flash_ilo4 --direct (also When Flashing the Fans may spin up to near 100% so be prepared)
4. Once the flash has completed shudown your system and unplug it. Make sure to Switch the ilo back out of maintainance mode.
5. Create a file called autofan.service in /etc/systemd/system/ and copy this code: 4. Once the flash has completed shudown your system and unplug it. Make sure to Switch the ilo back out of maintainance mode.
> 5. Configure The autofan.sh in the / directory. Replace all YOURPASSWORD, YOURUSERNAME and YOURILOIP with the correct info. Once done save and exit.
[Unit]
Description=Fan Speed Controler using autofan.sh
[Service] 7. Run systemctl daemon-reload and systemctl start autofan to activate the scripts
Restart=always
RestartSec=10s
ExecStart=/bin/bash /autofan.sh
6. Copy the Autofan.sh to the / directory
7. Run systemctl daemon-reload and systemctl start autofan
8. Create a corontab command to start the systemd service on startup: @reboot systemctl start autofan 8. Create a corontab command to start the systemd service on startup: @reboot systemctl start autofan
9. enjoy silence : ) and if thats to fast or slow edit the autofan.sh to your needs. 9. enjoy silence : ) and if thats to fast or slow edit the autofan.sh to your needs.
### To-do ### To-do
- [ ] Create a Script to Install and Create fan control scripts - [x] Create a Script to Install and Create fan control scripts
- [ ] Allow easier input of ILO pramaters - [ ] Allow easier input of ILO pramaters
### Links and other stuff ### Links and other stuff