I am wondering if anyone else has tried to use the CIFS session management part of the CIFS MMC plug in. The shares and open files parts work fine for me - they are fast and I can modify items, but the session management refreshes so incredibly slowly that it is constantly refreshing (with only 10 users on the system) so it is unusable. Anyone else with the same issues. I have a VNX 5300.
So I figured out that this is because our clients (Macs and Linux) machines do not have entires in DNS so the Microsoft MMC client times out when it does lookups (no idea why it has to do lookups as I would be happy with an IP). Anyway, what do other folks do in this situation? Is there a way to manage cifs client sessions from the control station or some sort of API? Or do folks just give up on session management.
i see very similar slow performance in my MMC on NS80, all our machines are in DDNS. I don't really look at sessions that often so we have raised it as an issue.
OK, I have a work around that gets around the problem with Microsofts session manager. What I did was to set up dnsmasq as a intermediate dns server that returns a single hostname for all the clients. My set up is as follows:
1. Set up dnsmasq on a linux machine with just these changes from the defaults:
# ad.nsd.org is the domain that the VNX is joined to for CIFS. This line returns 127.0.0.1 for all queries
# for any host in ad.nsd.org (e.g. host1.ad.nsd.org)
address=/ad.nsd.org/127.0.0.1
# Add in the srv records so the client can query the AD servers
10.X.X.X ski.ad.nsd.org # This is the ip of the windows client
2. Point the windows client to use the dnsmasg dns server.
3. Session management now works perfectly from this windows client. You will not see the names of the machines connecting, but you will see the user names and can kick a user off if you need to.
One side note is that to *really* kick a user off the server, you need to change their password in Active Directory, wait 5 minutes for something to expire (probably the kerberos ticket), and then close the session. If you do not do this, the client will reconnect.
In some ways it is more fun and in other ways less fun than a University . We are just starting the migration process, by I expect to have around 3000 - 5000 concurrent connections. I do not need to scroll through the MMC as you can just start typing the user's name and it takes you right to the correct session. The problem with server_cifs -o audit is that you can not actually kick the user off. I have submitted an enhancement request for CLI functionality like this (I believe that NetApp already has CLI functions for CIFs management). Ah so what you be the undocumented way to kill all sessions of a client - I am interested - ski@nsd.org. And for the last questions, I will not be in Las Vegas next week - hope you have fun there.
ski98033
9 Posts
1161
0
Posted May 16th, 2012 15:00
So I figured out that this is because our clients (Macs and Linux) machines do not have entires in DNS so the Microsoft MMC client times out when it does lookups (no idea why it has to do lookups as I would be happy with an IP). Anyway, what do other folks do in this situation? Is there a way to manage cifs client sessions from the control station or some sort of API? Or do folks just give up on session management.