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

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

book

Article ID: 221034

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

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?

Environment

UIM - any version - Linux robot required

Script tested on Centos7 and RedHat7 successfully. Other OSs may or may not work.

Resolution

Attached to this KB is a collection of scripts which can be used to duplicate a robot a number of times on a server and manage those robots.

This collection of scripts is provided as-is -- Support cannot assist with operation or configuration.  

you will need to install one "base" robot using e.g. nimldr to the default /opt/nimsoft location.

once you have done so, the scripts can be used to create and manage a large number (hundreds) of duplicate robots with unique names on a single Linux machine.

The "nimdup.sh" script is the main script and does the actual robot cloning; this will need to be edited carefully for your UIM environment before running it.

The other scripts have generally self-explanatory names and are used for various administrative tasks like stopping, starting, and deleting cloned robots en masse.

each script contains instructions within the script itself and they should be fairly self-explanatory.

Robots are relatively low impact; on a system with 4gb RAM in a test environment you can likely run around 200 robots with plenty of resources left over.  The main danger is running out of ports and disk space, but you should be able to do 500 robots on a system with enough resources.

Note: it may be necessary to increase the open files limit to a high number like 500000 to avoid robot failures over time.

How to increase open files limit in Linux

Attachments

1663792470980__robot-duplicator-scripts.zip get_app