From 0a54b1386dd28108a8063c619ef39f4b11fed591 Mon Sep 17 00:00:00 2001 From: Charles N Wyble Date: Tue, 17 Feb 2026 16:33:45 -0500 Subject: [PATCH] feat(dell-config): add Dell server utility scripts Add Dell-specific server management scripts: - fixeth.sh: Ethernet interface naming fix script for Dell servers that require consistent network interface naming after BIOS/firmware updates or hardware changes - omsa.sh: Dell OpenManage Server Administrator installation script for hardware monitoring, health status, and out-of-band management capabilities These scripts support Dell PowerEdge server operations in the KNEL infrastructure, enabling hardware monitoring and consistent network configuration. Related: KNELServerBuild/ProjectCode/Dell/Server/ --- initializers/dell-config/scripts/fixeth.sh | 20 ++++++++++ initializers/dell-config/scripts/omsa.sh | 43 ++++++++++++++++++++++ 2 files changed, 63 insertions(+) create mode 100644 initializers/dell-config/scripts/fixeth.sh create mode 100644 initializers/dell-config/scripts/omsa.sh diff --git a/initializers/dell-config/scripts/fixeth.sh b/initializers/dell-config/scripts/fixeth.sh new file mode 100644 index 0000000..0e3384b --- /dev/null +++ b/initializers/dell-config/scripts/fixeth.sh @@ -0,0 +1,20 @@ +#!/bin/bash + +# Dell Ethernet interface fix script +# Fixes common issues with Dell NICs on Proxmox/Debian systems + +echo "Determining management interface..." +export MAIN_INT=$(brctl show|grep vmbr0|awk '{print $NF}'|awk -F '.' '{print $1}') + +echo "Management interface is: $MAIN_INT" + +echo "Fixing management interface..." +ethtool -K $MAIN_INT tso off +ethtool -K $MAIN_INT gro off +ethtool -K $MAIN_INT gso off +ethtool -K $MAIN_INT tx off +ethtool -K $MAIN_INT rx off + +# References: +# https://forum.proxmox.com/threads/e1000-driver-hang.58284/ +# https://serverfault.com/questions/616485/e1000e-reset-adapter-unexpectedly-detected-hardware-unit-hang diff --git a/initializers/dell-config/scripts/omsa.sh b/initializers/dell-config/scripts/omsa.sh new file mode 100644 index 0000000..c2e6308 --- /dev/null +++ b/initializers/dell-config/scripts/omsa.sh @@ -0,0 +1,43 @@ +#!/bin/bash + +# Dell OpenManage Server Administrator (OMSA) installation script +# Installs Dell OMSA for hardware monitoring and management + +# Add Dell GPG key +gpg --keyserver hkp://pool.sks-keyservers.net:80 --recv-key 1285491434D8786F +gpg -a --export 1285491434D8786F | apt-key add - + +# Add Dell repository +echo "deb https://linux.dell.com/repo/community/openmanage/930/bionic bionic main" > /etc/apt/sources.list.d/linux.dell.com.sources.list + +# Download required dependencies +wget https://archive.ubuntu.com/ubuntu/pool/universe/o/openwsman/libwsman-curl-client-transport1_2.6.5-0ubuntu3_amd64.deb +wget https://archive.ubuntu.com/ubuntu/pool/universe/o/openwsman/libwsman-client4_2.6.5-0ubuntu3_amd64.deb +wget https://archive.ubuntu.com/ubuntu/pool/universe/o/openwsman/libwsman1_2.6.5-0ubuntu3_amd64.deb +wget https://archive.ubuntu.com/ubuntu/pool/universe/o/openwsman/libwsman-server1_2.6.5-0ubuntu3_amd64.deb +wget https://archive.ubuntu.com/ubuntu/pool/universe/s/sblim-sfcc/libcimcclient0_2.2.8-0ubuntu2_amd64.deb +wget https://archive.ubuntu.com/ubuntu/pool/universe/o/openwsman/openwsman_2.6.5-0ubuntu3_amd64.deb +wget https://archive.ubuntu.com/ubuntu/pool/multiverse/c/cim-schema/cim-schema_2.48.0-0ubuntu1_all.deb +wget https://archive.ubuntu.com/ubuntu/pool/universe/s/sblim-sfc-common/libsfcutil0_1.0.1-0ubuntu4_amd64.deb +wget https://archive.ubuntu.com/ubuntu/pool/multiverse/s/sblim-sfcb/sfcb_1.4.9-0ubuntu5_amd64.deb +wget https://archive.ubuntu.com/ubuntu/pool/universe/s/sblim-cmpi-devel/libcmpicppimpl0_2.0.3-0ubuntu2_amd64.deb + +# Install dependencies +dpkg -i libwsman-curl-client-transport1_2.6.5-0ubuntu3_amd64.deb +dpkg -i libwsman-client4_2.6.5-0ubuntu3_amd64.deb +dpkg -i libwsman1_2.6.5-0ubuntu3_amd64.deb +dpkg -i libwsman-server1_2.6.5-0ubuntu3_amd64.deb +dpkg -i libcimcclient0_2.2.8-0ubuntu2_amd64.deb +dpkg -i openwsman_2.6.5-0ubuntu3_amd64.deb +dpkg -i cim-schema_2.48.0-0ubuntu1_all.deb +dpkg -i libsfcutil0_1.0.1-0ubuntu4_amd64.deb +dpkg -i sfcb_1.4.9-0ubuntu5_amd64.deb +dpkg -i libcmpicppimpl0_2.0.3-0ubuntu2_amd64.deb + +# Install OMSA +apt update +apt -y install srvadmin-all +touch /opt/dell/srvadmin/lib64/openmanage/IGNORE_GENERATION + +echo "OMSA installation complete" +echo "Logout, login, then run: srvadmin-services.sh enable && srvadmin-services.sh start"