After you have extracted the Kubernetes artifacts and Docker images, you must prepare the
files.
Before you begin
Ensure that you:
- Copy all of the IBM® Surveillance Insight for Financial Services installation media files to
the Kubernetes master node.
- Run the install as the root user on the Kubernetes master node.
Procedure
- Download and copy the installation TAR files to the installation
media directory.
The installation media directory value is set by the media.dir property in
the install.properties file. The default directory is
/sifsmedia.
- Create a SHA1 checksum file that is named SIFS.sha1 in the
installation media directory.
For example, use the following command to create the checksum file:
cat > /sifsmedia/SIFS.sha1 << EOF
22f415ae2a2a279b456f273d8e22eab0a6f32060 CNPY7EN.tar
1eae1d481f9dd1ddd4e172f9f4efcae3c571cd00 CNPY8EN.tar
f2ce2e576b5b64e81aa46857dec78a741952cec4 CNPY9EN.tar
f0a0ac811779578995bd1094228bedc75de2846c CNPZ0EN.tar
ac495aa105d06c4fd7f5b0907d84f07dc5552648 CNPZ1EN.tar
5c2b46841390758677a3d0217d67ebd2ec0c405f CNPZ2EN.tar
af2c8228b1a523de291de5776c18ee02c564ca05 CNPZ3EN.tar
334fb17a3d09b57c2280d3bf8df7b4b83e5ec0f2 CNPZ4EN.tar
EOF
- Change the SHA1 checksum file permissions and run the dos2unix
command on the checksum file:
chmod 755 SIFS.sha1
dos2unix SIFS.sha1
If you do not have dos2unix installed, enter the following command to
install it:
yum install -y dos2unix
- Extract the installation scripts to the root user's home
directory:
mkdir ${HOME}/sifs-2.0.2
tar xOf /sifsmedia/sifs-2.0.2.tar sifs-2.0.2.tar | tar xzf - -C ${HOME}/sifs-2.0.2
cd ${HOME}/sifs-2.0.2/kubernetes/sifs-install
- Open the
${HOME}/sifs-2.0.2/kubernetes/sifs-install/prepare/install_kubernetes.txt file
in a text editor.
- Add kubernetes-cni-0.5.1 to the end of the
yum
install and yum versionlock lines.
For example:
yum install -y kubelet-1.7.5 kubeadm-1.7.5 kubectl-1.7.5 bridge-utils nfs-utils kubernetes-cni-0.5.1
yum versionlock kubelet-1.7.5 kubeadm-1.7.5 kubectl-1.7.5 kubernetes-cni-0.5.1
You can also use sed commands to modify the file. For example:
sed -i '/yum install/c\yum install -y kubelet-1.7.5 kubeadm-1.7.5 kubectl-1.7.5 bridge-utils nfs-utils kubernetes-cni-0.5.1' ${HOME}/ sifs-2.0.2/kubernetes/sifs-install/prepare/install_kubernetes.txt
sed -i '/yum versionlock/c\yum versionlock kubelet-1.7.5 kubeadm-1.7.5 kubectl-1.7.5 kubernetes-cni-0.5.1' ${HOME}/ sifs-2.0.2/kubernetes/sifs-install/prepare/install_kubernetes.txt
- Save and close the file.