At 05/17/05 09:44, Stefan G. Weichinger wrote:
Correct and corrected.
Thanks.
Greets,
Maybe while you're in a good mood:
install.html, "Setting up the Tape Server Host", section D
----------------------------------------------------------
If your tape server uses Dan Berstein's daemontools
(http://cr.yp.to/daemontools.html) instead of (x)inetd, you have to create
amandaidx and amidxtape services by hand.
* Create service directories:
mkdir -p /etc/amanda/supervise/amandaidx
mkdir -p /etc/amanda/supervise/amidxtape
* Create service startup files and make them executable:
:::::::::::::: /etc/amanda/supervise/amandaidx/run ::::::::::::::
#!/bin/sh
exec /usr/local/bin/setuidgid amanda \
/usr/local/bin/tcpserver -DHRl0 0 10082 \
/usr/local/libexec/amindexd >/dev/null 2>/dev/null
:::::::::::::: /etc/amanda/supervise/amidxtape/run ::::::::::::::
#!/bin/sh
exec /usr/local/bin/setuidgid amanda \
/usr/local/bin/tcpserver -DHRl0 0 10083 \
/usr/local/libexec/amidxtaped >/dev/null 2>/dev/null
* Link service directories into your svscan directory:
cd /service
ln -s /etc/amanda/supervise/amandaidx .
ln -s /etc/amanda/supervise/amidxtape .
install.html, "Set up the Backup Client Hosts", section D
----------------------------------------------------------
If your AMANDA client uses Dan Berstein's daemontools
(http://cr.yp.to/daemontools.html) instead of (x)inetd, you have to create
amanda service by hand. You will need also an UDP super-server (netcat in this
example).
* Create service directory:
mkdir -p /etc/amanda/supervise/amanda
* Create service startup file and make it executable:
:::::::::::::: /etc/amanda/supervise/amanda/run ::::::::::::::
#!/bin/sh
exec /usr/local/bin/setuidgid amanda \
/usr/bin/nc -l -u -p 10080 -q 0 \
-e /usr/local/libexec/amandad >/dev/null 2>/dev/null
* Link service directory into your svscan directory:
cd /service
ln -s /etc/amanda/supervise/amanda .
--
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
|