How can I use the cluster logs to find out whether a metadata sync took place?
book
Article ID: KB0082894
calendar_today
Updated On:
Products
Versions
TIBCO Data Virtualization
7.0.0 and higher
Description
This document describes how to use cluster logs to find out whether a metadata sync took place.
Issue/Introduction
How can I use the cluster logs to find out whether a metadata sync took place?
Resolution
You can verify whether a metadata sync took place across nodes by turning on cluster logging and viewing the entries in the cluster logs.
Below is an example. For the sake of simplicity, we will assume that the cluster is comprised of two nodes called Node1 and Node2.
(1) Go to Studio > Server > Configuration > Cluster and set Cluster Logging Detail Level to ALL.
(2) Using a Studio connected to Node1, make a change to a resource. For instance, let's say that you make a minor edit to a View. Now, we want to find out whether the change is synched to Node2.
(3) Wait for a few moments to give the nodes time to update the logs, and then inspect the cluster logs of both nodes. The cluster logs may be found under the INSTALL_DIR/logs/cluster folder of each node.
If the sync took place, you will see the following messages.
Node 1 cluster log will contain an entry: ABOUT TO SEND MESSAGE: NOTIFY_ABOUT_CHANGE
Node 2 cluster log will contain two entries: RECEIVED APPLIED CHANGE
These three entries respectively indicate that the following sequence took place:
- Node 1 sent Node 2 a notification that it was about to send Node2 a metadata change. - Node 2 received the change. - Node 2 subsequently updated its metadata by applying the change.
To double-check whether the sync was successful, open another Studio and connect it to Node2. You should see the change displayed in this Studio.