Method and system for realizing high availability of database server based on shared storage

The invention relates to a method for realizing the high availability of a database server based on shared storage. The method comprises the following steps: the database server detects the network service quality and the local database instance state of the database server; the database server judg...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: SONG JUPING, QIAN PEIZHUAN, JIANG JIAN, ZHANG JUN, LU LIJUN, LI KEMIN, ZHANG SHUMIN
Format: Patent
Sprache:eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention relates to a method for realizing the high availability of a database server based on shared storage. The method comprises the following steps: the database server detects the network service quality and the local database instance state of the database server; the database server judges whether the local database instances of nodes of the database server are started up or not according to the network quality and the local database instance state of the database server and the local database instance states of other database servers. In addition, the invention also relates to a system for realizing high availability of the database server based on shared storage. Each database server of the system comprises a service detection module and an instance management module. According to the method and the system for realizing the high availability of the database server based on shared storage, provided by the invention, high availability is realized by a mode that the instance nodes detect themselves, the nodes supervise other node instance states and the process is self-managed, no difference among master nodes and standby nodes exists, and the third-party nodes are not needed. The method and the system have the advantages of simple structure, easiness in realization, and relatively broad application range.