Installing on Linux systems
Complete the following steps to install Linux x86_64 on the server system.
Before you begin
Procedure
- Install Red Hat Enterprise Linux Version
7.1 or later, according to the manufacturer instructions. Obtain a bootable DVD that contains Red Hat Enterprise Linux Version 7.1 and start your system from this DVD. See the following guidance for
installation options. If an item is not mentioned in the list, leave the default
selection.
- After you start the DVD, choose Install or upgrade an existing system from the menu.
- On the Welcome screen, select Test this media & install Red Hat Enterprise Linux 7.1.
- Select your language and keyboard preferences.
- Select your location to set the correct time zone.
- Select Software Selection and then on the next screen, select Server with GUI.
- From the installation summary window, click Installation
Destination and verify the following:
- The local 300 GB disk is selected as the installation target.
- Under Other Storage Options, Automatically configure partitioning is selected.
- Click Begin Installation. After the installation starts, set the root password for your root user account.
[root@tvapp02]# df –h Filesystem Size Used Avail Use% Mounted on /dev/mapper/rhel-root 50G 3.0G 48G 6% / devtmpfs 32G 0 32G 0% /dev tmpfs 32G 92K 32G 1% /dev/shm tmpfs 32G 8.8M 32G 1% /run tmpfs 32G 0 32G 0% /sys/fs/cgroup /dev/mapper/rhel-home 220G 37M 220G 1% /home /dev/sda1 497M 124M 373M 25% /boot - Configure your TCP/IP settings according to the operating system installation
instructions.
For optimal throughput and reliability, consider bonding multiple network ports together. This can be accomplished by creating a Link Aggregation Control Protocol (LACP) network connection that aggregates several subordinate ports into a single logical connection. Configuration recommendations include using a bond mode of 802.3ad, miimon setting of 100, and a xmit_hash_policy setting of layer3+4.
For additional instructions on configuring bonded network connections with Red Hat Enterprise Linux Version 7, see https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Networking_Guide/sec-Network_Bonding_Using_the_Command_Line_Interface.html#sec-Create_a_Channel_Bonding_Interface.
- Open the /etc/hosts file and complete the following actions:
- Update the file to include the IP address and host name for the server. For example:
192.0.2.7 server.yourdomain.com server - Verify that the file contains an entry for localhost with an address of 127.0.0.1. For
example:
127.0.0.1 localhost
- Update the file to include the IP address and host name for the server. For example:
- Install components that are required for Tivoli® Storage
Manager server installation. Complete the following
steps to create a Yellowdog Updater Modified (YUM) repository and install the prerequisite
packages.
- Mount your Red Hat Enterprise Linux installation
DVD to a system directory. For example, to mount it to the /mnt
directory, issue the following command:
mount -t iso9660 -o ro /dev/cdrom /mnt - Verify that the DVD mounted by issuing the mount command. You should see output similar to the
following:
/dev/sr0 on /mnt type iso9660 - Change to the YUM repository directory by issuing the following command:
If the repos.d directory does not exist, create it.cd /etc/yum/repos.d - List directory contents:
ls rhel-source.repo - Rename the original repo file by issuing the mv command. For
example:
mv rhel-source.repo rhel-source.repo.orig - Create a new repo file by using a text editor. For example, to use the vi editor, issue the following
command:
vi rhel71_dvd.repo - Add the following lines to the new repo file. The baseurl parameter
specifies your directory mount point:
[rhel71_dvd] name=DVD Redhat Enterprise Linux 7.1 baseurl=file:///mnt enabled=1 gpgcheck=0 - Install the prerequisite package ksh.x86_64, which is required for
Tivoli Storage
Manager, by issuing the
yum command. For example:
yum install ksh.x86_64Note: You do not need to install the compat-libstdc++-33-3.2.3-69.el6.i686 and libstdc++.i686 libraries for Red Hat Enterprise Linux Version 7.1.
- Mount your Red Hat Enterprise Linux installation
DVD to a system directory. For example, to mount it to the /mnt
directory, issue the following command:
- When the software installation is complete, you can restore the original YUM repository
values by completing the following steps:
- Unmount the Red Hat Enterprise Linux installation
DVD by issuing the following command:
unmount /mnt - Change to the YUM repository directory by issuing the following command:
cd /etc/yum/repos.d - Rename the repo file that you created:
mv rhel71_dvd.repo rhel71_dvd.repo.orig - Rename the original file to the original name:
mv rhel-source.repo.orig rhel-source.repo
- Unmount the Red Hat Enterprise Linux installation
DVD by issuing the following command:
- Determine if kernel parameter changes are required. Complete the following steps:
- Use the sysctl -a command to list the parameter values.
- Analyze the results by using the guidelines in Table 1 to determine if any changes are required.
- If changes are required, set the parameters in the /etc/sysctl.conf
file. The file changes are applied when the system is started.Note: Kernel parameter values that are listed in Table 1 include commas for ease of reading. Do not include commas for any value that you update in the /etc/sysctl.conf file.
Note: On Linux, DB2® might automatically increase interprocess communication (IPC) kernel parameter values to the preferred settings. If DB2 updates the values that you set, you do not need to change them back to the values that are listed in the following table.Table 1. Linux kernel parameter optimum settings Parameter Description Preferred value kernel.shmmni The maximum number of segments. 256 x size of RAM in GB Values for each system size:- Small: 16,384
- Medium: 32,768
- Large: 49,152
kernel.shmmax The maximum size of a shared memory segment (bytes). This parameter must be set before automatically starting the Tivoli Storage Manager server on system startup.
Size of RAM in bytes Values for each system size:- Small: 68,719,476,736
- Medium: 137,438,953,472
- Large: 206,158,430,208
kernel.shmall The maximum allocation of shared memory pages (pages) 2 x size of RAM in bytes (setting is in 4 KB pages) Value used for all sized systems: 4,294,967,296
Changes to the factory settings for this parameter are not required.
kernel.sem You must specify four values for the kernel.sem parameter. When you update this parameter, include all values on one line in the following order:
For example, to update the parameter for a medium system, enter the following on one line in the /etc/sysctl.conf file:kernel.sem = SEMMSL SEMMNS SEMOPM SEMMNIkernel.sem = 250 256000 32 32768(SEMMSL) The maximum semaphores per array
250 (SEMMNS) The maximum semaphores per system
256,000 (SEMOPM) The maximum operations per semaphore call
32 (SEMMNI) The maximum number of arrays
256 x size of RAM in GB Values for each system size:- Small: 16,384
- Medium: 32,768
- Large: 49,152
kernel.msgmni The maximum number of system-wide message queues 1024 x size of RAM in GB Values for each system size:- Small: 65,536
- Medium: 131,072
- Large: 196,608
kernel.msgmax The maximum size of messages (bytes) 65,536 kernel.msgmnb The default maximum size of queue (bytes) 65,536 kernel.randomize_va_space The kernel.randomize_va_space parameter configures the use of memory ASLR for the kernel. Disable ASLR because it can cause errors for the DB2 software. To learn more details about the Linux ASLR and DB2, see Technote 1365583 at: http://www.ibm.com/support/docview.wss?uid=swg21365583. 0 vm.swappiness The vm.swappiness parameter defines whether the kernel can swap application memory out of physical random access memory (RAM). For more information about kernel parameters, see the DB2 information center. 0 vm.overcommit_memory The vm.overcommit_memory parameter influences how much virtual memory the kernel can permit to be allocated. For more information about kernel parameters, see the DB2 information center. 0 - Open firewall ports that Tivoli Storage
Manager will
use. Complete the following steps:
- Determine the zone that is used by the network interface. The zone is public, by
default. Issue the following command:
# firewall-cmd --get-active-zones public interfaces: ens4f0 - To use the default port address for communications with the Tivoli Storage
Manager server, open TCP/IP port 1500 in the Linux firewall. Issue the following command:
firewall-cmd --zone=public --add-port=1500/tcp --permanentIf you want to use a value other than the default, you can specify a number in the range 1024 - 32767. If you open a port other than the default, you will need to specify that port when you run the configuration script.
- If you plan to use this system as a Tivoli Storage
Manager Operations Center hub, open port 11090, which is the default
port for secure (https) communications. Issue the following command:
firewall-cmd --zone=public --add-port=11090/tcp --permanent - Reload the firewall definitions for the changes to take effect. Issue the following command:
firewall-cmd --reload
- Determine the zone that is used by the network interface. The zone is public, by
default.
- Verify that user limits, also known as ulimits, are set according to
guidelines in Table 2. If ulimit values are not set
correctly, you might experience server instability or a failure of the server to respond. If you need to modify any user limit values, follow the instructions in the documentation for your operating system.
Table 2. User limits (ulimit) values User limit type Setting Value Command to query value Maximum size of core files created core Unlimited ulimit -Hc Maximum size of a data segment for a process data Unlimited ulimit -Hd Maximum file size fsize Unlimited ulimit -Hf Maximum number of open files nofile 65536 ulimit -Hn Maximum amount of processor time in seconds cpu Unlimited ulimit -Ht Maximum number of user processes nproc 16384 ulimit -Hu