Preparing the tiebreaker
Planning and preparation to setup the tiebreaker.
Connect with your network administrator for the tiebreaker setup. You must connect the tiebreaker
to the daemon network of the two OpenShift® Container Platform
clusters.
- The Metro-DR configuration must be complete between the two sites.
- When you want to upgrade from IBM Fusion 2.9.0 Metro-DR setup to IBM Fusion 2.10.0 Metro-DR setup, skip this procedure and upgrade your tiebreaker to IBM Storage Scale 5.2.3.0. For the procedure to upgrade, see Upgrading tiebreaker from IBM Storage Scale 5.2.1.1 to 5.2.3.0.
- Secure Boot enabled system: For RHEL, ensure either of the following for the IBM Storage Scale to work properly in a Secure Boot enabled system:
- Disable Secure Boot in BIOS.
- Sign into IBM Storage Scale kernel module manually.
- Hardware requirements are CPU 2 cores, Memory 4G, a raw disk with not less than 20 GB
- For software requirements, see Software requirements for IBM Storage Scale.
- For RHEL, ensure either of the following for IBM Storage Scale to work properly in a Secure Boot
enabled system:
- Disable Secure Boot in BIOS.
- Sign into IBM Storage Scale kernel module manually.
- For RHEL, ensure either of the following for IBM Storage Scale to work properly in a Secure Boot
enabled system:
- For tiebreaker allowed ports, see Firewall requirements for IBM Fusion HCI.
- Software preparation:
- SSH to the tiebreaker VM.
- Run the following commands to install Python 3:
yum install python3 - Download the IBM Storage Scale
Data Management 5.2.3.0 from IBM Entitled System Support:
- Log in to IBM Entitled System Support - https://www.ibm.com/servers/eserver/ess/landing/index.html.
- Go to .
- In the Product, search for 5771-PP7 (IBM Fusion HCI) and click
Add Product.
- The Storage_Scale_Data_Management-5.2.3.0-x86_64-Linux-install.tar.gz is available for Storage Scale Data Management.
- Select Storage_Scale_Data_Management-5.2.3.0-x86_64-Linux-install.tar.gz to download.
- Extract the IBM Storage Scale package:
chmod +x Storage_Scale_Data_Management-5.2.3.0-x86_64-Linux.tar.gz ./Storage_Scale_Data_Management-5.2.3.0-x86_64-Linux.tar.gz - Go to /usr/lpp/mmfs/5.2.3.0/ansible-toolkit directory.
- Run the following setup command to install
Ansible.
./spectrumscale setup -s <Tiebreaker IP> - Create /usr/lpp/mmfs/5.2.3.0/ansible-toolkit/ansible/vars/tiebreaker_nodedefinition.json file.
- Update the content of
tiebreaker_nodedefinition.jsonas follows:{ "scale_cluster": { "scale_version": "5.2.3.0", "ssh_authorizedkeys": "<ssh_authorizedkeys>", "ssh_privatekey": "<ssh_privatekey>", "ssh_publickey": "<ssh_publickey>" }, "tiebreaker_node": [ { "fqdn": "<Tiebreaker IP>" } ] }<ssh_authorizedkeys>- Run the following command to get the
ssh_authorizedkeysvalue:oc get secret ibm-spectrum-scale-core-ssh-key-secret -n ibm-spectrum-scale -ojsonpath="{.data.ssh-authorizedkeys}"
<ssh_privatekey>- Run the following command to get the
ssh-privatekeyvalue:oc get secret ibm-spectrum-scale-core-ssh-key-secret -n ibm-spectrum-scale -ojsonpath="{.data.ssh-privatekey}"
<ssh_publickey>- Run the following command to get the
ssh_publickeyvalue:oc get secret ibm-spectrum-scale-core-ssh-key-secret -n ibm-spectrum-scale -ojsonpath="{.data.ssh-publickey}"
<Tiebreaker IP>- Enter your tiebreaker IP address.
- Copy
playbook_tiebreakernode_install.ymlandset_json_variables_tb.ymlfrom the sample directory to the Ansible directory:cp /usr/lpp/mmfs/5.2.3.0/ansible-toolkit/ansible/sample/playbook_tiebreakernode_install.yml /usr/lpp/mmfs/5.2.3.0/ansible-toolkit/ansible/sample/set_json_variables_tb.yml /usr/lpp/mmfs/5.2.3.0/ansible-toolkit/ansible/ - Run the following command to configure the SSH passwordless:
sed -i 's/scale_private_public_key_config: false/scale_private_public_key_config: true/g' /usr/lpp/mmfs/5.2.3.0/ansible-toolkit/ansible/playbook_tiebreakernode_install.yml - Go to directory
/usr/lpp/mmfs/5.2.3.0/ansible-toolkit/ansible/and run the playbook to install the tiebreaker node:ansible-playbook playbook_tiebreakernode_install.ymlImportant:- Change the port from default 22 to 12345. Otherwise, you cannot log in to the tiebreaker VM.
- If tiebreaker VM goes down, then you need to run the playbook again to install the tiebreaker node. After restart, the node port is automatically set to 22 because that is the default.
- Run
lsblkto get the device name of the raw disk attached to the tiebreaker VM. The device name gets used later to add the tiebreaker into the IBM Storage Scale cluster. - Run the following echo command to encode the disk name string:
As a prerequisite to run base64, you must install base64 or jq.echo "<Disk name eg: /dev/vda>" | base64 - From either the site 1 or site 2, run the following command to patch the Metro-DR config secret to include the tiebreaker
disk
details:
oc patch secret isf-metrodr-config-secret -n ibm-spectrum-fusion-ns -p '{"data":{"TieBreakerDevice":"Encoded disk name from previous command"}}'Note: Enter double quotes for the tiebreaker device name while you patch the Metro-DR config secrets. - Set up the tiebreaker. For the actual steps to set up, see Upgrade and upsize considerations in Metro-DR section.