Distributed storage collocation group PG balancing method and device, equipment and medium
The invention discloses a distributed storage collocation group PG balancing method and device, equipment and a medium. The method comprises the following steps: acquiring collocation group PG information and object storage device OSD information of a storage pool of a Ceph cluster; selecting a to-b...
Gespeichert in:
Hauptverfasser: | , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention discloses a distributed storage collocation group PG balancing method and device, equipment and a medium. The method comprises the following steps: acquiring collocation group PG information and object storage device OSD information of a storage pool of a Ceph cluster; selecting a to-be-balanced collating group PG from the storage pool; obtaining the residual weight of each object storage device OSD in the storage pool according to the collocation group PG information and the object storage device OSD information; based on a copy placement rule and the residual weights of all the object storage devices OSD, allocating the to-be-balanced arrangement group PG to a plurality of object storage devices OSD meeting a preset condition to obtain a balanced arrangement group PG; updating collocation group PG information and object storage device OSD information; and repeating the above steps until all the collating groups PG are adjusted to be balanced. According to the invention, based on the PG informa |
---|