检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
client node ess-master: master node lgs: Lgs node.
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.
/services/css/v1/model" region "github.com/huaweicloud/huaweicloud-sdk-go-v3/services/css/v1/region" ) func main() { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great security risks.
Creating a Cluster (V2) Function This API is used to create a cluster with multiple node types (for example, ess, ess-cold, ess-client, ess-master). Calling Method For details, see Calling APIs.
), digits, underscores (_), and hyphens (-).
Response Parameters Status code: 200 Request succeeded. None Example Requests Change the number of instances in the current cluster.
), 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 (-).
Options: ess: data node ess-cold: cold data node ess-client: client node ess-master: master node Response Parameters Status code: 200 Request succeeded. None Example Requests Scale in a cluster by scaling in specified type of nodes.
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 (-).
If 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.
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
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