Question & Answer
Question
How can I change the V6/V7 temporary extract/execute location for a Tivoli Storage Manager server installation?
Cause
Under some circumstances, an administrator may not want or may not be able to extract temporary files to the /tmp filesystem during Tivoli Storage Manager server installation. One known justification for this is to adhere to National Security Administration (NSA) Linux system hardening requirements, which disallows execution of files from the /tmp filesystem for security purposes. In such environments, the /tmp filesystem will be mounted with the noexec flag to prevent execution of code. The full NSA document can be found here:
http://www.nsa.gov/ia/_files/os/redhat/NSA_RHEL_5_GUIDE_v4.2.pdf
The noexec mount option on /tmp causes Tivoli Storage Manager installation failures. For example:
[root@server 6340]# ./prereqcheck.bin
Preparing to install...
Extracting the JRE from the installer archive...
Unpacking the JRE...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
Launching installer...
./prereqcheck.bin: line 3319: /tmp/install.dir.
45383/Linux/resource/jre/jre/bin/java: Permission denied
./prereqcheck.bin: line 3319: exec: /tmp/install.dir.
45383/Linux/resource/jre/jre/bin/java: cannot execute: Permission denied
Answer
The preferred and documented method to install Tivoli Storage Manager is to allow extraction and execution of files from the /tmp filesystem. Otherwise, the following alternatives exist:
Tivoli Storage Manager V6:
- Set the following environment variable to control where the installer extracts its temporary installation files to:
[root@rhel64 tsm]# export IATEMPDIR=/opt/tmp1
- Set the following environment variable to control where DB2 extracts its temporary installation files to:
[root@rhel64 tsm]# export DB2TMPDIR=/opt/tmp2
Note: The paths specified above must exist, be writable, and have at least an additional 2GB of free space available above and beyond the documented space requirement for the installation. In this example, the /opt filesystem is used. At least 5GB of free space is required for the installation, so if you're also extracting the temporary installation files to the location, at least 7GB is required. The base-line space requirements can be reviewed here.
- Initiate the installer as follows:
[root@rhel64 tsm]# ./install.bin -i console -DBYPASS_TSM_REQ_CHECKS=true
Note: We must bypass the prerequisite checks when using the IATEMPDIR environment variable. This means that an administrator should be especially cautious with satisfying any prerequisites before initiating the installer in this manner.
Tivoli Storage Manager V7:
A viable work-around for the V7 Tivoli Storage Manager server installer does not currently exist. APAR IC98871 was taken to address this requirement, however, after investigation it has been determined that this is a permanent restriction and the behavior will not be changed. Users will need to temporarily change the mount options to allow execution of files from /tmp for the installation/upgrade process.
Product Synonym
ITSM ADSM TSM
Was this topic helpful?
Document Information
Modified date:
17 June 2018
UID
swg21663973