Installing Dell Openmanage 6.3 on vSphere 4

NB – note that there are different installation packages for ESX4 & ESX 4.1

The below script can be used to install dell openmanage 6.3 on vSphere4. You will need to run this from the console.

# Script to install Dellopman v6.3, configure firewall and set SNMP on vSphere 4
# AE 26/11/10
#
# Replace X.X.X.X with SNMP Trap IP
#
# copy openmanage tar to localhost storage. Open putty connection and change to that dir.

mkdir /root/OM63
cp *.* /root/OM63
cd /root/OM63
tar -zxvf *.*

echo '*** Installing and starting OMSA Agent ***'
/root/OM63/linux/supportscripts/srvadmin-install.sh -x
/root/OM63/linux/supportscripts/srvadmin-services.sh restart

# Open port in firewall for OMSA web interface
echo '*** Opening port 1311 for OMSA web interface ***'
esxcfg-firewall -o 1311,tcp,in,OpenManageRequest

# Configuration of snmp settings
echo '*** Configuring snmp and restarting snmp service ***'
cp /etc/snmp/snmpd.conf /etc/snmp/snmpd.BACKUP
sed -i "s/rocommunity.*/rocommunity public /g" /etc/snmp/snmpd.conf
sed -i "s/trapcommunity.*/trapcommunity public /g" /etc/snmp/snmpd.conf
sed -i "s/trapsink.*/trapsink X.X.X.X /g" /etc/snmp/snmpd.conf
service snmpd restart
chkconfig snmpd on

# Configuration of firewall for snmp
echo '*** Configuring firewall to allow snmp traffic ***'
esxcfg-firewall -e snmpd

Leave a Reply

Your email address will not be published. Required fields are marked *