1.6. 群​​​​​​​集​​​​​​​逻​​​​​​​辑​​​​​​​卷​​​​​​​管​​​​​​​理​​​​​​​器​​​​​​​


群​​​​​​​集​​​​​​​逻​​​​​​​辑​​​​​​​卷​​​​​​​管​​​​​​​理​​​​​​​器​​​​​​​(Cluster Logical Volume Manager,CLVM)提​​​​​​​供​​​​​​​了​​​​​​​ LVM2 的​​​​​​​群​​​​​​​集​​​​​​​版​​​​​​​本​​​​​​​。​​​​​​​CLVM 具​​​​​​​备​​​​​​​和​​​​​​​单​​​​​​​节​​​​​​​点​​​​​​​上​​​​​​​的​​​​​​​ LVM2 相​​​​​​​同​​​​​​​的​​​​​​​能​​​​​​​力​​​​​​​,但​​​​​​​它​​​​​​​可​​​​​​​以​​​​​​​使​​​​​​​逻​​​​​​​辑​​​​​​​卷​​​​​​​为​​​​​​​ Red Hat 群​​​​​​​集​​​​​​​里​​​​​​​的​​​​​​​所​​​​​​​有​​​​​​​节​​​​​​​点​​​​​​​所​​​​​​​用​​​​​​​。​​​​​​​用​​​​​​​ CLVM 创​​​​​​​建​​​​​​​的​​​​​​​逻​​​​​​​辑​​​​​​​卷​​​​​​​可​​​​​​​为​​​​​​​群​​​​​​​集​​​​​​​里​​​​​​​的​​​​​​​所​​​​​​​有​​​​​​​节​​​​​​​点​​​​​​​所​​​​​​​用​​​​​​​。​​​​​​​
The key component in CLVM is clvmd. clvmd is a daemon that provides clustering extensions to the standard LVM2 tool set and allows LVM2 commands to manage shared storage. clvmd runs in each cluster node and distributes LVM metadata updates in a cluster, thereby presenting each cluster node with the same view of the logical volumes (refer to 图 1.14 “CLVM Overview”). Logical volumes created with CLVM on shared storage are visible to all nodes that have access to the shared storage. CLVM allows a user to configure logical volumes on shared storage by locking access to physical storage while a logical volume is being configured. CLVM uses the lock-management service provided by the cluster infrastructure (refer to 第 1.3 节 “Cluster Infrastructure”).

注意

在​​​​​​​红​​​​​​​帽​​​​​​​群​​​​​​​集​​​​​​​套​​​​​​​件​​​​​​​中​​​​​​​使​​​​​​​用​​​​​​​的​​​​​​​共​​​​​​​享​​​​​​​存​​​​​​​储​​​​​​​要​​​​​​​求​​​​​​​您​​​​​​​运​​​​​​​行​​​​​​​群​​​​​​​集​​​​​​​逻​​​​​​​辑​​​​​​​卷​​​​​​​管​​​​​​​理​​​​​​​器​​​​​​​守​​​​​​​护​​​​​​​进​​​​​​​程​​​​​​​(clvmd)或​​​​​​​者​​​​​​​高​​​​​​​可​​​​​​​用​​​​​​​性​​​​​​​逻​​​​​​​辑​​​​​​​卷​​​​​​​管​​​​​​​理​​​​​​​代​​​​​​​理​​​​​​​(HA-LVM)。​​​​​​​如​​​​​​​果​​​​​​​您​​​​​​​无​​​​​​​法​​​​​​​使​​​​​​​用​​​​​​​ clvmd 守​​​​​​​护​​​​​​​进​​​​​​​程​​​​​​​或​​​​​​​者​​​​​​​ HA-LVM,无​​​​​​​论​​​​​​​是​​​​​​​因​​​​​​​为​​​​​​​操​​​​​​​作​​​​​​​原​​​​​​​因​​​​​​​还​​​​​​​是​​​​​​​您​​​​​​​没​​​​​​​有​​​​​​​正​​​​​​​确​​​​​​​的​​​​​​​权​​​​​​​利​​​​​​​,您​​​​​​​就​​​​​​​一​​​​​​​定​​​​​​​不​​​​​​​能​​​​​​​在​​​​​​​共​​​​​​​享​​​​​​​磁​​​​​​​盘​​​​​​​中​​​​​​​使​​​​​​​用​​​​​​​单​​​​​​​一​​​​​​​事​​​​​​​件​​​​​​​ LVM,因​​​​​​​为​​​​​​​这​​​​​​​将​​​​​​​导​​​​​​​致​​​​​​​数​​​​​​​据​​​​​​​崩​​​​​​​溃​​​​​​​。​​​​​​​如​​​​​​​果​​​​​​​您​​​​​​​有​​​​​​​任​​​​​​​何​​​​​​​疑​​​​​​​问​​​​​​​,请​​​​​​​联​​​​​​​络​​​​​​​您​​​​​​​的​​​​​​​红​​​​​​​帽​​​​​​​服​​​​​​​务​​​​​​​代​​​​​​​表​​​​​​​。​​​​​​​

注意

使​​​​​​​用​​​​​​​ CLVM 需​​​​​​​要​​​​​​​对​​​​​​​ /etc/lvm/lvm.conf 进​​​​​​​行​​​​​​​群​​​​​​​集​​​​​​​范​​​​​​​围​​​​​​​的​​​​​​​锁​​​​​​​定​​​​​​​方​​​​​​​面​​​​​​​的​​​​​​​少​​​​​​​许​​​​​​​修​​​​​​​改​​​​​​​。​​​​​​​
CLVM Overview

图 1.14. CLVM Overview

You can configure CLVM using the same commands as LVM2, using the LVM graphical user interface (refer to 图 1.15 “LVM Graphical User Interface”), or using the storage configuration function of the Conga cluster configuration graphical user interface (refer to 图 1.16 “Conga LVM Graphical User Interface”) . 图 1.17 “Creating Logical Volumes” shows the basic concept of creating logical volumes from Linux partitions and shows the commands used to create logical volumes.
LVM Graphical User Interface

图 1.15. LVM Graphical User Interface

Conga LVM Graphical User Interface

图 1.16. Conga LVM Graphical User Interface

Creating Logical Volumes

图 1.17. Creating Logical Volumes

Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

© 2024 Red Hat, Inc.