DELL Server Tools install Script for PVE8.x

hitman

Renowned Member
Jan 5, 2018
112
32
68
37
PVE8.x Bash Install Script for DELL dcism & idracadm8

Bash:
#!/bin/bash
echo "DELL Server Tool install for PVE8.x"

while true; do

read -p "Do you want to proceed? (yes/no) " yn

case $yn in
yes )

curl -fsSL https://linux.dell.com/repo/pgp_pubkeys/0x1285491434D8786F.asc | gpg --dearmor -o /etc/apt/trusted.gpg.d/dell-apt-key.gpg
clear

echo "
deb [signed-by=/etc/apt/trusted.gpg.d/dell-apt-key.gpg] http://linux.dell.com/repo/community/openmanage/11000/jammy jammy main
# For Proxmox 7
#deb [signed-by=/etc/apt/trusted.gpg.d/dell-apt-key.gpg] http://linux.dell.com/repo/community/openmanage/10300/focal focal main
# If you want iDRAC Service Module(iSM)
deb [signed-by=/etc/apt/trusted.gpg.d/dell-apt-key.gpg] http://linux.dell.com/repo/community/openmanage/iSM/5100/bullseye bullseye main
deb http://ftp.debian.org/debian bullseye main" > /etc/apt/sources.list.d/linux.dell.com.sources.list
clear

echo "
Package: *
Pin: release n=bullseye
Pin-Priority: -1
" > /etc/apt/preferences.d/bullseye
clear

echo "DELL Server Tools"
apt update
apt install libssl1.1
apt update
apt-get install srvadmin-idracadm8
apt-get install dcism
clear

systemctl enable dcismeng
systemctl start dcismeng

echo "Load DELL System Infos"
racadm getsysinfo
echo "Install finish :)"

break;;

no ) echo exiting...;
exit;;

* ) echo invalid response;;

esac

done
 

Attachments

hello
the script does not install the libssl1.1 and dcism packages, it says that nope it has candidates...
 
hello
the script does not install the libssl1.1 and dcism packages, it says that nope it has candidates...
he has stolen this from: https://blog.williamdes.eu/Infrastructure/tutorials/install-dell-idrac-racadm-on-proxmox-7/
to install dcism, set repo to jammy:
deb [signed-by=/etc/apt/trusted.gpg.d/dell-apt-key.gpg] http://linux.dell.com/repo/community/openmanage/iSM/5100/jammy jammy main

https://linux.dell.com/repo/community/openmanage/
https://linux.dell.com/repo/community/openmanage/iSM/5100/
 
Package 'libssl1.1' has no installation candidate
That is the problm on new proxmox, the libs are deprecated. Is there other solution?
 
See: https://blog.williamdes.eu/Infrastructure/tutorials/install-dell-idrac-racadm-on-proxmox-7/
In the "On Proxmox 8" section, I use the package from an older Debian
I'm running a Dell T440 with idrac 9. I just updated to to proxmox 8.3. I would love to the iSM working so that I can get rid of the critical warning in the front page of the idrac because it cant see the OS. From the looks of this script it has all the items you mention on your blog post except it is written for proxmox 7. Another thing I saw was that OpenManage is EOL as of 2024 and for ubuntu 24.04 it is not even listed there as well as iSM has been updated to version 5.4.0.

If I take those change I fell like the script should look like below; correct? This machine in running in production with a enterprise repo license. I dont have another dell machine to test this on. I just wanna be sure I have this correct before I run it and mess something up. So of someone doesn't mind double checking me i would really appreciate it
Bash:
#!/bin/bash
echo "DELL Server Tool install for PVE8.x"

while true; do

read -p "Do you want to proceed? (yes/no) " yn

case $yn in
yes )

curl -fsSL https://linux.dell.com/repo/pgp_pubkeys/0x1285491434D8786F.asc | gpg --dearmor -o /etc/apt/trusted.gpg.d/dell-apt-key.gpg
clear

echo "
#OpenManage is EOL 2024
#deb [signed-by=/etc/apt/trusted.gpg.d/dell-apt-key.gpg] http://linux.dell.com/repo/community/openmanage/11000/jammy jammy main
# For Proxmox 7
#deb [signed-by=/etc/apt/trusted.gpg.d/dell-apt-key.gpg] http://linux.dell.com/repo/community/openmanage/10300/focal focal main
# If you want iDRAC Service Module(iSM), updated to 5.4.0 
deb [signed-by=/etc/apt/trusted.gpg.d/dell-apt-key.gpg] http://linux.dell.com/repo/community/openmanage/iSM/5400/bullseye bullseye main
deb http://ftp.debian.org/debian bullseye main" > /etc/apt/sources.list.d/linux.dell.com.sources.list
clear

#NOT SURE IF THIS SHOULD GET REMOVED SINCE IT IS NOT USING JAMMY
echo "
Package: *
Pin: release n=bullseye
Pin-Priority: -1
" > /etc/apt/preferences.d/bullseye
clear

echo "DELL Server Tools"
apt update
apt install libssl1.1
apt update
apt-get install srvadmin-idracadm8
apt-get install dcism
clear

systemctl enable dcismeng
systemctl start dcismeng

echo "Load DELL System Infos"
racadm getsysinfo
echo "Install finish :)"

break;;

no ) echo exiting...;
exit;;

* ) echo invalid response;;

esac

done
 
I am in the middle of setting up a 3 Node Cluster and am happy to try this out while I am playing with the system.

I have 3x R740XD with iDRAC9

I would love to work with you to get this working and maybe to a point to be included in the Proxmox Helper Scripts too. I have already submitted a script request and included this thread.
 
  • Like
Reactions: williamdes
I was able to get openmanage installed on 8.3 with the help of this post. However, I am unable to connect to the server. Services show it running, tried rebooting. Firewall is off on the server.

I have tried hitting it directly with a web browser https://x.x.x.x:1311 as well as using a fat client installed on one of my windows servers to connect to it that way but no luck. Getting "unable to connect".
 
@tom1101, have you checked your firewall to make sure that port is open?
I was able to get openmanage installed on 8.3 with the help of this post. However, I am unable to connect to the server. Services show it running, tried rebooting. Firewall is off on the server.

I have tried hitting it directly with a web browser https://x.x.x.x:1311 as well as using a fat client installed on one of my windows servers to connect to it that way but no luck. Getting "unable to connect".

Have you checked your firewall to make sure that port is open?
 
DOes it still working for proxmox 9?
Not really... I never actually took the time to try this after posting my version of the script with 5.4 iSM a while back. Chatgpt and I just worked on a new script today just to install iSM since OMSA is EOL. the problem is even iSM still relies on libssl1.1 . Which is removed in bookworm/trixie in favor of libssl3.0. so while my script worked the services didnt start because the lib are not there. You can reinstall libssl1.1 if you would like, it would probably work but I'm hoping dell will release a new version of iSM (5.5) soon as there last release was about a year ago (10-15-24)


Code:
#!/usr/bin/env bash
set -euo pipefail

echo "Dell iDRAC Service Module install for Proxmox 9 (Debian 13 / trixie)"
read -rp "Proceed? (yes/no) " yn
[[ "${yn}" == "yes" ]] || { echo "Exiting..."; exit 0; }

# 1) Dell OpenManage GPG key -> dedicated keyring
install -d -m 0755 /usr/share/keyrings
curl -fsSL https://linux.dell.com/repo/pgp_pubkeys/0x1285491434D8786F.asc \
  | gpg --dearmor | tee /usr/share/keyrings/dell-openmanage.gpg >/dev/null

# 2) Deb822 source for iSM (Dell only publishes iSM 5.4 on bullseye channel today)
#    Deb822 fields: Types, URIs, Suites, Components, Signed-By, Architectures, Enabled
cat >/etc/apt/sources.list.d/dell-ism.sources <<'EOF'
Types: deb
URIs: http://linux.dell.com/repo/community/openmanage/iSM/5400/bullseye
Suites: bullseye
Components: main
Signed-By: /usr/share/keyrings/dell-openmanage.gpg
Architectures: amd64
Enabled: yes
EOF

# 3) Pin to only allow iSM packages from linux.dell.com
cat >/etc/apt/preferences.d/dell-ism <<'EOF'
Package: dcism dcism-osc
Pin: origin "linux.dell.com"
Pin-Priority: 700

Package: *
Pin: origin "linux.dell.com"
Pin-Priority: -1
EOF

# 4) Install iSM (OS Collector first, then iSM)
apt update
apt install -y dcism-osc dcism

# 5) Enable + start
systemctl enable --now dcismeng

echo
systemctl --no-pager status dcismeng || true
dpkg -l | grep -E 'dcism|dcism-osc' || true
echo
echo "Done. In iDRAC9, check Overview -> OS info / iSM status."
echo "Logs: journalctl -u dcismeng -b"

Here was the resulting output


Code:
Dell iDRAC Service Module install for Proxmox 9 (Debian 13 / trixie)
Proceed? (yes/no) yes
Get:1 https://linux.dell.com/repo/community/openmanage/iSM/5400/bullseye bullseye InRelease [2,500 B]
Hit:2 http://security.debian.org trixie-security InRelease
Get:3 https://linux.dell.com/repo/community/openmanage/iSM/5400/bullseye bullseye/main amd64 Packages [1,183 B]
Hit:4 http://ftp.us.debian.org/debian trixie InRelease                     
Get:5 http://ftp.us.debian.org/debian trixie-updates InRelease [47.3 kB]
Hit:6 https://enterprise.proxmox.com/debian/ceph-squid trixie InRelease   
Hit:7 https://enterprise.proxmox.com/debian/pve trixie InRelease
Fetched 51.0 kB in 1s (47.7 kB/s)
13 packages can be upgraded. Run 'apt list --upgradable' to see them.
The following packages were automatically installed and are no longer required:
  libpython3.11  proxmox-kernel-6.8.12-10-pve-signed  proxmox-kernel-6.8.12-11-pve-signed
Use 'apt autoremove' to remove them.

Installing:
  dcism  dcism-osc

Summary:
  Upgrading: 0, Installing: 2, Removing: 0, Not Upgrading: 13
  Download size: 12.3 MB
  Space needed: 24.6 MB / 817 GB available

Get:1 https://linux.dell.com/repo/community/openmanage/iSM/5400/bullseye bullseye/main amd64 dcism-osc amd64 7.4.0.0 [8,685 kB]
Get:2 https://linux.dell.com/repo/community/openmanage/iSM/5400/bullseye bullseye/main amd64 dcism amd64 5.4.0.0-3646.debian11 [3,567 kB]
Fetched 12.3 MB in 1s (20.3 MB/s)
Selecting previously unselected package dcism-osc.
(Reading database ... 88522 files and directories currently installed.)
Preparing to unpack .../dcism-osc_7.4.0.0_amd64.deb ...
Unpacking dcism-osc (7.4.0.0) ...
Selecting previously unselected package dcism.
Preparing to unpack .../dcism_5.4.0.0-3646.debian11_amd64.deb ...
Unpacking dcism (5.4.0.0-3646.debian11) ...
Setting up dcism-osc (7.4.0.0) ...
Setting up dcism (5.4.0.0-3646.debian11) ...
Created symlink '/etc/systemd/system/multi-user.target.wants/dcismeng.service' → '/usr/lib/systemd/system/dcismeng.service'.
/opt/dell/srvadmin/iSM/bin/Invoke-iSMPKIHelper: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
/var/lib/dpkg/info/dcism.postinst: line 185: [: -eq: unary operator expected
/opt/dell/srvadmin/iSM/bin/Invoke-iSMPKIHelper: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
/var/lib/dpkg/info/dcism.postinst: line 233: [: -eq: unary operator expected
/opt/dell/srvadmin/iSM/lib64/dcism/ismmutlogger: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory

○ dcismeng.service - iDRAC Service Module
     Loaded: loaded (/usr/lib/systemd/system/dcismeng.service; enabled; preset: enabled)
     Active: inactive (dead) since Mon 2025-09-15 11:06:11 CDT; 10ms ago
 Invocation: 17d7d79c30a24bd49006d1d123e41817
    Process: 1235814 ExecStartPre=/opt/dell/srvadmin/iSM/bin/ism-get-package.sh (code=exited, status=0/SUCCESS)
    Process: 1235820 ExecStart=/opt/dell/srvadmin/iSM/sbin/dsm_ism_srvmgrd (code=exited, status=127)
   Mem peak: 3M
        CPU: 12ms

Sep 15 11:06:11 HOSTNAME systemd[1]: Starting dcismeng.service - iDRAC Service Module...
Sep 15 11:06:11 HOSTNAME dsm_ism_srvmgrd[1235820]: /opt/dell/srvadmin/iSM/sbin/dsm_ism_srvmgrd: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory
Sep 15 11:06:11 HOSTNAME systemd[1]: dcismeng.service: Deactivated successfully.
Sep 15 11:06:11 HOSTNAME systemd[1]: Started dcismeng.service - iDRAC Service Module.
ii  dcism                                5.4.0.0-3646.debian11                amd64        iDRAC Service Module (iSM) is a lightweight piece of software that runs on the Server and complements iDRAC with monitoring information from the OS. Installing the iDRAC Service Module is optional, though highly recommended. The Service Module does not expose any new interfaces of its own, rather it complements iDRAC with additional data that users can work with using iDRAC consoles such as the GUI, RACADM and WSMAN. Features monitored by the Service Module can individually be enabled/disabled to achieve a fine level of control in terms of resources consumed on the Server OS, and the unique integration needs of a customer environment.
ii  dcism-osc                            7.4.0.0                              amd64        Dell iDRAC Service Module OS COLLECTOR is an integral component of the PowerEdge Embedded SupportAssist solution. OS COLLECTOR is designed to supplement the iDRAC hardware state and configuration data with the host's operating system state & configuration information data as well as the system event logs. The purpose of Embedded SupportAssist is to enable serviceability on the box without the need to install or configure additional software on the customers' host.

Done. In iDRAC9, check Overview -> OS info / iSM status.
Logs: journalctl -u dcismeng -b
 
Last edited: