Automation of Defining Agent at Topology
search cancel

Automation of Defining Agent at Topology

book

Article ID: 115353

calendar_today

Updated On:

Products

DSERIES- SERVER CA Workload Automation DE - System Agent (dSeries)

Issue/Introduction

Using a script or command to define new agents and its users without manually adding the agents to the Topology. The motive is to remove the manual work done in Topology in the Desktop Client.

Is there any way that the new Agent and its users can be defined in Topology by any script or command?

Environment

CA Workload Automation DE 12.x

Resolution

You can use the CREATEAGENT command to add new agent and its users to the Topology. The following example adds a new agent (MYAGENT) to the Topology:

createagent name("MYAGENT") description("Windows-NT/2000") address("HOSTNAME") port(7520) template("winnt") version("Release 11.3") encryptkey("1234567890ABCDEF") encryptionmethod("DES") snmpenabled(true) userids(userid(id("user1") password("1234567890ABCDEF")) userid(id("user2") password("1234567890ABCDEF")))

Additional Information

createagent Command - Add an Agent to the Topology