I have just built a NFS master server on a solaris box (secured by NIS)
And I have a dozen of virtual machines running 32 and 64 bits linux and windows, running different types of servers.
I am not sure is it possible to move most of the programs to the NFS and have symbolic links pointing to the location on the NFS. This way all vm will be able to have the same versions of program for consistency (such as all Win2008R2 will have a symbolic link "shortcut", or /bin directory in Linux will be replaced by symbolic links pointing to a bin directory on NFS).
for example, a simple "ls" I already have 3 different versions on 3 different 64-bit linux distributions, so I would like to "standardize" it for a consistent development environment
so... do I create different groups for different os/architectures and give them permission to access its resources, so that linux ia32 cannot access x64 resources?
You can only centralize as much as the hardware/OS allows you. There is no need to export/mount linux-x64 programs on ia32 machines.
So you should organize the nfs share, and export the programs that are relevant for certain architecture only to those machines.
I'd try to have the same machines similar IP addresses, e.g.:
linux x64: 192.168.0.x
ai32: 192.168.1.x
etc
then on NFS server, you'd have the programs for each arch:
etc.
Define network groups (@linux64, @ai32, ...) in /etc/netgroup and exports:
Restart nfs services, then on client machines you mount them where you want, e.g. on linux machine in /etc/fstab:
You could tighten the security with hosts.{deny,allow} if you are really paranoid.
These instructions are very crude, I admit, but you get the idea.
As I am quite green to un*x, can somebody tell me how do I achieve that?
For example, I want to install emacs on NFS. Its a .tar.gz file and it is quite large and got dir and files to be install to different directories
What do I do first?
Do I install in one machine first? or do I have to arrange everything manually? or do I have to write script for the other machines for installation? any tools available for these tasks?
Can someone please guide me thru? Thanks very much.
for example, a simple "ls" I already have 3 different versions on 3 different 64-bit linux distributions, so I would like to "standardize" it for a consistent development environment
You may or may not be able to do this. Linux commands and utilities are portable at the source code level but not necessarily portable at the binary level.
There is some special work overhead with applications on NFS, i.e. you cannot simply install a package (RPM or PKG) on a master server.
I think it only will pay back if over 50 systems share one application.
If you have a zoo of virtual systems where every system is different, you better install applications locally on each system.
We are using Solaris 11 Logical Domains. We NFS share a disk backup area from one LDom to other servers. The share is on a single 1.5 Tb LUN presented to the Control Domain, and as a virtual disk on the NFS server LDom. A 1.5 Tb zpool has been created on the LDom. We now need to provide more disk... (2 Replies)
Hello,
I would like to share a 9p (Plan 9) passthrough/share to a VM via NFS (using a guest as an NFS server to share a directory from the host)
At the moment I am getting the error message: 'exportfs: /share does not support NFS export'... (2 Replies)
Hello,
I was having few issues on my linux box, I am getting this error whenever I tried to mount a share on a client linux host.
# mount -t nfs 10.10.4.150:/data/pops_sva /mnt
mount: mount to NFS server '10.10.4.150' failed: RPC Error: Program not registered.
#
I see the error and I... (4 Replies)
Hi,
Not sure where to post this, I'm sorry and need suggestion if this is wrong section.
we are running NFS Server on Solaris 10 and client box is HP-UX 11.11 (Can't apply latest patches/upgrades as in-house appln. doesn't allow)
I am able to mount NFS shares from this Solaris box onto all... (4 Replies)
Hi
I have a problem with NFS sharing on solaris 10, the problem simply with write permission, after do the following command, the folder still not writable from machine 2 :
on machine 1 (10.10.10.32) :
share -F nfs -o rw /u01/portalrepository/
on machine 2 (10.10.10.31) :
mount -F nfs... (35 Replies)
I'm planning to load balance 2 web servers. I'm considering mounting an NFS share between the 2 servers so they can share the data. My question is: does this setup offset some of the benefits of load balancing? although there are 2 web servers, they both still access a single NFS server. Wouldn't... (2 Replies)
I'm exploring the possibility of load balancing 2 web servers and have both access an NFS share on an NFS server. I'm wondering which types of data would need to reside on the webservers and the NFS server. Would the entire web directory (HTML, CSS, images, documents) all reside in the NFS server... (1 Reply)
Hi,
I have created symlink under /.
It is /latest Pointing to /home/users/neel_prog_V1.0.
(Note: I have created this symlink so that when version get changed I will need to change only symlink instead of doing changes in /etc/exports.)
I have shared this symlink with NFS. in /etc/exports I... (0 Replies)
I've got a bunch of application CDs that I use here at home under Wine. They are Windows applications and as such, some of them want to see the volume label in order for the application to run. So... just copying the CD-ROM contents to a directory doesn't work. With that in mind, what I've done... (1 Reply)
I have RedHat 9.0 installed on three of my servers (PIII - 233MHz) and want that they share a common IP address so that any request made reaches each of the servers.
Can anyone suggest how should I setup my LAN. I'm new to networking in Linux so please elaborate and would be thankful for a timely... (2 Replies)