AF:
NF:0
PS:10
SRH:1
SFN:
DSR:
MID:<20080523153427.150214ae@ripper.onstor.net>
CFG:
PT:0
S:andy.sharp@onstor.com
RQ:
SSV:onstor-exch02.onstor.net
NSV:
SSH:
R:<henry.lau@onstor.com>
MAID:1
X-Sylpheed-Privacy-System:
X-Sylpheed-Sign:0
SCF:#mh/Mailbox/sent
RMID:#imap/andys@onstor.net@onstor-exch02.onstor.net/INBOX	0	BB375AF679D4A34E9CA8DFA650E2B04E0490F097@onstor-exch02.onstor.net
X-Sylpheed-End-Special-Headers: 1
Date: Fri, 23 May 2008 15:35:05 -0700
From: Andrew Sharp <andy.sharp@onstor.com>
To: "Henry Lau" <henry.lau@onstor.com>
Subject: Re: (code review)RE: Defect  TED00023816 support.sh needs to zip
 messages.0 file before sending to DW via EMRS
Message-ID: <20080523153505.6f5bc258@ripper.onstor.net>
In-Reply-To: <BB375AF679D4A34E9CA8DFA650E2B04E0490F097@onstor-exch02.onstor.net>
References: <20080521160325.7b3ae792@ripper.onstor.net>
	<BB375AF679D4A34E9CA8DFA650E2B04E05DA1DE9@onstor-exch02.onstor.net>
	<20080523113013.31a5fa7b@ripper.onstor.net>
	<BB375AF679D4A34E9CA8DFA650E2B04E0490F097@onstor-exch02.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

Henry,

I thought about this some more and you can go ahead and check in your
original change where you just uncomment the gzip.  No need to do any
of this other stuff.

Thanks,

a

On Fri, 23 May 2008 13:25:31 -0700 "Henry Lau" <henry.lau@onstor.com>
wrote:

> Hi Andy,
> 
> DO you mean to remove the file at the end? The messages.0 will be
> gone too.
> 
> 3992 gzip /var/log/onstor/messages.0 > /dev/null 2>&1
> 3993 send_files_to_onstor /var/log/onstor/messages.0*
> add "rm -rf /var/log/onstor/messages.0.*"
> 
> Henry
> 
> -----Original Message-----
> From: Andy S
> Sent: Fri 5/23/2008 11:30 AM
> To: Henry Lau
> Subject: Re: (code review)RE: Defect  TED00023816 support.sh needs to
> zip messages.0 file before sending to DW via EMRS 
> 
> nfx-tree/code/ssc-support/support.sh
> 
> 
>      what we need to have here is
> 
>      nice -n 10 gzip <messages.0 >messages.0.gz
> 
>      send the file
> 
>      rm messages.0.gz
> 
>      otherwise this interferes with normal logrotation and possibly
>      elog reporting in the UI.
> 
> 
> 
> 
> On Wed, 21 May 2008 17:44:24 -0700 "Henry Lau" <henry.lau@onstor.com>
> wrote:
> 
> > Hi Andy,
> > 
> > Please review P4 change 29372
> > 
> > Thanks
> > 
> > Henry
> > 
> > 
> > -----Original Message-----
> > From: Andy Sharp 
> > Sent: Wednesday, May 21, 2008 4:03 PM
> > To: Henry Lau
> > Subject: Re: (code review)RE: Defect TED00023816 support.sh needs to
> > zip messages.0 file before sending to DW via EMRS
> > 
> > Please send me a changelist with the change.  Thanks, a.
> > 
> > On Wed, 21 May 2008 15:53:14 -0700 "Henry Lau"
> > <henry.lau@onstor.com> wrote:
> > 
> > > I think the problem reported through TED21932 is gone, it is fine
> > > to turn back on.
> > > 
> > > g9r203 VS_MGMT_1896 diag> system get all
> > >     Looking for virtual servers and volumes..
> > >     Virtual server 'VS_MGMT_1896' found, and it is Enabled.
> > >     Created directory
> > > 'vol_mgmt_1896:/system_get_all,g9r203,2008-05-21' Updating
> > > 'all_g9r203' symlink to: '/all_g9r203 ->
> > > system_get_all,g9r203,2008-05-21' Querying the
> > >
> > system..................................................................
> > >
> > ........................................................................
> > >
> > ........................................................................
> > > ...........................   OK
> > >     Copying file sfinfo.xml.gz..             OK
> > >     Copying elog message files..             OK
> > >     Copying syslog files..                   OK
> > >     Copying cluster log files..              OK
> > >     Copying auth log files..                 OK
> > >     Copying ndmp log files..                 OK
> > >     Copying quota log files..                OK
> > >     Copying vscan log files..                OK
> > >     Copying cron log files..                 OK
> > >     Copying kpi stats..                      OK
> > >     Copying cron tabs..                      OK
> > >     Copying crash files..                    OK
> > >     Copying core files..                     OK
> > >     Copying cluster DB..                     OK
> > > 
> > > Regards,
> > > 
> > > Henry
> > > 
> > > -----Original Message-----
> > > From: Henry Lau 
> > > Sent: Wednesday, May 21, 2008 3:06 PM
> > > To: Andy Sharp
> > > Subject: (code review)RE: Defect TED00023816 support.sh needs to
> > > zip messages.0 file before sending to DW via EMRS
> > > 
> > > File is needed to be zipped before sent. "emrscron -s elog" calls
> > > "support.sh -g elog0". Somehow, gzip line was accidentally # so it
> > > wasn't executed. Removing the #, it works fine.
> > > 
> > > P4- henryl-linux
> > > //depot/dev/nfx-tree/code/ssc-support/support.sh
> > > 
> > > Thanks
> > > 
> > > Henry
> > > 
> > > -----Original Message-----
> > > From: John Keiffer 
> > > Sent: Wednesday, May 21, 2008 2:22 PM
> > > To: Henry Lau; Tim Gardner; John Keiffer
> > > Cc: John Keiffer; Vikas Saini; Andy Sharp
> > > Subject: Defect TED00023816 support.sh needs to zip messages.0
> > > file before sending to DW via EMRS
> > > 
> > > Headline: support.sh needs to zip messages.0 file before sending
> > > to DW via EMRS
> > > id: TED00023816
> > > Note_Entry: 
> > > 
> > > Hey Andy,
> > > 
> > > Question for you. Is it a problem if support.sh zips the
> > > messages.0 file? I'm just wondering if this has any impact to the
> > > way Linux runs on Cougar...
> > > 
> > > Henry was testing this and found that running support.sh will zip
> > > the file on Cougar. Then if "emrscron -s elog0" is run it will
> > > just upload the message.0 file whether it is zipped or not. Maybe
> > > emrscron should zip the file instead of support.sh (since
> > > support.sh already does). The point being that emrscron should
> > > send a zipped file only, and right now it just doesn't care.
> > > 
> > > Thanks,
> > > John
> > > State: Assigned
> > > history: 33752773	May 15 2008  4:17PM	jkeiffer
> > > Submit no_value	Opened
> > > 33752989	May 16 2008  3:51PM	vikas	Modify
> > > Opened	Opened 33753586	May 21 2008 11:17AM
> > > henryl	Assign	Opened	Assigned 33753623
> > > 05/21/2008 14:21:31 PM	jkeiffer	Modify
> > > Assigned Assigned
> > > 
> > > 
> 
