Thanks Bernard. I got everything to work now. Thanks a lot!
Shiang-Tai
Bernard Li wrote:
Hi Shiang-Tai:
The file you should be looking at is
/var/lib/systemimager/scripts/oscarimage.master - in there you'll find
the fstab embedded in the file (I strongly suggest that you make a
backup copy of this file before making any modifications). This
script is used to image your client nodes.
This will take care of nodes you will be imaging in the future. For
nodes that are running right now, just grab a copy of fstab from your
client node to your headnode, make modifications (add new
mountpoint(s)), then push it out to the nodes using cpush and run
mount commands using cexec so that all the nodes will have the new
mountpoints mounted.
Cheers,
Bernard
------------------------------------------------------------------------
*From:* [EMAIL PROTECTED] on behalf of
Shiang-Tai Lin
*Sent:* Mon 30/05/2005 5:55 PM
*To:* Michael Edwards
*Cc:* [email protected]
*Subject:* Re: [Oscar-users] How to add a network drive to the cluster?
Hi Michael,
Thanks for the reply and useful guides.
It took me quite a while to realize that I also need to mount the
network drive on the clients
(http://www.tldp.org/HOWTO/NFS-HOWTO/client.html). I finally got things
to work. :)
It seems that I need to edit the file /etc/fstab on the clients if I
want the NFS file systems to
be mounted at boot time. Can you please help me check if the following
is the correct procedure
to do so? Thanks a lot.
1. Edit "/var/lib/systemimager/images/oscarimage/etc/fstab" to include
the network drives
2. Run "cexec updateclient -server tele -image oscarimage" to update the
file on the clients
I am a bit worried about this procedure because I notice that originally
there is no
file fstab in the server's image directory
(/var/lib/systemimager/images/oscarimage/etc/).
However, I can find this file in the client nodes. I am curious how the
clients got this file
setup in the first place. If I edit this file on the server's image now,
would it be in conflict
with the copy on the clients?
Thanks in advance for any hint.
Sincerely,
Shiang-Tai
Michael Edwards wrote:
>The program that shares the home directories is called NFS. This
>document is intended to help folks set it up from scratch, but it is
>complete so I will point you in that direction anyway.
>
>http://www.tldp.org/HOWTO/NFS-HOWTO/server.html
>
>You should only have to edit the /etc/exports file and not the others
>because oscar sets up those types of things. If you look at how oscar
>set up these files it should give you a good clue as to how to export
>your server's /temp1 directory.
>
>It would probably not be a good idea to set up the clients to share
>their directories back to the server in the same way. You can have
>multiple NFS servers, but it is generally to increase the bandwith and
>not to talk back and forth like that. You might want to look into
>more truly parallel file systems than NFS, it is more for one point to
>many sharing and not for many points to many point sharing.
>
>On Thu, 03 Feb 2005 09:25:10 +0800, Shiang-Tai Lin <[EMAIL PROTECTED]>
wrote:
>
>
>>Hi,
>>I have a cluster setup with OSCAR 4. The default setting allows all the
>>clients to access /home on the server locally (I guess /home is mounted
>>as a network drive on each client node). Can anyone teach me what to do
>>if I wish share other folders on the sever (e.g.. /temp1 on the server)?
>>Also, is it possible to share the disk of the clients to the server
>>and/or other clients as well?
>>Thanks for any hint.
>>Shiang-Tai
>>
>>-------------------------------------------------------
>>This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
>>Tool for open source databases. Create drag-&-drop reports. Save time
>>by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
>>Download a FREE copy at http://www.intelliview.com/go/osdn_nl
>>_______________________________________________
>>Oscar-users mailing list
>>[email protected]
>>https://lists.sourceforge.net/lists/listinfo/oscar-users
>>
>>
>>
>
>
>
-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Oscar-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-users
-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Oscar-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-users