AF:
NF:0
PS:10
SRH:1
SFN:
DSR:
MID:<20090415155928.7090f8d2@ripper.onstor.net>
CFG:
PT:0
S:andy.sharp@onstor.com
RQ:
SSV:mail.onstor.net
NSV:
SSH:
R:<patrick.haverty@onstor.com>,<brian.stark@onstor.com>,<rendell.fong@onstor.com>,<John.Keiffer@onstor.com>
MAID:1
X-Sylpheed-Privacy-System:
X-Sylpheed-Sign:0
SCF:#mh/Mailbox/sent
RMID:#imap/andys@onstor.net@exch1.onstor.net/INBOX	0	102AB4F33EBBDB4C91915B145C8E9FB31284F9B533@exch1.onstor.net
X-Sylpheed-End-Special-Headers: 1
Date: Wed, 15 Apr 2009 16:00:09 -0700
From: Andrew Sharp <andy.sharp@onstor.com>
To: Patrick Haverty <patrick.haverty@onstor.com>
Cc: Brian Stark <brian.stark@onstor.com>, Rendell Fong
 <rendell.fong@onstor.com>, John Keiffer <John.Keiffer@onstor.com>
Subject: Re: Dell Openmanage IT Assistant and SNMP Messages
Message-ID: <20090415160009.7174613d@ripper.onstor.net>
In-Reply-To: <102AB4F33EBBDB4C91915B145C8E9FB31284F9B533@exch1.onstor.net>
References: <20090415155045.4c74911c@ripper.onstor.net>
	<102AB4F33EBBDB4C91915B145C8E9FB31284F9B533@exch1.onstor.net>
Organization: Onstor
X-Mailer: Sylpheed-Claws 2.6.0 (GTK+ 2.8.20; x86_64-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

On Wed, 15 Apr 2009 15:53:53 -0700 Patrick Haverty
<patrick.haverty@onstor.com> wrote:

> Yes, if you go to sourceforge.net and search for ipmitool you can get it.  I've already uncompressed it into the directory  ~/ipmitool/ipmitool-1.8.11 on Leopard-4.  10.11.1.216 root/onstor.
> 

Aiee, you have no C compiler on your system?!?  That will take a little
longer ~:^)

> -----Original Message-----
> From: Andy Sharp 
> Sent: Wednesday, April 15, 2009 3:51 PM
> To: Brian Stark
> Cc: Patrick Haverty; Rendell Fong; John Keiffer
> Subject: Re: Dell Openmanage IT Assistant and SNMP Messages
> 
> On Wed, 15 Apr 2009 15:42:06 -0700 Brian Stark <brian.stark@onstor.com>
> wrote:
> 
> > For now, can you (meaning Andy) login to this Leopard system and install ipmitool?  Pat will then see what that tool is all about.  We hardware guys have no idea how to install these packages even though you said it was trivial...
> > 
> 
> Hm, I may have spoken too soon.  I don't seem to get any content in the packages, just some sort of description/header, possibly an opensolaris specific thing that my dumb browser doesn't understand.
> 
> Pat, did you say you had the file itself?  Or the tarball or something?
> 
> 
> > -----Original Message-----
> > From: Andy Sharp
> > Sent: Wednesday, April 15, 2009 3:40 PM
> > To: Patrick Haverty
> > Cc: Brian Stark; Rendell Fong; John Keiffer
> > Subject: Re: Dell Openmanage IT Assistant and SNMP Messages
> > 
> > On Wed, 15 Apr 2009 15:31:59 -0700 Patrick Haverty 
> > <patrick.haverty@onstor.com> wrote:
> > 
> > > The untarred ipmitool stuff is in:
> > > 
> > > root@Leopard-4:~/ipmitool/ipmitool-1.8.11#
> > > 
> > > If someone can make it install.
> > 
> > And by someone, I think you mean <clueless> me. ~:^)  Yes, I can track 
> > down the packages and eventually figure out how to make it all work.
> > Will take time; hopefully Dmitry can give us some useful clues.
> > 
> > > -----Original Message-----
> > > From: Brian Stark
> > > Sent: Wednesday, April 15, 2009 3:29 PM
> > > To: Andy Sharp
> > > Cc: Patrick Haverty; Rendell Fong; John Keiffer
> > > Subject: RE: Dell Openmanage IT Assistant and SNMP Messages
> > > 
> > > I assume that the packages can be installed on top of what we have.  The email would be sent to whatever the user wants.  Much like we do autosupport today.
> > > 
> > > I'm also not clear on how FMA is supposed to work, particularly from the configuration standpoint.  I'm going to ping Dmitry on that.
> > > 
> > > 
> > > -----Original Message-----
> > > From: Andy Sharp
> > > Sent: Wednesday, April 15, 2009 3:26 PM
> > > To: Brian Stark
> > > Cc: Patrick Haverty; Rendell Fong; John Keiffer
> > > Subject: Re: Dell Openmanage IT Assistant and SNMP Messages
> > > 
> > > Sorry, but nothing in here is news.  If we only had {ipmitool,snmptrap,*} ....
> > > 
> > > Yes, we could query the log file, but then where would we send the email messages to?  Possibly there is a way to extract or scrape that information from the nexenta world; might be worth looking into.
> > > 
> > > The fma stuff might be a way to get fma/nexenta to do that for us, however I haven't had a chance to look into that far enough to tell.
> > > 
> > > 
> > > 
> > > On Wed, 15 Apr 2009 15:08:54 -0700 Brian Stark 
> > > <brian.stark@onstor.com>
> > > wrote:
> > > 
> > > > I came across the attached whitepaper on the Dell site.
> > > > 
> > > > This seems to provide a very good framework for doing what we want with respect to event notification.
> > > > 
> > > > Pat tried doing the 'ipmitool' command, but it doesn't appear to be there in our version of Nexenta / Solaris.  If we can get support for that command, we can then use that to query the BMC for server events.  
> > > > 
> > > > Andy or Rendell, can you help with this?  It may involve installing ipmitool from Solaris 10 into our version.
> > > > 
> > > > For the JBOD, we could periodically query the syslog and then generate an SNMP alert or email.  The .pdf shows how we'd do the alert or email.
> > > > 
> > > > The .pdf also shows an example script that could be run periodically to check for status.  
> > > > 
> > > > 
> > > > 
> > > > -----Original Message-----
> > > > From: Andy Sharp
> > > > Sent: Wednesday, April 15, 2009 12:24 PM
> > > > To: Patrick Haverty
> > > > Cc: Rendell Fong; Brian Stark
> > > > Subject: Re: Dell Openmanage IT Assistant and SNMP Messages
> > > > 
> > > > On Wed, 15 Apr 2009 12:20:06 -0700 Patrick Haverty 
> > > > <patrick.haverty@onstor.com> wrote:
> > > > 
> > > > > While not ideal to have the Leopard be a SNMP trap client, it could save us the cost of an optional RAC (Remote Access Controller) by allowing us to use the Nexenta SNMP to emailer route. 
> > > > > 
> > > > 
> > > > Hm, OK.  You must know something I don't. ~:^)  BTW, could you 
> > > > please configure your email client (Outlick?) to autowrap at some 
> > > > reasonable right margin, like 72 or whatever the default is?  Thankyouverymuch.
> > > > 
> > > > 
> > > > > -----Original Message-----
> > > > > From: Andy Sharp
> > > > > Sent: Wednesday, April 15, 2009 12:14 PM
> > > > > To: Rendell Fong
> > > > > Cc: Patrick Haverty; Brian Stark
> > > > > Subject: Re: Dell Openmanage IT Assistant and SNMP Messages
> > > > > 
> > > > > Well, there are two programs, snmptrapd and snmpd on nexenta/solaris.
> > > > > I assume that if you configure/run snmptrapd, that it will listen for traps.  Not exactly sure what that would accomplish for us.  Normally in a production environment I would not want a leopard also configured to be a SNMP trap host client.  Would I?  Yes, I'm very proud of myself for using the proper SNMP terminology.  One day when I'm older I'll actually know what it means.  Oops, I'm already older.  Sigh.
> > > > > 
> > > > > 
> > > > > On Wed, 15 Apr 2009 12:02:50 -0700 Rendell Fong <rendell.fong@onstor.com> wrote:
> > > > > 
> > > > > > If OpenSolaris has a command like netstat you can check to see if any process is listening on udp port 162.  This port is normally used for receiving SNMP trap msgs.
> > > > > > 
> > > > > > ________________________________
> > > > > > From: Patrick Haverty
> > > > > > Sent: Wednesday, April 15, 2009 11:41 AM
> > > > > > To: Andy Sharp; Rendell Fong
> > > > > > Cc: Brian Stark
> > > > > > Subject: Dell Openmanage IT Assistant and SNMP Messages
> > > > > > 
> > > > > > I disabled the IPMI over LAN function of the system (which 
> > > > > > would not
> > > > > work in "teamed" or aggregated port configuration) and then verified that hardware event messages were still being sent from the PowerEdge server and received by IT assistant running on a remote computer.
> > > > > SNMP_Message1.JPG shows the alert as it is received (bold
> > > > > highlighting) and SNMP_Message2.JPG just shows the complete set 
> > > > > of messages (upper
> > > > > six) that come through when an AC cord is unplugged and then re-plugged.
> > > > > Note that the IP address 10.11.1.220 is the one setup in the BMC BIOS settings (mostly for IPMI use), so there is not any response to an SNMP query.  I think that means that if there is not any active monitoring when the event messages are sent, then they are lost.  I was unable to figure out how to get the BMC to send the alert to a destination that the Nexenta/OpenSolaris system noticed.  There may be an OpenSolaris service which could receive an SNMP alert, but when I tried setting up the appliances IP address as the destination address for alerts, I could not see any reflection in the /var/adm/messages file or NMS log file that would indicate the system saw the SNMP alert.
> > > > > > 
> > > > > > Pat
