In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
2.4.2 forced failover
Forced failover is strictly restricted for disaster recovery. If the cluster fails to respond due to a disaster in the primary data center, you cannot use cluster management tools to interact with the cluster, and you may need to force a failover to bypass the external cluster administrator.
Verify that AG resources are no longer managed by the cluster
Set the resource to unmanaged mode on the target cluster node. This command causes the resource agent to stop resource monitoring and management.
Sudo pcs resource unmanage
If the attempt to set the resource to unmanaged mode fails, delete the resource.
Sudo pcs resource delete
Note: when you delete a resource, you also delete all related constraints.
In the SQL Server instance that hosts the secondary copy, set the session context variable external_cluster
EXEC sp_set_session_context @ key = Noble externalized clusterships, @ value = ignorances'
Connect to the SQL Server instance that hosts the secondary copy of the target and use Transact SQL to perform AG failover
ALTER AVAILABILITY GROUP FORCE_FAILOVER_ALLOW_DATA_LOSS
After a forced failover, bring the AG to health before restarting cluster resource monitoring and managing or rebuilding AG resources. Reference: important tasks after forced failover.
Or restart cluster resource monitoring and management
Run the following command to restart cluster resource monitoring and management:
Sudo pcs resource manage sudo pcs resource cleanup
If the cluster resource is deleted, recreate it.
Reference: create AG resources.
Important: do not use the above steps in disaster recovery walkthroughs as they may lose data. Instead, change the asynchronous copy to synchronous and follow the regular manual failover guidelines.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.