Deploying config file from central location to multiple agents

Deploying config file from central location to multiple agents

I was using NT_RunDOS job to execute some DOS command using a batch file then all of a sudden I realized that the batch file path needs to be provided from each of the agent machines. I need to run this DOS command on at least 100 agent machines and then I need to manually copy the batch file on 100 agent machines at the same location. This did not sound feasible to me so I thought of creating a new KS in such a way that it can push my batch file to all of the agent machines at a common location. I did it by using the VBS extension which is a very powerful mechanism in AppManager. Here is what you need to do:

In the attachment, copy the push config VBS file to "<NetIQ InstallDir>\AppManager\scripts" location then check in the KS (provided in the attachment) in the QDB.

The KS accepts the following parameters:

Path of the file to distribute: Provide the central file path location which you wanted to distribute on multiple agent locations.

Save the file to the folder: Provide the path of the file location to be saved on agents. Leave blank if you are not sure about it. In this case, it will store the file in App Manager default installation directory.

Take backup first: Select the option "Y" if you want to take the backup of previously deployed file otherwise select "N"

Click on OK and this will deploy the batch file or any other file on agents. Later on, you can run the NT_RunDOS job without copying the file on 100 agents manually. Enjoy!

Labels (1)
Tags (1)


Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Top Contributors
Version history
Revision #:
9 of 9
Last update:
‎2020-01-09 18:35
Updated by:
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.