Preparing the Information Server Enterprise Search node
Before you install IBM® InfoSphere® Information Server, you must prepare the Information Server Enterprise Search node of your cluster.
About this task
Note: This process applies to Version 11.7. In version 11.7.1, a new microservices tier is
available. The microservices tier consists of IBM Watson Knowledge Catalog, Enterprise Search, and
the Information Governance Catalog and Information Analyzer console. For information about preparing
the microservices tier, see Preparing the Information Server 11.7.1 microservices tier node.
Complete the following
steps on the Information Server Enterprise Search node of your cluster to prepare it for
installation of IBM
InfoSphere Information Server with
Enterprise Search.Procedure
-
Configure the local host lookup for the Information Server Service Tier node if it is not
already configured.
- To check if you can perform a host lookup for <Information Server Service
Tier Node>, run the following command:
nslookup <Information Server Service Tier Node>
- If the local host lookup is not configured, append the following line to the file
/etc/hosts:
<IP address> <Information Server Service Tier Node> <Short host name>
- To check if you can perform a host lookup for <Information Server Service
Tier Node>, run the following command:
- Install the following packages if missing.
- lvm2
- wget
- python
- curl
- To check if a package is installed, run the following command:
yum list installed <Package Name>
- To install a package if it is missing, run the following command:
yum install -y <Package Name>
- Check devices and
partitions.
- Version 11.7.0.2
Check the devices to make sure you have a raw, unformatted disk or an unformatted partition. The minimum required space is 100 GB.
Display information about all the available block devices including an unformatted disk on your system by running the following command:lsblk
See the following example. The system or output might look different depending on your environment.[root@sombra-node1 ~]# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT vda 252:0 0 250G 0 disk ├─vda1 252:1 0 1G 0 part /boot └─vda2 252:2 0 244G 0 part ├─rhel-root 253:0 0 240G 0 lvm / └─rhel-swap 253:1 0 4G 0 lvm vdb 252:16 0 200G 0 disk ├─vdb1 252:1 0 250G 0 part <<<<<<Raw unformatted partition <<<<< vdc 252:32 0 250G 0 disk <<<<< Raw unformatted disk <<<<<
Confirm that you have a raw, unformatted disk or unformatted partition. This information will be provided as input for the Enterprise Search installation.
Raw unformatted disk /dev/vdc OR raw unformatted partition /dev/vdb1.
The installer will take care of formatting.
- Version 11.7.0.1 or 11.7.0.0
- View all partitions in all devices by running the following
command:
parted -l
- Check all partitions in a specific device by running the following
command:
parted <device> print all
- View all partitions in all devices by running the following
command:
- Version 11.7.0.2
- Configure the Docker volume by using one of the following
methods. Note: Skip this step if you are using IBM InfoSphere Information Server version 11.7.0.2 or later.
- Use a spare, unformatted device.
- Create a partition table by running the following
command:
parted <Device> mklabel gpt
- Create a partition of 100 GB by running the following
command:
parted <Device> mkpart primary 0GB 100GB
- Create a partition table by running the following
command:
- Reuse an existing mounted disk partition.
- Unmount the existing disk partition by running the following
command:
umount <Mount Point>
- Comment the corresponding entry for <Mount Point> in the file /etc/fstab, otherwise the machine will fail to reboot.
- Reformat the disk partition to remove previous formatting by running the following
command:
pvcreate -y <Partition>
- Unmount the existing disk partition by running the following
command:
- Create a 200GB disk partition on <Device> in the space available after the first disk
partition of 200GB.
- Check to confirm that the planned space is not already allocated by running the following
command:
parted <Device> print
- Create the partition by running the following
command:
parted <Device> mkpart primary 200GB 400GB
- Check to confirm that the planned space is not already allocated by running the following
command:
- Use a spare, unformatted device.
- Ensure that the planned private IP address range for the Weave
network, which Kubernetes uses to allocate dynamic IP addresses as needed, does not clash with the
planned IP address range for Docker and is available. The default value is
10.32.0.0/12. The planned IP address range for the Weave network cannot be a
public IP address range. Note: Docker uses 172.17.0.0/16, which cannot be changed.
- Check that the network IP addresses do not conflict with Weave and Docker on the
Enterprise Search node.
- Query the existing private IP address ranges that are in use by running the following
command:
ip route show
The output should look similar to the following example:default via 10.1.1.254 dev eth0 proto static metric 100 10.1.0.0/16 dev eth0 proto kernel scope link src 10.1.1.207 metric 100
- Ensure the Weave IP range that was provided as input during the installation is not already in use.
- The Enterprise Search installation uses the following IP address as the default for Docker. Make
sure you do not use this IP range
also.
172.17.0.0/16 dev docker0 proto kernel scope link src 172.17.0.1
- Query the existing private IP address ranges that are in use by running the following
command:
- Run the following command to remove the IP address range for the Docker and Weave
networks if they are still assigned after the cleanup script,
/opt/IBM/UGinstall/cleanUGInstall.sh, was run to remove the existing
installation.
ip route del <IP Range>
- Check that the network IP addresses do not conflict with Weave and Docker on the
Enterprise Search node.
- Configure the services cluster IP address
range.
- Ensure that the services cluster IP address range does not conflict with the existing host network or with the network_cidr.
- Ensure that it is a valid IP address range.
- Ensure that the IP address range does not start with 172.17 because 172.17 is used for the Docker IP address range.
- Ensure that a public IP address range is not used.
-
Check to see if IP Forwarding is enabled.
-
Check the file /etc/sysctl.conf, by running the following command:
sysctl -a | grep ip_forward
-
Enable IP Forwarding if
net.ipv4.ip_forward = 0
-
Edit the file /etc/sysctl.conf, and change it to
net.ipv4.ip_forward = 1
-
To load the settings that were made to the file /etc/sysctl.conf, run the
following command:
sysctl -p
The configuration setting might also be in any configuration file in the /etc/sysctl.d directory.
-
Check the file /etc/sysctl.conf, by running the following command:
- Set
up a root passwordless SSH
connection
from the Enterprise Search node to itself.
- If the file /root/.ssh/id_rsa.pub does not exist, you must create
the SSH Keys by running the following command:
ssh-keygen -f /root/.ssh/id_rsa -q -N ""
- Copy the SSH public key to the Enterprise Search node by running the following
command:
ssh-copy-id -i /root/.ssh/id_rsa.pub root@<Enterprise Search Node>
- Validate the root passwordless SSH connection to the Enterprise Search node by running
the following command:
Note: This step is optional for version 11.7.1.ssh root@<Enterprise Search Node> hostname
- If the file /root/.ssh/id_rsa.pub does not exist, you must create
the SSH Keys by running the following command:
- Ensure that port 443 is used only by the HAProxy load balancer, for a full suite installation. The port must be used for this purpose in order for the IBM InfoSphere Information Server Enterprise Search ingress-nginx-controller to function correctly.
- Ensure that the swap space is disabled in order for the pods to come up on the IBM
InfoSphere Information Server Enterprise
Search node after the reboot of the IBM
InfoSphere Information Server Enterprise
Search node. Before disabling the swap space, first check the /etc/fstab file to ensure that the swap space is not mounted again after reboot. For example, the /etc/fstab file might contain an entry similar to the following example.
/dev/mapper/rhel-root / xfs defaults 0 0 UUID=.... /boot xfs defaults 0 0 /dev/mapper/rhel-swap swap swap defaults 0 0
To disable the swap space, run the following command:swapoff ‐a
Note: The swap space must be left disabled after installation. - Take into account the following information about the
Information Server Enterprise Search installation directory.
- You can specify any absolute path as the Information Server Enterprise Search installation directory. If the given directory exists already, the installation is done in the provided directory.
- If you create the installation directory, the directory must be empty at the time of installation.
- If you do not create the Information Server Enterprise Search installation directory before the installation, the installer creates the specified directory location.
- Check the static host name on the Information Server Enterprise Search node by issuing
the following command:
For example,hostnamectl --static
static hostname: jsmith-1171-ug-2
. If you are using a short name for the host, then set it to the fully qualified domain name (FQDN) by issuing the following command:
The fully qualified domain name will be set as the static host name and will be the input to the installer for Information Server Enterprise Search host name.hostnamectl set-hostname `hostname -f`
- Verify that the Host lookup (nslookup) of the local host on the Information Server
Enterprise Search node points to the local host and that it is not registered in DNS to any other
name by issuing the following
command:
If the host name is registered to any other name, you must fix the issue before you can successfully complete the installation.nslookup localhost Server: 172.16.200.52 Address: 172.16.200.52#53
- Verify that the following ports are available to the Information Server Enterprise Search
node:
TCP 6443* Kubernetes API Server TCP 2379-2380 etcd server client API TCP 10250 Kubelet API TCP 10251 kube-scheduler TCP 10248 kubelet TCP 10249 kube-proxy TCP 10252 kube-controller-manager TCP 10255 Read-Only Kubelet API TCP 30000-32767 NodePort Services TCP 6783/6784 Weave Services TCP 9092 Kafka TCP 2181 zookeeper