LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-28-2003, 06:32 AM   #1
esteeven
Senior Member
 
Registered: Oct 2001
Location: Bristol UK
Distribution: Arch Slackware Ubuntu
Posts: 1,082

Rep: Reputation: 52
moving user accounts to an NFS server


Hello
Box A allows users 1, 2 and 3 access. Users 1, 2 and 3 also have access on Box B. They have seperate accounts on each box. The boxes are on two different sites. I would like to move the user accounts to Box C so that users 1,2 and 3 can acces their /home from A or B using NFS. There are more than thirty users of these two boxes - and they change sites all the time. How can I tranfer the accounts to Box C so that they can log on from A or B and nothing is saved locally?
Thanks
PS I've tried "moving" the /home/user files but that didin't work - even when /home was mounted via NFS.
 
Old 08-28-2003, 01:21 PM   #2
bastard23
Member
 
Registered: Mar 2003
Distribution: Debian
Posts: 275

Rep: Reputation: 30
esteeven,

What problems did you have when you "moved" the files? If it was permission problems, you need to make sure that the UID numbers are synced between the two machines. This is done via /etc/passwd (basically). Also, remember that NFS "squashes" the root user, usually to the nobody user (look at the no_root_squash option in exports(5). You may look into the NSS (Name Switching Service) facility allow this to work dynamically over the network (via NIS or LDAP).

The boxes are on two different sites.
NFS doesn't like high latency (or slow) links. Will it be fast enough? How often do users switch sites? Perhaps doing a nightly rsync would work out (or an rsync on login.) AFAIK, there is no "distributed" NFS solution (and if there is, I would like to hear about it.)

Good Luck,
chris
 
Old 08-28-2003, 02:46 PM   #3
esteeven
Senior Member
 
Registered: Oct 2001
Location: Bristol UK
Distribution: Arch Slackware Ubuntu
Posts: 1,082

Original Poster
Rep: Reputation: 52
Hi bastard23
Perhaps NFS is not the solution? Back to the drawing board!!!
 
Old 08-28-2003, 08:12 PM   #4
bastard23
Member
 
Registered: Mar 2003
Distribution: Debian
Posts: 275

Rep: Reputation: 30
esteeven,

You may want to look at Coda, InterMezzo or OpenAFS. I briefly looked at them, but that was a while ago. I'm not sure what the status on the projects are. IIRC, they all have a decent caching system which would help with the high latency links. No idea if they would be stable for you. They also require a bit more effort than NFS (mainly because NFS is already integrated into most OSs). There will be gotchas with any network file system, mainly because they fail differently than local file systems.

The performance would probably be determined by how much data was used, and how often files were access. Would a manual (rsync) synchronization work? Do the files have to be immediately available at both locations? Do people move to different sites more than once a day? How long would they wait?

Unless you have a private link between the two sites, you probably need to tunnel the data.

You could test it out first :) Maybe it would work.

Have fun,
chris

PS If anyone is using these network file systems, please enlighten us.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Moving Linux accounts to MacOS X server? evilchild Linux - General 1 04-09-2005 07:05 PM
Moving server - Mail Accounts - Postfix ]SK[ Linux - Software 1 03-26-2005 10:28 AM
redhat 2.1 server user accounts fotoguy Linux - General 3 01-01-2004 03:14 PM
moving user accounts gurra Linux - Security 1 11-25-2003 09:14 AM
moving user accounts to an NFS server esteeven Linux - Networking 1 08-28-2003 09:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration