AF:
NF:0
PS:10
SRH:1
SFN:
DSR:
MID:
CFG:
PT:0
S:andy.sharp@onstor.com
RQ:
SSV:mail.onstor.net
NSV:
SSH:
R:<brian.stark@onstor.com>,<patrick.haverty@onstor.com>,<John.Keiffer@onstor.com>,<larry.scheer@onstor.com>,<john.rogers@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	102AB4F33EBBDB4C91915B145C8E9FB31284FA928E@exch1.onstor.net
X-Sylpheed-End-Special-Headers: 1
Date: Fri, 24 Apr 2009 10:05:09 -0700
From: Andrew Sharp <andy.sharp@onstor.com>
To: Brian Stark <brian.stark@onstor.com>
Cc: Patrick Haverty <patrick.haverty@onstor.com>, John Keiffer
 <John.Keiffer@onstor.com>, Larry Scheer <larry.scheer@onstor.com>, John
 Rogers <john.rogers@onstor.com>
Subject: Re: procedure to install the leopard ops-kit
Message-ID: <20090424100509.21a2f947@ripper.onstor.net>
In-Reply-To: <102AB4F33EBBDB4C91915B145C8E9FB31284FA928E@exch1.onstor.net>
References: <102AB4F33EBBDB4C91915B145C8E9FB31284FA928E@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 Fri, 24 Apr 2009 09:58:20 -0700 Brian Stark <brian.stark@onstor.com>
wrote:

> At the customer, logs would be sent to an external machine of their choosing.
> 
> See if you have any better luck with mailx.  We got it to the point
> where it wasn't complaining about sendmail, but the email didn't appear
> to go anywhere off the box.

No, I just looked, it requires a sendmail or an equivalent delivery
program.  I'll take a look at mutt and some other options.  My guess
is that nexenta is using a perl library to send email themselves.  In
that case we just need to tap into a perl hacker somewhere and get a
little perl program-lette to take care of it for us.   Possibly I can
track down the spot in the nexenta code that does it and copy that, or
just -- gasp -- read the perldoc page for the library routine in
question.  Oh, and then learn perl.

The other option is just to get mailx or mutt and sendmail onto the
box, which I can easily add to the ops-kit script.  But I would hate
to do that.  Pretend I never mentioned this option...


> ----- Original Message -----
> From: Andy Sharp
> To: Brian Stark
> Cc: Patrick Haverty; John Keiffer
> Sent: Fri Apr 24 09:47:09 2009
> Subject: Re: procedure to install the leopard ops-kit
> 
> How would that work at a customer site?
> 
> On Fri, 24 Apr 2009 09:40:21 -0700 Brian Stark <brian.stark@onstor.com>
> wrote:
> 
> > On a somewhat related note, John R and I tried to get mailx working
> > last night without using sendmail.  No luck.
> 
> I'll give it a try.  I'm sure I won't have any better luck, but after
> all my bold statements, I pretty much have to.
> 
> > We did, however, come up with a way of sending the /var/adm/messages
> > file to an external syslog on another machine.  This machine was a
> > Linux box, but it could also be Windows.  This machine could then be
> > used as a central location for event monitoring and notifications for
> > the Leopard(s).
> > 
> > I'm thinking this might be the way to go, at least for now.  Thoughts?
> > 
> >  
> > 
> > ----- Original Message -----
> > From: Andy Sharp
> > To: Patrick Haverty
> > Cc: John Keiffer; Brian Stark
> > Sent: Fri Apr 24 09:33:48 2009
> > Subject: Re: procedure to install the leopard ops-kit
> > 
> > Well, there is, sort of.  But the removable-media version isn't all
> > "put together".  You can find that script in
> > 
> > http://ripper.onstor.net/md/Software/leopard/ops-kit/leopard-me
> > 
> > But as I said, the USB stick or CDROM would have to be properly
> > compiled for the script to work.
> > 
> > Cheers,
> > 
> > a
> > 
> > 
> > On Fri, 24 Apr 2009 09:05:58 -0700 Patrick Haverty
> > <patrick.haverty@onstor.com> wrote:
> > 
> > > The script is really cool and makes the process super quick.  Is there a USB drive version?  If there is, I'd like to try that out too.
> > > 
> > > Thanks. 
> > > 
> > > -----Original Message-----
> > > From: Andy Sharp 
> > > Sent: Friday, April 24, 2009 1:54 AM
> > > To: Patrick Haverty
> > > Cc: John Keiffer; Brian Stark
> > > Subject: Re: procedure to install the leopard ops-kit
> > > 
> > > On Thu, 23 Apr 2009 22:05:02 -0700 Patrick Haverty <patrick.haverty@onstor.com> wrote:
> > > 
> > > > Okay, I took a peek at the script to see if I had a clue how it works 
> > > > (I don't), but now wish it wouldn't have worked so well when I ran it 
> > > > so I would have enjoyed the error messages sooner.
> > > 
> > > Finally someone who appreciates my work!
> > > 
> > > Anyway, I should say that step 2, when I say run the command "cd" that's what I mean, just "cd".  Without arguments, it takes you to your home directory, wherever that might be ~:^)
> > > 
> > > > -----Original Message-----
> > > > From: Andy Sharp
> > > > Sent: Thursday, April 23, 2009 6:06 PM
> > > > To: Patrick Haverty
> > > > Cc: John Keiffer; Brian Stark
> > > > Subject: procedure to install the leopard ops-kit
> > > > 
> > > > Here is the procedure to install the leopard ops-kit.  Brian wanted me to have you guys test it to make sure it isn't wack.
> > > > 
> > > > 1.  Logged into your leopard as root, get into the bash shell.
> > > > 
> > > > 2.  run the command "cd" to get to your home directory.
> > > > 
> > > > 3.  run this command:
> > > > 
> > > > 	wget -r -nH http://10.0.0.42/leopard-this
> > > > 
> > > > 4.  run this command:
> > > > 
> > > > 	sh leopard-this
> > > > 
> > > > You should see this output if everything goes well:
> > > > 
> > > > # sh leopard-this
> > > > Downloading BCM drivers...done.
> > > > Installing BCM drivers...done.
> > > > Downloading event software...done.
> > > > Installing event software...done.
> > > > Mod'ing /etc/syslog.conf...done.
> > > > Mod'ing /etc/vfstab...done.
> > > > 
> > > > Congratulations, you are all done.
> > > > 
