当前位置:网站首页>[azure microservice service fabric] how to transfer seed nodes in the service fabric cluster
[azure microservice service fabric] how to transfer seed nodes in the service fabric cluster
2022-07-07 22:06:00 【51CTO】
Be careful : In the face of Service Fabric Before the operation of the node , Be sure to confirm if it is a seed node (Seed Node) And whether the number of current nodes is equal to SF The number of persistence layers required for is the same .
The reliability level is Service Fabric A property of cluster resources . For each node type , The configuration of this property must be the same . This attribute controls the replication factor of the cluster system service , It is the setting of cluster resource level .
The reliability level determines the lower limit of the number of nodes that the primary node type must have . The following values can be used for the reliability layer :
- Platinum : Run contains 7 Target replica sets and 9 System services of seed nodes .
- gold : Run contains 7 Target replica sets and 7 System services of seed nodes .
- silver : Run contains 5 Target replica sets and 5 System services of seed nodes .
- copper : Run contains 3 Target replica sets and 3 System services of seed nodes .
The recommended minimum reliability level is “ silver ” level .
In the use of Service Fabric In the process of , Sometimes there is a problem with a node , In general ,SF The cluster is designed as a highly available cluster , When a single node is down, other nodes will take over . But sometimes we need to transfer the seed nodes , When there is such a need , You can refer to the steps :
Preparation conditions :
- Use Powershell/sfctl Already connected to the current SF colony ( Connect-ServiceFabricCluster & sfctl cluster)
- Use Service Fabric Explorer Connect to SF colony
Execution steps :
One : Make sure node type The number of virtual machines meets reliability tier The minimum demand for , And meet at least one none-seed node
Two : Use powershell perhaps
3、 ... and : wait for seed node State by ‘disabling’ Convert to ‘disabled’

Waiting for the operation to trigger cluster upgrade complete , as well as _nt1vm_5 Convert to none-seed node

Four : stay VMSS The interface directly removes the corresponding virtual machine ( Running on the Linux Upper Service Fabric Cluster I won't support it sfctl node transition command )
5、 ... and : Use powershell perhaps sfctl remove node state
Reference material :
Random failures that cause cluster failures : https://docs.azure.cn/zh-cn/service-fabric/service-fabric-disaster-recovery#random-failures-that-lead-to-cluster-failures
Service Fabric With the concept of seed nodes . The seed node can maintain the availability of the basic cluster .
The seed node can sign a lease with other nodes , Act as a circuit breaker in the event of certain types of faults , This ensures that the cluster remains started . If a random failure deletes most of the seed nodes in the cluster and cannot be recovered quickly , Then the group assembly will be automatically closed . The cluster will then fail .
stay Azure in ,Service Fabric Resource provider management Service Fabric Cluster configuration . By default , The resource provider allocates seed nodes between the fault domain and the promotion domain of the master node type . If the primary node type is marked “ silver ” or “ gold ” Class durability , When deleting the seed node by reducing the type of the master node or manually deleting the seed node , The cluster tries to promote another non seed node from the available capacity of the primary node type . If your available capacity is less than the primary node type required by the cluster reliability level , Then this attempt will fail .
In independence Service Fabric Cluster sum Azure in , The primary node type is the node type where the seed runs . When defining the master node type ,Service Fabric It will automatically utilize the number of nodes provided when creating up to nine seed nodes and seven replicas for each system service . If a set of random failures causes most of the copies to shut down at the same time , Then the system service will enter the arbitration loss state . If most of the seed nodes are lost , The group meeting closed soon .
https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-cluster-capacity
When facing problems in a complex environment , The way to check things needs : The turbid and quiet Xu Qing , An Yidong's Xu Sheng . In the clouds , Just so !
边栏推荐
- #DAYU200体验官#MPPT光伏发电项目 DAYU200、Hi3861、华为云IotDA
- Open source OA development platform: contract management user manual
- Crawler (17) - Interview (2) | crawler interview question bank
- The new version of onespin 360 DV has been released, refreshing the experience of FPGA formal verification function
- South China x99 platform chicken blood tutorial
- 双塔模型的最强出装,谷歌又开始玩起“老古董”了?
- Tcp/ip protocol stack
- 嵌入式开发:如何为项目选择合适的RTOS?
- ByteDance Android interview, summary of knowledge points + analysis of interview questions
- Reinforcement learning - learning notes 9 | multi step TD target
猜你喜欢

NVR硬盘录像机通过国标GB28181协议接入EasyCVR,设备通道信息不显示是什么原因?

Use blocconsumer to build responsive components and monitor status at the same time

PDF文档签名指南

null == undefined

What if the win11u disk does not display? Solution to failure of win11 plug-in USB flash disk

EasyCVR配置中心录像计划页面调整分辨率时的显示优化

ISO 26262 - considerations other than requirements based testing

L'enregistreur de disque dur NVR est connecté à easycvr par le Protocole GB 28181. Quelle est la raison pour laquelle l'information sur le canal de l'appareil n'est pas affichée?

Win11游戏模式怎么开启?Win11开启游戏模式的方法

大数据开源项目,一站式全自动化全生命周期运维管家ChengYing(承影)走向何方?
随机推荐
[C language] advanced pointer --- do you really understand pointer?
The essence of analog Servlet
谈谈制造企业如何制定敏捷的数字化转型策略
Validutil, "Rethinking the setting of semi supervised learning on graphs"
An in-depth understanding of fp/fn/precision/recall
Demon daddy A1 speech listening initial challenge
operator
Build your own website (18)
Ad domain group policy management
Open source OA development platform: contract management user manual
Jerry's about TWS channel configuration [chapter]
The new version of onespin 360 DV has been released, refreshing the experience of FPGA formal verification function
The difference between NPM uninstall and RM direct deletion
Lingyun going to sea | saihe & Huawei cloud: jointly help the sustainable development of cross-border e-commerce industry
Demon daddy A3 stage near normal speed speech flow initial contact
双塔模型的最强出装,谷歌又开始玩起“老古董”了?
How to turn on win11 game mode? How to turn on game mode in win11
Default constraint and zero fill constraint of MySQL constraint
The strongest installation of the twin tower model, Google is playing "antique" again?
L2: current situation, prospects and pain points of ZK Rollup