Quantcast
Channel: Systems Management - Wiki
Viewing all articles
Browse latest Browse all 335

Install and Configure OMSA on ESX

$
0
0
Current Revision posted to Systems Management - Wiki by DELL-Deepak K on 8/24/2016 11:37:15 AM

Here's a script that will install and configure the Dell™ OpenManage Server Administrator (OMSA) agent on VMware ESX 4.x It will also configure the SNMP settings and open the default ports in the firewall to allow communication.

This page covers OMSA support for EX 4.x - for OpenManage support for VMware ESXi 5, please visit
OpenManage Support for VMware ESXi 5.0

The current version as of January 2011 is 6.4
- OpenManage Server Administrator Managed Node for ESX 4.1
- OpenManage Server Administrator Managed Node for ESX 4.0



The current version as of 11/2010 is 6.3 :
- Download for ESX 4.0


You can also search ftp.dell.com/sysman for the latest

If you've never installed OMSA on ESX, don't start with this script! Read the documentation first: "Installing Dell OpenManage in a VMware ESX Server Software Environment <ADMIN NOTE: Broken link has been removed from this post by Dell>. After you have a grasp of the steps necessary, you can use this script as a stand-alone, or integrate it as part of your standard installation procedures.

Script to Install OMSA on ESX

# scott_hanson@dell.com - www.delltechcenter.com
#
# Script to install OMSA on ESX 4.x, configure firewall, and snmp settings
#
# PreReq : OMSA tar from support.dell.com, as of 8-6-2009 the latest is the
# one listed below in the OMSA_TAR variable.
#
# Create a working directory (WD) and copy this script and
# the tarball there, then execute the script.
#
# WARNING : If you've never installed OMSA on ESX, DON'T start with
# this script. Walk before you run, read the DOCS
#


# Some variables you might like to change
WD=/root/om63
OMSA_TAR=OM-SrvAdmin-Dell-Web-LX-6.3.0-2075.ESX40.i386_A00.11.tar.gz
COMMUNITY_NAME=public
SNMP_TRAP_DEST=192.168.50.118


# Creating working directory and untar OMSA
mkdir $WD/working
cd $WD/working
tar -zxvf $WD/$OMSA_TAR

# Installing and starting OMSA
# NOTE: With ver 6.1 the "b" option changed to the "d" option
#
# x = express - Install all components
# d = Dell Agent
# w = web interface
# r = DRAC services
# s = storage management

echo '*** Installing and starting OMSA Agent ***'
$WD/working/linux/supportscripts/srvadmin-install.sh -x
$WD/working/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 $COMMUNITY_NAME/g" /etc/snmp/snmpd.conf

sed -i "s/trapcommunity.*/trapcommunity $COMMUNITY_NAME/g" /etc/snmp/snmpd.conf
sed -i "s/trapsink.*/trapsink $SNMP_TRAP_DEST/g" /etc/snmp/snmpd.conf
service snmpd restart


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


# Cleanup
echo '*** Removing working files and directory ***'
rm -rf $WD/working
echo '*** OMSA installation and configuration complete ***'


Viewing all articles
Browse latest Browse all 335

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>