[ClusterLabs] snapshots in a clvm environment - some questions for proceeding

Lentes, Bernd bernd.lentes at helmholtz-muenchen.de
Fri Feb 24 12:24:59 EST 2017


we have a two node cluster, our resources are several virtual machines running on kvm. The vm's reside in plain logical volumes, without a filesystem inside the lv's.
The lv's reside on a SAN.
I know that i can do a snapshot of a lv while having clvm when i acitivate it exclusively on one node. OK.
I tried it via lvchange -aly. I got "lvchange Using logical volume(s) on command line. lvchange    Activating logical volume "lv_cluster_01" locally". Seems to work.
Then i'm able to take the snapshot. But what is when i'd like to activate the lv cluster-wide again ? Is the snapshot gone or corrupted ?
I tried to activate it cluster-wide again with "lvchange -vay". Seems to work too.
Because, if i leave it exclusively activated on one note, i loose my high availibilty. How can it migrate to the other host if it is exclusively activated ?
How can i find out if a lv is activated exclusively ? How can i find out on which node it is activated exclusively ?



Bernd Lentes 

institute of developmental genetics 
Gebäude 35.34 - Raum 208 
HelmholtzZentrum München 
bernd.lentes at helmholtz-muenchen.de 
phone: +49 (0)89 3187 1241 
fax: +49 (0)89 3187 2294 

Erst wenn man sich auf etwas festlegt kann man Unrecht haben 
Scott Adams

Helmholtz Zentrum Muenchen
Deutsches Forschungszentrum fuer Gesundheit und Umwelt (GmbH)
Ingolstaedter Landstr. 1
85764 Neuherberg
Aufsichtsratsvorsitzende: MinDir'in Baerbel Brumme-Bothe
Geschaeftsfuehrer: Prof. Dr. Guenther Wess, Heinrich Bassler, Dr. Alfons Enhsen
Registergericht: Amtsgericht Muenchen HRB 6466
USt-IdNr: DE 129521671

More information about the Users mailing list