document how to import existing libvirt instances with their volumes on iSCSI SAN
[mirror/dsa-wiki.git] / input / howto / install-ganeti.creole
index 303d703..118aa03 100644 (file)
@@ -356,3 +356,13 @@ And you want to convert it to use DRBD afterwards and start it on the other clus
 {{{
     gnt-instance modify --hypervisor-parameters disk_type=ide fils.debian.org
 }}}
+
+* To import instances with SAN volumes
+
+{{{
+    gnt-instance add -t blockdev --os-type debootstrap+dsa \
+      --disk 0:adopt=/dev/disk/by-id/scsi-reger-boot \
+      --disk 1:adopt=/dev/disk/by-id/scsi-reger-root \
+      --hypervisor-parameters kvm:initrd_path=,kernel_path= \
+      --net 0:ip=206.12.19.124 -n rossini.debian.org reger.debian.org
+}}}