Today's Page Hits: 155
This page validates as XHTML 1.0, and will look much better in a browser that supports web standards, but it is accessible to any browser or Internet device. It was created using techniques detailed at glish.com/css/.
setup client with NFS server with multiple NIC
We will configure clients only to mount on a specific NIC that server on a specific subnet.
The standard requirement is that clients will need to have access to all data on the NFS server.
Lets' assumed that there are 16 NIC in the server, and we have setup 16 subnet ( or VLAN in modern term) and we only want subset of clients to be in one subnet, say 16 in 100baseT world.
Let's assume that the mount point is /global/data on the server and each NIC is associated with suffix to the server name nfs-server-xx.
the clients are client-xx-yy for each xx subnet.
Our goal is for client-xx-yy to mount the /global/data by using nfs-server-xx:/global/data.
How can we achive this?
The trick is in the setup of the automount map, we use the direct-map as an example auto_data the entry should look like the following
/global/data $(nfsserver):/global/data
In the /etc/init.d/autofs script one need to add a few line before the automount command to set "nfsserver" accounting to the client HOSTNAME
Something like
HOST=`hostname`
nfsserver=nfs-server-`echo $HOST|nawk -F- '{print $2}'`
will do.
Of course we will use Jumpstart to modify the auto_direct and autofs files
Posted at 11:27PM Jul 13, 2004 by hstsao in jumpstart |
Solaris Jumpstart using ufsdump and ufsrestore
The flar is based on cpio archive and some manifist to descript the flar
We discuss another possibility, use the ufsdump and ufsrestore in place of cpio.
We had use this method many years ago before feature of flar.
The steps
Posted at 11:05PM Jul 13, 2004 by hstsao in jumpstart | Comments[1]