In the ETL Module view, complete the following steps:
If the ETL Module view is not displayed in the Integration Studio, add the view For detailed steps, see To add the ETL Module view to the Integration Studio.
After you activate a module, the following updates occur:
The Status value is Ready for production, which means the module is activated and is available for usage in the production environment.
The module appears in Red color in the BMC TrueSight Capacity Optimization Repository view.
The module is uploaded to the repository and the code is distributed to all ETL Engine Server computers (copied into the
/customsrc folder on each ETL Engine Server), to be available for running in an ETL.
The custom module is displayed in the list of ETL modules when adding an ETL in the TrueSight Capacity Optimization console.
If you make changes to the ETL code later and want to bring the updated module in production mode on the ETL Engine Server, then you must activate the module again by clicking the Activate button, even if it is already active. At this point, you will be asked whether or not you want to overwrite the existing module.
As a best practice, if a new or a modified module is different in behavior than an existing one, provide it an explicitly different name (Use a version number such as TSCOparser02P.pm). By doing so, the old ETLs continue to use the old module and the new ETLs can use the new module.
Standard configuration is applied to new parser modules by default. If you need to configure additional parameters for the module, you can define custom properties in the ETL Module view.
For example, consider a scenario where you want to verify whether a row in a parser has exactly 24 samples. If there are less than 20 samples, the ETL should send out an alert. To do this, you can define the
parser.MyParser.expectedminsamples custom property.
The recommended naming convention to follow for properties used by the parser is:
The following code example explains the usage of custom properties in a parser method:
You can send an alert to the TrueSight Capacity Optimization administrator by generating an error message, and as a result, TrueSight Capacity Optimization generates an e-mail alert or other alert signals, according to the current configuration. If several error messages are present, a single e-mail containing a list of alerts will be sent.
To add the ETL Module view to the Integration Studio