The invention discloses a method and device for supporting overall drifting of a cloud
cipher machine cluster, and relates to the technical field of
information security, and the method comprises the following steps: a cloud
cipher machine management platform collects
cluster state information and cluster snapshot information of a cluster on an original cloud
cipher machine host, and constructs a cluster snapshot file; whether cluster drift is executed or not is judged according to the
cluster state information and a set fault threshold value, if the cluster drift is executed, the cloud cipher machine management platform inquires the idle standby cloud cipher machine host and the newest cluster snapshot file, the idle standby cloud cipher machine host is notified to recover a new cluster according to the newest cluster snapshot file, and the new cluster is recovered according to the newest cluster snapshot file. Notifying the original cloud cipher machine host to perform
network isolation on the cluster according to the
cluster state information, if drift succeeds, deleting the cluster on the original cloud cipher machine host and releasing resources, otherwise, waiting for manual
processing; otherwise, not executing cluster drift and returning to the acquisition process. According to the invention, the cluster fault
repair time of the cloud cipher machine can be shortened, and the stability and reliability of the cluster are guaranteed.