当前位置:网站首页>[azure microservice service fabric] the service fabric cluster hangs up because the certificate expires (the upgrade cannot be completed, and the node is unavailable)
[azure microservice service fabric] the service fabric cluster hangs up because the certificate expires (the upgrade cannot be completed, and the node is unavailable)
2022-07-07 22:06:00 【51CTO】
Problem description
establish Service Fabric when , Certificates are a very important part of the whole cluster , With user authentication , Communication between nodes ,SF Upgrade the identity and authorization authentication and other functions . If the certificate is expired, the nodes will be affected and the cluster will not work properly .
When the certificate expires or is revoked , The usual problems are :
- Service Fabric The cluster cannot use the upgrade service
- Service Fabric Explorer Unable to connect
- Disable all nodes , Unable to view any node information
When the above situation occurs , The quickest way is to build a brand new Service Fabric colony , This is also the most efficient way . To prevent certificate expiration, send , Here are two suggestions :
One : stay Key Vault When creating a certificate in , Choose to automatically renew the new version certificate .
Two : And if you don't automatically renew the new version certificate , Then you need to specify a maintenance plan , Update the certificate before it expires . and Service Fabric The process of replacing the security certificate , First of all, you need to put Upload the new certificate to key vault in , And then through powershell Or add auxiliary certificates for the cluster in the form of templates , And then in Portal Operation switching certificate .
Please refer to :( At present Service Fabric Export templates from the resource group of , Yes certificateSecondary The nodes are modified )
When the auxiliary certificate is added , You can see two certificates in the portal , Click... In the red box ... In exchange for the main / Supporting certificate .
Use Powershell Command to load secondary certificates (Secondary Certificate):
Execute command reference :
perform Add-AzServiceFabricClusterCertificate The progress of the prompt after the command is as follows :
Reference link :
####
Add-AzServiceFabricClusterCertificate: Add a secondary cluster certificate to the cluster, https://docs.microsoft.com/en-us/powershell/module/az.servicefabric/add-azservicefabricclustercertificate?view=azps-5.2.0
####
az sf cluster certificate add: Add a secondary cluster certificate to the cluster. https://docs.microsoft.com/en-us/cli/azure/sf/cluster/certificate?view=azure-cli-latest#az_sf_cluster_certificate_add
####
management SF The documentation of the cluster certificate can be referred to : https://docs.azure.cn/zh-cn/service-fabric/service-fabric-cluster-security-update-certs-azure
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 !
边栏推荐
- Ternary expressions, generative expressions, anonymous functions
- Awk processing JSON processing
- The new version of onespin 360 DV has been released, refreshing the experience of FPGA formal verification function
- Ten thousand word summary data storage, three knowledge points
- Win11时间怎么显示星期几?Win11怎么显示今天周几?
- Use br to back up tidb cluster data to azure blob storage
- Default constraint and zero fill constraint of MySQL constraint
- The essence of analog Servlet
- [advanced MySQL] index details (I): index data page structure
- Backup tidb cluster to persistent volume
猜你喜欢
L2:ZK-Rollup的现状,前景和痛点
使用 BlocConsumer 同时构建响应式组件和监听状态
Display optimization when the resolution of easycvr configuration center video recording plan page is adjusted
强化学习-学习笔记9 | Multi-Step-TD-Target
海外代理推荐
Matplotlib drawing interface settings
Ad domain group policy management
【Azure微服务 Service Fabric 】如何转移Service Fabric集群中的种子节点(Seed Node)
使用 CustomPaint 绘制基本图形
The whole network "chases" Zhong Xuegao
随机推荐
【Azure微服务 Service Fabric 】因证书过期导致Service Fabric集群挂掉(升级无法完成,节点不可用)
Main functions of OS, Sys and random Standard Libraries
Static test tool
How does win11 unblock the keyboard? Method of unlocking keyboard in win11
It's worth seeing. Interview sites and interview skills
Kirin Xin'an operating system derivative solution | storage multipath management system, effectively improving the reliability of data transmission
Ternary expressions, generative expressions, anonymous functions
MIT6.S081-Lab9 FS [2021Fall]
Reinforcement learning - learning notes 9 | multi step TD target
Cv2.resize function reports an error: error: (-215:assertion failed) func= 0 in function ‘cv::hal::resize‘
SAR影像质量评估
The latest Android interview collection, Android video extraction audio
Index summary (assault version)
QT compile IOT management platform 39 alarm linkage
Google SEO external chain backlinks research tool recommendation
Solve the problem of uni in uni app Request sent a post request without response.
你可曾迷茫?曾经的测试/开发程序员,懵懂的小菜C鸟升级......
Crawler (17) - Interview (2) | crawler interview question bank
Debugging and handling the problem of jamming for about 30s during SSH login
Restapi version control strategy [eolink translation]