AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Administrar bases de datos / HFSQL Cluster / Funciones WLanguage
  • Operating mode of the nodes in a cluster
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Disables a node in an 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 or modify the DNS records.
Example
// Désactive le noeud host3 dans le cluster dont le coordinateur est sur
// la machine clustermanager.mondomaine.com
HClusterDeleteNode("clustermanager.mondomaine.com", "secret", "host3.mondomaine.com")
Syntax
<Result> = HClusterDeleteNode(<Coordinator> , <Password> , <Node>)
<Result>: Boolean
  • True if the addition was successful,
  • False otherwise. For more details on the error, use ErrorInfo.
<Coordinator>: Character string
DNS name of the cluster coordinator's machine.
<Password>: Character string or Secret string
Password used to connect to the coordinator. This password was given when installing the cluster.
New in version 2025
Secret strings: If you use the secret string vault, the type of secret string used for this parameter must be "ANSI or Unicode string".
To learn more about secret strings and how to use the vault, see Secret string vault.
<Node>: Character string
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.
Business / UI classification: Business Logic
Component: wd300hf.dll
Versión mínima requerida
  • Versión 15
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 16/05/2025

Señalar un error o enviar una sugerencia | Ayuda local