Sziasztok,
Haladok az lvm cluster projektemmel.
Arhitectúra:
2 RedHat node lát egy közös SAN -on egy raid5 tömböt.
1., A disk tömb mind2 hoston tökéletesen látszik. Csináltam belőle pv-t.
2., Utána csináltam cluster VG-t.
3., Aztán ebbe lv-t.
A másik node-on nem történnek meg szinkronban a változások. pl ha létrehozok új LV-t.
reboot után szinronba kerül. Miért csak akkor. Scan hatástalan.
Ez így jó? vlamit rosszul csinálok?
[root@hyper01 ~]# lvdisplay
--- Logical volume ---
LV Path /dev/cluster_vg/cluster_lv2
LV Name cluster_lv2
VG Name cluster_vg
LV UUID SU8c7U-K6SX-lvXE-o6vj-gZ1O-D9Cq-7hb4mZ
LV Write Access read/write
LV Creation host, time hyper01.store01, 2018-11-27 07:43:51 -0500
LV Status available
# open 0
LV Size 4.00 GiB
Current LE 1024
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 8192
Block device 253:2
[root@hyper01 ~]# vgdisplay
--- Volume group ---
VG Name cluster_vg
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 15
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 1
Open LV 0
Max PV 0
Cur PV 1
Act PV 1
VG Size <273.40 GiB
PE Size 4.00 MiB
Total PE 69990
Alloc PE / Size 1024 / 4.00 GiB
Free PE / Size 68966 / <269.40 GiB
VG UUID Ii0ir3-XO3P-KeKY-hyDa-eog9-gIcN-BraNJP
[root@hyper01 ~]# pcs status
Cluster name: hyper01.cluster01
Stack: corosync
Current DC: hyper01.cluster01.local (version 1.1.19-8.el7-c3c624ea3d) - partition with quorum
Last updated: Tue Dec 4 11:03:05 2018
Last change: Tue Nov 27 06:48:06 2018 by hacluster via cibadmin on hyper01.cluster01.local
2 nodes configured
6 resources configured
Online: [ hyper01.cluster01.local hyper02.cluster01.local ]
Full list of resources:
Clone Set: dlm-clone [dlm]
Started: [ hyper01.cluster01.local hyper02.cluster01.local ]
Clone Set: clvmd-clone [clvmd]
Started: [ hyper01.cluster01.local hyper02.cluster01.local ]
ipmi-fence-node1 (stonith:fence_ipmilan): Started hyper01.cluster01.local
ipmi-fence-node2 (stonith:fence_ipmilan): Started hyper02.cluster01.local
Daemon Status:
corosync: active/enabled
pacemaker: active/enabled
pcsd: active/enabled
5let? javaslat, ilyen környezetben hogy kell kezelni a volume-okat?