Share:|

Have you ever been curious about how the New Day procedure functions or maybe you would like to know more about optimizing it?

 

Learn how to identify problems, trouble shoot issues and improve performance in this under the hood look at the New Day procedure.

 

This is the link on YouTube for the recorded session:

 

Connect With Control-M: New Day Architecture & Troubleshooting - YouTube

 

Here is the Q&A for this webinar (Connect With Control-M: New Day Architecture & Troubleshooting)

 

________________________________________________________________   

 

Q: Is timing of pre-newday configurable? By default it happens 1 hour before newday, can we change that if we want?   

A: No, it is not possible to change it at the moment, it is working by design

________________________________________________________________   

   

Q: Where can I find the CE log?   

A: You can find CE log in $<SERVER_HOME>/ctm_server/proclog directory on Control-M Server

________________________________________________________________   

   

Q: What's the difference between the CE* log and the p_ctmce* logs?   

A: CE log contains the execution of CE process, p_ctmce is recorded in case of CE process is facing issues

________________________________________________________________   

   

Q: Which are the Control-M/Server processes that execute the New Day?   

A: The CE process is in charge of execution new day, CD internal subsystem is the one that records new day messages in ctmlog table

________________________________________________________________   

   

Q: So just to be clear, jobs with user specified user dailies are NOT included in pre-newday - correct?   

A: Correct, orders only jobs from folders with Automatic order method, this is the same as System user daily on previous Control-M versions

________________________________________________________________   

   

Q: If the server hosting the Control-M/Server crashes during New Day, should the New Day be executed again once CTM/Server is up and running?   

A: Yes, the new day will continue execution once Control-M Server is up and running again

________________________________________________________________   

   

Q: Where do we find out Control Module logs and for how many days?   

A: Control-M module logs like DB, People Soft and more are set in the agent machine in proclog directory

________________________________________________________________   

   

Q: Is it recommended to schedule jobs near to the time New Day runs?   

A: It depends on your needs, you only have to be aware that the server will track the status of the job after server processes are resumed after new day, in case job continues running during New Day,

________________________________________________________________   

   

Q: I have a quick question, for during the time New Day process executes. If Control-M server crashers, after server is up will New day process continue to run?   

A: Yes, the new day will continue execution once Control-M Server is up and running again

________________________________________________________________   

   

Q: In the NEWDAY message we do not see the message where it states PREODER JOBS copied to AJF   

A: It is normal since the pre-order process loads jobs to a temporary file, the user daily is when new jobs are ordered into active environment

________________________________________________________________   

   

Q: These commands can be done by Control-M Version 8 correct?     

A: Correct

________________________________________________________________   

   

Q: What all does the pre new day do?   

A: It cleans statistics, agent logs, and server table entries, remove old jobs and loads new jobs into active environment

________________________________________________________________   

   

Q: If you issue the clean_ajf command after newday ran would it ONLY remove old jobs or would it clean all newly loaded jobs?

A: It will remove all jobs from the environment since it truncates cms_ajf table

________________________________________________________________   

   

Q: What happens if I run 'ctmlog list 49’?   

A: It does not work the time parameter only accepts until 24 hours

________________________________________________________________   

   

Q: Could you please detail, how exactly ctmagcln works? We often see that the sysout files are not removed on some agents when investigated found that batches are defined with different names of same server which conflicts the ctmagcln process.   

A: ctmagclns basically removes logs, status and output files from every agent connected to the server, it's necessary to troubleshoot in case of any files not removed from agent

________________________________________________________________   

   

Q: We are on V8 what are the setting we need to do for PREODER to work?

A: PREORDER runs by default 1 hour before new day

________________________________________________________________   

   

Q: Are commands similar in UNIX?   

A: Yes, commands are the same as in UNIX

________________________________________________________________   

   

Q: What are the parameters related to the log and statistics cleanup value stated in the ctmlog?   

A: The parameter for updating the amount of days to keep Server logs is IOALOGLM this can be updated from configuration manager (CCM), by default we keep 20 runs per job in the statistics table, by running the ctmruninf is possible to delete those statistics outside New Day

________________________________________________________________   

   

Q: Why ended not ok jobs comes to next day, even though it’s not having maxwait?

A: By design the not ok jobs are not removed with the new day, this in order to review if is normal such jobs failed

________________________________________________________________   

   

Q: How can we check if preorder COPY is failed or successful?

A: there is no way to troubleshoot on the preorder copy, you can run ctmudchk command after new day to validate new day ordered all jobs

________________________________________________________________   

   

Q: If we have to hold some job exactly starts at the new day time, how do we go ahead for that?

A: New jobs won't run during new day, Server will start execution jobs once processes are resumed after new day finishes, it is possible to use ctmpsm utility to hold the job by command line while download is performed and WLA client is refreshed

________________________________________________________________   

   

Q: Can we forcefully run the new day process at any other time if we wanted to? If so what utility we need to use?   

A: The new day must run only once a day, however is possible to change new day time by updating DAYTIME parameter from configuration manager (CCM)

________________________________________________________________   

   

Q: What's needed to be checked if the new day is stucked or taking a lot time?

A: You can check the CE and p_ctmce* log files from proclog directory that will give a clue on why new day is stuck on execution

________________________________________________________________