Skip navigation
Share This:

Learn more about the Control-M/Agent directories structure and some utilities which can help you solve issues faster and get your jobs back to running again.

 

As a Control-M Administrator it's very useful to know where to start looking when you have a Control-M/Agent issue. This webinar will help you understand where to look and which utilities you can use.

 

In this webinar Corey Low will explain the Control-M/Agent directories and utilities usage for troubleshooting and solving issues.  Corey will also demonstrate ways to debug the Control-M/Agent and which information to provide to BMC Support when having a problem.

 

This is the link on YouTube for the recorded session:

 

Connect With Control-M: Control-M/Agent Troubleshooting - YouTube

 

Here is the Q&A for this webinar (Connect With Control-M: Control-M/Agent Troubleshooting)

 

________________________________________________________________

 

Q: Is it possible to have one Control-M/Agent connected to more that one Control-M/Server at the same time?

A: No, this is not supported since this could cause unexpected behavior with the jobs and the Control-M/Agent. If necessary you can install a second instance of the Control-M/Agent and connect it to a different Control-M/Server.

________________________________________________________________

 

Q: How many days are the logs retained under proclog directory?

A: 1

________________________________________________________________

 

Q: Is it possible to increase the log retention on the Agent's proclog directory?

A: Yes from ctmagcfg -> Advanced parameter. Change the "Days To Retain Log Files"

________________________________________________________________

 

Q: For data collector is it possible to get specific information instead of all getting whole files?

A: Yes, just type ctma_data_collector --h for the usage

________________________________________________________________

 

Q: Is it possible to uninstall/delete the local Agent installed with the Control-M/Server?

A: No, this is not allowed by design.

________________________________________________________________

 

Q: Do you have any suggest articles or advice on how to troubleshoot windows agent p_ctmam process consuming too much mem or cpu - we are using version 8.0.00.x

A: There was a memory leak issue when CM for AFT is used and was addressed in Agent v8 FP4

See KA 000078462, 000072371

________________________________________________________________

 

Q: If set persistent mode, will this mode take up more resource on controlm/server and/or server install with ctmagent?

A: You will need more process threads/file descriptors and this can be set in the OS kernel limits (ulimit)

________________________________________________________________

 

Q: When running the ctma_data_collector, does it also include the files from the SYSOUT folder?  If yes, how do you prevent this from being included?

A: Not possible, unless you specify the ctma_data_collector to collect only the OS info

 

ie: ctma_data_collector -trace -C OS

________________________________________________________________

 

Q: What are the possible common root cause for Jobs getting disappearing messages in job logs

A: Agent tracker was unable to track the status of the job or the job ended prematurely

________________________________________________________________

 

Q: Can you change the polling setting of 15 min to something short?

A: Yes, lowest you can go is 10

________________________________________________________________

 

Q: What is the Persistent connections? Is it, that many connections?

A: A persistent connection is a network communication channel that remains open for further requests and responses rather than closing after a single exchange

To maintain a persistent connection, TCP keep-alive packets are sent to prevent the connection from timing out.

________________________________________________________________

 

Q: Why when stopping the Control-M/Agent on windows does one of the processes keep running for an additional 10-20 minutes even when no jobs are active?

A: Yes only p_ctmam.exe process where there are jobs still executing

This is based on the registry value - -AM_MAX_IDLE_TIME (default is 600 seconds)

________________________________________________________________

 

Q: How to clean/clear  agent DNS entries from the Control-M server?

A: See KA 000028878

For v9 see KA 000133609

________________________________________________________________

 

Q: How important is the protocol version between server and agent?

A: Yes, else the agent may not work properly and it may go unavailable/available

________________________________________________________________

 

Q: When we pull report ctma_collect_report data its says memory full

A: See 000111741

Share This:

Do you need to move your existing Control-M environment to a new machine?

 

Would you like to automate and accelerate the procedure to keep your business running in the DR environment?

 

In this webinar Andrea Carmelli will explain the process and demonstrate how to speed up the procedure to restore the hostname and configuration data in the database during disaster recovery when moving to the stand-by environment or replacing the local hostname.

 

This is the link on YouTube for the recorded session:

 

Control-M 9.0 Rehost Procedures including DR - YouTube

 

Here is the Q&A for this webinar (Connect With Control-M: Control-M 9.0 Rehost Procedures including DR)

 

________________________________________________________________

 

Q: Is it possible to do rehost of a Database to a different Database than the one using in the source environment? For example rehost of DB from SQL to Oracle?

A: It is possible to use the rehost between different database types when using the option DR. If the option reconf_db needs to be use to point the Control-M application to a different DB, then, it needs to be same DB type.

________________________________________________________________

 

Q: With profile_name  parameter - is that needed when the DR server has a different name than the prod server?

A: The profile_name option is used in cases of cluster environments. When the Control-M installation is using the BMC_EM_PROFILE_NAME environmental variable, and, the profile name needs to be changed.

________________________________________________________________

 

Q: Is it supported PG for DR rehost?

A: Yes, when using PG it is needed to use the parameter pg_existing yes. PG for DR is not supported with High Availability for Control-M/Enterprise Manager.

________________________________________________________________

 

Q: Does this utility come bundled with the fix pack update?

A: Yes, for Control-M/Enterprise Manager fix pack 5 with pat 512 is the minimum requiremnt. For Control-M/Server, the minimum requirement is fix pack 4. 

________________________________________________________________

 

Q: When using this new utility, if something goes wrong in the middle, is a rollback performed immediately?

A: There is no roll back, if the utility fails it won't perform any actions, the situation will remain as it was before running it. 

________________________________________________________________

 

Q: Is this the same process no matter what OS and database I have in my environment?

A: Yes, the same process applies to any OS and DB supported by Control-M applications.

________________________________________________________________

 

Q: When running the utility on the Control-M/Enterprise Manager do we need to run it from the Control-M/Enterprise Manager server or it can be executed from the Control-M/Enterprise Manager client machine too?

A: This utility needs to be executed from the Control-M/Enterprise Manager server. The Control-M/Enterprise Manager components need to be stopped.

________________________________________________________________

 

Q: Will this same utility be used if I need to change an Oracle TNS name?

A: Yes, there is an option presented when running the utility that allows to change the TNS name and / or the port to connect to DB. The option for this is reconf_db

________________________________________________________________

 

Q: Will all of this info be applicable for the new 9.0.18 version soon to be released?

A: Yes, this utility is included in the new 9.0.18 release.

________________________________________________________________

 

Q: Is there a demo for the rehost Control-M/Server option?

A: No at this point. In any case, this is one of the options that the utility offers and can be executed as all the rest.

________________________________________________________________

 

Q: Will this still work with Postgres

A: Yes. A demos for this scenario is available in article 000137739 (https://bmcsites.force.com/casemgmt/sc_KnowledgeArticle?sfdcid=000137739)

________________________________________________________________

 

Q: Cant the process be performed without bringing down the Prod server?  for testing.

A: No, the Control-M processes need to be stopped to use this utility.

________________________________________________________________

 

Q: Can I get list of commands, what you have been performed or having in your note

A: Sure, the commands appear in the demo and can be taken from there. Also, from the option reconf_db, can be seen in the article 000137740 (https://bmcsites.force.com/casemgmt/sc_KnowledgeArticle?sfdcid=000137740)

________________________________________________________________

 

Q: We have Oracle database and we do replicate the Oracle database to our DR site. So If I install Control M on our DR server and use this restore_host_config command?

A: Yes, with the option -dr

________________________________________________________________

 

Q: How do you keep constantly up to date the DR server with prod server

A: The synchronization between the databases can be achieve by using databases utilities such as always-on for MSSQL or DATAGARD for Oracle, replication etc.

Or, in case our databases are not being synchronized using DB utilities will be possible and have the same result using the Control-M utilities, such as "util" for Control-M/Enterprise Manager and "ctm_backup_bcp" for Control-M/Server to backup and restore the data.

 

________________________________________________________________

 

Q: Does this utility resolve the issue where it took a very very long time to fall-back to primary from secondary after a fail-over?

A: Yes, actually, if the databases between the production and the Dr server are synchronized, then running the DR option of the rehost utility will make the DR identical as production quickly and automatically. 

________________________________________________________________

 

Q: When I bring up the PR install to another host (DR), the naming service does not match the name of the DR host.  How to change the naming service?

A: The Naming server will be synchronized as well, the DR server will be updated and the Naming Server will match. It is also possible to verify it using orbconfigure after the change was done.Yes, the reconf_

________________________________________________________________

 

Q: Can we use this utility to update/correct the host information if the database is refreshed from another database?

A: Yes, the reconf_db will be use to update the database connection details for the Control-M applications if there was a change performed or the Control-M applications need to connect to a different database server which has the Control-M schema identical to the previous one (same version and same fix pack level)  

________________________________________________________________