Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This guide explains how to install OpenManage on CentOS7 and CentOS8 systems

...

How to install OpenManage on AlmaLinux9 systems

The following instructions are integrated in the script that could be found at: cld-foreman:/root/repo/dell-om-install-<versione_date>.sh Please update it accordingly in the event that the instructions need to be revised


Install latest repo


Code Block
languagebash
yum -y install perl
wget -q -O script.sh http://linux.dell.com/repo/hardware/dsu/bootstrap.cgi
sh script.sh


We now install the srvadmin-all metapackage alongside with dependencies and other needed packages

Code Block
languagebash
yum -y install srvadmin-all net-snmp OpenIPMI libxslt

If you want to install the Dell System Update, use the following command:

Code Block
languagebash
yum -y install dell-system-update

Replace tomcat port from 1311 to 1031:

Code Block
languagebash
cd /opt/dell/srvadmin/lib64/openmanage/apache-tomcat/conf/
sed -i 's/port=\"1311\"/port=\"1031\"/' server.xml


Setup smtp server:


Code Block
languagebash
cd /opt/dell/srvadmin/etc/openmanage/oma/ini/
grep "preferences.system.smtp" oma.properties
if [ $? -eq 0 ]; then
   sed -i 's/^preferences.system.smtp=.*/preferences.system.smtp=smtp.pd.infn.it/' oma.properties
else
   echo "preferences.system.smtp=smtp.pd.infn.it" >> oma.properties
fi



Setup DNS suffix

Code Block
languagebash
cd /opt/dell/srvadmin/etc/openmanage/oma/ini/
grep "preferences.system.dnssuffix" oma.properties
if [ $? -eq 0 ]; then
   sed -i 's/^preferences.system.dnssuffix=.*/preferences.system.dnssuffix=pd.infn.it/' oma.properties
else
   echo "preferences.system.dnssuffix=pd.infn.it" >> oma.properties
fi



Setup snmp daemon

Code Block
languagebash
sed -i.ORIG 's/^syslocation .*/syslocation Sala CED @ DFA Padova/' /etc/snmp/snmpd.conf
echo "# Allow Systems Management Data Engine SNMP to connect to snmpd using SMUX" >> /etc/snmp/snmpd.conf
echo "smuxpeer .1.3.6.1.4.1.674.10892.1" >> /etc/snmp/snmpd.conf
echo "view all included .1" >> /etc/snmp/snmpd.conf


we must override this previous access rule:

Code Block
languagebash
grep -e '^access.*notConfigGroup' /etc/snmp/snmpd.conf
if [ $? -eq 0 ]; then
   sed -i 's/^access.*notConfigGroup/#access.*notConfigGroup/' /etc/snmp/snmpd.conf
fi
echo "access notConfigGroup \"\" any noauth exact all none none" >> /etc/snmp/snmpd.conf



Enable and fire up the needed services

Code Block
languagebash
systemctl start ipmi
systemctl start snmpd
systemctl enable ipmi
systemctl enable snmpd
/opt/dell/srvadmin/sbin/srvadmin-services.sh enable
/opt/dell/srvadmin/sbin/srvadmin-services.sh enable dsm_sa_snmpd
/etc/init.d/dataeng enablesnmp
/opt/dell/srvadmin/sbin/srvadmin-services.sh start


Finally open needed ports on client firewall:

Code Block
languagebash
while read i
do
  firewall-cmd --add-port=${i}
  firewall-cmd --permanent --add-port=${i}
done << EOF
8649/tcp
1031/tcp
161/udp
EOF

How to install OpenManage on CentOS7 and CentOS8 systems


The following instructions are integrated in the script that could be found at: cld-foreman:/root/repo/dell-om-install-<versione_date>.sh Please update it accordingly in the event that the instructions need to be revised

...