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:
...
language | bash |
---|
...
1031
...
Code Block | ||
---|---|---|
| ||
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 | ||
---|---|---|
| ||
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 | ||
---|---|---|
| ||
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 | ||
---|---|---|
| ||
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 | ||
---|---|---|
| ||
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 |
...
Code Block | ||
---|---|---|
| ||
How to install OpenManage on CentOS7 and CentOS8 systems
...