Disable/Enable Host with Control-M Job

Everything about Control-M Enterprise Manager Server installation or setup.
Post Reply
User avatar
cheli
Nouveau
Nouveau
Posts: 12
Joined: 13 Jan 2010 12:00
Location: Abu Dhabi

Disable/Enable Host with Control-M Job

Post by cheli » 30 Dec 2010 5:32

Is it possible to Disable or Enable host through control-m job. If yes, do I need to write script for it or directly pass at job command level. Any help will be highly appreciated. Thanks.

User avatar
rchkevin
Nouveau
Nouveau
Posts: 67
Joined: 29 Oct 2007 12:00
Location: Chennai

Post by rchkevin » 30 Dec 2010 8:29

Hi,

Create a command line job with owner as ControlM Server user ID. Command 1 is to enable the agent host. Command 2 is to disable the agent host. Node ID of the job should be the name of Control-M Server

1. ctm_agstat -UPDATE <agent> AVAILABLE
2. ctm_agstat -UPDATE <agent> DISABLED

Post Reply