CTM Installation 9.0.18 497846
CTM Installation 9.0.18 497846
9.0.18
Installation Guide
December 2017
Contacting BMC Software
You can access the BMC Software website at http://www.bmc.com. From this website, you can obtain
information about the company, its products, corporate offices, special events, and career opportunities.
United States and Canada
Address BMC SOFTWARE INC Telephone 713 918 8800 Fax 713 918 8000
2103 CITYWEST BLVD 800 841 2031
HOUSTON TX
77042-2827
USA
Telephone (01) 713 918 8800 Fax (01) 713 918 8000
2
The licensing guidelines for application plug-ins are as follows:
ERP and BI/DI: The application server(s) upon which Control-M managed processes are executed
should be licensed in addition to the Control-M Agent machine(s) (in some cases, this may be the
same machine).
Databases: Each database server upon which Control-M managed database related processes are
being executed should be counted in addition to the Control-M Agent machine(s).
AFT and MFT: Only the machine(s) upon which the AFT or MFT plug-in is installed should be licensed.
Web Services, Java & Messaging: only the Control-M Agent machine(s) upon which the plug-in is
installed should be licensed.
Backup: The Control-M Agent machine(s) where the Backup plug-in is installed and also the hosts
which are running the backup server software should be licensed (note that this excludes the client
machines for which the Backup Server software is managing actual backup processes except where a
backup takes place of the backup server machine itself).
Cloud: only the Control-M Agent machine(s) upon which the plug-in is installed should be licensed.
Hadoop: All machines in each managed Hadoop Cluster should be licensed.
IBM® Tivoli® Business Service Manager, IBM Tivoli Workload Scheduler, IBM Cognos, IBM InfoSphere
DataStage, IBM iSeries, IBM Websphere, and AIX® are the trademarks or registered trademarks of
International Business Machines Corporation in the United States, other countries, or both.
UNIX® is the registered trademark of The Open Group in the US and other countries.
Linux is the registered trademark of Linus Torvalds.
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks
of their respective owners.
SAP® R/2 and SAP R/3, SAP Business Objects, and SAP NetWeaver are trademarks or registered
trademarks of SAP AG in Germany and in several other countries.
Restricted rights legend
U.S. Government Restricted Rights to Computer Software. UNPUBLISHED -- RIGHTS RESERVED UNDER
THE COPYRIGHT LAWS OF THE UNITED STATES. Use, duplication, or disclosure of any data and
computer software by the U.S. Government is subject to restrictions, as applicable, set forth in FAR Field
52.227-14, DFARS 252.227-7013, DFARS 252.227-7014, DFARS 252.227-7015, and DFARS 252.227-7025,
as amended from time to time. Contractor/Manufacturer is BMC SOFTWARE INC, 2101 CITYWEST BLVD,
HOUSTON TX 77042-2827, USA. Any contract notices should be sent to this address.
Customer support
You can obtain technical support by using the BMC Software Customer Support website or by contacting
Customer Support by telephone or e-mail. To expedite your inquiry, see “Before contacting BMC.”
Support website
You can obtain technical support from BMC 24 hours a day, 7 days a week at
http://www.bmc.com/support. From this website, you can:
3
Read overviews about support services and programs that BMC offers
Find the most current information about BMC products
Search a database for issues similar to yours and possible solutions
Order or download product documentation
Download products and maintenance
Report an issue or ask a question
Subscribe to receive proactive e-mail alerts when new product notices are released
Find worldwide BMC support center locations and contact information, including e-mail addresses, fax
numbers, and telephone numbers
Support by telephone or e-mail
In the United States and Canada, if you need technical support and do not have access to the web, call
800 537 1813 or send an e-mail message to customer_support@bmc.com. (In the subject line, enter
SupID:<yourSupportContractID>, such as SupID:12345). Outside the United States and Canada,
contact your local support center for assistance.
Before contacting BMC
Have the following information available so that Customer Support can begin working on your issue
immediately:
Product information
• Product name
• Product version (release number)
• License number and password (trial or permanent)
Operating system and environment information
• Machine type
• Operating system type, version, and service pack or other maintenance level such as PUT or PTF
• System hardware configuration
• Serial numbers
• Related software (database, application, and communication) including type, version, and service
pack or maintenance level
Sequence of events leading to the issue
Commands and options that you used
Messages received (and the time and date that you received them)
• Product error messages
• Messages from the operating system, such as file system full
• Messages from related software
4
License key and password information
If you have questions about your license key or password, contact BMC as follows:
(USA or Canada) Contact the Order Services Password Team at 800 841 2031, or send an e-mail
message to ContractsPasswordAdministration@bmc.com.
(Europe, the Middle East, and Africa) Fax your questions to EMEA Contracts Administration at +31 20
354 8702, or send an e-mail message to password@bmc.com.
(Asia-Pacific) Contact your BMC sales representative or your local BMC office.
Third party Software
For the provisions described in the BMC License Agreement and Order related to third party products or
technologies included in the BMC Product, see
https://docs.bmc.com/docs/display/workloadautomation/Control-M+Workload+Automation+Documentati
on and click Third-party software (TPS).
5
Contents
Introduction to Control-M installation ............................................................................... 8
Planning your installation ................................................................................................................9
Language options ...........................................................................................................................9
Control-M installation terminology ................................................................................................. 10
6
Batch Impact Manager installation ................................................................................................. 61
Control-M/Forecast installation ...................................................................................................... 63
Control-M Workload Archiving installation ...................................................................................... 66
Control-M Managed File Transfer installation .................................................................................. 69
7
1
1
Introduction to Control-M installation
Control-M installation includes all Control-M components and enables you to install a new installation on a
clean computer or upgrade an existing installation. You can install or upgrade the latest version of
Control-M components whether it's an annual or fix pack version from the same installation files. You do
not need to install a base version and then apply fix packs. You can use the same installation files to
install a new installation or upgrade an existing installation.
EXAMPLE: You can use the version 9.0.18 installation files to install Control-M on a clean account or
upgrade an existing Control-M version to 9.0.18.
To upgrade an existing version of Control-M/EM server and clients, Control-M/Server, and
Control-M/Agents, see Control-M upgrade (on page 12).
To install one or many Control-M components on a clean account, see one of the following options:
Control-M full installation (on page 21): Enables you to install the Control-M package with all
Control-M components including Application Plug-ins, and add-ons, (see Control-M installation
terminology (on page 10)) on UNIX and Windows via an interactive or automatic installation. You can
install with the default settings, or choose the custom installation to select the database server,
database names, usernames, hostnames, and port settings.
Control-M/Agent installation (on page 46): Enables you to install additional Control-M/Agents on
different computers throughout your organization, which enables you to run jobs on multiple
computers. This enhances performance and creates greater load balancing control.
Control-M client installation (on page 53): Enables you to install additional Control-M clients on
different computers throughout your organization, which enable multiple users in your organization to
access Control-M.
Control-M additional installations (on page 76): Enables you to install multiple instances of
Control-M/Enterprise Manager (Control-M/EM), Control-M/Server, and individual Application Plug-ins
(see Control-M Application Plug-ins (on page 29)). You can also install a secondary instance of
Control-M full installation, Control-M/EM, and Control-M/Server for High Availability (see High
availability installation (on page 95)).
If you are installing Control-M in a cluster environment, see Control-M cluster configuration (on page
105).
NOTE: Ensure that all of your existing Control-M Reporting Facility reports and data are migrated and
converted into Control-M Reports, as described in Control-M Reporting Facility migration.
NOTE: Control-M automatically collects information on your product usage patterns. This information
helps BMC to identify trends, enhance Control-M capabilities, and improve the quality. BMC does not
collect any of your personal or organizational identifiable data. Your participation in the usage collection is
optional. You can opt-out at any time by changing the values of the UsageCollectionDisabled system
parameter to 1, as described in CMS parameters.
8
Control-M Installation Guide
Language options
Support for East Asian languages (Simplified Chinese, Traditional Chinese, Japanese, and Korean) is
provided for all installations at the database level.
When you create a Control-M database on an existing PostgreSQL or MSSQL database server, CJK
settings are not inherited automatically from the database server. They must be defined during the
installation.
When you create a Control-M database on an existing Oracle database server, CJK settings are inherited
automatically from the database server.
For more information regarding language support, including CJK and databases, see Language and
Customization.
9
Control-M Installation Guide
Term Description
10
Control-M Installation Guide
Term Description
Trial Version Installs a trial version of Control-M with all base and optional
components including the following
NOTE: This version is intended for testing and evaluation,
not for usage in a production environment. For production
usage in the future, uninstall the trial version and then
re-install a non-trial version.
Batch Impact Manager
Control-M/Forecast
Control-M Self Service
Control-M Workload Change Manager
Control-M Workload Archiving
11
2
2
Control-M upgrade
The Control-M upgrade process upgrades your current version of Control-M/Enterprise Manager,
Control-M/Server, and Control-M/Agent to the latest version (annual or fix pack) on the same computer.
This eliminates the need to migrate data and reduces downtime. To minimize downtime, Control-M
processes are up during the upgrade preparation process, which prepares all the required files. After the
preparation completes, you are prompted to confirm the shutdown of Control-M processes. After the
processes are shut down, the upgrade begins and completes with minimum downtime.
NOTE: If you are using 9.0.00.100 or higher, you can do this upgrade procedure. However, if you are
using a previous version, you must migrate your data, as described in Introduction to Control-M
Migration.
The upgrade process supports compatibility across all Control-M components, as follows:
An upgraded Control-M/EM is compatible with lower versions of Control-M/Server (from 8.0.00.000
and higher).
An upgraded Control-M/Server is compatible with lower versions of Control-M/EM (from 9.0.00.000
and higher)
An upgraded Control-M/EM is compatible with lower versions of Control-M client (from 9.0.00.000 and
higher). However, the new features of the upgrade are disabled. For more information, see
Compatibility Mode.
The following is a typical scenario of the upgrade flow:
Control-M/EM server: After the upgrade completes, Control-M/EM is in Compatibility Mode and older
Control-M clients that weren't upgraded can still work with the upgraded Control-M/EM server.
Control-M clients: The new features are disabled in Compatibility Mode. You can upgrade manually or
with Client Distribution.
Control-M/Server
Turn off Compatibility Mode, as described in Turning off Compatibility Mode.
Control-M/Agents: You can upgrade manually or with Control-M/Agent deployment.
Before you upgrade, review the Upgrade requirements and considerations (on page 13) that might affect
your environment.
The following procedures describe how to upgrade Control-M/EM, Control-M/Server, and Control-M/Agent:
Upgrading Control-M/EM on UNIX (on page 13)
Upgrading Control-M/EM on Windows (on page 15)
Upgrading Control-M/Server on UNIX (on page 16)
Upgrading Control-M/Server on Windows (on page 17)
Upgrading Control-M/Agent on UNIX (on page 18)
Upgrading Control-M/Agent on Windows (on page 19)
12
Control-M Installation Guide
13
Control-M Installation Guide
14
Control-M Installation Guide
15
Control-M Installation Guide
To ensure compatibility between older versions of Control-M client, Control-M/EM is now running in
Compatibility Mode.
16
Control-M Installation Guide
17
Control-M Installation Guide
18
Control-M Installation Guide
3. Set your DISPLAY environment variable, as described in Setting environment variables in UNIX (on
page 31).
4. From your home directory, type the following command:
<source_path>/setup.sh
5. Do one of the following:
• Interactive upgrade: Select the Control-M/Agent option and continue with the on-screen
instructions until the upgrade is complete.
• Automatic upgrade: Create a parameter file and then run the automatic install in a
non-interactive mode, as follows:
a. Select the Control-M/Agent option and continue with the on-screen instructions until the
Summary window.
NOTE: There is no confirmation to shut down Control-M/Agent processes. It is done
automatically.
b. Click Generate and select the location to create the XML parameter file.
c. Click Yes to quit the upgrade.
A confirmation message appears.
d. Click Yes.
e. Copy the automatic upgrade parameters file to a network location that is accessible to all
computers where you want to perform an automatic upgrade.
f. To run the upgrade script, type the following command:
<source_path>/Setup_files/components/agent/setup.sh -silent
<xml_path>/<filename.xml>
The upgrade log can be found at the following location:
<$HOME>/BMCINSTALL/log/BMC_Control-M_Agent_<date-time>.log
19
Control-M Installation Guide
20
3
3
Control-M full installation
The Control-M full installation installs the Control-M package with all Control-M components including
Application Plug-ins, add-ons, and Automation API on UNIX and Windows via an interactive or automatic
installation. You can install with the default settings, or choose the custom installation to select the
database server, database names, usernames, hostnames, and port settings.
Before you install Control-M, verify the requirements, as described in Control-M full installation system
requirements (on page 22).
If you are installing Control-M on UNIX, complete the pre-install procedures, as described in Control-M
pre-installation procedures on UNIX (on page 29) and the post install procedures, as described in
Control-M post installation procedures on UNIX (on page 37).
The following procedures describe how to install Control-M on UNIX and Windows:
Installing Control-M on UNIX (on page 36) (You need to install the Control-M client on a Windows
computer)
Installing Control-M on Windows (on page 44)
NOTE: Control-M automatically collects information on your product usage patterns. This information
helps BMC to identify trends, enhance Control-M capabilities, and improve the quality. BMC does not
collect any of your personal or organizational identifiable data. Your participation in the usage collection is
optional. You can opt-out at any time by changing the values of the UsageCollectionDisabled system
parameter to 1, as described in CMS parameters.
21
Control-M Installation Guide
Linux x86_64
Memory N/A 8 GB
22
Control-M Installation Guide
Resource Requirement
Memory 8 GB
Diskspace 100GB
BMC Software recommends that If you are installing Control-M with a remote database
you reserve three times the server, 15 GB are required on the database server.
amount of RAM in the system for
swap space.
NOTE: The <install folder> must have Read, List folder contents, Write, and Read & execute
permissions assigned to the Users group.
23
Control-M Installation Guide
24
Control-M Installation Guide
25
Control-M Installation Guide
The following table contains the parameter information required to install Control-M on supported existing
database servers. Check with your system administrator for the exact information required.
Database
server
Database Host Service administrator Database
server name Port name password location Log location
NOTE: The password must begin with a letter (A-Z, a-z) followed by 5-29 alphanumeric characters,
underscores, or .“#.!@$*&:%-“ special characters.
26
Control-M Installation Guide
Oracle requirements
Control-M, Control-M/EM, Control-M/Server and Control-M Workload Archiving can be installed on UNIX
with an Oracle database. A customer-supplied existing Oracle full enterprise/standard edition database
server must be present.
An Oracle instant client is supplied in the background when you install one of the Control-M products.
The following topics lists the Oracle requirements needed to install Control-M, Control-M/EM,
Control-M/Server, and Control-M Workload Archiving on UNIX:
Oracle database server memory requirements (on page 27)
Oracle database server storage requirements (on page 28)
Oracle schema checklist (on page 28)
Parameter Value
DB_BLOCK_SIZE 8192
OPTIMIZER_MODE ALL_ROWS
CURSOR_SHARING FORCE
PROCESSES 500
SGA_TARGET 1200 MB
PGA_AGGREGATE_TARGET 400 MB
MEMORY_TARGET 1600 MB
NOTE: If MEMORY_TARGET is defined, you do not
need to define SGA_TARGET and
PGA_AGGREGATE_TARGET.
27
Control-M Installation Guide
Parameter Value
Redolog groups 3
Parameter Value
Database username
Oracle SYSTEM password NOTE: Due to security reasons, the DBA might not be able to give
you the password. If so, see Control-M installation without Oracle
database system parameter (on page 101).
User password
28
Control-M Installation Guide
29
Control-M Installation Guide
The permissions of the account home directory must allow read and execute permissions to all
users and full permission to the account owner (755 as a minimum).
If you plan to use non-root mode for this agent, BMC Software recommends that the agent owner
be the only user in its primary group. The reason is that in non-root mode, some of the files
created by the agent are accessed using group permissions and are therefore writable by any
user in the agent primary group.
30
Control-M Installation Guide
Parameter Description
coredumpsize Determines the maximum size that a core dump can reach.
BMC recommends setting this value to datasize to generate a complete
core dump if a failure occurs.
31
Control-M Installation Guide
EXAMPLE: DISPLAY=myhost:0.0
export DISPLAY
<envVar> is the name of the environment variable.
<value> is the value assigned to the environment variable.
32
Control-M Installation Guide
33
Control-M Installation Guide
RAM size S: 4 GB
M: 8 GB
L: 12 GB
semmni Add 20 + the number of Agents and remote hosts that will be connected
to Control-M/Server + the number of Agents with configuration definitions
that differ from the default.
semmns For all platforms except Oracle Solaris 10, add 20 + the number of Agents
and remote hosts that will be connected to Control-M/Server + the
number Agents with configuration definitions that differ from the default.
semmnu For Oracle Solaris 9 (not Oracle Solaris 10), add 100 + 6 times the number
agents connected to the server + the number utilities running
simultaneously.
34
Control-M Installation Guide
The following table lists the kernel parameter values for Control-M that must be added to the values in
other UNIX systems (excluding Linux), as described in PostgreSQL UNIX kernel parameters (on page 32).
If higher values for these parameters have already been specified for the database server, the higher
values must remain.
Kernel parameters for Control-M
Parameter Value
semmnu (NPROC - 4)
35
Control-M Installation Guide
36
Control-M Installation Guide
d. Click Yes.
e. Copy the automatic installation parameters file to a network location that is accessible to all
computers where you want to perform an automatic installation.
f. To run the installation script, type the following command:
<source_path>/setup.sh -silent <xml_path>/<filename.xml>
The installation logs can be found at the following location:
<$HOME>/BMCINSTALL/log/BMC_Control-M_Install_<date-time>.log
NOTE: If you use Application Integrator, you must upgrade it to the latest version by deploying the
Application Pack to your Control-M/Agents, as described in Application Pack deployment.
37
Control-M Installation Guide
38
Control-M Installation Guide
ExecStart=/bin/sh -c [EM_home_dir]/bin/start_server;
[EM_home_dir]/bin/start_ns_daemon; [EM_home_dir]/bin/start_cms;
[EM_home_dir]/bin/start_config_agent
Type=forking
RemainAfterExit=yes
ExecStop=/bin/sh -c [EM_home_dir]/bin/stop_config_agent;
[EM_home_dir]/bin/stop_cms; [EM_home_dir]/bin/stop_ns_daemon;
[EM_home_dir]/bin/home/em50/bin/stop_server
[Install]
WantedBy=multi-user.target
5. Save the file.
6. From a command line, run the following commands:
• systemctl daemon-reload
• systemctl enable [unit service file].service
7. Restart the Control-M/EM computer.
39
Control-M Installation Guide
Depending on your operating system, modify the automatic startup procedure as described in the
following table:
Operating
system Startup procedure Example
Linux cp <ctmHome>/ctm_server/data/rc.<controlmUser> cp
/etc/rc.d/<controlmUser> /home/controlm/ctm_server/d
ata/rc.controlm/etc/rc.d/contr
ln -s /etc/rc.d<controlmUser>
olm
/etc/rc.d/rc2.d/S98<controlmUser>
ln
-s/etc/rc.d/controlm/etc/rc.d/r
c2.d/S98controlm
40
Control-M Installation Guide
41
Control-M Installation Guide
NOTE: Control-M/Agents that were shut down manually are not restarted by the automatic startup
procedure during a shutdown-restart operation.
42
Control-M Installation Guide
Operating
system Startup procedure Example
Oracle Solaris cp cp
<agentHome>/ctm/scripts/rc.agent_user /etc/init.d/rc. home/ctm/scripts/rc.agent_u
<agentUser>ln ser /etc/init.d/rc.agent1
-s ../init.d/rc.<agentUser>/etc/rc2.d/S13<agentUser>
ln -s ../init.d/rc.agent1
/etc/rc2.d/S13agent1
Linux cp <agentHome>/ctm/scripts/rc.agent_user cp
/etc/rc.d/<agentUser> home/ctm/scripts/rc.agent_u
ln -s /etc/rc.d/<agentUser> ser /etc/rc.d/agent1
/etc/rc.d/rc5.d/S98<agentUser> ln -s /etc/rc.d/agent1
/etc/rc.d/rc5.d/S98agent1
SUSE >SuSEconfig
43
Control-M Installation Guide
44
Control-M Installation Guide
f. Log in using a user ID that has Administrator permissions on the current computer.
g. Ensure that the installation DVD is still in the DVD drive, and run the installation script, as
follows:
<source_path>\Setup.exe -silent <xml_path>\<filename.xml>
The installation logs can be found at the following location:
<installFolder>\BMCINSTALL\log\BMC_Control-M_Install_<date-time>.log
NOTE: If you use Application Integrator, you must upgrade it to the latest version by deploying the
Application Pack to your Control-M/Agents, as described in Application Pack deployment.
45
4
4
Control-M/Agent installation
The Control-M/Agent installation installs Control-M/Agents on different computers throughout your
organization. Additional Control-M/Agents enables you to run jobs on multiple computers. This enhances
performance and creates greater load balancing control.
Before you install Control-M/Agent, verify the requirements, as described in Control-M/Agent system
requirements (on page 46).
If you are installing Control-M/Agent on UNIX, complete the pre-install procedures, as described in
Control-M/Agent pre-installation procedures on UNIX (on page 49) and the post install procedures, as
described in Control-M/Agent post installation procedures (on page 52).
The following procedures describe how to install Control-M/Agent on UNIX and Windows via an interactive
or automatic installation:
Installing Control-M/Agent on UNIX (on page 49)
Installing Control-M/Agent on Windows (on page 50)
46
Control-M Installation Guide
Linux x86
x86_64
IBM® zSeries
Itanium (ia64)
Diskspace 1150 MB
BMC Software recommends
that you reserve three times
the amount of RAM in the
system for swap space.
47
Control-M Installation Guide
Resource Requirement
Diskspace 200 MB
BMC Software recommends that
you reserve three times the
amount of RAM in the system for
swap space.
48
Control-M Installation Guide
49
Control-M Installation Guide
3. Set your DISPLAY environment variable, as described in Setting environment variables in UNIX (on
page 31).
NOTE: If you are installing Control-M/Agent on Linux 64 bit, and you are installing any Application
Plug-ins, you need to set the INSTALL_AGENT_LINUX_X86_64 environment variable to N. For
more information see 000085258.
4. From your home directory, type the following command:
<source_path>/setup.sh
5. Do one of the following:
• Interactive install: Select the Control-M/Agent option and continue with the on-screen
instructions until the installation is complete.
• Automatic install: Create a parameter file and then run the automatic install in a
non-interactive mode, as follows:
a. Select the Control-M/Agent option and continue with the on-screen instructions until the
Summary window.
b. Click Generate and select the location to create the XML parameter file.
c. Click Yes to quit the installation.
A confirmation message appears.
d. Click Yes.
e. Copy the automatic installation parameters file to a network location that is accessible to all
computers where you want to perform an automatic installation.
f. To run the installation script, type the following command:
<source_path>/Setup_files/components/agent/setup.sh -silent
<xml_path>/<filename.xml>
The installation log can be found at the following location:
<$HOME>/BMCINSTALL/log/BMC_Control-M_AGENT_Install<date-time>.log
50
Control-M Installation Guide
51
Control-M Installation Guide
52
5
5
Control-M client installation
The Control-M client installation option enables you to install additional Control-M clients on different
computers throughout your organization. Additional clients enable multiple users in your organization to
access Control-M.
Verify that your operating system meets all requirements, as described in Control-M client system
requirements (on page 54).
To install the Control-M client on a Windows computer, see Installing Control-M client (on page 55).
NOTE: To deploy and install Control-M clients, BMC recommends using Client Distribution. However, if
you installed the Control-M client manually, you cannot use Client Distribution. If you want to use this
feature, you must uninstall the Control-M client and then reinstall using the Client Distribution URL.
53
Control-M Installation Guide
Resource Requirement
Memory 4 GB
Diskspace 12 GB
BMC Software recommends that you
reserve three times the amount of
RAM in the system for swap space.
54
Control-M Installation Guide
To install on Windows:
1. Log in to the computer using a user ID that has Administrator permissions.
2. Do one of the following:
• From the installation DVD, double-click the setup.exe file.
• From a command prompt window, enter <source_path>\Setup.exe.
3. Do one of the following:
• Interactive install: Select the Control-M client option and continue with the on-screen
instructions until the installation is complete.
• Automatic install: Create a parameter file and then run the automatic install in a
non-interactive mode, as follows:
a. Select the Control-M client option and continue with the on-screen instructions until the
Summary window.
b. Click Generate and select the location to create the XML parameter file.
c. Click Yes to quit the installation.
A confirmation message appears.
d. Click Yes.
e. Copy the automatic installation parameters file to a network location that is accessible to all
computers where you want to perform an automatic installation.
f. Log in using a user ID that has Administrator permissions on the current computer.
g. Ensure that the installation DVD is still in the DVD drive, and run the installation script, as
follows:
<source_path>\Setup_files\components\clientem\setup.exe -silent
<xml_path>\<filename.xml>
The installation log can be found at the following location:
<installFolder>\BMCINSTALL\log\BMC_Control-M_client_<date-time>.log
55
6
6
Control-M Add-on installation
The following topics describe how to install Batch Impact Manager, Control-M/Forecast, Control-M Self
Service, Control-M Workload Change Manager, Control-M Workload Archiving, and Control-M MFT on
UNIX and Windows in non-trial mode:
Control-M Workload Change Manager installation (on page 56)
Control-M Self Service installation (on page 59)
Batch Impact Manager installation (on page 61)
Control-M/Forecast installation (on page 63)
Control-M Workload Archiving installation (on page 66)
Control-M Managed File Transfer installation (on page 69)
56
Control-M Installation Guide
57
Control-M Installation Guide
58
Control-M Installation Guide
59
Control-M Installation Guide
60
Control-M Installation Guide
61
Control-M Installation Guide
62
Control-M Installation Guide
Control-M/Forecast installation
The following procedures describe how to install Control-M/Forecast on UNIX and Windows:
Installing Control-M/Forecast on Windows (on page 64)
Installing Control-M/Forecast on UNIX (on page 64)
63
Control-M Installation Guide
64
Control-M Installation Guide
65
Control-M Installation Guide
66
Control-M Installation Guide
67
Control-M Installation Guide
68
Control-M Installation Guide
69
Control-M Installation Guide
70
Control-M Installation Guide
71
7
7
Control-M uninstall
To uninstall Control-M and all components including add-ons from UNIX and Windows computers, see
Control-M full uninstall (on page 72).
To uninstall individual Control-M/Agents from UNIX and Windows computers, see Control-M/Agent
uninstall (on page 73).
72
Control-M Installation Guide
Control-M/Agent uninstall
The following procedures describe how to uninstall individual instances of Control-M/Agent from UNIX and
Windows computers:
Uninstalling Control-M/Agent from UNIX (on page 73)
Uninstalling Control-M/Agent from Windows (on page 74)
Performing an automatic Control-M/Agent uninstall on Windows (on page 74)
73
Control-M Installation Guide
74
Control-M Installation Guide
75
8
8
Control-M additional installations
If you have additional load balancing and geo-redundancy requirements, you can install multiple instances
of Control-M/EM and Control-M/Server.
Control-M/Enterprise Manager installation (on page 76).
Control-M/Server installation (on page 83).
If you want to install a secondary Control-M/EM, Control-M/Server, or Control-M full to create a high
availability environment, see High availability installation (on page 95).
To install an additional Application Plug-in, see Control-M Application Plug-ins (on page 29).
NOTE: You cannot install an Application Plug-in on a Control-M/Agent on NFS.
76
Control-M Installation Guide
Linux x86_64
Memory N/A 8 GB
Diskspace N/A 60 GB
BMC Software recommends that If you are installing
you reserve three times the Control-M with a remote
amount of RAM in the system database server, 10 GB are
for swap space. required on the database
server.
77
Control-M Installation Guide
Resource Requirement
Memory 8 GB
Diskspace 60 GB
BMC Software recommends that If you are installing Control-M with a remote database
you reserve three times the server, 10 GB are required on the database server.
amount of RAM in the system for
swap space.
NOTE: The <install folder> must have Read, List folder contents, Write, and Read & execute
permissions assigned to the Users group.
78
Control-M Installation Guide
79
Control-M Installation Guide
e. Copy the automatic installation parameters file to a network location that is accessible to all
computers where you want to perform an automatic installation.
f. To run the installation script, type the following command:
<source_path>/Setup_files/components/em/setup.sh -silent
<xml_path>/<filename.xml>
The installation log can be found at the following location:
<$HOME>/BMCINSTALL/log/BMC_Control-M_Enterprise_Manager_<date-time>.log
5. Continue with Control-M post installation procedures on UNIX (on page 37).
80
Control-M Installation Guide
f. Log in using a user ID that has Administrator permissions on the current computer.
g. Ensure that the installation DVD is still in the DVD drive, and run the installation script, as
follows:
<source_path>\Setup_files\components\em\setup.exe -silent
<xml_path>\<filename.xml>
The installation log can be found at the following location:
<installFolder>\BMCINSTALL\log\BMC_Control-M_Enterprise_Manager_<date-time>.log
Control-M/EM uninstall
The following procedures describe how to uninstall Control-M/EM on UNIX and Windows.
Uninstalling Control-M/EM from UNIX (on page 81)
Uninstalling Control-M/EM from Windows (on page 82)
Performing an automatic Control-M/EM uninstall on Windows (on page 82)
NOTE: In a high availability environment, you must uninstall the secondary as well as the primary.
81
Control-M Installation Guide
82
Control-M Installation Guide
Control-M/Server installation
If you have additional load balancing and geo-redundancy requirements, you can install multiple instances
of Control-M/Server.
Before you install Control-M/Server, verify the requirements, as described in Control-M/Server system
requirements (on page 83).
If you are installing Control-M/Server on UNIX, complete the pre-installation procedures, as described in
Control-M/Server pre-installation procedures on UNIX (on page 85) and the post installation procedures,
as described in Control-M/Server post installation on UNIX.
You can install Control-M/Server with one of the following options:
Default: Installs Control-M/Server with a dedicated PostgreSQL database server, default database
name, default username and default ports.
Custom: Enables you to select a database server, database name, username and ports.
NOTE: If you are installing Control-M/Server with a PostgreSQL database on the same computer where
Control-M/EM with a PostgreSQL database was installed, you must use a different port for the second
database instance.
The following procedures describe how to install Control-M /Server on UNIX and Windows via an
interactive or automatic installation:
Installing Control-M/Server on UNIX (on page 85)
Installing Control-M/Server on Windows (on page 86)
83
Control-M Installation Guide
Linux x86_64
Memory N/A 8 GB
Diskspace N/A 40 GB
BMC Software recommends that If you are installing
you reserve three times the Control-M with a remote
amount of RAM in the system database server, 5 GB are
for swap space. required on the database
server.
Resource Requirement
Memory 8 GB
Diskspace 40 GB
BMC Software recommends that If you are installing Control-M with a remote database
you reserve three times the server, 5 GB are required on the database server.
amount of RAM in the system for
swap space.
NOTE: The <install folder> must have Read, List folder contents, Write, and Read & execute
permissions assigned to the Users group.
84
Control-M Installation Guide
85
Control-M Installation Guide
86
Control-M Installation Guide
Control-M/Server uninstall
The following procedures describe how to uninstall Control-M/Server on UNIX and Windows.
Uninstalling Control-M/Server from UNIX (on page 87)
Uninstalling Control-M/Server from Windows (on page 88)
Performing an automatic Control-M/Server uninstall on Windows (on page 88)
NOTE: In a high availability environment, you must uninstall the secondary as well as the primary.
87
Control-M Installation Guide
88
Control-M Installation Guide
89
Control-M Installation Guide
90
Control-M Installation Guide
c. Ensure csh, psmisc, bc, flex, io libraries are installed. If not, install the libraries as follows:
o yum install csh
o yum install psmisc
o yum install libaio
o yum install bc
o yum install flex
NOTE: If the following check_req error occurs Not enough free swap space. At least 4GB
free swap is required, then the following steps will create a 6GB swap space file but for
production systems you should allocate a swap device instead, as follows:
a. Create the swap file: dd if=/dev/zero of=/swapfile bs=1024 count=6291456
b. Change the permission of the new swap file: chmod 0600 /swapfile
c. Setup the swap file with the command: mkswap /swapfile
d. enable the swap file: swapon /swapfile
e. Enable it at boot time- edit /etc/fstab to include: /swapfile swap swap defaults 0 0
f. Verify the swap file space: cat /proc/swaps or free
If the following check_req error occurs Change the kernel.sem (semmni) value to higher
or equal to 500 do the following:
g. To view current settings run: cat /proc/sys/kernel/sem
h. To change settings run: sysctl –w kernel.sem="250 32000 100 500"
6. Run the Control-M Setup logged in to Control-M account.
7. (Optional) If you need to add a storage volume do the following:
a. Create the storage volume in Cloud Instance and associate it with the Instance
b. Log in to the server and create the partition on it using fdisk: fdisk
c. Create the file system using mkfs: mkfs -t ext4 /dev/xvdb
d. Mount it to a directory: mount -t ext4 /dev/xvdb /media/controlm
e. Add it to the /etc/fstab file so it automatically mounts on reboot.
For example, /dev/xvdf /media/controlm ext4 defaults 12
91
Control-M Installation Guide
92
Control-M Installation Guide
• Create instance from AWS Marketplace under EC2 Console. This option enables you to customize
instances, with an option to assign an existing security group and create brand new pem key file.
Do the following:
a. Log in to the EC2 Console and select AWS Marketplace.
b. Find Control-M by searching for BMC.
c. Choose the instance type and configure instance details, add storage, and add tags.
d. Configure Security Group. You can choose either to create a new security group or select an
existing one
e. Click Launch and select key pair. You can choose either to use the existing key pair or create a
new one
f. Launch Control-M Instance.
93
Control-M Installation Guide
94
Control-M Installation Guide
95
Control-M Installation Guide
The secondary hostname is automatically added to the Authorized Control-M/Server hosts list and its
Control-M/Agents on the primary are updated.
Files are synced between the primary and secondary (see High availability compatibility (on page
97)).
(PostgreSQL only) Access to the shared directory and data replication is periodically checked after you
have initialized the replication process (see Starting database replication).
For more information about failover and fallback, see High availability configuration.
To uninstall a secondary Control-M full, Control-M/EM or Control-M/Server, see Control-M full uninstall (on
page 72), Control-M/EM uninstall (on page 81), or Control-M/Server uninstall (on page 87).
Windows MSSQL
Windows MSSQL
Windows MSSQL
PostgreSQL
96
Control-M Installation Guide
The following requirements must be met if you are using Control-M/Server with PostgreSQL:
The secondary Control-M/Server and PostgreSQL database server must be on the same computer.
You must provide a shared drive on a third server, that is always available, to back up the replicated
data. It is used if the primary or secondary are temporarily unavailable.
• Both the primary and secondary hosts must have read/write permissions on the shared drive.
• The shared drive must have at least 15 GB of available disk space.
• Both the primary and secondary UNIX accounts must have the same group ID and the shared
drive must have the permissions for the group. To change the shared drive directory, see Running
the ctmchangeshdir utility.
The following shared drive requirements must be in a Windows environment:
The primary and the secondary installations must use the same Domain user
The Control-M/Server service Log On as must be set to This account with the same Domain user
Verify that the Domain user has full privileges for the entire Control-M/Server directory and for the
shared drive.
To run Control-M/Server utilities in batch or online, you must use the same Domain user or another
user with full access to the shared drive.
Component Description
BMC Batch Impact Manager High availability does not support BMC Batch Impact Manager on
a dedicated separate server in a distributed environment.
Control-M Workload Archiving High availability does not support Control-M Workload Archiving
on a dedicated separate server.
Fix packs If you install a fix pack on the primary, you must manually install
it in on the secondary. A failover cannot occur if the fix packs on
both hosts are not the same.
97
Control-M Installation Guide
Component Description
Control-M/EM sync files The following files are synced to the secondary:
etc/site/resource/Defaults.rsc
etc/DirectoryServiceType.cfg
etc/resource/Defaults.rsc
TimeZone.dat
etc/ldap.conf
etc/log4j.selfservice
etc/log4j.wcm
Control-M/Server sync files The following files are synced to the secondary:
data/Config.dat
data/Time_Zone.dat
data/AGDEFS/AGDEFS
data/AGDEFS/AGUTILS_PERMIT
Data/AGENTS_ALIASES.txt
data/AGPERMIT_UTILS All files in directory
data/REMEDY/Remedy_Conf.xml
data/SSL/cert/Remedy,kbd
NOTE: This file keeps the remedy server hostname, port, and
username. These parameters are defined by the
remedy_configure utility and are saved in this file. The encrypted
file is saved in the remedy.kbd file.
98
Control-M Installation Guide
99
Control-M Installation Guide
100
Control-M Installation Guide
If you are using Oracle or MSSQL, the high availability environment is now activated. If you are using
PostgreSQL, verify that all requirements have been met, as described in High availability requirements
(on page 96), and then start the replication process, as described in Starting database replication.
Connecting components
This procedure describes how to connect Control-M/EM to at least one instance of Control-M/Server for
both UNIX and Windows.
You do not need to do this procedure if you installed the Control-M full installation option.
To connect components:
1. From a Windows computer that has Control-M/EM (full or client) installed, log in to the Control-M
Configuration Manager, as described in Logging in to CCM.
Start up the following components that are necessary to run Control-M as prompted:
• GUI Server
• Global Conditions Server
2. From the Components menu, select New > Control-M/Server and Gateway.
3. Select Discover and click OK.
4. In the Specifying Control-M/Server parameters window, type a name for the new
Control-M/Server.
5. Type the name of the host computer of the Control-M host (the computer where Control-M/Server is
installed).
NOTE: If Control-M/EM and Control-M/Server were installed with the suggested default parameters,
accept the suggested defaults for Control-M ID and Configuration Agent Port, otherwise, check with
your system administrator.
6. Click Next as required.
The Discover process detects and defines the new Control-M/Server and its gateway in the Control-M
Configuration Manager.
7. If you installed Control-M on UNIX go to Control-M post installation procedures on UNIX (on page 37).
101
Control-M Installation Guide
102
Control-M Installation Guide
• create synonym
• create table
• create trigger
• create view
EXAMPLE: grant alter session,create procedure,create sequence,create session,select any
dictionary,create synonym,create table,create trigger,create view to
BMC_ROLE_CTMUSER;
5. Create a database username that does not consist of one of the following strings and assign the
created table pace, profile, and role to it:
• anonymous
• perfstat
• public
• scott
• sys
• sysman
• system
EXAMPLE: create user CTMUSER identified by CTMPASS default tablespace $TABLESPACE_NAME
quota unlimited on $TABLESPACE_NAME profile BMC_PROFILE_$USERNAME
6. Grant explicit permissions to the user, as follows:
• grant create table to CTMUSER;
• grant create view to CTMUSER;
• grant select any dictionary to CTMUSER;
103
Control-M Installation Guide
104
9
9
Control-M cluster configuration
This appendix contains detailed information on how to prepare the database server and Control-M
(Control-M/EM or Control-M/Server) database data files (tablespaces or data files), for a cluster
installation, as described in Database components cluster configuration (on page 105). After you have
completed the database server and data files preparation, you can install Control-M interactively or
automatically, on UNIX or Windows.
The following describes how to configure Control-M in a cluster environment, as follows:
Control-M/EM cluster configuration (on page 107)
Control-M/Server cluster configuration (on page 121)
Control-M/Agent cluster configuration (on page 123)
105
Control-M Installation Guide
106
Control-M Installation Guide
107
Control-M Installation Guide
To avoid a scenario where the Control-M-EM Configuration Agent and the cluster manager control the
same component, verify the following:
All components managed by the cluster must be set to Ignore in the CCM and in online status in
cluster manager.
All components managed by the Control-M-EM Configuration Agent must be in offline status in the
cluster manager and set with a Desired state to Up or Down in the CCM.
NOTE: Control-M/EM Distributed functions the same as a regular Control-M/EM in a cluster. The Cluster
Group installation defines the Control-M-EM configuration agent resource in the cluster manager in online
status.
The following procedures describe how to configure Control-M/EM in a clustered environment on
Windows:
Creating an additional Control-M/EM component as a cluster resource (on page 108)
Cluster resource parameters (on page 110)
108
Control-M Installation Guide
109
Control-M Installation Guide
Description Control-M/Forecast
Group EMxxx
110
Control-M Installation Guide
Parameters N/A
111
Control-M Installation Guide
Parameters N/A
Parameters N/A
Dependencies Control-M-EM-GSR
112
Control-M Installation Guide
Parameters N/A
113
Control-M Installation Guide
Group EMxxx
Parameters N/A
114
Control-M Installation Guide
115
Control-M Installation Guide
116
Control-M Installation Guide
117
Control-M Installation Guide
118
Control-M Installation Guide
Field Value
virtualHostName:port
NOTE: If the installation of the Control-M/EM components is distributed between additional hosts other
than the cluster nodes, a separate condition must be specified with the physical host names of each
cluster node specified in the Host Name parameter.
6. Click Save.
7. Start the Control-M/EM Configuration Agent.
119
Control-M Installation Guide
Field Value
virtualHostName:port
7. Click Save.
8. Start the GCS using the Control-M Configuration Manager.
120
Control-M Installation Guide
121
Control-M Installation Guide
You have now completed the configuration of Control-M/Server with clusters on Windows.
122
Control-M Installation Guide
5. Copy the scripts to the other host and allow access to the cluster user.
6. Verify that resource group and logical hostname resource are already defined on the cluster.
7. From the cluster manager, run the following command to create a Control-M/Server resource, register
it with required resource group, and allocate it to a virtual host:
sudo /usr/cluster/bin/clrs create -g <resource_group> -t SUNW.gds:6 -p
Scalable=false -p Start_timeout=120 -p Stop_timeout=300 -p
Probe_timeout=20 -p
Start_command="/<host_private_directory>/ctms_start_all.sh" -p
Stop_command="/<host_private_directory>/ctms_shut_all.sh" -p
Probe_command="/<host_private_directory>/ctms_show_all.sh" -p
Child_mon_level=-1 -p Port_list="2369/tcp" -p
Resource_dependencies=<logical_hostname> -p Failover_enabled=TRUE -p
Stop_signal=9 <Control-M/Server_resource>
123
Control-M Installation Guide
124
Control-M Installation Guide
Installing Control-M/Agent
1. Install Control-M/Agent on the relevant file system on the shared disk according to the instructions
provided in Control-M/Agent installation (on page 46).
2. Install the latest Fix Pack to apply the most recent software updates.
3. Run the Control-M/Agent configuration utility (either ctmag or ctmagcfg) to configure the logical
Agent name. In the configuration utility, select Logical Agent Name from the Advanced menu. The
logical agent name should contain the virtual network name.
4. In the Control-M/Agent configuration menu, define the Control-M/Server host name as authorized to
submit jobs to this Control-M/Agent. If Control-M/Server is installed on a cluster, only the virtual
network name of Control-M/Server (referred to in the example: vhctmxxx) should be specified.
Missing jobs
Every time a job is submitted, a process is created to monitor the job and report about its completion.
This process is called Agent Monitor (AM). When the AM is started (with every job), it creates two files for
the job: a status file and a "procid" file.
In a normal scenario, the AM detects the job completion, updates the "procid" file and sends a trigger to
the Agent Tracker (AT) about the completion. The AT then sends the update to Control-M/Server.
In a failover scenario, while the job is still executing, the agent process is stopped and the agent file
system is unmounted from the first host. In this case the job can keep running, but the "procid" file will
not be updated when the job completes (the agent file system will be mounted to the backup node).
Therefore, when the agent is started on the backup node, and the next AT track time arrives, it will find
the original "procid" file but it will not find the actual process. This is why the job is marked as
disappeared.
125
Control-M Installation Guide
NOTE: The Control-M/Agent Router (p_ctmar) is only active when working in persistent connection
mode. When working in transient connection mode, only the Control M/Agent Listener (p_ctmag) and
Tracker (p_ctmat) are active.
On UNIX, you might see more than one p_ctmag (one for each job).
126