https://bugzilla.wikimedia.org/show_bug.cgi?id=48696

--- Comment #4 from Tim Landscheidt <[email protected]> ---
After some further brainstorming, directly rsyncing from tools-master to the
hosts would make things a bit more complicated as essentially we would need to
allow root ssh between hosts, which is a bit scary.  But Coren in another
context reminded me that we have /data/project/.system, so we could "cp -f
/var/lib/gridengine/default/common/accounting
/data/project/.system/accounting.tmp && mv -f
/data/project/.system/accounting.tmp /data/project/.system/accounting" on
tools-master and "cp /data/project/.system/accounting
/var/lib/gridengine/default/common/accounting.tmp && mv -f
/var/lib/gridengine/default/common/accounting.tmp
/var/lib/gridengine/default/common/accounting" on the submit hosts (".tmp" for
atomicity).

Exporting the accounting file with NFS from tools-master could introduce some
nasty locks, and aliasing "qacct" to "qacct -f
/data/project/.system/accounting" in /etc/profile could cause problems when
someone doesn't use an interactive shell to call qacct.

I wanted to try to set up a puppetmaster::self on toolsbeta, so I think I'll
use this for testing.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to