how can I quickly and easily spin up a large number of robots for testing purposes?


Article ID: 221034


Updated On:


CA Unified Infrastructure Management On-Premise (Nimsoft / UIM)


In my lab/test environment, I want to set up a large number of robots (hundreds) in my UIM environment so I can test at scale.  How can I easily accomplish this?


UIM - any version - Linux robot required


Attached to this article is a script ( which can be used to make numerous copies of an existing robot that can run on a single host.  These will be real robots that can accept probe deployments, generate alarms and QoS, etc.

You will need one robot on Linux OS which will be used as the base robot image.  You will need to place the file on the robot somewhere and the robot should be installed to the default /opt/nimsoft location.


You will need to edit the file as follows:

Line 22:  Replace "MyDomain" with your UIM Domain.

Line 23 (optional): change "fakerobot" to some other name.  Robots will be named e.g. fakerobot-1, fakerobot-2, fakerobot-3, etc. if you do not change this.

Line 24: change to the actual IP address of the machine hosting the robot (where you are running

Line 35: change "MyHub" to the name of the hub which the robots will connect to

Line 36: change "MyHubRobotName" to the robotname of the hub from line 35

Line 37: change "" to the IP address of the hub from line 35


Once you have made the appropriate changes, run the command as follows - the first parameter/digit is the "start number" and the second parameter digit is the "finish number", e.g. if you specify "1" and "20" you will get 20 robots named fakerobot-1 through fakerobot-20.

./ 1 20

to generate 200 robots:

./ 1 200

If you want 100 more after that, numbered fakerobot-201 through fakerobot-300:

./ 201 300

Robots are relatively low impact; on a system with 4gb RAM I was able to run 200 robots with plenty of resources left over.

Attachments get_app