document how to import existing libvirt instances with their volumes on iSCSI SAN
authorMartin Zobel-Helas <zobel@debian.org>
Tue, 5 Mar 2013 21:18:10 +0000 (22:18 +0100)
committerMartin Zobel-Helas <zobel@debian.org>
Tue, 5 Mar 2013 21:18:10 +0000 (22:18 +0100)
Signed-off-by: Martin Zobel-Helas <zobel@debian.org>
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
+}}}