Configuring your system to work with third-party software provider
After you have completed these steps, you can access the software usage feature from BMC Helix ITSM: Asset Management. The software usage feature works with any discovery source, provided all the setup is performed as described.
To create the view for software usage information
A namespace must be chosen for the discovery source to categorize and partition the data. A view in the local database must include the following columns:
- nameSpace _Integration_ID
- Last_Used_Date
- Num_Times_Used_in_180_Days
- Num_Times_Used_in_30_Days
- Num_Times_Used_in_90_Days
- Product_Name
To create the federated class with the correct field IDs
The discovery source, such as BMC BladeLogic Configuration Automation, must federate the software usage information into BMC Helix CMDB. Install the federated class that is federating the usage information. BMC BladeLogic Configuration Automation discovery installs the BCAC:BCAC_Software_Usage federated class as part of the CDI version 8.0 or later.
For any other third-party discovery source, you must make sure that the federated class for the discovery source exists. The federated class brings in the fields from the view described in Creating the view for software usage information. Make sure that fields IDs are specified as listed in the following table.
Field IDs for federating software usage information
You must register the federated class in BMC Atrium Core. You can verify the registration in the Class Manager Console.
The following figure shows a federated class in Class Manager:
To register the plugin in plugin_config.xml
You must register the plugin in plugin_config.xml, which is located under path\AtriumCore\cmdb\plugins\shared. You can see example entries in the XML file.
In the following example, BMC Atrium Core is installed in C:\Program Files\BMC Software\AtriumCore, and the plugin being registered is BCAC_DISCOVERY_PLUGIN. You might need to change the path, depending on where you installed BMC Atrium Core. You must change the plugin to the name of your plugin.
<name>BCAC_DISCOVERY_PLUGIN</name>
<type>ARDBC</type>
<code>JAVA</code>
<filename>C:\Program Files\BMC Software\AtriumCore\cmdb\plugins\
federation\federation-jdbc.jar</filename>
<classname>com.bmc.atrium.federation.jdbc.JdbcAdapter</classname>
<pathelement type="path">C:\Program Files\BMC Software\AtriumCore\cmdb\plugins\db2jcc-3.3.54.jar</pathelement>
<pathelement type="path">C:\Program Files\BMC
Software\AtriumCore\cmdb\plugins\db2jcc_license_cu-3.3.54.jar</pathelement>
<pathelement type="path">C:\Program Files\BMC Software\AtriumCore\cmdb\plugins\jconn2-5.5.jar</pathelement>
<pathelement type="path">C:\Program Files\BMC Software\AtriumCore\cmdb\plugins\jconn3-6.0.5.ESD7.jar</pathelement>
<pathelement type="path">C:\Program Files\BMC
Software\AtriumCore\cmdb\plugins\ojdbc5_g-11.1.0.6.0.jar</pathelement>
<pathelement type="path">C:\Program Files\BMC Software\AtriumCore\cmdb\plugins\sqljdbc-1.2.jar</pathelement>
<pathelement type="path">C:\Program Files\BMC Software\AtriumCore\cmdb\plugins\sybase_client-5.jar</pathelement>
<pathelement type="path">C:\Program Files\BMC
Software\AtriumCore\cmdb\plugins\federation/federation-common.jar</pathelement>
</plugin>
To register the plugin in ar.cfg
You must register the plugin in ar.cfg, which is located in .\ARSystem\Conf. In the following example, the plugin is named BCAC_DISCOVERY_PLUGIN and the server is named myServer. You must change the plugin to the name of your plugin and myServer to the name of your server.
To configure the AST:ConfigUsageProvider form
You must specify the discovery source for usage information in the AST:ConfigUsageProvider form. Provide the namespace and the class name of the federated class that is being used to provide the data. After you make these changes, you must restart the AR System serverfor the change to take effect.
To access the usage information
After the usage federated class and other related configuration is done, IT Asset Managers can access the usage information about the SAM Console.
The following figure shows the Software Usage console: