[ Prev ] [ Index ] [ Next ]

sudo -i

Proxmox on DL360p Gen8

Created Friday 07 October 2022

The idea is to install proxmox on a DL360p Gen8. The problems are;

Hardware required

Prep work


labels


stick labels on all the disk caddies so that when a disk fails, you know which one it is.

Found out the hard way that disk/by-id does not user the serial number but the WWN, which stands for World Wide Name. Make sure your lable has this number instead of serial number.

Server fans too loud


If you have non HP hardware installed, then ilo software will run the fans loud. It's a known problem. There is a firmware hack that will let you tweak the temperature settings to slow down the fans to a normal speed. This YouTube explains it really well. It works but don't stuff the firmware upgrade up, as there is not coming back from a bricked ilo4.

YouTube tutorial and how to


shows how to set fan speed and power supply fans
REF: https://www.reddit.com/r/homelab/comments/di3vrk/comment/firx6op/

https://www.youtube.com/watch?v=Keyz-9HNr7Q

how to flash firmware

Tried to flash but have to switch ilo protection off to flash it.

  1. Download iLO4 2.50 CP027911.scexe We'll use this for flashing the hacked firmware
  2. Download the custom 2.73 ROM We'll swap out the original firmware in the 2.50 iLO4.
  3. Disable iLO security by way of the system maintenance switch on your motherboard, which is "switch 1 to on" REF: System maintenance switch
  4. For Ubuntu, I had to do the following:
    1. sudo modprobe -r hpilo
  5. Replace the 2.50 ROM with the 2.77 ROM and flash
sh ./CP027911.scexe --unpack=ilo_250
cd ilo_250
cp /path/to/ilo4_277.bin.fancommands ilo4_250.bin
sudo ./flash_ilo4 --direct

and now remote console works with HTML 5, which is great !!!!!!

Configuration fan commands

We want to aim for 39%, which is normal for a standard server

ssh to ilo. If no display, reset ilo with "information>>diagnostics>>reset".

fan info g

look for fan number with a star. It is the one to the left.

fan info a

for me it was the set point (sp) for sensor 11. It was set to 46deg (4600) I slowly raised it to 54 (5400) and it settled on speed of 90

fan pid 11 sp 5400

OK, so during summer on a really host day the fans went haywire so I tweaked the figures again

fan pid 11 sp 6000
fan pid 49 sp 6000


fan pid 11 sp 6000
fan pid 42 lo 10000
fan pid 40 sp 4700
fan pid 46 sp 4400
fan pid 50 sp 3800
fan pid 31 sp 5300
fan pid 49 sp 6000

The youtube said to disable it, but there was a comment about setting the target temperature.

And now I have 39% fan speed.

ilo connection timeout

ilo connection timeout can be set to infinite at Administration>> Access Settings>>Idle connection timeout (minutes)>>infinite
I disabled serial comunication timeout too, to see if this will stop loosing session display loss.

Scripts to update fans from ssh


REF: https://github.com/That-Guy-Jack/HP-ILO-Fan-Control

The disk drives are slow in HBA mode


Need to test this. I have 5 Raidz2 disks. They work ok but have freeze hiccups. I will re create with 8 drives and test. If this fails, I will switch off HBA and install normal RAID6 and just put zfs on to of that and test this way, or just dump ZFS all together, but I'm used to using it now.

update: I just did a dd test on zfs and then one on a single drive formatted as fat32. Just a single drive is way faster that raidz2 on 5 drives. I'm deffinitely going to test with just raid6. Also, it looks like ovm does work installed on top of proxmox and the zfs module works too. Just not with zfs on the rootfs. It causes problems. So will re-install proxmox using ext4 on the raid6 array. This will make it bootable again and the disk LED's will work too. I will use a small partition and then install zfs on the rest of the disk. Probably 256G as root and 256 of swap and the rest zfs.

update: removed HBA mode, created RAID6 with the 8 drives. Now we do not need a USB drive to boot and LVM2 is much faster that ZFS by a factor of 4. LVM2 is the way to go.

Ethernet 10Gb 2-port 530FLR-SFP+ Adapter

https://pci-ids.ucw.cz/read/PC/14e4/168e

Vendor 14e4 -> Device 14e4:168e

1014 0492 PCIe2 2-port 10 GbE BaseT RJ45 Adapter (FC EN0W; CCIN 2CC4)
103c 1798 Flex-10 10Gb 2-port 530FLB Adapter [Meru]
103c 17a5 Flex-10 10Gb 2-port 530M Adapter
103c 18d3 Ethernet 10Gb 2-port 530T Adapter
103c 1930 FlexFabric 10Gb 2-port 534FLR-SFP+ Adapter
103c 1931 StoreFabric CN1100R Dual Port Converged Network Adapter
103c 1932 FlexFabric 10Gb 2-port 534FLB Adapter
103c 1933 FlexFabric 10Gb 2-port 534M Adapter
103c 193a FlexFabric 10Gb 2-port 533FLR-T Adapter
103c 3382 Ethernet 10Gb 2-port 530FLR-SFP+ Adapter
103c 339d Ethernet 10Gb 2-port 530SFP+ Adapter
193d 1003 530F-B
193d 1006 530F-L
193d 100f NIC-ETH522i-Mb-2x10G

No luck with this card but I think it's just a faulty card.

Switch raid controller to hba


The boot disk to do the conversion

I used ubuntu-22.04.1-desktop-amd64.iso on a ventoy boot USB. I have the iso boot a persistent.

REF https://www.ventoy.net/en/plugin_persistence.html#:~:text=Many%20distros%20(like%20Ubuntu%2FMX,time%20you%20boot%20to%20it.

There is a trick to creating the persistent dat/bin file though so read the instructions from the


URL above "Backend Image File".

edit or create \ventoy\ventoy.json

"persistence": [
{
"image": "/ISO/ubuntu/ubuntu-20.04-desktop-amd64.iso",
"backend": [
"/persistence/ubuntu_20.04_1.dat"
],
"autosel": 1,
"timeout": 20
},
{
"image": "/ISO/ubuntu/ubuntu-22.04.1-desktop-amd64.iso",
"backend": [
"/persistence/ubuntu_22.04_1.dat"
],
"autosel": 1
}
]
}

The conversion

REF: https://forums.unraid.net/topic/82007-solved-unraid-with-hp-p420i-raid-card-in-hp-proliant-dl380p-g8/

Switch controller to IT Mode


https://forums.unraid.net/topic/82007-solved-unraid-with-hp-p420i-raid-card-in-hp-proliant-dl380p-g8/

ctrl slot=0 delete
ctrl slot=0 modify hbamode=on

Installation

Below is how to install proxmox with controller in HBA mode. This requires a USB drive to keep the boot partition. Using the disks in RAID 6 and installing LVM2 menas you don't need a USB stick. The disk array is now bootable and much fastre.

Since only USB is bootable and not the HBA disk drives. I am going to create a RAIDZ2 array with the first 6 disks. I plan to leave the other 2 for TrueNas. I will limit the ROOT rpool to 128G, which will give rpool of 512G. I will also add another partition to each of the 8 drives for swap.

So, about swap. I have read a lot about not having swap and that RAM is so cheap, why should you slow down your server by having slow swap;

Install proxmox


Post install stuff


DMAR: DRHD: handling fault status reg 2


Error on console log after boot.

REF: https://bugzilla.kernel.org/show_bug.cgi?id=202723

Fix by doing the following, add intel_iommu=igfx_off to kernel command line

NVIDIA GPU Driver


on a root terminal;

apt install nvidia-driver
ls /dev/nvidia