Agent Pre-Installation Procedures for Linux
Before you install AgentsA Control-M component installed on a host that runs and monitors the jobs on the host, you need to complete the following procedures:
-
Configuring a User Account on Linux: Describes how to configure specific parameters for an Agent
-
Setting the Java Environment Variable: Describes how to set the Java environment variable, which points to an external Java installation.
-
Verifying Operating System Levels and Patches Describes how to verify operating system level and patches with Agent requirements
Configuring a User Account on Linux
This procedure describes how to configure a user account on Linux with specific parameters for Control-M.
Before you Begin
-
The account cannot contain any data, must be solely dedicated to the Agent, and the name must not exceed 30 characters.
-
The Agent Run as userAn OS account name that is used to execute the job on the host can be a local user, an LDAP user, or an NIS user.
-
The Agent account home directory can be located on a local disk or NFS (plug-insA Control-M component that extends functionality to third-party applications like Hadoop or SAP and integrates plug-in jobs with other jobs into a single workflow are not supported on NFS).
Begin
-
Do one of the following:
-
Create a user account, as follows:
/usr/sbin/useradd -u <numeric_user_id> -g <user_group> -d <user_home>
-
Create a group, as follows:
/usr/sbin/groupadd <user_group>
The <user_shell> account must be defined as one of the following names or programs:
-
/bin/csh
-
/bin/sh
-
/bin/ksh
-
/bin/bash
-
/bin/tcsh
-
-
Configure the predefined limits that are designed to limit or prevent the excessive use of resources by a single process, as described in Control-M Limits on Linux Accounts.
-
Verify that the HOST environment variable is defined on all shells by running the env command.
If the HOST environment variable not defined, contact your IT system administrator.
-
Verify that the HOME directory is configured with 755 permissions by running Is Id on the Agent account.
ls -ld /home/ctmag
drwxr-xr-x 25 ctmag users 4096 Dec 2 13:47 /home/ctmag
If the permissions are not set to 755, you can use the chmod command to set it.
chmod 755 /home/ctmag
Control-M Limits on Linux Accounts
The following table describes Control-M limits on Linux accounts. If you install Control-M components in separate accounts, each account must have the minimum ulimit setttings. The computer kernel soft or hard setting must reflect the sum total that is required by each account.
Parameter |
Description |
---|---|
datasize |
Determines the maximum size of the data segment of a process. BMC recommends setting this value to unlimited. |
stacksize |
Determines the maximum size of the stack segment of a process. BMC recommends 8 MB on all Linux computers. |
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. |
descriptors |
Determines the maximum number of descriptors in use by a single process. BMC recommends the value of 4096. Do not set the parameter value to unlimited. |
memoryuse |
Determines the maximum amount of memory to be used by a single process. BMC recommends setting this value to unlimited. |
maxproc |
Determines the maximum number of user processes. Default: 4096 |
Verifying Operating System Levels and Patches
This procedure describes how to verify the operating system level and patches with Control-M requirements.
Begin
-
Download the Check_req utility.
-
Log in as an Agent user.
-
Extract the tar file and type the following command:
checkReqRun.sh
-
Complete the instructions as necessary.
If the operating system and patches meet Control-M requirements, you are advised that the product can be installed. Otherwise, a list of missing requirements appears.
If the script alerts you to a missing patch or library (such as libnsl), check with your system administrator to see if the patch or library is included in one of the bundled packages that are installed on your computer.