Hi, we have a customer for which we are replacing Netapps with Isilon. The challenge we have in this customer environment is that they have 2 NIS domains serving/authenticating 2 separarate business units. Isilon currently doesn`t support multiple NIS domains. So we are proposing this solution to the customer. The existing NIS domains A and B remain intact and untouched and we create another NIS domain C which is a combination of NIS domains A and B, i,e the NIS domain C has users from both the NIS domains A and B. Isilon uses domain C to authenticate the users. We have scripts which automate the synchronization of the users across domains, i.e. whenever a user is created/modified in domain A or domain B, the user gets reflected in domain C as well thus Isilon can see the user as well. So here is how our solution looks like.
I am wondering if this is a feasible solution and will EMC support will support this solution? Please note that Isilon (Consolidated Storage) still only sees the NIS domain C while workstations/clients in domain A authenticate using NIS domain A and others use domain B.
Assuming you are using NIS for NFS3, there it no "authorization" involved when the clients connect to the server.
Therefore your plan is pretty easy to set up. HOWEVER you will run into problems as soon as the same numerical user id appears in both A and B but for two different users, or vice versa.
Hi Peter, Thanks for your reply. Yes, this customer do have users which are common across both the domains. Thus there are username conflicts. These users have same username but different UID/GIDs across the two domains. This is not an issue on the client side as domain A workstations only see UID/GID corresponding to domain A and vice versa. Also note that due to the business policy which says that all the users except data management users should not be able to see the data across business units or in other words, the workstations/clients that belong to domain A only has domain A specific mount points and domain B clients only have domain B specific mount points. Also this customer has a standardization that the mount points are mounted using root through /etc/fstab on clients which are Linux (ver 3, 4 and 5) and Solaris (ver 9 and 10).
This possible could be an issue if they use users other than root to mount the mount points which is not the case as they use root. So in domain C, we maintain both the identities of the conflicting users. For eg a user X has uid/gid in domain A as 100/10 and in domain B has 900/90. The domain C will have two maps passwd.byname and passwd.byuid. And it will contain both the uid/gid. Thus when a lookup is done for uid 100 or 900 in domain C, both the queries will give the username userX. For customer, the user identity in domain A is important and they are ok to discard the identity in domain B. That is from the above example, use the identity 100/10 and discard 900/90. If we do this, we will have to change the uid/gid 900/90 to 100/10 and then chown the files. But we don`t want to do this as there are legacy applications which store the username and uid/gid inside the application database and config files and the moment we change these, it may break the application and the application vendor doesn`t guarantee smooth operations.
Also, YES, ALL THE MOUNT POINTS ARE USING NFS3.
So based on the above information, will this solution still be valid? Thanks a bunch for your help, appreciate it!
Relevant for NFS3 operations are only the numerical IDs. Collisions here would be the larger problem, though things might go well at first sight. But quotas wouldn't work as expected if a quota domain covers exports for both A and B. And if there are have users with more that 16 groups, and therefore NFS exports are configured to do the group lookups of the Isilon side(!), a user could obtain the group memberships from the sibling in the other domain.
The analysis for collisions of textual user names looks pretty plausible to me. Just beware of fancy extra "id mappings" steps one might do on the Isilon later on, or inclusion ofSMB sharing. It can get really hard to track the actual functions of permission, quotas, etc when mappings are involved plus ambiguities exists.
Hi Peter, thanks a bunch for your response and help. I am not worried about the numerical ID conflicts as there are no users who`se id is taken by another user. Also, if I remember correct this customer doesn`t have smart quotas enabled so that part is sorted out for me too, I`ll double check to be sure.
Wondering what do you mean by "fancy extra id mappings steps one might do on the Isilon later on... ".
Peter, one more question on Isilon ID mappings. Can I establish and equivalence among two NIS users from the same NIS domain? Can I say a users with uid/gids 900/90 and 100/10 are equivalent (if not the same) and should enjoy the same ownership and access privileges?
Are these mappings permanent or a flush can erase them?
Peter_Sero
6 Operator
•
1169 Posts
1285
2
Posted October 7th, 2013 02:00
Assuming you are using NIS for NFS3, there it no "authorization" involved when the clients connect to the server.
Therefore your plan is pretty easy to set up. HOWEVER you will run into problems as soon as the same numerical user id appears in both A and B but for two different users, or vice versa.
-- Peter