PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Operating mode of the nodes in a cluster
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Disables a node in a HFSQL cluster.
Notes:
  • HClusterDeleteNode is automatically called by the HFSQL Control Center. It is reserved for an advanced use.
  • HClusterDeleteNode does not uninstall the HFSQL server and it does not modify the DNS records.
Note: From version 19, HFSQL is the new name of HyperFileSQL.
Example
// Disables the host3 node in the cluster whose coordinator is found on
// the clustermanager.mydomain.com computer
HClusterDeleteNode("clustermanager.mydomain.com", "secret", "host3.mydomain.com")
Syntax
<Result> = HClusterDeleteNode(<Coordinator> , <Password> , <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.
<Node>: Character string (with quotes)
DNS name of the node to disable.
Remarks

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.
Components
WINDEVWEBDEV - Server code wd230hf.dll
Linux wd230hf.so
Minimum required version
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment