How to generate an MDB with a hundred computers quickly for testing integrations?

Document ID : KB000050873
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

We want to generate a test MDB with many recorded ITCM computers in it without these computers actually existing and registering. This can be useful to test integration with other CA Products, like Service Desk or for testing the SQL bridge functionality or replication process from the Domain Manager to Enterprise Server. How can this be done?

Solution:

There are basically two ways to do this:

  • Make a copy of the production MDB and install it in the test environment according to the Green Book
    https://support.ca.com/phpdocs/7/common/greenbooks/CA_ITCM_HowtoMovetheMDBforr11_ENU.pdf

  • Create a batch file containing as many as needed cadsmcmd commands, one for every computer to be recorded. The batch file containing these commands must be edited (manually or from a script) to change the name and address parameters in order to make them unique. The cadsmcmd command is as follows:

    'cadsmcmd targetcomputer action=create name=test1 computertype=machine address=test1 os=WIN_XP'
File Attachments:
TEC547487.zip