Versions Compared

Key

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

This guide explains how to install OpenManage on CentOS7 systems

...

, CentOS8-Stream and AlmaLinux9 systems


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


Enable crb repo (this should be needed only on AlmaLinux9):



Code Block
languagebash
yum install yum-utils

/usr/bin/yum-config-manager --enable crb

yum clean all



Install latest repo


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


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

...

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


Edit
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


Edit
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


Edit
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


Content by Label
showLabelsfalse
max5
spacesCV
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel = "openmanage" and type = "page" and space = "CV"
labelsOpenManage

Related issues
Page properties
hiddentrue