Request for discovery Hitachi VSP-G200 storage by CIM Protocol

Idea ID 1659759

Request for discovery Hitachi VSP-G200 storage by CIM Protocol

We need to discover Hitachi VSP-G200 storage by CIM Protocol, but current discovery (Storage Devices Connection by CIM and Storage Devices Topology by CIM) doesn't support this storage. The discovery supports hitachi arrays, but only arrays with "root/smis/current" namespace . For new Hitachi storages namespace is "root/hitachi/smis".

I'm not first one who needs this feature -



I've already done my own research for this case and I can say that current discovery works fine for Hitachi VSP-G200 with a little bit improvements:

1. add new namespace to cimCategories.xml


2. change (I've attached this file)

HITACHINAMESPACENEW = 'root/hitachi/smis'
    DEFAULTNAMESPACE:   'cimv2',
    L3PARNAMESPACE:     'tpd',
    EVANAMESPACE:       'eva',
    LISTARRAY13:        'netapp',
    EMCNAMESPACE:       'emc',
    BROCADENAMESPACE:   'brocade',
    HUAWEINAMESPACE:    'huawei',
    HITACHINAMESPACE:   'hitachi',
    IBMNAMESPACE:       'ibm'
    def bindNamespace(self, ns):
        vendor = NAMESPACE2VENDORMAP.get(ns)
        if vendor == 'hitachi2':
            vendor = 'hitachi' 
        script =  'smis_'+vendor
        className = 'Namespace'
        logger.debug("Namespace vendor name %s" % vendor)
        module = __import__(script)
        if hasattr(module, className):
            nampespaceClass = getattr(module, className)
            self.namespace = nampespaceClass()
            logger.debug("Imported the module %s" % script)
            logger.debug("Got the namespace %s" % self.namespace)
            logger.debug("Failed to import the module %s" % script)

I hope it will be useful for RnD. If RnD needs communication log please contact with me by email.



Tags (1)
Super Contributor.
Super Contributor.
Also the solution works not only for VSP-G200, but for VSP-F800 and VSP-F800 too.
Outstanding Contributor.
Outstanding Contributor.

Silly question, what do you have to do on the Hitachi side to enable this discovery? is there a user account to create somewhere? I know 0 about storage... 

Micro Focus Expert
Micro Focus Expert
Status changed to: Waiting for Votes

The idea has received an initial review to ensure adherence to our idea submission and community guidelines. More information may be needed at this stage and we expect the community to help prioritize the idea with comments and voting

Super Contributor.
Super Contributor.

mike_toronto2 - if you use Hitachi Storage Manager just create user there with SMI-S read only permission. If not you should create user for each storage device.

Discovered topology will be like this:


The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.