How to discover and monitor devices grouped under Customer "Groups and Management" in EMC M&R
From ESM 9.3 release onwards, Server Manager provides EMC M&R specific filters and properties in the XML configuration files for Brocade, Cisco, VNX and VMAX SolutionPacks where it can fetch data from EMC M&R through web service API in order to discover and monitor only those Storage devices that belong to a specific customer defined in M&R instead of importing the entire M&R storage topology.management/#/grouping
In order to configure ESM Manager to import devices assigned to a specific customer in M&R, users need to specify the customer group name in the following file:
<name>-sp-config.xml
under the directory where Server Manager is installed:
$SM_HOME\conf\w4n\sp-xml-conf
This directory contains a configuration file for each SolutionPack:
For example:
If there is a customer group name "My_Company" under "Groups Management" in EMC M&R, then "entityFilter" XML tags value inside <name>-sp-config.xml files should be post-appended with "& customer = '%My_Company%" string.
Make modifications to brocade-sp-config.xml, vnx-sp-config.xml, vmax-sp-config.xml, cisco-sp-config.xml based on these devices being present in your environment.
Before:
<entityFilter>devtype =='FabricSwitch' & name=='OperStatus' & vendor == 'Brocade' & isps = 'yes ' & (!vstatus | vstatus=='active')</entityFilter>
After:
<entityFilter>devtype =='FabricSwitch' & name=='OperStatus' & vendor == 'Brocade' & isps = 'yes ' & (!vstatus | vstatus=='active') & customer = '%My_Company%</entityFilter>.
Note: Loading of these files from <BASEDIR>/local is not supported. Editing these files via sm_edit is discouraged. These files are only present under <SMARTS_BASE_DIR>\conf\w4n\sp-xml-conf. Make a manual copy of the files before making any modifications.
Note: ESM Server needs to be restarted in order to load changes to these xml files.