Home | Sign in | English EN
  • Operating mode of the nodes in a cluster
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WindowsLinuxPHPWEBDEV - Browser code
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Stored procedures
Enables a node in a HFSQL cluster.
  • HClusterAddNode is automatically called when installing a new node. This function is reserved for an advanced use.
  • HClusterAddNode does not install the HFSQL server and it does not add any DNS record to allow the access to the new node.
Remark: From version 19, HFSQL is the new name of HyperFileSQL.
// Add the HFSQL server installed on host3.mycompany.com into the
// cluster managed by clustermanager.mycompany.com
HClusterAddNode("clustermanager.mycompany.com", "secret", "host3.mycompany.com")
<Result> = HClusterAddNode(<Coordinator> , <Password> , <New node>)
<Result>: Boolean
  • True if the addition was successful,
  • False otherwise. To find out the error details, use ErrorInfo.
<Coordinator>: Character string (with quotes)
DNS name of computer where the cluster coordinator is installed.
<Password>: Character string (with quotes)
Password used to connect to the coordinator. This password was given when installing the cluster.
<New node>: Character string (with quotes)
Name of the node to add. This parameter corresponds to the DNS name of the computer on which the new HFSQL server was installed.

Operating mode of the nodes in a cluster

The address of the cluster coordinator is written into the configuration file of each one of the nodes when they are installed. Therefore, when starting the HFSQL Server service, the node is automatically connected to the cluster.
Then, HClusterAddNode and HClusterDeleteNode can be used to include or exclude a node to/from the list of active cluster nodes.
When a node is enabled by HClusterAddNode, this node synchronizes its databases with the ones of the other nodes and it processes the connection requests from the clients.
When a node is disabled by HClusterDeleteNode, this node stops synchronizing its databases and it does no longer accept any connection from the client applications.
Business / UI classification: Business Logic
Component: wd260hf.dll
Minimum version required
  • Version 15
This page is also available for…
Click [Add] to post a comment