Control-M Agent FixPack 2
Control-M Agent FixPack 2
Control-M Agent FixPack 2
CONTROL-M/Agent
for UNIX and Microsoft Windows
Version: 6.2.01 with fix pack 2
June 17, 2007
Tracking numbers: UNIX PAKAI.6.2.01.200 and Microsoft Windows PANDN.6.2.01.200
NOTE
Details about recent patches for this product are available from the BMC Software Customer
Support website at http://www.bmc.com/support_home. Before installation, BMC Software
recommends that you check the website to determine whether patches are available for this
product.
*69275*
*69275*
*69275*
For information about the latest Support policies, see the Customer Support page at
http://www.bmc.com/support_home.
Tracking #
Enhancement
CAR00033224
(UNIX only) Multiple CONTROL-M/Agents can now run on the same host
using the same Server-to-Agent port number. However, each
CONTROL-M/Agent uses a different hostname or IP address. This
requirement protects the host by reducing the number of ports that are
opened in the firewall.
CAR00034344
CAR00034345
CAR00034570
WMPM007269 The File Watcher ctmfw utility allows use of the DO_EXIT [exit_code]
statement, enabling you to terminate jobs at any time.
WMPM006685 The full path of a detected file can now be transferred to the ctmfw
DO_CMD and DO_COND statements when using wildcards in filenames in
the ON_FILEWATCH statement.
Corrected problems
Corrected problems
Table 2 describes problems that fix pack 2 corrects. The list of corrected problems is
also available under solution KM-000001013602 in the Knowledge Base.
Table 2
Tracking #
Corrected problem
BCTM005793
BMPM010010 (UNIX only) When the available disk space on the computer where
CONTROL-M/Agent is running is low, the status of jobs is set to
disappeared.
BMPM010039 (UNIX only) File Watcher does not issue permission denied messages if
both of the following conditions exist:
There are no permissions for the directory when the input file uses
wildcards.
The directory does not have permissions for the current user.
BMPM010215 (UNIX only) The Agent Check Utility (ACU) does not run if the USER
environment variable is not defined.
BMPM010247 (Windows only) The ctmfw process on Windows crashes when the DELETE
option is specified and when the specified file contains wildcards in the file
name.
BMPM010371 (Windows only) Every job that uses the ctmfw utility and ended NOTOK
writes a warning message to the Windows event log.
BMPM010388 For all CONTROL-M/CMs, requests to view documentation fail because of
invalid permissions.
BMPM010389 The Agent Check Utility (ACU) stops working when too many files are in
certain agent directories.
BMPM010420 (UNIX only) CONTROL-M/Agent cannot copy the SYSOUT of a job based
on the secondary group permissions of the job's owner.
BMPM010453 (UNIX only) Not all AutoEdit variables are passed to a job if there is a break
in the sequence number (for example, %%PARM1, %%PARM2, and
%%PARM4, with no %%PARM3).
BMPM010491 (Windows only) Copy SYSOUT commands fail due to incorrect permissions.
BMPM010500 (UNIX only) The permissions of the newday file (located in the
$CONTROLM/temp/ directory) differ between CONTROL-M/Agents
installed on different operating systems.
BMPM010534 (UNIX only) The CONTROL-M/Agent startup script does not work correctly
when the computer is rebooted while CONTROL-M/Agent is running.
CAR00033039 (UNIX only) The semaphore permissions of the CONTROL-M/Agent tracker
process were reduced to 600.
CAR00033047 (UNIX only) When running the start-ag script while the server-to-agent port
is busy, the script issues a message that the agent listener is already running.
The script should report an error and not allow the agent to start.
Table 2
Tracking #
CAR00033051 (Solaris only) The agent tracker fails to start, jobs remain in executing status,
and p_ctmag processes accumulate in the system after the agent host is
restarted when CONTROL-M/Agent is running on a Solaris computer. This
problem occurs when the agent is automatically started by a startup script
during the host startup.
CAR00033059 (Windows only) CONTROL-M/Agent does not issue a message to the jobs
log (IOALOG) when a SYSOUT copy or move fails. However, a message
similar to the following message is displayed in the CONTROL-M/Agent
log in the agents proclog directory:
JOB LOG COPY TO d:\temp\sysout.log FAILED
CAR00033317 (Windows only) The total CPU USED in job SYSOUT does not match the value
in the ctmruninf utility.
CAR00034291 (UNIX only) Jobs remain in executing status although the tracker process is
still running if the tracker synchronization semaphore is deleted while the
agent is running.
CAR00034296 (UNIX only) The umask setting of CONTROL-M/Agent processes is
incorrectly set to 026 instead of 022.
CAR00034336 (Windows only) View JCL/documentation fails when the agent is in logon as
user mode. This problem occurs when the domain was specifically defined
using ctmpwd.
CAR00034339 (Linux only) A job running on Linux x86 ends with an OK status after it has
been killed.
Enhancements
Table 3
Tracking
number
WCTM003639 The MAX_AGE parameter in the FileWatcher utility indicates the maximum
amount of time that may pass since the file you want to watch was last
modified, that is, when the files time stamp changed. For more information,
see FileWatcher utility time stamp parameter (MAX_AGE) on page 6.
WMPM007284 (UNIX only) SYSOUT directory permissions have decreased to 755.
Corrected problems
Corrected problems
Table 4 describes problems that are corrected by fix pack 1. A number in the
Solution # column means that the solution to the problem is available in the
Knowledge Base.
Table 4
Solution #
BCTM005646
BCTM005677
SLN000000214446
When performing view JCL, view SYSOUT, or view
documentation actions in persistent connection mode
and the file size is larger than 2 KB, the action fails and
the CONTROL-M/Agent loses its connection to the
Server.
BCTM005755
BMPM010052
SLN000000214448
BMPM010059
SLN000000214450
BMPM010087
SLN000000206867
After upgrading an agent that works with a server
behind a firewall to version 6.2.01, the status of jobs is
not immediately updated in CONTROL-M/Enterprise
Manager.
BMPM010114
SLN000000214452
SLN000000214453
BMPM010126
SLN000000214454
Table 4
Solution #
BMPM010136
The dsect containing the elapsed time value for a job is SLN000000214455
corrupted if that value becomes longer than 9 digits,
causing the job to remain in Executing status.
BMPM010157
SLN000000209858
(UNIX only) Some jobs submitted by CONTROL-M
fail, and the following messages are issued to the jobs'
SYSOUTS:
<date/time> Failed to submit job.
<date/time> Found empty sysout file.
This problem occurs to jobs whose owner is different
from the owner of the CONTROL-M/Agent and have
account home directory permissions lower than 755.
SLN000000211284
BMPM010196
BMPM010219
BMPM010225
BMPM010244
SLN000000214595
Installation
Example 1
The File Watcher utility monitors the CONFIG.dat file until its time stamp changes.
# Input file
MAX_AGE 0
ON_FILEWATCH /agent_1/ctm/data/CONFIG.dat CREATE
THEN
DO_CMD "echo File was found - do something"
ELSE
DO_CMD "Never happens WAIT_TIME is zero"
END_ON
Example 2
The File Watcher utility checks whether the age of the CONFIG.dat file is less than
10 minutes. If not, the utility monitors the file until its time stamp changes.
# Input file
MAX_AGE 10Min
ON_FILEWATCH /agent_1/ctm/data/CONFIG.dat CREATE
THEN
DO_CMD "echo File was found - do something"
ELSE
DO_CMD "Never happens WAIT_TIME is zero"
END_ON
Example 3
You can also use MAX_AGE as the last parameter when running the File Watcher
utility from the command line. This example results in behavior similar to Example 1,
which is based on default values, except for the THEN, ELSE statements, which are
not available in command-line mode.
ctmfw /agent_1/ctm/data/CONFIG.dat CREATE 0 60 10 3 0 N NOW 0 NO_MIN_AGE 0
Installation
Up-to-date, essential installation and service information that becomes available after
this product is released will be placed under solution KM-000010013191 in the
Knowledge Base on the Customer Support website. BMC recommends that you
access that information before you install this product.
The installation program for fix pack 2 is available from the following locations:
NOTE
The CD for fix pack 2 is made available for shipment shortly after the program has been
made available on the FTP server. If you already have the installation CD, you do not need
to download the program from the FTP server.
The files and directory structure that are required for the installation procedures are
the same on the installation CD and the FTP server.
NOTE
Before installing fix pack 2, open a new shell as the CONTROL-M/Agent user and run the
installation for fix pack 2 from there.
If you are going to install fix pack 2 on an AIX platform, execute the slibclean
command (as the root user).
3 Make a copy of the exe and scripts files and directories in the CONTROL-M/Agent
home directory:
$CONTROLM/exe
$CONTROLM/scripts
4 Prepare to install from the BMC FTP site or from the CD drive:
10
11
4 Prepare to install from the BMC FTP site or from the CD drive:
To run an interactive installation, double-click the setup.exe file and follow the
install wizards prompts. As of version 6.1.03, you can install multiple agents on
one computer:
During the fix pack installation, you are prompted to select the agent for
which you are installing fix pack 2.
You must perform a separate execution of setup.exe for each agent for which
you want to install fix pack 2.
12
copies the relevant fix pack files to the CONTROL-M/Agent home directory
CONTROL-M Agent and Tracker services will have the same status they had
before the installation
4 Choose Start => Settings => Control Panel => Add/Remove Programs =>CONTROLM/Agent 6.2.01 fix pack 2 (or the Agent name if the default name was changed) and select
the Remove option.
-or-
13
If you are using Windows Vista, choose Start => Settings => Control Panel =>
Programs and Features => CONTROL-M/Agent 6.2.01 fix pack 2 (or the Agent name if
the default name was changed) and select the Uninstall option.
2 Double-click uninst.bat.
The uninstall procedure from a noncluster computer performs the following tasks:
copies the relevant files from the <agentName> PANDN.6.2.01.200 Fix Pack 02
backup directory to the CONTROL-M/Agent home directory
The backup directory is located in the %ALLUSERSPROFILE%\Application Data
directory.
NOTE
Installing and uninstalling of fix pack 2 on a cluster computer must be performed on the same
virtual computer on which CONTROL-M/Agent 6.2.01 was installed.
.
14
If the File Watcher service is online, bring it offline by running the following
command:
cluster.exe res FWResourceName /off
FWResourceName is the name of the resource for the File Watcher service that you
want to take offline.
3 Take Listener and Tracker service resources offline by running the following
commands but do not stop the services themselves:
cluster.exe res ListenerResourceName /off /wait:60
cluster.exe res TrackerResourceName /off /wait:60
ListenerResourceName is the name of the resource for the Listener service, and
TrackerResourceName is the name of the resource for the Tracker service that you
want to take offline.
Uninstall fix pack 2 according to the instructions in Removing fix pack 2 from a
noncluster computer on page 13.
5 Bring Listener and Tracker service resources online by running the following
commands:
cluster.exe res ListenerResourceName /on /wait:60
cluster.exe res TrackerResourceName /on /wait:60
6 If the File Watcher service was online (see step 2) before fix pack 2 was installed,
run the following command:
cluster.exe res FWResourceName /on /wait:60
copies the relevant fix pack files to the CONTROL-M/Agent home directory
CONTROL-M/Agent Version 6.2.01 for UNIX and Microsoft Windows
15
The uninstall procedure from a cluster computer performs the following tasks:
copies the relevant files from the <agentName> PANDN.6.2.01.200 Fix Pack 02
backup directory to the CONTROL-M/Agent home directory.
This directory is located in the %ALLUSERSPROFILE%\Application Data
directory
16
Levels of support
Levels of support
BMC supports the following versions and releases of CONTROL-M:
Product name and version
Level of support
CONTROL-M/Agent 6.3.01
Full
CONTROL-M/Agent 6.2.01
Full
CONTROL-M/Agent 6.1.03
Full
For more information about the latest support policies, see the Customer Support
website at http://www.bmc.com/support_home.
Product documents
The following documents support the product:
To view the latest BMC documents, see the Customer Support website at
http://www.bmc.com/support_home. Notices, such as flashes, technical bulletins,
and release notes, are available on the website. You can subscribe to proactive alerts
to receive e-mail messages when notices are issued or updated. For more information
about proactive alerts, see the Customer Support website.
17
Customer support
Customer support
If you have problems with or questions about a BMC product, see the Customer
Support website at http://www.bmc.com/support_home. You can view or
download product documents, find answers to frequently asked questions, and
download product updates and maintenance. If you do not have access to the web
and you are in the United States or Canada, contact Customer Support at
800 537 1813. Outside the United States or Canada, contact your local BMC office or
agent.
18