Infrastructure at your Service

All Posts By

Nabil Saoual

Nabil Saoual

Jenkins how to create a cyclic job

By | Control-M, DevOps | No Comments

Introduction Hi everybody Today it’s not about Control-M jobs but about Jenkins jobs ,Jenkins allows you also to schedule jobs and below we will see how to make it cyclic. First , we will create a job using Jenkins graphic web interface How to create a job Connect to Jenkins interface with your login/password -Select new item -Select freestyle build -Name your build In the build’s configuration , enter your command line in the build …

Read More
Nabil Saoual

Control M/ EM Send Mail and Alert Window notification with HHMMSS format with a job

By | Database Administration & Monitoring | No Comments

Introduction During my various tasks at work , it was sometimes and for many reasons , asked by users to have more precisions in jobs notifications sent by mail. First of all, displaying the jobname , and why not the application name related and also the end of execution,without having to consult an eventual attached output. Question How can we define a job to send such information ( especially end time with hours minutes and…

Read More
Nabil Saoual

Control-M/EM Logon issue when connecting to the CCM Cannot get UTF8 locale

By | Database Administration & Monitoring | No Comments

Introduction Hi everyone,today we will see how to fix a logon issue I have encountered when I installed one of my Control-M lab. Kind of tricky issue ,as you can log into the local client GUI without problem but not to the CCM. Issue description When trying to connect to the CCM even from the Workload Automation GUI you can get the below error: When you check your Control-M client’s logs,you can see this type…

Read More
Nabil Saoual

Control-M/EM CTM5323 security protection violation , delete folder XXXXXX

By | Database Administration & Monitoring | No Comments

Introduction Hi team!Today we will check how to solve this error. Problem: When trying to delete a folder even with emuser you have an error “CTM5323 security protection violation , delete folder (XXXXX corresponding to the name of your folder)” Solution: Check Control-M security configuration Check if Control-M security is enabled Connect to the CCM and check if full security is enabled (Y),if it is the case the folder is probably depending of Control-M security…

Read More
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