How to Configure Notifications for Cluster Node Disconnections in Spotfire Data Virtualization?

book

Article ID: KB0138608

calendar_today

Updated On:

Products Versions
TIBCO Data Virtualization 8.8 and Higher

Description

In a clustered SDV environment, administrators should be notified immediately if a node disconnects from the cluster. A node may disconnect when it misses heartbeat signals, which can affect performance, loss of redundancy, or interrupt scheduled tasks. Without alerts, the issue may go unnoticed until it impacts users.

Common causes of node disconnections include network issues, hardware failures, or high CPU and memory usage that prevents heartbeat communication between cluster nodes.

Environment

Windows Server /Linux

Resolution

To set up notifications, follow the steps below to enable cluster events and configure a trigger.

1: Enable Cluster Events


In SDV Studio, navigate to Administration -> Configuration.
Go to Server -> Events and Logging ->Event Generation -> Cluster Events.
Set the Enable Cluster Events configuration parameter to true.

image.png

2: Configure Email Server (SMTP)


In Studio, navigate to Administration -> Configuration.
Go to Server -> Configuration -> E-Mail.
Configure your organization's SMTP server, port, and authentication details to ensure SDV can send outbound emails.

For details on configuring SMTP setup on SDV, check here: How to set up an SMTP service to enable the Send Email functionality in Spotfire Data Virtualization (SDV)?

3: Create a System Event Trigger


In the Studio Modeler, right-click your working folder and select New -> Trigger.
Name the trigger (e.g., Trigger_Cluster_Disconnect).
Under the Condition tab, set the Condition Type to System Event. 

In the condition panel, select Cluster Disconnect or ClusterServerDisconnected from the list of system events.

image.png


Under the Action tab, select Execute Procedure.

image.png

Configure the recipient email addresses, subject line, and message body in the format 

SendEMail(NULL, NULL, 'name@xyz.com', 
                       NULL, NULL, 'Cluster Node Disconnected', 'TEXT_PLAIN', NULL)

Save and enable the trigger.

Email example :

image.png

Issue/Introduction

This article provides instructions on how to set up automated email notifications when a node is disconnected from a Spotfire Data Virtualization (SDV) cluster. This can be achieved by configuring a System Event trigger as explained in this article.

Additional Information

How to set up an SMTP service to enable the Send Email functionality in Spotfire Data Virtualization (SDV)?