Re: Two identical machines sharing the /usr directory? On or about Wed, 15 Feb 2006 18:04:40 +0100 did Wim Cossement
<wcosseme@nospam.bcol.be> dribble thusly:
>Hello,
>
>I've got 2 identical machines (Compaq EVO W8000) here that have quite
>some raw CPU power (dual Xeon @ 2200 MHZ + 2 GB RIMM RAM) but the SCSI
[snip]
>Both machines still have one unused NIC so that could be used for a
>direct connection.
>
>I was just thinking of cloning the good machine to the not so good one,
>then changing the hostname and so in single user mode, but then what.
It seems to me that it'd be a lot easier if you just copied and
symlinked big directories in the existing configuration to the NFS
mount.
For example, if /usr/local is packed, and you've mounted an empty
directory from the other machine on /mnt/morespace, do something like
this:
cp -pRv /usr/local/* /mnt/morespace/ulocal
rm -r /usr/local/*
ln -s /mnt/morespace/ulocal /usr/local
>Is it possible to tell NFS (since I suppose this would be the methode
>used for sharing the files) to use one specific NIC for this purpose?
This is simply a matter of TCP/IP setup. Configure the spare NIC's
with two addresses on a new network different from the one they're
already on, and connect the NFS mount to that new IP address. It'll
have to go over that NIC, given the destination address.
--
- Mike
Ignore the Python in me to send e-mail. |