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

...

, CentOS8 and 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

...

Replace tomcat port from 1311 to 1031:

...

languagebash

...

1031

...

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

...

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

...

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

...

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

...

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

How to install OpenManage on CentOS7 and CentOS8 systems

...