Infuriating product…
Export MA from one environment, try to import it to another using “Update Management Agent” and encounter this error:
1 2 3 4 5 6 7 8 9 10 11 12 |
Update management agent from file starting… Reading the import configuration from file. Constructing the new Import Attribute Flow Rules. Begin processing the management agent update information… Management agent file version checking starting… Management agent file version checking successfully completed. Management agent version checking starting… Management agent version checking successfully completed. Merging import configuration from file starting… An error was encountered preprocessing information for the management agent ‘RoleImporter’. Management agent update processing FAILED. Update management agent from file FAILED. |
Nothing in the event log, I sense another wasted day coming up…
The issue turned out to be that I was not only updating the MA configuration, but also the ECMA2 DLL associated with the MA as the same time. The new DLL introduced some new ConfigParameters on the connectivity page. In order to be able to import the new MA config, I had to first do a “refresh Interfaces” on the exisint MA (with the new DLL in place), and then run “Update Management Agent”.
So, if updating a Management Agent at the same time as an ECMA2 DLL, the following order should be observed:
- Replace the DLL
- Open the existing MA, do “Refresh Interfaces” and save.
- Run “Update Management Agent” and provide the new config XML
Hopefully you then get an successfully updated MA:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
Update management agent from file starting… Reading the import configuration from file. Constructing the new Import Attribute Flow Rules. Begin processing the management agent update information… Management agent file version checking starting… Management agent file version checking successfully completed. Management agent version checking starting… Management agent version checking successfully completed. Merging import configuration from file starting… Matching the management agent partitions. Migrating the management agent partitions. Management agent schema compare starting… The management agent schema is unchanged. Custom validation starting… Custom validation successfully completed. Merging import configuration from file completed. Rules validation for management agent ‘RoleImporter’ starting… Management agent rules validation successfully completed. Updating management agent : ‘RoleImporter’. Updating the import attribute flow rules… Import attribute flow rules update successfully completed. Management agent update processing successfully completed. |