????Linux??GFS??????洢
???????????? ???????[ 2014/4/10 10:35:58 ] ????????Linux GFS ??洢
??????????????????????????????????????NFS????????????????????????????????????????????????????????????????????????????????Web?????????????????????????????????洢??????????????
???????GFS????????????——Linux???????????????——???????????????????????????????????????????????????????У????????????????????GFS.
????????????????????????????????????????????????????????????????????????????????д????????????????????????????Sun??Lustre??Oracle??OCFS??Oracle???????????????Linux??GFS.
???????????????????????豸?????????????????á???????????????????????????????SAN???洢????????LUN????????????????ú??????iSCSI????????С???????????????????DRBD????????????豸???????????????臨????????????????DRBD??????????????/??????????ú?DRBD?????GFS.
????GFS???
????????GFS??ζ????????????????????????????GFS?????????????Red Hat Cluster Suite??RHCS??Red Hat??????????????????CentOS???С????????????????Щ????cman——???????????lvm2-cluster——?LVM?????????????????????????CLVM?????????????????????kmod-gfs——GFS?????飻????gfs-utils.
???????????????cman?????????????????????????????????????????????????????????????汾????β???cman????????????????????CentOS??RHEL.???????????RH??Red Hat?????????????°汾????????????????????????????????????
????Fencing???????????????????Щ???????????齫??????趨??"???"?????????????п??????????????ζ?????н??и??????????ж??ЩΣ???????????????????????????????????????????GFS????????????????????????????衣
???????????????
????????????/etc/cluster/?????cluster.conf????????????á??????????????????????ó?????????????????????????????????RHEL??ó????????????????????Conga????????????Щ??Ч??cluster.conf??????????????????????????????
?????????????cluster.conf?????????????????????????????XML??????????????????????????????????????????????????????"Web.1".
??????????fence daemon?????????????????????????????????????clusternodes?????????????????????????????????????????????????????????????????
????????????????????????????????????????clusternames??????????棬???????fencedevice??????????????????????????????????????????IPMI???????????????????????????????????????????????????????IPMI?????????????????IP???????????????cluster.conf???????????????????????????????е???????????????????????
????????????????????????????ж???????????????????????????????????????????????????????????????"Quorate"???????????????????????п??????????????????ü???????????????1????????????????????????????1????????????????????????????
??????????????????"service cman start"?????????????????????????????"clustat"??"cman nodes"?????????????????С????????????????????????????????????????"Quorate"????
????GFS????
????????????????????CLVM?????????????????GFS???LVM.????CLVM????lvm.conf???趨"locking type=3"???????
??????????????????????LVM???????????????????????豸?????????????DRBD?????п??????/dev/drbd0.???????????????????????????vg01????飬???????????web1????????????????/dev/vg01/web1.
????????????????????????
????gfs_mkfs -t web1??mygfs -p lock_dlm -j 2 /dev/vg01/web1
????-t?и???????????????????????????????????????????????????????web1??????????????????????????????趨??????????????????????????????????journal?????????????????????????????δ???????????????????????????趨?????journal??????
???????
?????????????????????????????????????????????"clvmd"??"gfs"????????????????"-t gfs"????????????GFS????????????????
????????????????????趨??cman??clvmd??gfs????????????clustat??gfs_tool????????????????????????????????Щ???????????????????
??????????GFS???????????????????д?????д???????????????????????????????????????????????????????????????????д??????????Web??????????????????????????????????????????????????????????????????????????д??????????????????????????????HTTP????е????????д??GFS???
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11