Preparing Linux computers for Infrastructure Management
General preparations
Item | Task |
---|---|
System requirements | Ensure that the target computers for TrueSight Infrastructure Management meet or exceed the system requirements listed in System-requirements-and-product-compatibility-for-Infrastructure-Management and in the following sections. |
Port 80 | Ensure that port 80 is available for installing the Apache web server. If any other application is using the port, change the port allocation to make the port 80 available for TrueSight Infrastructure Management installation. On the system where you want to host the TrueSight Infrastructure Management Server or the Integration Service, verify the TCP control port (port 80) availability by running the following command from a command line: netstat -a | grep "LISTENING" | grep "80" After TrueSight Infrastructure Management has been installed, you can change the port for the Apache web server to free port 80 for use by your other application. For instructions, see Ports used by Infrastructure Management. |
Installation media | BMC Software recommends that you install TrueSight Infrastructure Management from a local copy of the installation image and not from a network drive. Installing from a network drive can cause delays in completing the installation. |
Host Name | For successful installation, ensure that the host name or the cluster name does not contain an underscore (_). |
Anti-virus | Disable any anti-virus software on each host computer on which you are installing a component, or exclude the TrueSight Infrastructure Management installation directory from virus scanning. Disable the following programs on the target computer:
|
Other applications | Close all applications that are running and do not perform other installation or configuration activities during the TrueSight Infrastructure Management installation process. |
Preinstallation checklist
Item | Requirements |
---|---|
Installation user | You can install the TrueSight Infrastructure Management Server or the Integration Service as a root user as well as a non-root user. However, you must provide certain permissions to the non-root user as the root user. If you are installing the TrueSight Infrastructure Management Server as either a root or non-root user, ensure that the user who installs the product has the home directory on the computer where the product is installed. Ensure that the user's home directory contains the user profile file. This is required for the BMC_PROACTIVENET_HOME and MCELL_HOME environment variables to be set in the user profile file. |
gzip and unzip | Ensure that gzip and unzip are installed and present in the PATH environment variable. |
tcsh shell | Ensure that tcsh shell is installed on the server where you plan to install TrueSight Infrastructure Management. |
Installation directory | The installation script creates the installation directory during installation. |
Integration Service | Do not install the Integration Service in the /usr directory. |
Temporary directory | Clean your temporary directories. Start with the temporary folder in your home folder. You may not be able to delete all the files, but BMC recommends that you remove any files or directories that begin with TrueSight or Infrastructure Management. |
Firewall | Configure your firewall to allow TCP port 7, which is used to communicate with other TrueSight Infrastructure Management hosts |
X Windows access | Disable X Windows access control by using the xhost command. |
Nobody user account | Ensure that the nobody user account exists on the target computer. |
ed Text Editor | Ensure that the ed text editor exists on the computer where TrueSight Infrastructure Management will be installed. |
Fonts | Ensure that Arial fonts are present on the Linux OS on which you plan to install Infrastructure Management. |
Permissions required by a non-root user for installing the Integration Service and remote cell
On Linux computers, you can install the Integration Service as a root user as well as a non-root user. However, to enable non-root users to install the Integration Service, as a root user, you need to provide the following permissions to the the non-root user.
- Provide read, write, and execute permissions for the following directories:
- Installation directory (destination directory where you are planning to install the product)
- /opt/bmc directory to create ProductRegistry.xml file
- /etc/patrol.d directory to create patrol security
- /etc/init.d, /etc/rc.d/rc0.d, /etc/rc.d/rc1.d, /etc/rc.d/rc3.d, and /etc/rc.d/rc5.d directories to create service
- /tmp and /var/tmp directories
- Provide read and write permissions for the following files and directories:
- /etc/csh.cshrc file
- /etc/profile directory to set environment variable permission
- (Remote cell on AIX only) /home directory
- If the init file is not copied to the /etc/rc3.d directory, the Integration Service corresponding to the init file is not listed as installed (in the list of existing Integration Service installations) during installation of other integration services.
- Ensure that you remove the /etc/bmc.cshrc and /etc/bmc.profile files if they already exist.
Permissions required by a non-root user for installing TrueSight Infrastructure Management
On Linux computers, you can install TrueSight Infrastructure Management as a root user as well as a non-root user. However, to enable non-root users to install TrueSight Infrastructure Management, as a root user, you need to provide read, write, and execute permissions to the non-root user, for the following directories:
- Read, write, and execute permissions for the TrueSight Infrastructure Management installation (destination directory where you are planning to install the product) and /tmp directories.
- Verify the filesystem that the /tmp directory resides in is mounted with exec option by running the findmnt command. If it shows noexec for /tmp, remount it with exec option. For example, mount -o remount,exec /tmp.
- /opt/bmc directory to create ProductRegistry.xml file
- /usr and /usr/bin directories to create softlink
- /tmp and /var/tmp directories
(For Oracle database only) /etc/profile
You can configure these permissions by running a script. For more information, see Configuring permissions required by a non-root user for installing Infrastructure Management.
When you run the script, in the /etc/security/limits.conf file, the following minimum limits are set for creating the number of files and processes.
- <Non-root-User-Name> soft nofile 16096
- <Non-root-User-Name> hard nofile 16096
- <Non-root-User-Name> soft nproc 4096
- <Non-root-User-Name> hard nproc 4096
Configuring permissions required by a non-root user for installing TrueSight Infrastructure Management
To install TrueSight Infrastructure Management as a non-root user, as a root user, you need to provide a set of permissions. You can set these permissions by running the config_nonroot.sh script as described in the following procedure.
You can also run this script for setting permissions for a non-root user while upgrading from a previous version of TrueSight Infrastructure Management.
- Locate the script at <Infrastructure-Management-Download-Location>/TSIMServer/Disk1/Utility.
- As a root user, run the script in the following format:
config_nonroot.sh <Non-root-User-Name> <Directory-Location>
In the preceding script syntax, the following definitions apply:- <Non-root-User-Name> refers to the non-root user to whom you want to provide permissions.
- <Directory-Location> refers to the absolute path to the directory where you plan to install or upgrade the TrueSight Infrastructure Management product.
Preinstallation requirements check by installer
When you start the TrueSight Infrastructure Management Server installation, the installer checks to ensure that the target computer is configured based on the recommended settings. The installer checks the environment and reports a status of OK or Not OK for each configuration variable that it checks.
For Linux, the following preinstallation checks are run:
If the installation program encounters a failed check on a mandatory setting, it aborts the installation. To resolve any failed checks, review the prerequisites in this page to ensure that you have implemented all of them. If all the prerequisites have been implemented and the preinstallation check still fails for some checks, see the Infrastructure-Management-installation-and-uninstallation-issues.
Antivirus configuration
Before installing TrueSight Infrastructure Management, disable the on-demand scan of the antivirus system.