Skip to content

Instantly share code, notes, and snippets.

@bmatthewshea
Last active March 31, 2025 20:33
Show Gist options
  • Save bmatthewshea/e5fb4b387441c60456725e8f129e4f40 to your computer and use it in GitHub Desktop.
Save bmatthewshea/e5fb4b387441c60456725e8f129e4f40 to your computer and use it in GitHub Desktop.
OMSA Installer Script for Generation 11 Dell Server (R210 - R710) (Debian/Ubuntu)
#!/bin/bash
# Compilation script by: Brady Shea 31Mar2025
# Dell OpenManage Server Administrator (OMSA) Installer for Generation 11 Dell Servers (for Debian/Ubuntu)
# This script worked and was tested on Debian Bookworm (12.10) with Proxmox 8.3.5 running on a R710 Dell server.
#
# OMSA is needed on Generation 11 Dell Servers to adjust RAID arrays.
# OMSA can be difficult to install - especially under a Debian/Proxmox setup.
# This script should help you get it installed.
#
# OMSA Information and End-of-Life message:
# https://www.dell.com/support/kbdoc/en-us/000132087/support-for-dell-emc-openmanage-server-administrator-omsa
# https://www.dell.com/community/en/conversations/poweredge-hardware-general/openmanage-enterprise-11g-servers/647f8580f4ccf8a8de465612
#
# If you have issues, consulting this may help:
# https://www.reddit.com/r/Proxmox/comments/zdiu4o/dell_omsa_on_proxmox_73/
# https://forum.proxmox.com/threads/dell-openmanage-on-proxmox-6-x.57932/
# Instructions:
# Run as root (run `sudo su` or login as root)
# Add Dell repo to APT - use the last OMSA version (v11.1.0.0) - which happens to be the Jammy/22.04 Ubuntu version.
# Read here for more: https://linux.dell.com/repo/community/openmanage/
echo "deb http://linux.dell.com/repo/community/openmanage/11100/jammy jammy main" > /etc/apt/sources.list.d/linux.dell.com.sources.list
wget -qO - https://linux.dell.com/repo/pgp_pubkeys/0x1285491434D8786F.asc | apt-key add -
apt update
# Create a folder to hold repo downloads below. Safe to delete when done, but you may want to keep this around.
mkdir ~/omsa_install && cd ~/omsa_install
# Deps for next group of deps:
wget https://archive.debian.org/debian/pool/main/o/openslp-dfsg/libslp1_1.2.1-10+deb8u1_amd64.deb
wget https://archive.debian.org/debian/pool/main/o/openssl/libssl1.1_1.1.1n-0+deb10u3_amd64.deb
# Install them:
dpkg -i libssl1.1_1.1.1n-0+deb10u3_amd64.deb
dpkg -i libslp1_1.2.1-10+deb8u1_amd64.deb
# Main group of deps:
wget -c http://archive.ubuntu.com/ubuntu/pool/universe/o/openwsman/libwsman-curl-client-transport1_2.6.5-0ubuntu3_amd64.deb
wget -c http://archive.ubuntu.com/ubuntu/pool/universe/o/openwsman/libwsman-client4_2.6.5-0ubuntu3_amd64.deb
wget -c http://archive.ubuntu.com/ubuntu/pool/universe/o/openwsman/libwsman1_2.6.5-0ubuntu3_amd64.deb
wget -c http://archive.ubuntu.com/ubuntu/pool/universe/o/openwsman/libwsman-server1_2.6.5-0ubuntu3_amd64.deb
wget -c http://archive.ubuntu.com/ubuntu/pool/universe/s/sblim-sfcc/libcimcclient0_2.2.8-0ubuntu2_amd64.deb
wget -c http://archive.ubuntu.com/ubuntu/pool/universe/o/openwsman/openwsman_2.6.5-0ubuntu3_amd64.deb
wget -c http://archive.ubuntu.com/ubuntu/pool/multiverse/c/cim-schema/cim-schema_2.48.0-0ubuntu1_all.deb
wget -c http://archive.ubuntu.com/ubuntu/pool/universe/s/sblim-sfc-common/libsfcutil0_1.0.1-0ubuntu4_amd64.deb
wget -c http://archive.ubuntu.com/ubuntu/pool/multiverse/s/sblim-sfcb/sfcb_1.4.9-0ubuntu5_amd64.deb
wget -c http://archive.ubuntu.com/ubuntu/pool/universe/s/sblim-cmpi-devel/libcmpicppimpl0_2.0.3-0ubuntu2_amd64.deb
# Install them:
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
# Re-update APT:
apt update
# And finally: Install the meta package:
apt install srvadmin-all
touch /opt/dell/srvadmin/lib64/openmanage/IGNORE_GENERATION
# Optional - remove the warning from 'Non-Dell Certifed' equipment like hard drives:
# Change "NonDellCertifiedFlag=yes" to "NonDellCertifiedFlag=no" in referenced file:
# sed -i 's/NonDellCertifiedFlag=yes/NonDellCertifiedFlag=no/' /opt/dell/srvadmin/etc/srvadmin-storage/stsvc.ini
# Start srvadmin services
/opt/dell/srvadmin/sbin/srvadmin-services.sh enable && /opt/dell/srvadmin/sbin/srvadmin-services.sh start
# Start webserver
service dsm_om_connsvc start
# Cleanup - Optional - you may want to keep the downloads.
# rm -rf ~/omsa_install
# Exit with completion message:
echo -e "\n\nScript Completed. Check for errors above.\n\nAccess the web gui to test at:\nhttps://x.x.x.x:1311/"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment