Red Squirrel
No Lifer
I sorted asked this in another thread but thought I'd start a thread on it. If I have multiple users and multiple servers, what is the easiest way to set it up so that I have unified access across all systems?
Ex: I have a file server, let's call it SAN, but it's basically just a Linux box sharing NFS shares and is configured so only the servers that need to access it can.
Now I have two servers, Server1 and Server2. Let's just say they are VM servers but it does not really matter. Both those servers have a LUN mounted off SAN via NFS. Now when you mount something normally the permissions of whoever is accessing it matter, and not the permissions of whoever mounted it. This is where things can get really confusing, as the local permissions on the SAN might be root, or some other user/group. Those are local users, so the user on the other two servers trying to access it will often be access denied, unless I go on server1 as root, and chown/chmod it appropriately. This then makes the permissions invalid on the SAN or any other machine, but they are valid on server1. Now how do I get both server1 and server2 to have proper access to these? I also want to read up on ACLs, would it fix this situation?
Similar situations are true when dealing with rsync and pretty much any other file tools.
Do I need to look into using LDAP for all my servers or is there perhaps an easier way to deal with multi user/server access situations? Just trying to clean stuff up, as my current setup is kinda ugly, and I will be introducing a SAN soon which may complicate things as my file system has lot of various permissions based on the folders/programs that need to access those folders so really not sure how it will play out once that file system is moved from local to NFS. I could use iSCSI but I rather use NFS as it's better designed for multi server accessing the same FS.
Ex: I have a file server, let's call it SAN, but it's basically just a Linux box sharing NFS shares and is configured so only the servers that need to access it can.
Now I have two servers, Server1 and Server2. Let's just say they are VM servers but it does not really matter. Both those servers have a LUN mounted off SAN via NFS. Now when you mount something normally the permissions of whoever is accessing it matter, and not the permissions of whoever mounted it. This is where things can get really confusing, as the local permissions on the SAN might be root, or some other user/group. Those are local users, so the user on the other two servers trying to access it will often be access denied, unless I go on server1 as root, and chown/chmod it appropriately. This then makes the permissions invalid on the SAN or any other machine, but they are valid on server1. Now how do I get both server1 and server2 to have proper access to these? I also want to read up on ACLs, would it fix this situation?
Similar situations are true when dealing with rsync and pretty much any other file tools.
Do I need to look into using LDAP for all my servers or is there perhaps an easier way to deal with multi user/server access situations? Just trying to clean stuff up, as my current setup is kinda ugly, and I will be introducing a SAN soon which may complicate things as my file system has lot of various permissions based on the folders/programs that need to access those folders so really not sure how it will play out once that file system is moved from local to NFS. I could use iSCSI but I rather use NFS as it's better designed for multi server accessing the same FS.