Question & Answer
Question
Can I receive notification when a split-brain condition occurs on IBM PureData System for Analytics appliances?
Cause
Split-brain is a condition that occurs when the images of data on each IBM Netezza host begin to deviate independently from a common synchronization point. It typically occurs there is an interruption to the dedicated data synchronization network connection and users subsequently change data independently on each Netezza host. As a result, the two Netezza host images are different, and manual intervention is required to determine which host's image should be selected as the most appropriate version to use. Data updates made on the other host could be lost during the recovery process because there is no way to combine both sets of host data into a coherent image.
Important: Split-brain should not occur if clustering is enabled. The fencing controls should prevent users from changing the replicated data on the standby node. Allow DRBD management to be controlled by Heartbeat to avoid the split-brain problems. Split-brain should not occur if one of the two hosts is rebooted or shutdown as part of normal system maintenance, as the DRBD subsystem is designed to capture all of the changes that occur while that host is off the network and replay them when it becomes reachable again. However, if a split-brain problem occurs, the following message is written to the /var/log/messages file:
Split-Brain detected, dropping connection!
Answer
Enabling split-brain email notifications
You can enable email notifications to alert your system administrators when the DRBD software detects the condition. Email notification is supported for IBM® PureData® System for Analytics N100x, N200x, and N300x models. Your hosts must have HPF v5.5 or later installed, and your network must allow outbound SMTP traffic from the hosts.
- Log in to the active Netezza host as the root user.
- Use the drbd_admin.pl command to configure email to one or more email addresses.
[root@nzhost1 ~]# /nzlocal/scripts/drbd_admin.pl --enable-mailer email@company.com
To specify multiple addresses, separate the addresses with commas:
[root@nzhost1 ~]# /nzlocal/scripts/drbd_admin.pl --enable-mailer email@company.com, email2@company.com, email3@company.com
You can disable the email notification by using the /nzlocal/scripts/drbd_admin.pl --disable-mailer command as the root user. For more information on the command script and its options, use -h to display the command syntax.
For more information on how to install HPF on your appliance, review the HPF v5.5 release notes and contact IBM Support for assistance.
Was this topic helpful?
Document Information
Modified date:
17 October 2019
UID
swg21973397