Re: [opensuse] fileserver box to box swap



On Wed, 2007-06-27 at 17:49 +0200, primm wrote:
Hi
I have a fileserver serving /home via nfs to around 200 users on 20 clients.
This server also runs nis for user logins. Currently it runs 9.3. I have a
new box I'd like to transfer /home to and have it up as simply as possible.
Will the following work?

Install 10.2 on the new box.
cp -a the contents of /home from the old box to it eg from a usb removable
disk.
Install nfs server using yast
Install nis server using yast
Copy /etc/passwd from the old box to the new box
Copy /etc/group from the old box to the new box

Don't forget /etc/shadow.

Why not use rsync, that is what is it for.
Assign the new box a different temporary IP until the data is
transferred.

Unplug the the network cable on the old box.
Plug in the cable to the new box.
Assign the new box the same IP
Runlevel 3

Surely it's can't be as simple as that. How far away from the real world am I?

It can be that simple but make sure you keep the old box around until
you know for sure.

--
Ken Schneider
UNIX since 1989, linux since 1994, SuSE since 1998

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx



Relevant Pages

  • Re: Queston re Norton Internet Security 2003
    ... First, in the NIS Console, set Security to HIGH; ... about the more esoteric Trojans (due to your Internet habits), ... well worth your time to install one of the dedicated anti-Trojan software ... What's an 'unprotected server application'? ...
    (comp.security.firewalls)
  • Re: need help fixing yast2 problem on 9.3
    ... or do without and install RPMs manually at the command line. ... The online update does appear to be set to a valid server, ... Problem was the yast package database was either fried or missing. ...
    (alt.os.linux.suse)
  • Re: [SLE] Anybody using Xen?
    ... What I want to do is run sub doms, one is a backup for a server, the second ... Ideally you need to install the Xen bits and pieces when you initially install ... SuSE 10.1 as this automatically sets up grub to support Xen as a boot option. ... It may do this after the event in 10.1 if you install Xen from Yast, ...
    (SuSE)
  • Re: New SUSE/Linux user, several key questions
    ... >a)Most of the files I want to share between Windows and Linux are on my ... open YAST and click on the icon "change source of installation" ... in the server name put the name of the server you choose *example* ... now click the other ICON named "INSTALL & REMOVE SOFTWARE" ...
    (alt.os.linux.suse)
  • RE: [SLE] SuSE 10 imapd.conf
    ... > configured to start up in the run levels editor and in YaST, ... why would the system be looking for IMAP config file? ... This was an Install, rather than an upgrade - I kept only ... have fetchmail fetch the mail from the ISP's POP server ...
    (SuSE)