Add Brocade MLX & VDX Support to HP IMC
HP IMC 7.1 E0303P13 does not support configuration backups for Brocade MLX & VDX devices. But they do have an extensible model, so it’s easy to add support. Here’s how to do it, and how to fix the Brocade ICX support.
Here’s the steps to add support for MLX & VDX devices to HP IMC:
- Download the current set of adapters from GitHub.
- Unpack the zip file, and copy the adapters into place.
- Add Device Series & Device Model definitions.
- Restart IMC, re-synchronise, and check file transfer modes.
Going into a bit more detail:
NetOps Custom Adapters
This GitHub repository maintains a set of 3rd-party developed adapters for HP IMC. You can download individual files, create a local copy of the repo using Git, or just download a zip file containing all current scripts from here.
On the IMC server, adapters are stored at
(IMC)/server/conf/adapters/ICC. You’ll see directories for all supported vendors there:
1 2 3 4 5 [root@imc ~]# cd /opt/iMC/server/conf/adapters/ICC [root@imc ICC]# ls 3Com Alcatel-Lucent Aruba Networks Avocent Cabletron Dell Enterasys F5 Fortigate H3C Hillstone IBM Lantronix Motorola Nortel networks PaloAlto Tasman Adtran Allied Telesis Avaya Brocade Cisco Digi Extreme networks Force10 Foundry Hewlett Packard Huawei Juniper networks Marconi MP Packeteer Ruijie ZTE [root@imc ICC]#
Under each vendor directory is an
adapter-index.xml file containing mappings to specific adapters, and a directory for each specific adapter. So we can see here that Cisco has a number of different adapters for different Cisco devices:
1 2 3 4 [root@imc ICC]# ls Cisco adapter-index.xml CiscoAS54xx CiscoC2980G CiscoESR CiscoIOS7K CiscoIOSGenericNoLog CiscoIOSL3Switch CiscoIOSUndiscovered CiscoNX7K CiscoSNMP CiscoAC CiscoASA CiscoCatNative CiscoIOS12K CiscoIOSGeneric CiscoIOSGenericSwitch CiscoIOSSwitchRoutingModule CiscoIOS_XR CiscoNXOSSNMP [root@imc ICC]#
From either your local copy of the repo, or the downloaded zip file, find the
adapters/ICC/Brocade directory. Copy
(IMC)/server/conf/adapters/ICC/Brocade on your IMC server.
If you discover a Brocade VDX system with HP IMC, it will be monitored via SNMP. But it shows up as “Brocade Generic.” Similarly, an MLX will show up as “Foundry Generic.” This is mostly just a cosmetic annoyance (but make sure the displayed vendor name matches the adapter directory). Here’s how to fix that:
Open the IMC web interface. Go to System -> Resource Management -> Device Series
Click “Add” - add new series name “Brocade MLX.” Set the vendor to Brocade, and Description to “Brocade NetIron MLX.”
Repeat the above for “Brocade VDX”
Go to Device Model. Add new sysOID -> Device Model mappings. Make sure you pick the right vendor & series.
If you’ve already discovered devices in IMC, you can select one to copy the sysOID from. Here’s some MLX & VDX sysObjectIDs:
- MLX16Rt - 18.104.22.168.4.1.1922.214.171.124.1.2
- MLX8Rt - 126.96.36.199.4.1.19188.8.131.52.2.2
- MLX4Rt - 184.108.40.206.4.1.19220.127.116.11.3.2
- MLX-32Rt - 18.104.22.168.4.1.1922.214.171.124.4.2
- MLXe-16Rt - 126.96.36.199.4.1.19188.8.131.52.1.2
- MLXe-8Rt - 184.108.40.206.4.1.19220.127.116.11.2.2
- MLXe-4Rt - 18.104.22.168.4.1.1922.214.171.124.3.2
- MLXe-32Rt - 126.96.36.199.4.1.19188.8.131.52.4.2
- VDX6740 - 184.108.40.206.4.1.15220.127.116.11.131
- VDX6747 - 18.104.22.168.4.1.1522.214.171.124.1.1.112
- VDX6740T - 126.96.36.199.4.1.15188.8.131.52.137
- VDX2740 - 184.108.40.206.4.1.15220.127.116.11.138
- VDX6740T1G - 18.104.22.168.4.1.1522.214.171.124.151
- VDX7770P36 - 126.96.36.199.4.1.15188.8.131.52.153
- VDX7770P72 - 184.108.40.206.4.1.15220.127.116.11.154
- VDX8770S4 - 18.104.22.168.4.1.1522.214.171.124.1000
- VDX8770S8 - 126.96.36.199.4.1.15188.8.131.52.1001
- VDX8770S16 - 184.108.40.206.4.1.15220.127.116.11.1002
Restart & Resynchronise
You’ll need to restart IMC so it picks up the changes to device adapter definitions. It will also need to resynchronise the devices to pick up the changes. This will happen automatically within a few hours, or you can force it.
The MLX adapter supports SCP. I strongly recommend setting the file transfer mode to SCP. This is better than using the CLI adapters.
Now you should be able to back up those devices.
ICX Adapter Updates
HP IMC ships with adapters for the Brocade/Foundry ICX FastIron systems. This adapter does not support SCP, and there are issues with the CLI fall-back adapter. If you want to apply these changes, copy the
adapters/ICC/Foundry/FoundryNetIron directory from the GitHub repo to
(IMC)/server/conf/adapters/ICC/Foundry and restart IMC.
Now you can use SCP for those devices too.
These adapters have had limited testing. Device backup works, and Configuration deployment should work. Firmware deployment has not been tested. If you have any problems, either get in touch with me, or submit a Pull Request.