We should have provided an override function for the flags.  There is
actually one in place for xdcp , the -o flag,  but it was not implemented
for rsync.   I will   implement that for the next 2.7 release.  It will
allow you to override the flags on an individual xdcp call. updatenode,
calls xdcp.
For now, you should be able and change the code below and just take off the
-L  as long as you really don't want links.   The function is there to
support syncfiles,  which is setup by you.    If you change the RSYNC.pm
file,  you will need to restart xcatd and remember to change the
servicenodes also,  and restart the daemon.

Lissa K. Valletta
2-3/T12
Poughkeepsie, NY 12601
(tie 293) 433-3102





From:   Christopher Samuel <[email protected]>
To:     [email protected]
Date:   05/08/2012 12:07 AM
Subject:        Re: [xcat-user] How to convince updatenode to push out dangling
            symlinks ?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 08/05/12 12:32, Christopher Samuel wrote:

> Any way for us to persuade it to do that?

My guess is no, it looks like it's hardwired here:

/opt/xcat/lib/perl/xCAT/RSYNC.pm

        # if only syncing the service node or no postscripts then do not
        # get update file notification
        if (($::SYNCSN  == 1) || (!(defined @::postscripts))) {
          $sync_opt .= '-Lprogtz ';
        } else {
           $sync_opt .= '-Liprogtz --out-format=%f%L '; # add notify
of update
        }

Is the -L option something that could be broken out and be
governed by a config option (defaulting to current behaviour)
so it could be disabled here, or would that break expectations
elsewhere in xCAT ?

cheers,
Chris
- --
    Christopher Samuel - Senior Systems Administrator
 VLSCI - Victorian Life Sciences Computation Initiative
 Email: [email protected] Phone: +61 (0)3 903 55545
         http://www.vlsci.unimelb.edu.au/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk+omx8ACgkQO2KABBYQAh9XzQCcCQbmeP1IeDXr7HRylFf+Hmgp
QaUAn0wH2VIu+TrOH8bgNlpXV5UNEFPF
=SAvr
-----END PGP SIGNATURE-----

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

Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

<<inline: graycol.gif>>

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to