I hate long running steps. I am the shortcut king which can be both a bad and good thing. And as awesome as the Celerra NFS Plug and our new Unified Plug-in are, there was one minor thing I didn’t like as much about the install process. The DHSM config.
I had got an email from a teammate on an issue he was having this week. It turned out to be the same thing that had happened to me a month before, user error. Messing around with Linux console CLI commands is easy if your are Clint Kitson. But, if you are tired or hungry or a Window guy it isn’t your favorite thing to do. The new Perl script is great for a one way setup. But, this wasn’t good enough for me.
I was sitting in the EMC Innovation Conference with my buddy Ed Saipetch when I had a crazy idea. What if someone wrote a GUI for the DHSM setup that would explain everything and make it easy to configure. “But Nick…”, you might say. “How can you configure DHSM from a Windows GUI when it is done from a Linux CLI?” Well I also happen to be working on another much bigger project that solved this problem. So using the progress I made on the big project and some XAML stuff I do with my VMware tools I have created the UBER Celerra DHSM Tool.
All you need is a Windows workstation with network access to the Unisphere/Control Station Web interface. This tool will allow you to:
- Create, modify or delete users.
- Add or Remove Users from Allowed Users List
- Add or Remove Hosts from Allowed Hosts List
- Start or Stop DHSM Services
It is designed to be as GUI-centric as possible so you get cool feature like just selecting a user from a list to add to an allowed user rule(no having to type!).
Couple things to look out for:
- If an operation for adding a user gets locked you may need to reboot the datamover or clear the lock file. I could have created a process to manage this but I have my limits.
- You do need to login as root to create a new user. If just changing rules you only need nasadmin.
- Speed is relative to the Celerra. The app stays single threaded so if it locks up it is waiting on the Celerra to respond.
*** New update ***
I just updated the tool with a couple new features:
- It will now expose the UID and GID values in the creation of the user (credit for the idea to Pete Richardson). It will auto populate the values but allow you to customize. It will also validate your values.
- Now when you delete a DHSM user it will remove them from the Allowed User list if they are there also.
*** Back to your regularly scheduled blog post ***
And as always, let me know how this works for you. Feedback is gold.