High Availability Installation
Control-M High Availability enables you to install a secondary instance of Control-M full installation, Control-M/EM, or Control-M/Server. If there is a failure on the primary host, Control-M continues to run on the secondary host.
A secondary installation uses the same installation parameters, database, and schema as the primary installation and must be installed on the same operating system. If there is a conflict in one of the parameters, such as the port, update the port number in the primary installation before installing the secondary.
You must have an existing Control-M environment before you can install the secondary instance. For a more detailed list of requirements, see High Availability Requirements.
The following procedures describe how to install a secondary instance on UNIX and Windows:
After you have installed the secondary, the following occurs:
-
The Configuration Agents of Control-M/EM and Control-M/Server are up and running and monitoring the Configuration Agent on the primary.
If you restarted your machine, you must start up the Control-M/EM and Control-M/Server Configuration Agent.
To configure the automatic startup/shutdown script on UNIX, see one of the following topics:
-
The secondary hostname is automatically added to the Authorized Control-M/Server hosts list, and its Control-M/Agents on the primary are updated. When you define the Local IP Host Interface Name or the Agent-to-Server Host Name parameter on a non-active High Availability environment, the changes tsake affect within 10 minutes of the time when they were saved.
-
Files are synced between the primary and secondary (see High Availability Compatibility).
-
(Dedicated PostgreSQL Only): Access to the shared directory and data replication is periodically checked after you initialize the replication process (see Starting Database Replication).
For more information about failover and fallback, see High Availability.
To uninstall a secondary instance, see one of the following topics:
-
Uninstalling a Control-M Full Installation: Control-M Full Uninstall
-
Uninstalling Control-M/EM:
-
Uninstalling Control-M/Server:
High Availability Requirements
Before installing, upgrading, or uninstalling in a High Availability environment, verify the following:
-
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 are up during the installation.
-
The installation must be performed on the recently active 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.
Component |
Operating System |
Database |
---|---|---|
Control-M Full Installation
|
UNIX |
|
Windows |
|
|
Control-M/EM
|
UNIX |
|
Windows |
|
|
Control-M/Server
|
UNIX |
|
Windows |
|
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. This server 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 met in a Windows environment:
-
The primary and the secondary installations must use the same Domain user.
-
The Control-M/Server service Log in as must be set to This account with the same Domain user.
-
The PostgreSQL service Log in 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.
High Availability Compatibility
The following table describes how various Control-M components, products, and security settings work in a High Availability configuration.
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. |
Cluster |
Control-M High Availability is supported in a clustered environment if the primary is installed on a dedicated PostgreSQL database and the Control-M components are not managed by the cluster manager. The failover mode is set to manual and it cannot be changed. |
Control-M/EM Sync Files |
The following files are synced to the secondary:
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:
|
Control-M/Server Sync Files |
The following files are synced to the secondary:
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:
|
Installing a Secondary on UNIX
This procedure describes how to install a secondary Control-M Full Installation, Control-M/EM, or Control-M/Server for High Availability on UNIX. A secondary installation uses the same installation parameters, database, and schema as the primary installation.
The default installation 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 installation or perform an automatic installation.
Before You Begin
Ensure that you have met the following requirements:
-
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.
-
Define the external Java location, as described in Setting the Java Environment Variable.
-
Verify that the target computer is clean and does not have any previous versions of Control-M installed.
-
Verify successful completion of Control-M Pre-installation Procedures.
Begin
-
Do one of the following:
-
Mount the installation DVD.
-
From the temporary directory that you created (see "Product Distribution" in the Control-M version 9.0.21 Release Notes), extract the .tar.Z file.
-
-
Set your DISPLAY environment variable, as described in Setting Environment Variables in UNIX.
-
From your home directory, type the following command:
<source_path>/setup.sh -
Do one of the following:
-
Interactive Install: Select the Additional Installations > Secondary installation for High Availability 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 non-interactive mode, as follows:
-
Select the Additional Installations > Secondary installation for High Availability option, and continue with the on-screen instructions until the Summary window appears.
-
Click Generate and select the location to create the XML parameter file.
-
Click Yes to quit the installation.
A confirmation message appears.
-
Click Yes.
-
Copy the automatic installation parameters file to a network location that is accessible to all computers where you want to perform an automatic installation.
-
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>.logIf you are using Oracle, MSSQL, or an external PostgreSQL, the High Availability environment is now activated.
If you are using a BMC-supplied PostgreSQL, start the replication process, as described in Starting Database Replication.
-
-
Installing a Secondary on Windows
This procedure describes how to install a secondary Control-M Full Installation, Control-M/EM, or Control-M/Server for High Availability on Windows. A secondary installation uses the same installation parameters, database, and schema as the primary installation.
Before You Begin
Ensure that you have met the following requirements:
-
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.
-
Define the external Java location, as described in Setting the Java Environment Variable.
-
Verify that the target computer is clean and does not have any previous versions of Control-M installed.
Begin
-
Log in to the computer using a user ID that has Administrator permissions.
-
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.
-
-
Do one of the following:
-
Interactive Install: Select the Additional Installations > Secondary installation for High Availability 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 non-interactive mode, as follows:
-
Select the Additional Installations > Secondary installation for High Availability option, and continue with the on-screen instructions until the Summary window appears.
-
Click Generate and select the location to create the XML parameter file.
-
Click Yes to quit the installation.
A confirmation message appears.
-
Click Yes.
The automatic installation XML parameters file that is created (<filename>.xml) is relevant only for computers with the same Agent instance name. Otherwise, a separate <filename>.xml file must be created for each computer or modified manually for each computer.
-
Copy the automatic installation parameters file to a network location that is accessible to all computers where you want to perform an automatic installation.
-
Log in using a user ID that has Administrator permissions on the current computer.
-
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>.logIf you are using Oracle, MSSQL, or an external PostgreSQL, the High Availability environment is now activated.
If you are using a BMC-supplied PostgreSQL, verify that all requirements have been met, as described in High Availability Requirements, and then start the replication process, as described in Starting Database Replication.
-
-