Re: K12OS: rsync as alternative to nis/nfs?
Mark Evans (mpe@st-peters-high.devon.sch.uk)
Wed, 13 Feb 2002 14:17:48 +0000 (GMT)
> Nice thing is, this gives me a /ton/ more fault tolerance in the system
> - instead of user data being only on the file server and tape, it'll be
> on the file server, tape, and all six of my application servers - and if
Why not just run NIS slave servers on your application servers?
You'll need to bring up ypxfrd and yppasswd on the master server
(e.g. your file server).
Put the IP addresses of your slave servers in /var/yp/servers
on the master.
Bring up ypserv on the application servers then run the
command "ypslave init".
Then on all machines alter /etc/yp.conf to include all
servers and restart ypbind.
To finish up you want the following cron entry on the
master server (which should be there anyway)
*/5 * * * * make -s -C /var/yp >/dev/null 2>&1
On the slaves
*/5 * * * * /usr/sbin/ypslave all >/dev/null 2>&1
Finally make sure that anything which trys to
change passwords is using yppasswd rather than
passwd.
mv /usr/bin/passwd /usr/bin/passwd.old
ln -s /usr/bin/ypppasswd /usr/bin/passwd
on each of your application servers will
probably do the trick.
> the file server falls over for some reason, students can still work,
Unless they need access to files which are on the
file server which isn't there...
> whereas now they are locked out if the file server is offline for any
> reason (accidental reboots because I don't pay attention to what my KVMS
> is pointing to being chief among them...).
--
Mark Evans
St. Peter's CofE High School
Phone: +44 1392 204764 X109
Fax: +44 1392 204763
========================================
This message was sent from the K12OS Listserv.
For subscription information and archives,
see http://www.k12ltsp.org/listserv.html
or send mail to pnelson@riverdale.k12.or.us