- Community Home
- >
- Storage
- >
- HPE Nimble Storage
- >
- Application Integration
- >
- Nimble Connection Manager version checker via REST...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2016 12:51 PM
04-06-2016 12:51 PM
Nimble Connection Manager version checker via REST/python
This was a tool I put together to help us find all the MS servers connected directly to an array and check their version of NCM. It works by using Casey Crawford's Nimble REST python wrapper to connect to the specified array and gather all of the defined initiators. From there it looks for the word "microsoft" in the IQN and if found, it calls a WMIC query to the target server name derived from the IQN to check for NCM and what version it is.
This currently is *Windows* only!
Requirements:
1. must be run with privileges that can call a successful WMIC query to your servers
2. assumes that target IQNs on servers have NOT been changed, as they by default, contain the server FQDN, which this script relies on for the WMIC calls.
3. if you have a python environment, you must have "requests" installed for REST wrapper to work. "pip install requests" will bring the package in. I am working on a proper build with a requirements.txt to be fulfilled by setup.py. If you do NOT have a python environment, I have a compiled .exe in the 'dist' folder that will run on a machine without any libraries (as tested on default install win7 machines in my environment).
You will probably find some bugs as my environment for testing is not very large and we dont tend to use 'in-guest' connections very often. It is very useful however when you need to find which servers do have 'in-guest' and what versions they are using!
https://github.com/davidrichey84/ncm_checker
Please let me know of any bugs you run into or you can contribute to the project on Github.
Thanks!