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.

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 and the post-installation procedures, as described in Control-M Post-installation Procedures on UNIX, as described inConfiguring the Automatic Startup/Shutdown Procedure for Control-M/Server 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.

The Control-M/Server installation includes the installation of a Control-M/Agent, which is critical to the functionality of Control-M/Server. To avoid potential corruption to the product, do not uninstall, disable, or delete the Control-M/Agent.

  • 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.

  • If you are installing Control-M/EM and Control-M/Server on the same computer or installing multiple instances of Control-M/Server on the same computer (UNIX only), you must configure the Zookeeper and Kafka services to use different ports on Control-M/EM and on the additional Control-M/Server instances, as described in KA 000374213.

  • If you are installing Control-M/EM and Control-M/Server on the same Windows computer, BMC recommends that you install them on the same home directory to avoid multiple Kafka installations.

The following procedures describe how to install Control-M /Server on UNIX and Windows via an interactive or automatic installation:

Control-M/Server System Requirements

Before you install Control-M/Server, verify that your operating system, processor, and database server are supported and have the correct amount of memory and disk space. For a full list of requirements, see the Control-M 9.0.21.300 Release Notes.

Verify that your system meets one of the following requirements:

The number of processes limit must be equal to or greater than the number of expected parallel running jobs.

Control-M/Server UNIX System Requirements

The following table lists the prerequisite requirements for a UNIX platform.

These values represent the minimum requirements for an entry level deployment. For higher capacity workloads, add resources.

Resource

Specification

Requirement

Compatible Processors

AIX

  • IBM RISC System/6000

  • Bash Shell

Linux

x86_64

Memory

N/A

12 GB

Disk Space

N/A

40 GB

Upgrade: 7 GB

If you are installing Control-M with a remote database server, you must have 5 GB free on the database server.

BMC Software recommends that you reserve 1.5 times the amount of RAM in the system for swap space.

CPU

4 vCPU

100 SPEC rating (2006_int_rate)

Control-M/Server Windows System Requirements

The following table lists the prerequisite requirements for a Windows platform.

These values represent the minimum requirements for an entry level deployment. For higher capacity workloads, add resources.

Resource

Requirement

CPU

4 vCPU

100 SPEC rating (2006_int_rate)

Compatible Processors

x86_64 processors:

  • Intel Xeon 64 bit

  • AMD Opteron

Display

16-bit (65,536) colors or higher

Memory

12 GB

Disk Space

40 GB

Upgrade: 7 GB

If you are installing Control-M with a remote database server, you must have 5 GB free on the database server.

BMC Software recommends that you reserve 1.5 times the amount of RAM in the system for swap space.

The <Installation_Folder> must have Read, List Folder Contents, Write, and Read & Execute permissions assigned to the Users group.

Control-M/Server Pre-installation Procedures on UNIX

Before you install Control-M/Server, you need to complete the following procedures:

Installing Control-M/Server on UNIX

This procedure describes how to install Control-M/Server on UNIX. You can install with the default settings, or choose the custom installation to select the database server, database names, usernames, hostnames, and port settings. If you want to install multiple instances of Control-M/Server on several computers using the same configuration, use the automatic installation, as described in this procedure.

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:

Begin

  1. Copy the installation files from the temporary directory that you created in Obtaining Control-M installation files, to the home directory.

  2. Set your DISPLAY environment variable, as described in Setting Environment Variables in UNIX.

  3. From your home directory, type the following command:

    <source_path>/setup.sh

  4. Do one of the following:

    • Interactive Install: Select the Control-M/Server 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:

      1. Select the Control-M/Server option and continue with the on-screen instructions until the Summary window.

      2. Click Generate and select the location where the XML parameter file is created.

      3. Click Yes to quit the installation.

        A confirmation message appears.

      4. Click Yes.

      5. Copy the automatic installation parameters file to a network location that is accessible to all computers where you want to perform an automatic installation.

      6. To run the installation script, type the following command:

        <source_path>/Setup_files/components/ctm/setup.sh -silent <xml_path>/<filename.xml>

        If you want to encrypt a password in the installation, run the following command:

        <source_path>/Setup_files/components/ctm/setup.sh -encrypt <password>

        The installation log can be found at the following location:

        <$HOME>/BMCINSTALL/log/BMC_Control-M_Server_<date-time>.log

        The backup file is available in the following location:

        $HOME/BMCINSTALL/uninstall/DRCTV.9.0.21.300/backup_area

  5. Continue with Automatic Startup/Shutdown Procedure for Control-M/Server on UNIX.

    If you installed Control-M/Server on NFS, you can only use the Control-M/Server user on the same host where Control-M/Server was installed.
  6. If a firewall is active, perform the steps described in System Configuration.

By default, Control-M/Server is configured to work with TCP. To secure your environment, BMC recommends to change your configuration to SSL, as described in Zone 2 and 3 SSL Configuration.

Installing Control-M/Server on Windows

This procedure describes how to install Control-M/Server on Windows. You can install with the default settings, or choose the custom installation to select the database server, database names, usernames, hostnames, and port settings.

If you want to install multiple instances of Control-M/Server on several computers using the same configuration, use the automatic installation, as described in this procedure.

Before You Begin

Begin

  1. Log in to the computer using a user ID that has Administrator permissions.

  2. Copy the installation files from the temporary directory that you created in Obtaining Control-M installation files, to the home directory.

  3. From a command prompt window, run the following command:

    <source_path>\setup.exe

  4. Do one of the following:

    Interactive Install: Select the Control-M/Server 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:

    1. Select the Control-M/Server option and continue with the on-screen instructions until the Summary window.

    2. Click Generate and select the location to create the XML parameter file.

    3. Click Yes to quit the installation.

      A confirmation message appears.

    4. Click Yes.

    5. Copy the automatic installation parameters file to a network location that is accessible to all computers where you want to perform an automatic installation.

    6. Log in using a user ID that has Administrator permissions on the current computer.

      Run the following installation script:

      <source_path>\Setup_files\components\ctm\setup.exe -silent <xml_path>\<filename.xml>

      If you want to encrypt a password in the installation, run the following command:

      <source_path>\Setup_files\components\ctm\setup.exe -encrypt <password>

      The installation log can be found at the following location:

      <installFolder>\BMCINSTALL\log\BMC_Control-M_Server_<date-time>.log

      The backup file is available in the following location:

      <Install Directory>\BMCINSTALL\uninstall\DRCTV.9.0.21.300\backup_area

  5. If a firewall is active, perform the steps described in System Configuration.

By default, Control-M/Server is configured to work with TCP. To secure your environment, BMC recommends to change your configuration to SSL, as described in Zone 2 and 3 SSL Configuration.

Uninstalling Control-M/Server from UNIX

This procedure describes how to uninstall Control-M/Server from UNIX.

Before You Begin

Ensure that all jobs have ended.

Begin

  1. Log in as a Control-M/Server user.

  2. Navigate to the following directory:

    <ctmserver_InstallFolder>/BMCINSTALL/uninstall/

  3. Type one of the following commands:

    Interactive Uninstall: DRCTV.9.0.21.300/uninstall.sh

    Automatic Uninstall: DRCTV.9.0.21.300/uninstall.sh -silent

    Control-M/Server is successfully removed from your computer. If you downgraded, Control-M components are up and running.

Uninstalling Control-M/Server from Windows

This procedure describes how to uninstall Control-M/Server from Windows.

Before You Begin

Ensure that all jobs have ended.

Begin

  1. From the Start menu, select Control Panel.

  2. Double-click Programs and Features.

  3. Select Control-M/Server 9.0.21.300, and click Uninstall.

  4. Click OK to continue.

    Control-M/Server is successfully removed from your computer. If you downgraded, Control-M components are up and running.

Performing an Automatic Control-M/Server Uninstall on Windows

This procedure describes how to uninstall Control-M/Server from Windows via an automatic uninstall.

Before You Begin

Ensure that all jobs have ended.

Begin

  1. Log in to the computer using a user ID that has Administrator permissions.

  2. Navigate to the following directory:

    <ctmserver_InstallFolder>\BMCINSTALL\uninstall\DRCTV.9.0.21.300

  3. Type the following command:

    Uninstall.exe -silent

    Control-M/Server is successfully removed from your computer.

Configuring the Automatic Startup/Shutdown Procedure for Control-M/Server on UNIX

This procedure describes how to configure the automatic startup procedure for Control-M/Server on RedHat 7, Oracle Linux 7, and SUSE Linux Enterprise Server 12. You must perform this procedure after you install Control-M/Server.

If you installed Control-M/Server on NFS, you can only use the Control-M/Server user on the same host where Control-M/Server was installed.

Begin

  1. Log in as root.

  2. Navigate to the following to location:
    /etc/systemd/system/

  3. Create a new unit service file with 644 permissions.

    The extension must be .service.

    EXAMPLE: CtmServer.service

  4. Open the file and type the following:

    Copy
    [Unit]
    Description=Control-M Server
    After=systemd-user-sessions.service multi-user.target network.target
    [Service]
    ExecStart=/bin/sh -c [server_home_dir]/ctm_server/data/rc.<account name>
    Type=forking
    RemainAfterExit=yes
    ExecStop=/usr/bin/su - <account name> -c '[server_home_dir]/ctm_server/scripts/shut_ca ; [server_home_dir]/ctm_server/scripts/shut_ctm -CA; sleep 10 ; [server_home_dir]/ctm_server/scripts/shutdb; [server_home_dir]/ctm_server/scripts/shut_kafka'
    [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/Server computer.