X-MimeOLE: Produced By Microsoft Exchange V6.5
Received: by onstor-exch02.onstor.net 
	id <01C8BD13.25EC9B30@onstor-exch02.onstor.net>; Fri, 23 May 2008 13:25:31 -0700
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C8BD13.25EC9B30"
References: <20080521160325.7b3ae792@ripper.onstor.net><BB375AF679D4A34E9CA8DFA650E2B04E05DA1DE9@onstor-exch02.onstor.net> <20080523113013.31a5fa7b@ripper.onstor.net>
Content-class: urn:content-classes:message
Subject: RE: (code review)RE: Defect  TED00023816 support.sh needs to zip messages.0 file before sending to DW via EMRS
Date: Fri, 23 May 2008 13:25:31 -0700
Message-ID: <BB375AF679D4A34E9CA8DFA650E2B04E0490F097@onstor-exch02.onstor.net>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: (code review)RE: Defect  TED00023816 support.sh needs to zip messages.0 file before sending to DW via EMRS
Thread-Index: Aci9Awoi287JREpkQx+nksvE98KNqgADwg/E
From: "Henry Lau" <henry.lau@onstor.com>
To: "Andy Sharp" <andy.sharp@onstor.com>

This is a multi-part message in MIME format.

------_=_NextPart_001_01C8BD13.25EC9B30
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

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
=20

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,
>=20
> Please review P4 change 29372
>=20
> Thanks
>=20
> Henry
>=20
>=20
> -----Original Message-----
> From: Andy Sharp=20
> 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
>=20
> Please send me a changelist with the change.  Thanks, a.
>=20
> On Wed, 21 May 2008 15:53:14 -0700 "Henry Lau" <henry.lau@onstor.com>
> wrote:
>=20
> > I think the problem reported through TED21932 is gone, it is fine to
> > turn back on.
> >=20
> > 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
> >=20
> > Regards,
> >=20
> > Henry
> >=20
> > -----Original Message-----
> > From: Henry Lau=20
> > 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
> >=20
> > 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.
> >=20
> > P4- henryl-linux
> > //depot/dev/nfx-tree/code/ssc-support/support.sh
> >=20
> > Thanks
> >=20
> > Henry
> >=20
> > -----Original Message-----
> > From: John Keiffer=20
> > 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
> >=20
> > Headline: support.sh needs to zip messages.0 file before sending to
> > DW via EMRS
> > id: TED00023816
> > Note_Entry:=20
> >=20
> > Hey Andy,
> >=20
> > 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=20
> > Linux runs on Cougar...
> >=20
> > 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.
> >=20
> > 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
> >=20
> >=20


------_=_NextPart_001_01C8BD13.25EC9B30
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
6.5.7653.38">
<TITLE>RE: (code review)RE: Defect  TED00023816 support.sh needs to zip =
messages.0 file before sending to DW via EMRS</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

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

</BODY>
</HTML>
------_=_NextPart_001_01C8BD13.25EC9B30--
