1067 Views 9 Replies Latest reply: Feb 23, 2006 3:05 PM by Joe Urbz
With Panther Server, nothing is officially set, including the user's home directory, until you click the Save button in the Workgroup Manager window. I have yet to install Tiger Server, but if it's Workgroup Manager operates the same way, you will be able to specify the location of the home directory before clicking save, and if the directory is already in that location, it will use it.
User home directories aren't created unless you explicitly ask WM to do it (by clicking the "Create home now" button, then clicking "Save"). Before you set up your user accounts, set up the share point on the RAID, and create a network mount for it. Provided you use the same short names and uidNumbers for your users, you can point to the existing home directories on the RAID, and the server will use them automatically; it won't recreate them if they already exist.
What I would do in your situation is to use WM to export your users, then re-import them once you've re-installed and configured the server. This will not preserve passwords. There's not much you can do about that, unless you want to back up and re-use your Password Server database, but given that you're having problems, that may just re-introduce the same instability. You can use a utility like Passenger (check versiontracker.com) to generate and import passwords if you like.
The most important thing to remember: before you set up your newly-installed server as an Open Directory Master, make sure you have forward and reverse DNS lookups working. Then, set up the network mount for your RAID and re-import your users. Assuming DNS works, short names match, and uidNumbers match, you should then be set to go.
Thanks. Sounds like I should be able to take care of this then and keep everything intact.
However, seeing that I think there is possible corrupted pref files, etc. in the user directories, is it prudent to just back up the user directories and then go ahead and set up new users and groups from scracth, and then just move over any important user data (actual documenst they have created an dnot any system related files) from the existing direcories into the newly created directories? I am only dealing with 10 users, so his would not be that much work. So they would loose some of their user preferences, desktops, etc., but nothing major.
Any issues you can see with doing this?
Also an additional question:
Since I am not entirely comfortable with doing this yet, is it possible for me to just do the fresh install on an external drive, set everything up and then restrat the server off of this external drive, and then proceed with everything. This way I can leave the present server totally intact, in case something goes wrong and I can not get everythng done over the weekend, I can have them up and running back on their existing server by starting from the internal drive, and we would be back where we started.
Then the question is, assuming everything is all set up on the external, could I then wipe the internal and just do an image transfer from the external to the internal (using something like CarbonCopy Cloner for example), thus just moving the entire new setup to the internal drive? (I hope this makes sense).
This way I can take my time getting the "new" server all set up on the external and work on it after hours when I can bring everyone down, w/o worring about downtime at all, and when it is all set to go, I will just switch over by copying everything from the external to the internal.
Any issues with this method?
Yes that´s not a problem as long as the external drive is a firewire drive. And in Tiger you can just use Disc Copy for making an image to the internal drive. Just choose the source and destination under the tab "Restore" in disc copy and also check the "Erase destination" checkbox and the copy will just take a couple of minutes. Disc Copy is the tool to use for things like these, it actually copies block by block from the drive (and therefore makes an exact image) and not like CCC that just copies over the files (and CCC dont work reliably under tiger, go for superduper!)
Oh and this of course requires that you boot the server from another machine in target disc mode. Remeber that the only drive that will show up when you boot in target mode is the boot drive.
Your strategies seem fine on both points (creating new home directories and cloning your boot volume). Particularly on the second one: it's important to be able to go back quickly if something goes wrong. I typically make an ASR image with NetRestore Helper before I do any upgrades--that allows me to put the boot disk anywhere I want it.
A couple of thoughts:
- When copying back your users' files, you'll need to make sure that ownership and permissions are correct. I would probably use ditto or cp -p to copy the files when you initially back them up, and the same when you copy them back. Then, issue a chown -R command to make sure the owner is set (e.g., for user Joe Schmoe, chown -R schmoej /Volumes/RAID/Users/schmoej).
- On cloning your boot volume, I would probably reverse how you plan to do things. I'd put the clone of your existing system on the firewire drive and the new system on the server's internal hard drive. That way, you don't have to clone everything from the firewire drive to the internal system disk when everything is stable. On the other hand, you may have good reasons for doing it the other way. As for what software to use, it's up to you. CCC should work fine for what you're doing; there are some issues under 10.4 with scheduled tasks in CCC 2.3, but manual clones shouldn't be an issue.
I am running a Tiger Server/RAID with about 700 user names (high school server). The mountain area went through a severe winter storm and electricty was ubruptly shut off during the holiday weekend. Thus, the UPS batteries drained and the whole system shut off without backups. The OS on the boot drive became corrupt. I tried using Disk Utility, the latest version of DiskWarrior, but the system went bad. There is an additional internal hard drive in the server, where I have installed a fresh copy of Tiger, however, I do not have an exported users list from WGM. (I did not erase the original boot up hard drive yet).
How would I re-connect the users' data (profiles for Windows and Users' Directories are on the RAID) without the list of users from the previous Workgroup Manager? Is there a file from the original configuration I could find and use? I am not concerned with passwords, and I am aware of the work behind re-setting permissions.
ANY help with this would be MOST appreciated.