Migrating Business Application Definitions - TADDM/taddm-wiki GitHub Wiki
Note that the following applies to TADDM 7.2.x only and has not been tested and is probably not applicable to the TADDM 7.3 grouping patterns functionality.
First we must migrate the business application and functional group definitions from source TADDM to target TADDM. On the target TADDM server run the following:
api.sh -H -u administrator -p collation -H <source> find -d 2 Application > application.xml
Now remove the individual members from the functional groups. The member components may not exist in the target TADDM database. Once we define the rules, the topology agents will rebuild the relationships for the components that exist in the target TADDM database.
grep -v "<members" application.xml > applicationwithoutmembers.xml
Now create the new business applications and functional groups in the target TADDM database. On the target TADDM server run the following:
api.sh -u administrator -p collation import applicationwithoutmembers.xml
Next we migrate the application templates containing MQL rules. On the target TADDM server run the following:
api.sh -H <source> -u administrator -p collation find -d 2 AppTemplate > apptemplates.xml
Import the application templates:
api.sh -u administrator -p collation import apptemplates.xml
Now to populate the applications by triggering the MQL rules, run the following from a storage server (not sure exactly which agent needs triggered so run all).
support/bin/runtopobuild.sh -bw