Infrastructure at your Service

All Posts By

Nabil Saoual

Nabil Saoual

Control-M/EM Update jobs using Pgadmin tool

By | Database Administration & Monitoring, Postgres | No Comments

introduction Hi team, Today we will work on Control-M database,we already know how to update it using CLI and also using Control-M GUI,but today we will use a reall nice tool named PgAdmin. Its a GUI where you can connect your controlm postgres database and perform administartions tasks.It’s a freeware and quite complete,so don’t hesitate to test it 🙂 We will see how to update jobs using this tool,but probably on next blogs we will…

Read More
Nabil Saoual

Control-M/EM install application pack

By | Control-M | No Comments

introduction Hi team! Today lets check how to install more Control-M feature on our agents,this can be useful ,moreover you can add your own plug-ins! Below we will see how to give more possibilities to your agent Install application pack using CCM select Manage->New Activity->Application pack->Upgrade/Install add a description of you task then check send application pack to Control-M agents select the Control-M agent name where the pack must be installed Once installed you can…

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