Eduardo,

Interesting suggestions.  My thoughts:

- About logging the entries locally, in addition to sending them to the
mgmt node (or service node):  This seems to make perfect sense for nodes
that are installed on their local disk.  For diskless nodes, it doesn't
seem like the right thing to do, because either it will use up the node's
memory, or (in the statelite case if that dir is nfs mounted) it will get
sent over the network a second time.

- About using TCP instead of UDP:  I can see why some would want this,
although as you already pointed out, it would use a little more bandwidth.

Maybe for both of these options, we could put the code in the syslog
postscript, but have it do those things only if you specify parameters to
the postscript.  (Parameters to postscripts are now supported.)

Jarrod, Egan, what are your thoughts about this?

Bruce Potter        STSM, Linux & AIX Cluster Development, IBM,
Poughkeepsie, NY
Email: [email protected]    Phone:  external: 845-433-7073, internal: TL
293-7073




From:   Christian Caruthers/Richmond/IBM@IBMUS
To:     xCAT Users Mailing list <[email protected]>
Date:   08/23/2011 04:09 PM
Subject:        Re: [xcat-user] The syslog postscript



On Eduardo's second point, I agree that having local logs is helpful. I
generally modify the syslog postscript to simply append the forward to the
existing syslog.conf.

Christian D. Caruthers
Linux HPC Consultant
STG Lab Services
757-656-9675

(Embedded image moved to file: pic28069.gif)Inactive hide details for
Eduardo Otubo ---08/23/2011 03:37:13 PM---On 08/16/2011 05:46 PM, Bruce M
Potter wrote: > Eduardo,Eduardo Otubo ---08/23/2011 03:37:13 PM---On
08/16/2011 05:46 PM, Bruce M Potter wrote: > Eduardo,
                                                                           
 (Embedded      (Embedded image moved to file: pic29801.gif)               
 image moved to Eduardo Otubo <[email protected]>                   
 file:                                                                     
 pic64009.gif)                                                             
 From:                                                                     
                                                                           
 (Embedded      (Embedded image moved to file: pic28903.gif)               
 image moved to xCAT Users Mailing list <[email protected]>  
 file:                                                                     
 pic03893.gif)                                                             
 To:                                                                       
                                                                           
 (Embedded      (Embedded image moved to file: pic63859.gif)               
 image moved to 08/23/2011 03:37 PM                                        
 file:                                                                     
 pic63172.gif)                                                             
 Date:                                                                     
                                                                           
 (Embedded      (Embedded image moved to file: pic02945.gif)               
 image moved to Re: [xcat-user] The syslog postscript                      
 file:                                                                     
 pic10009.gif)                                                             
 Subject:                                                                  
                                                                           





On 08/16/2011 05:46 PM, Bruce M Potter wrote:
> Eduardo,
>
> If you look at the svn revision # of
> xCAT-server/share/xcat/postscripts/syslog, you'll see that it is 2.
Which
> means it is from way back early in xCAT 2.0.  At some point early on the
> postscripts were copied from xCAT-server/share/xcat/postscripts/ to
> xCAT/postscripts/ and the former not cleaned up.  All of the postscripts
in
> xCAT-server/share/xcat/postscripts/ have a corresponding postscript in
> xCAT/postscripts/ that is the same or later svn revision.  I think none
of
> the postscripts in xCAT-server/share/xcat/postscripts/ are needed any
more,
> and i propose deleting them, unless anyone knows of a reason why we
> shouldn't.

Great! Now that I have the correct file in hands, my thoughts: If I
understood correctly, the syslog postscript moves the default
configuration to <filename>.XCATORIG and replaces it with a single
instruction that forwards every log entry to the Management Node using
UDP connection.

Now, I have two points: 1) I would like to use TCP (or even RELP)
instead of UDP. TCP is more reliable than UDP and RELP is more reliable
than TCP (but bandwidth consumption may grow a little). In addition, we
should *append* the forward instruction to the config file instead of
replacing it. Keeping record of everything locally is important most
cases.

Are those reasonable thoughts?

Regards,

--
Eduardo Otubo
Software Engineer
Linux Technology Center
IBM Systems & Technology Group
Mobile: +55 19 8135 0885
[email protected]


------------------------------------------------------------------------------

Get a FREE DOWNLOAD! and learn more about uberSVN rich system,
user administration capabilities and model configuration. Take
the hassle out of deploying and managing Subversion and the
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

------------------------------------------------------------------------------

Get a FREE DOWNLOAD! and learn more about uberSVN rich system,
user administration capabilities and model configuration. Take
the hassle out of deploying and managing Subversion and the
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

<<attachment: pic28069.gif>>

<<attachment: pic64009.gif>>

<<attachment: pic29801.gif>>

<<attachment: pic03893.gif>>

<<attachment: pic28903.gif>>

<<attachment: pic63172.gif>>

<<attachment: pic63859.gif>>

<<attachment: pic10009.gif>>

<<attachment: pic02945.gif>>

------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to