[ClusterLabs] Need to replace EMC shared disk with an EMC disk from a different EMC Storage
DAVIDNI1 at clalit.org.il
DAVIDNI1 at clalit.org.il
Thu Jun 15 07:10:55 EDT 2017
Hi. Thank you for your help. I Hope I'm sending you the right information.
# pvs
Found duplicate PV JWSTWRwykB2lCv86GUjhGZzfROuiAfXx: using /dev/emcpowera not /dev/sdc
Using duplicate PV /dev/emcpowera from subsystem POWER2, ignoring /dev/sdc
Found duplicate PV JWSTWRwykB2lCv86GUjhGZzfROuiAfXx: using /dev/emcpowera not /dev/sde
Using duplicate PV /dev/emcpowera from subsystem POWER2, ignoring /dev/sde
Found duplicate PV JWSTWRwykB2lCv86GUjhGZzfROuiAfXx: using /dev/emcpowera not /dev/sdg
Using duplicate PV /dev/emcpowera from subsystem POWER2, ignoring /dev/sdg
Found duplicate PV JWSTWRwykB2lCv86GUjhGZzfROuiAfXx: using /dev/emcpowera not /dev/sdi
Using duplicate PV /dev/emcpowera from subsystem POWER2, ignoring /dev/sdi
PV VG Fmt Attr PSize PFree
/dev/emcpowera cluster_vg lvm2 a-- 150.00g 0
/dev/sda3 rhel_mklx-tibcotest01 lvm2 a-- 127.00g 0
[root at mklx-tibcotest01 ~]# vgdisplay -v cluster_vg
Using volume group(s) on command line.
Found duplicate PV JWSTWRwykB2lCv86GUjhGZzfROuiAfXx: using /dev/emcpowera not /dev/sdc
Using duplicate PV /dev/emcpowera from subsystem POWER2, ignoring /dev/sdc
Found duplicate PV JWSTWRwykB2lCv86GUjhGZzfROuiAfXx: using /dev/emcpowera not /dev/sde
Using duplicate PV /dev/emcpowera from subsystem POWER2, ignoring /dev/sde
Found duplicate PV JWSTWRwykB2lCv86GUjhGZzfROuiAfXx: using /dev/emcpowera not /dev/sdg
Using duplicate PV /dev/emcpowera from subsystem POWER2, ignoring /dev/sdg
Found duplicate PV JWSTWRwykB2lCv86GUjhGZzfROuiAfXx: using /dev/emcpowera not /dev/sdi
Using duplicate PV /dev/emcpowera from subsystem POWER2, ignoring /dev/sdi
--- Volume group ---
VG Name cluster_vg
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 2
VG Access read/write
VG Status resizable
Clustered yes
Shared no
MAX LV 0
Cur LV 1
Open LV 1
Max PV 0
Cur PV 1
Act PV 1
VG Size 150.00 GiB
PE Size 4.00 MiB
Total PE 38399
Alloc PE / Size 38399 / 150.00 GiB
Free PE / Size 0 / 0
VG UUID XS2f18-oVrt-wwux-3JPI-b36Q-SnGu-TxHEvR
--- Logical volume ---
LV Path /dev/cluster_vg/cluster_lv
LV Name cluster_lv
VG Name cluster_vg
LV UUID HdgZeL-7nAo-w3YH-lSxO-rtwR-eo2w-xQYS1F
LV Write Access read/write
LV Creation host, time mklx-tibcotest01.clalit.org.il, 2017-06-11 10:08:21 +0300
LV Status available
# open 1
LV Size 150.00 GiB
Current LE 38399
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 8192
Block device 253:1
--- Physical volumes ---
PV Name /dev/emcpowera
PV UUID JWSTWR-wykB-2lCv-86GU-jhGZ-zfRO-uiAfXx
PV Status allocatable
Total PE / Free PE 38399 / 0
# pcs resource show dlm
Resource: dlm (class=ocf provider=pacemaker type=controld)
Operations: start interval=0s timeout=90 (dlm-start-interval-0s)
stop interval=0s timeout=100 (dlm-stop-interval-0s)
monitor interval=30s on-fail=fence (dlm-monitor-interval-30s)
# pcs resource show clusterfs
Resource: clusterfs (class=ocf provider=heartbeat type=Filesystem)
Attributes: device=/dev/cluster_vg/cluster_lv directory=/tibco fstype=gfs2 options=noatime
Operations: start interval=0s timeout=60 (clusterfs-start-interval-0s)
stop interval=0s timeout=60 (clusterfs-stop-interval-0s)
monitor interval=5s on-fail=fence (clusterfs-monitor-interval-5s)
# pcs resource show clvmd
Resource: clvmd (class=ocf provider=heartbeat type=clvm)
Operations: start interval=0s timeout=90 (clvmd-start-interval-0s)
stop interval=0s timeout=90 (clvmd-stop-interval-0s)
monitor interval=30s on-fail=fence (clvmd-monitor-interval-30s)
דויד ניסים,
צוות יוניקס וגיבויים
נייד 052-6032701
משרד 03-6945753
David Nissim,
Unix and Backup team
Mobile - +972-52-6032701
Office - +972-3-6945753
From: emmanuel segura [mailto:emi2fast at gmail.com]
Sent: Thursday, June 15, 2017 12:22 PM
To: Cluster Labs - All topics related to open-source clustering welcomed
Subject: Re: [ClusterLabs] Need to replace EMC shared disk with an EMC disk from a different EMC Storage
please, give more information and if you are using lvm, share your lvm cluster information and the cluster config too.
2017-06-15 9:22 GMT+02:00 <DAVIDNI1 at clalit.org.il<mailto:DAVIDNI1 at clalit.org.il>>:
Hi. We need to clear an old EMC storage and the only thing that's left there is the shared disk of our Pacemaker cluster.
Version:
RHEL 7.2
Pacemaker 1.1.13
Corosync 2.3.4
Can someone tell me how can I replace the shared disk? I believe mirror the logical volume and take out the old EMC disk will be the best option.
Found this Article
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Logical_Volume_Manager_Administration/mirvol_create_ex.html
The problem (or maybe it's not a problem at all) is that the shared disk wasn't created as mirror from the beginning, and now I'm not sure how can I add/replace the current shared disk that is already configured and has data on it.
Help will be very appreciate.
Thanks,
David.
________________________________
הודעת הדואר האלקטרוני שהגיעה אליך נשלחה משירותי בריאות כללית. ייתכן שבהודעה יש מידע רפואי רגיש המוגן בחוק הגנת הפרטיות התשמ"ה 1981. אם ההודעה אינה מיועדת לך, אנא השב/י את ההודעה לשולח. הנך מתבקש/ת למחוק את ההודעה מהמחשב. יצוין בפנייך שאם ההודעה אינה מיועדת לך ואף שייתכן שהגיעה אליך בטעות, הרי חלה עליך חובת שמירת סודיות. בברכה, הממונה על הגנת הפרטיות ,המידע והסייבר בשירותי בריאות כללית.
________________________________
The contents of this email was sent to you by Clalit Health Services. This e-mail contains confidential medical information which is legally protected by the 1981 privacy law. This information is intended only for the use by the direct addressees from the original sender of this e-mail. If you are not an intended recipient of the original sender, you are hereby notified that any disclosure, copying, and distribution of this information, is strictly prohibited. If you have received this email in error, please immediately notify the sender and delete any copies of this e-mail in your possession.
_______________________________________________
Users mailing list: Users at clusterlabs.org<mailto:Users at clusterlabs.org>
http://lists.clusterlabs.org/mailman/listinfo/users
Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org
--
.~.
/V\
// \\
/( )\
^`~'^
________________________________
הודעת הדואר האלקטרוני שהגיעה אליך נשלחה משירותי בריאות כללית. ייתכן שבהודעה יש מידע רפואי רגיש המוגן בחוק הגנת הפרטיות התשמ"ה 1981. אם ההודעה אינה מיועדת לך, אנא השב/י את ההודעה לשולח. הנך מתבקש/ת למחוק את ההודעה מהמחשב. יצוין בפנייך שאם ההודעה אינה מיועדת לך ואף שייתכן שהגיעה אליך בטעות, הרי חלה עליך חובת שמירת סודיות. בברכה, הממונה על הגנת הפרטיות ,המידע והסייבר בשירותי בריאות כללית.
________________________________
The contents of this email was sent to you by Clalit Health Services. This e-mail contains confidential medical information which is legally protected by the 1981 privacy law. This information is intended only for the use by the direct addressees from the original sender of this e-mail. If you are not an intended recipient of the original sender, you are hereby notified that any disclosure, copying, and distribution of this information, is strictly prohibited. If you have received this email in error, please immediately notify the sender and delete any copies of this e-mail in your possession.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/users/attachments/20170615/9ec8e433/attachment-0003.html>
More information about the Users
mailing list