Both sides previous revision
Previous revision
Next revision
|
Previous revision
Next revision
Both sides next revision
|
hypervisor:iscsi1 [2012/08/09 16:36] giancarlo |
hypervisor:iscsi1 [2012/08/10 16:02] giancarlo |
====== iSCSI as PV for KVM Host LVM ====== | ====== iSCSI as PV for KVM Host LVM ====== |
| |
* iSCSI target attached as /dev/sdc | * iSCSI target attached as /dev/sdc on KVM Host |
* partitioning /dev/sdc | * partitioning /dev/sdc |
<WRAP prewrap center> | <WRAP prewrap center> |
* Host -> Details -> Storage -> Add pool | * Host -> Details -> Storage -> Add pool |
* Step1: Name=iscsi1, Type=logical:LVM Volume Group | * Step1: Name=iscsi1, Type=logical:LVM Volume Group |
* Step2: Target Path=/dev/iscsi1vg, Source Path=/dev/sdc1, Build Pool: flagged -> Finish | * Step2: Target Path=/dev/iscsi1vg, Source Path=(NO /dev/sdc1, better by-path)'/dev/disk/by-path/iqnxxx', Build Pool: flagged -> Finish |
* Select iscsi1 in left pane then NewVolume: Name=tubu1b | * Select iscsi1 in left pane then NewVolume: Name=tubu1b |
* VM(tubu1) -> Open -> Details -> Add Hardware -> Storage | * VM(tubu1) -> Open -> Details -> Add Hardware -> Storage |
</WRAP> | </WRAP> |
* Check copy with cluster failover | * Check copy with cluster failover |
* trig a cluster failover (crm node standby node1) during copy1, VM freeze for 2 seconds | Trig a cluster failover (crm node standby node1) during copy1, VM freeze for 2 seconds |
<WRAP prewrap center> | <WRAP prewrap center> |
<code> | <code> |
</code> | </code> |
</WRAP> | </WRAP> |
* trig a second cluster failover (crm node standby node2) during copy2, VM freeze for 2 seconds | Trig a second cluster failover (crm node standby node2) during copy2, VM freeze for 2 seconds |
<WRAP prewrap center> | <WRAP prewrap center> |
<code> | <code> |
</code> | </code> |
</WRAP> | </WRAP> |
* verify data integrity | Verify data integrity |
<WRAP prewrap center> | <WRAP prewrap center> |
<code> | <code> |
</code> | </code> |
</WRAP> | </WRAP> |
| |
| **NOTE: a bug http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=663931 then you need /etc/init.d/udev restart on KVM host if virt-manager timeout** |
| |
<WRAP right 35% rightalign lo> | <WRAP right 35% rightalign lo> |