************************************************************************** * Warning: * These instructions and sample scripts are provided as-is, no * warranty, in hopes that they will be useful to you. Dell has not * tested these for reliability, and Dell Tech Support cannot answer * questions regarding them. That said, we hope they work for you. ************************************************************************** There are several differences between Red Hat Linux and Debian that required modifying the Dell OpenManage agents package to work with Debian. The major issue is that Red Hat uses the .rpm package format, and Debian has their own format (.deb). I found a Debian utility, alien, that allows conversion between different package formats. Another issue is that the some of the directory structure and config files on Debian are different than Red Hat. This involved changing several scripts to reflect the correct directories and utilities. I also had to convert the .rpm's for the UCD- SNMP package to .deb format, as I was unable to get the ucd- snmp package for Debian to work properly with the Dell agents. I have developed some scripts that will (mostly) autoconvert the .rpms and scripts to work with Debian. The scripts still may need some hand massaging to get working properly after the conversion. Basic steps were: 1) Copy the .rpms from the OpenManage CD to a directory. You will need the following .rpms: dellomsa-drivers-xxxx.rpm dellomsa-xxxx.rpm ucd-snmp-4.1.2-8smux.i386.rpm (may need an old OpenManage CD for this) 2) use the alien utility to convert .rpm's to .deb (use -c to convert scripts) alien -c dellomsa-xxx.rpm alien -c dellomsa-drivers-xxx.rpm alien -c ucd-snmp-4.1.2-8smux.i386.rpm 3) Extract packages+control files dpkg -x ucd-snmp_xxx.deb build/ucdsnmp dpkg -x dellomsa_xxx.deb build/omsa dpkg -x dellomsa-drivers_xxx.deb build/drivers dpkg -e ucd-snmp_xxx.deb build/ucdsnmp/DEBIAN dpkg -e dellomsa_xxx.deb build/omsa/DEBIAN dpkg -e dellomsa-drivers_xxx.deb build/drivers/DEBIAN 4) Run script fixes: getchkcfg build/ucdsnmp/etc/rc.d/init.d/snmpd fixscript build/ucdsnmp/DEBIAN/conffiles fixscript build/ucdsnmp/DEBIAN/postinst fixscript build/ucdsnmp/DEBIAN/prerm fixscript build/ucdsnmp/DEBIAN/postrm getchkcfg build/omsa/usr/lib/dell/openmanage/omsa/bin/dellomsa fixscript build/omsa/DEBIAN/preinst fixscript build/omsa/DEBIAN/postinst fixscript build/omsa/DEBIAN/prerm fixscript build/omsa/DEBIAN/postrm getchkcfg build/drivers/usr/lib/dell/openmanage/omsa/bin/dellomsaesm fixscript build/drivers/DEBIAN/preinst fixscript build/drivers/DEBIAN/postinst fixscript build/drivers/DEBIAN/prerm fixscript build/drivers/DEBIAN/postrm 5) May need to edit some files by hand: 6) rebuild md5sums file makesum ./build/omsa makesum ./build/drivers makesum ./build/ucdsnmp 7) Rebuild .deb files dpkg --build build/ucdsnmp ucd-snmp_xxxx.deb dpkg --build build/omsa dellomsa_xxx.deb dpkg --build build/drivers dellomsa-drivers_xxx.deb Red Hat Debian equivalent Script changes: daemon [] start-stop-daemon --start --exec [-- ] killproc start-stop-daemon --stop --exec success echo -ne "\t[OK]\n" failure echo -ne "\t[FAILED]\n" echo_success echo -ne "\t[OK]\n" echo_failure echo -ne "\t[FAILED]\n" /etc/(rc.d/)init.d/functions # comment out # Runlevels are extracted from /etc/init.d/ /sbin/chkconfig --add update-rc.d start . stop . /sbin/chkconfig --del update-rc.d -f remove # Arguments passed to scripts preinst $1=0, upgrade, else install upgrade, install postinst $1=0, upgrade, else install upgrade, install prerm $1=0, erase, else upgrade erase, upgrade postrm $1=0, erase, else upgrade erase, upgrade Directory differences: /etc/rc.d/init.d /etc/init.d /etc/rc.d/rc0.d /etc/rc0.d