You can add additional nodes to your InfoSphere® Information Server installation
after your single node installation is complete.
About this task
After you set up a single node installation of InfoSphere Information Server, you can add
additional nodes.
Procedure
-
Create an inventory file in a directory such as ${ES_INSTALLDIR} by
issuing the following command:
[masters]
master.domain ansible_connection=local
[workers]
worker1.domain ansible_connection=ssh
worker2.domain ansible_connection=ssh
[kubernetes:children]
masters
workers
[all:vars]
ansible_user=root # or non-root user
ansible_ssh_private_key_file=$HOME/.ssh/id_rsa
gather_facts=True
gathering=smart
host_key_checking=False
- Change the path of the directory to
${ES_INSTALLDIR}/ansible/playbooks.
- Run the add nodes playbook by issuing the following
command:
ansible-playbook -i <path/to/your/inventoryFile> addNodes.yaml
--tags "docker_setup,registry_certs,join_workers" --skip-tags "never"
-e @${ES_INSTALLDIR}/ansible/playbooks/files/ugrsp.yaml
-e @${ES_INSTALLDIR}/ansible/playbooks/files/docker_registries.yaml
-e @${ES_INSTALLDIR}/ansible/playbooks/files/images_overrides.yaml
Note:
You need to set up passwordless ssh from the master node to the worker nodes.