Control-M 9.0.19 Installation Guide: February 2019
Control-M 9.0.19 Installation Guide: February 2019
Control-M 9.0.19 Installation Guide: February 2019
9.0.19
Installation Guide
February 2019
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
▪ 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 i (AS/400), 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
License key and password information
4
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 ............................................................................... 9
Planning your installation .............................................................................................................. 10
Language options ......................................................................................................................... 10
Control-M installation terminology ................................................................................................. 11
6
Installing Control-M/Server on Windows ........................................................................................ 62
Control-M/Server uninstall ............................................................................................................. 63
7
Control-M/Server cluster configuration ......................................................................................... 134
Control-M/Agent cluster configuration .......................................................................................... 136
8
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 24): 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 11)) 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/Enterprise Manager installation (on page 51): Enables you to install multiple instances of
Control-M/Enterprise Manager (Control-M/EM).
▪ Control-M/Server installation (on page 58): Enables you to install multiple instances of
Control-M/Server.
▪ Control-M/Agent installation (on page 65): 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 72): 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 100): Enables you to install all Control-M components in a
cloud environment. 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
106)).
If you are installing Control-M in a cluster environment, see Control-M cluster configuration (on page
118).
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.
9
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.
10
Control-M Installation Guide
Term Description
11
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
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:
12
Control-M Installation Guide
13
Control-M Installation Guide
14
Control-M Installation Guide
If a new site standard was created in the new version and is attached to a folder, then after the
downgrade is completed, this folder must be manually set to one of the restored site standard entities
or defined without any site standard. To change the link, you need to open that folder in a temporary
Workspace and change the site standard in the Workspace. This change cannot be done from the
Folder Manager.
15
Control-M Installation Guide
a. Select the Control-M/Enterprise Manager option and continue with the on-screen
instructions until the Summary window.
NOTE: There is no confirmation to shut down Control-M/EM 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.sh -silent <xml_path>/<filename.xml>
The upgrade logs can be found at the following location:
<$HOME>/BMCINSTALL/log/BMC_Control-M_Enterprise_Manager_<date-time>.log
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
NOTE: The default upgrade is interactive and uses a GUI display. XServer must be running and
configured using the DISPLAY environment variable. If you do not have XServer available, BMC
recommends that you continue with the console upgrade or perform an automatic upgrade.
Before You Begin
Ensure that you have met the following requirements:
▪ Verify that your operating system and database software is compatible with the new version of
Control-M/Server, as described in Control-M/Server UNIX system requirements (on page 59).
▪ If you are upgrading on cluster environment, see Control-M/Server UNIX cluster configuration (on
page 135).
18
Control-M Installation Guide
19
Control-M Installation Guide
20
Control-M Installation Guide
21
Control-M Installation Guide
22
Control-M Installation Guide
• UNIX: <cdPath>/Setup_files/TOOLS/pg_server_upgrade.tar.gz
• Windows: <cdPath>\Setup_files\TOOLS\pg_server_upgrade.zip
2. Copy the package to be parallel to the pgsql directory.
The pgsql directory is located in one of the following locations:
• Full Installation and Control-M/Server on UNIX: <Control-M Home>
• Control-M/EM on UNIX: <Control-M Home>/ctm_em/
• Full Installation and Control-M/Server on Windows : <Control-M Home>\Control-M Server
• Control-M/EM on Windows: <Control-M Home>\Control-M EM 9.0.00\Default
3. Do one of the following:
• UNIX: Type the following commands to open and uncompress:
a. gunzip pg_server_upgrade.tar.gz
b. tar -xvf pg_server_upgrade.tar
• Windows: Extract the pg_server_upgrade.zip.
4. Shut down Control-M/EM or Control-M/Server components (both for Full Install):
5. Navigate to the pg_server_upgrade directory and run one of the following commands:
• UNIX: PG_Upgrade.sh
• Windows: PG_Upgrade.bat
6. Follow the on-screen instructions until the upgrade is complete.
If you want to downgrade to the old PostgreSQL database server version, rename the the
pgsql.old.<timestamp> directory to pgsql. The database server is reverted to the existing version
before the upgrade. Any changes made to the new PostgreSQL server are not applied to the
downgraded PostgreSQL server version.
23
2
2
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 24).
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 34) and the post install procedures, as described in
Control-M post installation procedures on UNIX (on page 43).
The following procedures describe how to install Control-M on UNIX and Windows:
▪ Installing Control-M on UNIX (on page 42) (You need to install the Control-M client on a Windows
computer)
▪ Installing Control-M on Windows (on page 50)
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.
24
Control-M Installation Guide
Linux x86_64
Memory N/A 8 GB
25
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.
26
Control-M Installation Guide
27
Control-M Installation Guide
28
Control-M Installation Guide
29
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.
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.
30
Control-M Installation Guide
An Oracle instant client is supplied in the background when you install one of the Control-M products.
The following topics list 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 31)
▪ Oracle database server storage requirements (on page 32)
▪ Oracle schema checklist (on page 33)
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.
31
Control-M Installation Guide
Parameter Value
Redolog groups 3
32
Control-M Installation Guide
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 114).
User password
33
Control-M Installation Guide
34
Control-M Installation Guide
35
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.
36
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.
37
Control-M Installation Guide
38
Control-M Installation Guide
39
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.
40
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 37).
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)
41
Control-M Installation Guide
42
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.
43
Control-M Installation Guide
44
Control-M Installation Guide
ExecStart=/bin/sh -c [EM_home_dir]/bin/start_config_agent
Type=forking
RemainAfterExit=yes
ExecStop=
• No High Availability: /bin/sh -c "em [EM_home_dir]/bin/emctl -U <db user> -P
<password> -C Config_Agent -M [active environment host name] -cmd
shutdown"
• High Availability: /bin/sh -c "em [EM_home_dir]/bin/emctl -U <db user> -P
<password> -C Config_Agent -M [stand-by environment host name] -cmd
shutdown; sleep 30; em [EM_home_dir]/bin/emctl -U emuv900 -P empass -C
Config_Agent -M [active environment host name] -cmd shutdown"
[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.
45
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/
data/rc.controlm/etc/rc.d/con
ln -s /etc/rc.d<controlmUser>
trolm
/etc/rc.d/rc2.d/S98<controlmUser>
ln
-s/etc/rc.d/controlm/etc/rc.d/
rc2.d/S98controlm
46
Control-M Installation Guide
47
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.
48
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
CentOS7
Ubuntu 16 and 18
Suse Linux
Enterprise 12
49
Control-M Installation Guide
50
Control-M Installation Guide
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.
51
Control-M Installation Guide
Linux x86_64
Memory N/A 8 GB
Diskspace N/A 60 GB
BMC Software recommends that Upgrade: 7 GB
you reserve three times the
If you are installing
amount of RAM in the system
Control-M with a remote
for swap space.
database server, 10 GB are
required on the database
server.
52
Control-M Installation Guide
Resource Requirement
Memory 8 GB
Diskspace 60 GB
BMC Software recommends that Upgrade: 7 GB
you reserve three times the
If you are installing Control-M with a remote database
amount of RAM in the system for
server, 10 GB are required on the database server.
swap space.
NOTE: The <install folder> must have Read, List folder contents, Write, and Read & execute
permissions assigned to the Users group.
53
Control-M Installation Guide
54
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 43).
55
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 56)
▪ Uninstalling Control-M/EM from Windows (on page 57)
▪ Performing an automatic Control-M/EM uninstall on Windows (on page 57)
NOTE: In a high availability environment, you must uninstall the secondary as well as the primary.
56
Control-M Installation Guide
<em_InstallFolder>/BMCINSTALL/uninstall/DRNFT.9.0.18.100
• If you want to uninstall 9.0.19, navigate to the following directory:
<em_InstallFolder>/BMCINSTALL/uninstall/DRNFT.9.0.19
3. Type one of the following commands:
• Interactive uninstall: ./uninstall.sh
• Automatic uninstall: ./uninstall.sh -silent
Control-M/EM is successfully removed from your computer.
57
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 58).
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 60) 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 PostrgreSQL 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 61)
▪ Installing Control-M/Server on Windows (on page 62)
58
Control-M Installation Guide
Linux x86_64
Memory N/A 8 GB
Diskspace N/A 40 GB
BMC Software recommends that Upgrade: 7 GB
you reserve three times the
If you are installing
amount of RAM in the system
Control-M with a remote
for swap space.
database server, 5 GB are
required on the database
server.
59
Control-M Installation Guide
Resource Requirement
Memory 8 GB
Diskspace 40 GB
BMC Software recommends that Upgrade: 7 GB
you reserve three times the
If you are installing Control-M with a remote database
amount of RAM in the system for
server, 5 GB are required on the database server.
swap space.
NOTE: The <install folder> must have Read, List folder contents, Write, and Read & execute
permissions assigned to the Users group.
60
Control-M Installation Guide
61
Control-M Installation Guide
62
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. 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\ctm\setup.sh -silent
<xml_path>\<filename.xml>
The installation log can be found at the following location:
<installFolder>\BMCINSTALL\log\BMC_Control-M_Server_<date-time>.log
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 63)
▪ Uninstalling Control-M/Server from Windows (on page 64)
▪ Performing an automatic Control-M/Server uninstall on Windows (on page 64)
NOTE: In a high availability environment, you must uninstall the secondary as well as the primary.
63
Control-M Installation Guide
64
3
3
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 65).
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 68) and the post install procedures, as
described in Control-M/Agent post installation procedures (on page 71).
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 68)
▪ Installing Control-M/Agent on Windows (on page 69)
65
Control-M Installation Guide
Linux ▪ x86_64
▪ IBM® zSeries
Diskspace 1150 MB
BMC Software recommends
that you reserve three times
the amount of RAM in the
system for swap space.
66
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.
67
Control-M Installation Guide
68
Control-M Installation Guide
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
(https://bmcsites.force.com/casemgmt/sc_KnowledgeArticle?sfdcid=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
69
Control-M Installation Guide
70
Control-M Installation Guide
71
4
4
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 72).
To install the Control-M client on a Windows computer, see Installing Control-M client (on page 73).
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.
Resource Requirement
72
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.
➢ 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.
73
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. 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
74
5
5
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 75)
▪ Control-M Self Service installation (on page 78)
▪ Batch Impact Manager installation (on page 80)
▪ Control-M/Forecast installation (on page 82)
▪ Control-M Workload Archiving installation (on page 84)
▪ Control-M Managed File Transfer installation (on page 87)
75
Control-M Installation Guide
NOTE: In a high availability environment, you must perform this procedure on the primary host only
when it is active.
76
Control-M Installation Guide
NOTE: In a high availability environment, you must perform this procedure on the primary host only
when it is active.
77
Control-M Installation Guide
78
Control-M Installation Guide
4. Click Done.
5. To verify installation, open the Control-M Configuration Manager, and verify that Self Service Server
and Web Server components are with a state of Up.
79
Control-M Installation Guide
80
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. 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 log can be found at the following location:
<installFolder>\BMCINSTALL\log\BMC_Batch_Impact_Manager_Install_<date-time>
.log
3. Click Done.
81
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 82)
▪ Installing Control-M/Forecast on UNIX (on page 83)
82
Control-M Installation Guide
83
Control-M Installation Guide
84
Control-M Installation Guide
85
Control-M Installation Guide
86
Control-M Installation Guide
87
Control-M Installation Guide
88
Control-M Installation Guide
89
Control-M Installation Guide
90
Control-M Installation Guide
<installFolder>\BMCINSTALL\log\BMC_Control-M_MFT_B2B_Install_<date-time>.log
3. Click Done.
91
Control-M Installation Guide
mft-proxy/exe/start-mft-proxy.sh
NOTE: Verify that the Hub is up before restarting the Gateway.
92
6
6
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 93).
To uninstall individual Control-M/Agents from UNIX and Windows computers, see Control-M/Agent
uninstall (on page 94).
93
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:
94
Control-M Installation Guide
95
Control-M Installation Guide
96
Control-M Installation Guide
97
Control-M Installation Guide
98
Control-M Installation Guide
99
7
7
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 51).
▪ Control-M/Server installation (on page 58).
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 106).
To install an additional Application Plug-in, see Control-M Application Plug-ins (on page 33).
NOTE: You cannot install an Application Plug-in on a Control-M/Agent on an NFS or VXFS file system.
100
Control-M Installation Guide
101
Control-M Installation Guide
102
Control-M Installation Guide
103
Control-M Installation Guide
104
Control-M Installation Guide
105
Control-M Installation Guide
106
Control-M Installation Guide
107
Control-M Installation Guide
▪ The secondary Control-M/EM Configuration Agent and Control-M/Server Configuration Agent is down.
▪ The Control-M/EM database and Control-M/Server database must always be up at the time of the
installation.
▪ The installation must be performed on the primary and then on the secondary or distributed.
▪ After installing on the primary, you must install on the secondary before starting up the secondary
Configuration Agent.
▪ High availability is not available until you install on the secondary.
The following table lists the supported components, operating systems, and databases for Control-M High
availability.
Windows ▪ MSSQL
▪ External PostgreSQL
Windows ▪ MSSQL
▪ External PostgreSQL
Windows ▪ MSSQL
▪ External and dedicated BMC
PostgreSQL
NOTE: BMC doesn't support using the dedicated PostgreSQL database as an external PostrgreSQL
database for a different High Availability installation.
The following requirements must be met if you are using Control-M/Server with a dedicated BMC
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.
108
Control-M Installation Guide
• 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.
109
Control-M Installation Guide
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.
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
NOTE: If Advanced Email Configuration (SMTPS) is configured on
the primary host, the following configuration files are not synced
to the secondary because they contain an encryption key and
password and must be configured manually :
▪ etc/mail.properites
▪ etc/mail_auth.properites
▪ etc/aes.key
110
Control-M Installation Guide
Component Description
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.
NOTE: If Advanced Email Configuration (SMTPS) is configured on
the primary host, the following configuration files are not synced
to the secondary because they contain an encryption key and
password and must be configured manually :
▪ data/mail.properites
▪ data/mail_auth.properites
▪ data/aes.key
111
Control-M Installation Guide
▪ Verify that your operating system and database software is compatible with the current version of
Control-M, as described in Control-M full installation system requirements (on page 24).
▪ Verify that the target computer is clean and does not have any previous Control-M version installed.
▪ Successful completion of Control-M pre-installation procedures on UNIX (on page 34).
112
Control-M Installation Guide
113
Control-M Installation Guide
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 43).
114
Control-M Installation Guide
115
Control-M Installation Guide
• 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 space, 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;
• grant create database link to CTMUSER;
116
Control-M Installation Guide
• If you are doing a non-system installation, verify that your DBA does not grant the SELECT ANY
DICTIONARY.
• If Control-M is already installed, open a request with your DBA to remove the privilege.
117
8
8
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 118). 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 119)
▪ Control-M/Server cluster configuration (on page 134)
▪ Control-M/Agent cluster configuration (on page 136)
118
Control-M Installation Guide
The MSSQL Server services (one service is created on each cluster node) are named by default as the
virtual server name. When the MSSQL resource group is moved from one node to another, the MSSQL
services are stopped on the original (primary) node and started on the alternate node.
In addition to the MSSQL services resources, installation of MSSQL Server on a Windows cluster
automatically creates the network name and IP address resources in the selected resource group. At that
point, the MSSQL resource group becomes a virtual server and can be accessed by client applications
using the virtual name.
For more information about MSSQL Server on Windows, see:
(http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=75566f16-627d-4dd3-97cb
-83909d3c722b)
119
Control-M Installation Guide
▪ Control-M/EM Windows cluster configuration (on page 120): The Control-M/EM Windows installation is
cluster aware. All components defined as part of the installation are defined as cluster resource and
are managed by the cluster manager.
▪ Control-M/EM UNIX cluster configuration (on page 128): The Control-M/EM UNIX installation is not
cluster aware. You need to configure the components using BMC demo scripts.
120
Control-M Installation Guide
▪ 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 121)
▪ Cluster resource parameters (on page 123)
121
Control-M Installation Guide
122
Control-M Installation Guide
Description Control-M/Forecast
Group EMxxx
123
Control-M Installation Guide
Parameters N/A
124
Control-M Installation Guide
Parameters N/A
Parameters N/A
Dependencies Control-M-EM-GSR
125
Control-M Installation Guide
Parameters N/A
126
Control-M Installation Guide
127
Control-M Installation Guide
Group EMxxx
Parameters N/A
128
Control-M Installation Guide
▪ demo_ha_cluster_start
▪ demo_ha_cluster_check
▪ demo_ha_cluster_stop
▪ demo_ha_cluster (Main script)
To get the usage, run the scripts with –help (or with no parameter).
The following procedures describe how to configure Control-M/EM in a clustered environment on UNIX
using BMC provided demo scripts:
▪ Modifying the demo ha cluster script (on page 129)
▪ Configuring the Control-M/EM Configuration Agent as a cluster resource (on page 129)
▪ Configuring Control-M/EM kernel components as cluster resources on UNIX (on page 130)
▪ Configuring additional Control-M/EM components as cluster resources on UNIX (on page 130)
129
Control-M Installation Guide
The Configuration Agent is now managed by the cluster manager. If there is a failover/move, the
cluster manager starts up the Configuration Agent on the other host.
130
Control-M Installation Guide
131
Control-M Installation Guide
132
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.
133
Control-M Installation Guide
Field Value
virtualHostName:port
7. Click Save.
8. Start the GCS using the Control-M Configuration Manager.
134
Control-M Installation Guide
135
Control-M Installation Guide
136
Control-M Installation Guide
137
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 65).
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.
138
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).
139
Control-M Installation Guide
▪ Multiple Agents can be installed on the same virtual server group or in separate virtual server groups.
▪ Control-M/Agents that share the same IP and Network name resources must be associated with
separate Control-M/Servers.
▪ Disk, IP, and Network Name resources must be online in the virtual server group where
Control-M/Agent is installed.
▪ Automatic installation and automatic upgrade of Control-M/Agent is not supported for Microsoft
Windows cluster environments.
140