[Info-vax] Long uptime cut short by Hurricane Sandy

AEF spamsink2001 at yahoo.com
Sun Feb 3 13:48:32 EST 2013


On Feb 3, 8:22 am, Paul Sture <nos... at sture.ch> wrote:
> In article
> <2882f521-e75f-4e22-a3c1-577b678bd... at n2g2000yqg.googlegroups.com>,
>
>  AEF <spamsink2... at yahoo.com> wrote:
> > I tried to write a script once that changed directory. It didn't work.
> > Why? Because it forked itself to oblivion. I was told to try it with a
> > period and a space in front it. Fine, but something else broke. I
> > figured I should try it another time. And even if I write such a
> > thing, I have to copy it to hundreds of servers running various
> > versions of Solaris and Red Hat.
>
> Have you come across rdist?
>
> http://linux.die.net/man/1/rdist
>
> "Rdist is a program to maintain identical copies of files over multiple
> hosts. It preserves the owner, group, mode, and mtime of files if
> possible and can update programs that are executing. Rdist reads
> commands from distfile to direct the updating of files and/or
> directories."
>
> rdist isn't there on OS X but provided you have Xcode it's a simple
> matter of downloading the source and compiling.

There are a number of problems with this. I don't think my Unix Admin
team, and especially my boss, would approve. These are production and
QA systems. I don't want to mess with them.

This would take more time and trouble than it's worth. And . . .

"On each target host Rdist will attempt to run the command

       rdistd -S

or

       <rdistd path> -S
"

So I have to install rdistd on several hundred servers?

>
> Or use macports or Homebrew[1] if you prefer those.  To install on
> Scientific Linux and openSUSE, yum and zypper respectively do the job.

We don't run any of these.

>
> Take note of the destfile and message logging options.
>
> [1] Homebrew ‹ MacPorts driving you to drink? Try Homebrew!http://mxcl.github.com/homebrew/
>
> Homebrew demystified:http://mac.tutsplus.com/tutorials/terminal/homebrew-demystified-os-xs...
> imate-package-manager/
>
> --
> Paul Sture

Thanks for your help, but I'll have to pass.



More information about the Info-vax mailing list