I work for a computer science department at a university. We're a
mostly Mac shop with two xserves. My boss likes to scale out when
there is no need. As such, he's asked me to setup a G4 xserve as an
apache httpd + tomcat server, MySQL, and ssh server. In addition, he
wants us to use a G5 xserve with an attached xserve raid as a file
server and open directory master. We plan to create student accounts
on this system and allow students and professors to create websites.
In addition, Mac and Windows clients will be accessing the G5 for
files and in the case of the Macs for authentication.
The problem we're having is mounting the file system on the xserve
raid for use on the G4. My idea was to use the userdir feature in
apache and simply mount the home directories stored on the xserve
raid using NFS. I can mount the volume manually without a problem,
but any attempts to automate it have failed. Currently, user home
directories are mapped to a share called home on the xserve g5 with a
path like afp://servername/home and then the local location is /
Network/Servers in workgroup manager as suggested in examples. I
realize that anything mounted in /Network/Servers is a dynamic mount,
but obviously that is a very bad idea with a webserver. Ideally we'd
like apache and ssh to work for students. We'd rather have them ssh
into the webserver then the open directory master.
So far I've tried adding an entry to NetInfo Manager, /etc/rc.local
(to manually call mount_nfs) , and even tried a startup item based on
an example for mounting a SAN file system in apple's KB. (suggested
by a friend) I changed it to use NFS obviously. All three failed
without any error in the logs. I was told by an apple employee that
fstab is not read for NFS entries so I didn't bother to try that.
Both servers are running Mac OS X Server 10.4.8.
From documentation I've seen, its ideal for the clients to
dynamically mount with AFP. I think changing the clients to
statically mount with NFS might work, but I'm not fond of the idea.
I'd appreciate any suggestions.
Luke
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macos-x-server/email@hidden