You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

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


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

yum -y install srvadmin-all net-snmp OpenIPMI libxslt

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

yum -y install dell-system-update

Replace tomcat port from 1311 to 1031:

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


Setup smtp server:


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

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

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:

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

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:

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


Install latest repo


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

yum -y install srvadmin-all net-snmp OpenIPMI libxslt

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

yum -y install dell-system-update

Replace tomcat port from 1311 to 1031:

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


Setup smtp server:


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

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

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:

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

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:

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




  • No labels