检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
You can specify the following node types when calling this API: ess: data node (only for Elasticsearch and OpenSearch). ess-cold: cold data node (only for Elasticsearch and OpenSearch). ess-client: client node (only for Elasticsearch and OpenSearch). ess-master: master node (only
Status Codes Status Code Description 200 Request succeeded. 403 Request rejected. The server has received the request and understood it, but refused to respond to it.
The value can contain only letters (a-z and A-Z), digits (0-9), hyphens (-), and underscores (_). It cannot contain Chinese characters or other special characters. Value range: N/A Default value: N/A Request Parameters None Response Parameters Status code: 200 Request succeeded.
If there are no client nodes in the cluster, data nodes will need to additionally handle cluster access and data analytics requests; if there are no master nodes, data nodes will need to provide cluster management. Master nodes (ess-master): optional.
), digits, underscores (_), and hyphens (-).
), digits, underscores (_), and hyphens (-).
WithAk(ak). WithSk(sk). WithProjectId(projectId). Build() client := css.NewCssClient( css.CssClientBuilder(). WithRegion(region.ValueOf("<YOUR REGION>")). WithCredential(auth).
Changing Node Specifications (Discarded) Function This API is used to modify the node specifications of a cluster. It can only change the specifications of ess nodes (data nodes).
), digits, underscores (_), and hyphens (-).
However, if it is the other AZ, which contains two of the three master nodes, that fails, services will be interrupted, because fewer than half of the master nodes (or nodes that assume master node responsibilities) are available.
However, if it is the other AZ, which contains two of the three master nodes, that fails, services will be interrupted, because fewer than half of the master nodes (or nodes that assume master node responsibilities) are available.
), digits, underscores (_), and hyphens (-).
When the operation role is role, the value is one or multiple node types (such as ess, ess-master, ess-client, and ess-cold). Response Parameters Status code: 200 Request succeeded. None Example Requests Restart nodes of all or some types in the current cluster.
(At least one data node is required when you configure instance types.) Use commas (,) to separate multiple types.
Restarting a Cluster (Deprecated) Function This API is used to restart a data node in a cluster, which will interrupt services. To restart all nodes in a cluster, you are advised to use [Restart Cluster V2] (RestartClusterMultiRole.xml).
Change Durations The following formulas can be used to estimate how long the node specifications change will take: Change duration (min) = 10 (min) x Total number of nodes to change + Data recovery duration (min) where, 10 minutes indicates how long non-data recovery operations (e.g
Options: ess: data node ess-cold: cold data node ess-master: master node. ess-client: client node Table 4 EsflavorsVersionsFlavorsResp Parameter Type Description cpu Integer Definition: Number of CPU cores of an instance.
Change Durations The following formulas can be used to estimate how long the node specifications change will take: Change duration (min) = 10 (min) x Total number of nodes to change + Data recovery duration (min) where, 10 minutes indicates how long non-data recovery operations (e.g
Table 5 Recommended number of master nodes Cluster Size Recommended Number of Master Nodes Performance Expectation Small (< 10 nodes) 3 Basic high availability Medium (50 > number of nodes ≥ 10) 3 or 5 Balanced performance and high availability Large (≤ 50 nodes) 5 or 7 Enhanced fault
Table 5 Recommended number of master nodes Cluster Size Recommended Number of Master Nodes Performance Expectation Small (< 10 nodes) 3 Basic high availability Medium (50 > number of nodes ≥ 10) 3 or 5 Balanced performance and high availability Large (≤ 50 nodes) 5 or 7 Enhanced fault