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

book

Article ID: 50873

calendar_today

Updated On:

Products

CA Automation Suite for Data Centers - Configuration Automation CA Client Automation - Asset Management CA Client Automation - IT Client Manager CA Client Automation CA Client Automation - Remote Control CA Client Automation - Asset Intelligence CA Client Automation - Desktop Migration Manager CA Client Automation - Patch Manager CA IT Asset Manager CA Software Asset Manager (CA SAM) ASSET PORTFOLIO MGMT- SERVER CA Server Automation CA Service Management - Asset Portfolio Management CA Service Management - Service Desk Manager

Issue/Introduction

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'

Environment

Release: UASIT.99000-12.5-Asset Intelligence
Component:

Attachments

1558535289855TEC547487.zip get_app