Infrastructure at your Service

All Posts By

Nabil Saoual

Nabil Saoual

Control-M-EM check and update agent status using CLI

By | Database Administration & Monitoring | No Comments

Introduction Hi everybody, sometime access to CCM may be limited or unavailable,so how can it be possible to manage Control-M agent status without GUI?What about using Control-M CLI utility?Here is the solution Connexion on Control-m server Check status by using with agent_list utility CTMSRVCENTOS% agent_list Time Stamp : ————- 11/02/2020 09:25:52 Agent serveurctmv919 is Disabled Agent ctmsrvcentos is Unavailable Agent 192.168.56.12 is Unavailable Agent 192.168.56.10 is Available Update agent status with ctm_agstat utility CTMSRVCENTOS% ctm_agstat…

Read More
Nabil Saoual

Control-M/EM Manage job’s submission by using the ctm_pause utility

By | Database Administration & Monitoring | No Comments

Hi everybody, Introduction Today a quick trick to pause job submissions on Control-M sometimes it can be useful, during some operations or investigations related to Control-M behavior, to avoid job submission (in our case all jobs on AJF must be held but for specific folders or hosts you can use workload manager) You got two ways to put Control-M in pause Using command line CTMSRVCENTOS% ctm_pause Y CONTROL-M/Server Pause mode is already set to Y…

Read More
Nabil Saoual

VirtualBox issue E_FAIL (0x80004005)

By | Database Administration & Monitoring | No Comments

Hi everybody, I get an issue on my VM today , so that I can’t open it anymore. When trying a  system restore I get the same state. I was really embarrassed to fail to restore my VM (as a huge work was done on it) Below we will see how to fix this issue Issue description Investigations I have checked the VM folders , still got the snapshots but can’t even load them :/…

Read More
Nabil Saoual

Control-M/EM Order jobs with a specific user daily

By | Control-M, Database Administration & Monitoring | No Comments

Introduction Hi everybody,today let’s see an easy way to order a folder at a specific hour/date instead of being ordered directly by the new day procedure. To do so, we will use the ctmudly utility. Ctmudly command To order a folder depending of a specific user daily we will use this syntax (connected as controlm) ctmduly -DAILY_NAME ENTER_YOUR_USER_DAILY_NAME Be careful of maximum numbers of characters allowed to define your specific user daily(10 char). Example: ctmduly…

Read More
Nabil Saoual

Control-M/EM Remove command line from the job’s output

By | Control-M | No Comments

introduction Hi everybody, Today we will check how to remove the display of the command line from your jobs outputs in some case it can be asked to only have the result of the script, for example when attaching it in mail sent to a customer. use the ctmunixcfg utility first step is to open a command line and connect with your agent’s CTMSRVCENTOS% ctmunixcfg OS Configuration Utility 1) Bourne Shell Flags . . ….

Read More
Nabil Saoual

Control-M/EM Mass create reset counter to 0

By | Control-M, Database Administration & Monitoring | No Comments

Introduction Hi everybody, making jobs has never been such easier in using mass create utility, easy also to increment with counter feature (ex: JOB1,JOB2,JOB3) but  sometimes we may not have the expected result,especially when you do mass update for 2 different folders.Let’s see that: You already know how to do mass update, if not check on of my previous posts But what happens when I try to mass create jobs for another folder? As we…

Read More
Nabil Saoual

Control-M/EM Sending alert to SNMP

By | Control-M | 4 Comments

Hello everybody, today we will see how to send Control-M alerts to a central monitoring software Introduction The aim is to send alerts and logs from Control-M to an event manager system such as Patrol/ BMC Truesight or Nagios. We will see together how to link Control-M to a central monitoring tool,and for that,Control-M admin and monitoring admin must work hand in hand 😊.So let’s start! Copy the Control-M/EM MIB file to your SNMP server:…

Read More
Nabil Saoual

Control-M/EM How to manage a workflow with ecaqrtab utility

By | Database Administration & Monitoring | No Comments

Introduction Before the freshly come “workload manager”  feature on latest Control-M versions, the Control-M users used a lot of workarounds to manage the workload execution. Using Quantitative resources was one of the most used. Request We need to trigger a workflow on demand without having to hold the jobs or release them manually. For example, launch it and stop it at specifics time (on demand). Or preventing side effect if an operation that can impact…

Read More
Nabil Saoual

Control-M/EM Put a job already ordered in dummy mode

By | Database Administration & Monitoring | 2 Comments

Hi everybody. Today we will see how to put a job in dummy mode on the monitoring part Introduction In some case you want, or you will be asked to bypass a treatment. For that, you can put the job in dummy mode. But how can we proceed if this request is needed for a job already ordered and ready to be executed? Example You made a manual backup and the same task is usually…

Read More
Nabil Saoual

Control-M/EM Cyclic job interval less than 1 min

By | Database Administration & Monitoring | No Comments

Introduction By default, the minimal execution’s interval of a cyclic job is 1 minute (with the rerun every 0 sec option it will loop instantaneously). But what happens when you need to rerun it in a interval between 0 and 1 minute? Let’s use a little trick to achieve that Job configuration In planning pane create a job When selecting this job, go in “scheduling” tab part and tick the “cyclic” box Result: As soon…

Read More