Hi,
Dnia 05/17/05 21:26, Stefan G. Weichinger napisał:
Hi, Filip,
on Dienstag, 17. Mai 2005 at 13:57 you wrote to amanda-users:
FR> Maybe while you're in a good mood:
I am right now ;-)
FR> install.html, "Setting up the Tape Server Host", section D
FR> ----------------------------------------------------------
FR> If your tape server uses Dan Berstein's daemontools
FR> (http://cr.yp.to/daemontools.html) instead of (x)inetd, you have to create
FR> amandaidx and amidxtape services by hand.
FR> * Create service directories:
FR> mkdir -p /etc/amanda/supervise/amandaidx
FR> mkdir -p /etc/amanda/supervise/amidxtape
Do you use /etc/amanda instead of the common /usr/local/etc/amanda?
I have to adjust this then.
You are right, should be consistent with the rest of the docs.
FR> * Create service startup files and make them executable:
FR> :::::::::::::: /etc/amanda/supervise/amandaidx/run ::::::::::::::
FR> #!/bin/sh
FR> exec /usr/local/bin/setuidgid amanda \
FR> /usr/local/bin/tcpserver -DHRl0 0 10082 \
FR> /usr/local/libexec/amindexd >/dev/null 2>/dev/null
Please tell me what that tcpserver-step does do, I don't have this
binary here and I am afraid other amanda-users don't have this one as
well.
The tcpserver program (a part of ucspi-tcp package,
http://cr.yp.to/ucspi-tcp.html) is a standard TCP wrapper for
daemontools-enabled servers.
So I think you can safely leave it, as anybody using daemontools
will probably have it anyway.
FR> * Create service startup file and make it executable:
FR> :::::::::::::: /etc/amanda/supervise/amanda/run ::::::::::::::
FR> #!/bin/sh
FR> exec /usr/local/bin/setuidgid amanda \
FR> /usr/bin/nc -l -u -p 10080 -q 0 \
FR> -e /usr/local/libexec/amandad >/dev/null 2>/dev/null
Same question for nc ....
Standard daemontools setup does not assume setting up UDP services. So it lacks
an udp super-server. But many people I asked mentioned netcat:
http://netcat.sourceforge.net/. Also the ucspi-tcp page mentions it.
And, LBNL, netcat is packaged for most major Linux distros.
So I use it for amanda server when I don't want to fire up (x)inetd.
Please try to use common binaries or at least specify your OS, then I
may add your small HOWTO as an OS-specific hack.
This _will_ work for any recent Linux and *BSD, _should_ work for any
POSIX-compliant OS.
I realize it may sound a bit messy, but actually it is "the Way":)
If it's not clear - never mind - I'll publish a howto somewhere, with full
explanation, to straighten things up:)
Grüsse,
Filip
--
Filip Rembiałkowski
Administrator sieci
Kolmet Sp. z o.o.
tel:+48-22-5332007
tel:+48-604065651
http://www.kolmet.com.pl
mailto:filip AT kolmet.com DOT pl
|