ppomes
2011-Mar-28 17:56 UTC
[Xen-users] XCP - Attach to existing LUN''s on a SAN (iscsi) ?
Hi all, I''m using a Dell MD3200i (iscsi) storage array.>From XCP, is there a way to attach existing Lun''s from the array, and exposethem into VM''s as block devices ? I would like to re-use existing virtual drivres from my SAN, so "lvmoscsi" SR''s cannot be used here. Should I use "xe sr-create type=iscsi" directly ? And then create manually pbd''s, vbd''s and vdi''s ? Regards, Pierre -- View this message in context: http://xen.1045712.n5.nabble.com/XCP-Attach-to-existing-LUN-s-on-a-SAN-iscsi-tp4268016p4268016.html Sent from the Xen - User mailing list archive at Nabble.com. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
ppomes
2011-Mar-28 20:36 UTC
[Xen-users] Re: XCP - Attach to existing LUN''s on a SAN (iscsi) ?
Actually, it seems I can create a "iscsi" SR (not a "lvmoiscsi", really a "iscsi") by using : xe sr-create name-label="MyLunOnSAN" \ type=iscsi \ shared=true \ device-config:target=192.168.131.101 \ device-config:multihomelist=192.168.131.101:3260,192.168.133.101:3260,192.168.130.102:3260,192.168.132.101:3260,192.168.133.102:3260,192.168.132.102:3260,192.168.131.102:3260,192.168.130.101:3260 \ device-config:targetIQN=iqn.1984-05.com.dell:powervault.md3200i.12345678910 \ device-config:port=3260 \ device-config:SCSIid=36782bcb00006b1500000f5d24d8c54ab \ So I would like to create a kind of raw "SR", mapped the SCSIid of the requested Lun. My problem here: - when this SR is created, two pbd are created, which is ok - the "multupath -ll" shows my scsid, which is also ok - BUT a "xe vdi-list sr-uuid=<id returned by xe sr-create" returns all the virtual disks of the SAN (ie : all the Lun''s)! I expected only one here, the Lun of the virtual drive I requested with the SCSIid param. What''s wrong with my sr-create ? Thanks, Pierre -- View this message in context: http://xen.1045712.n5.nabble.com/XCP-Attach-to-existing-LUN-s-on-a-SAN-iscsi-tp4268016p4268280.html Sent from the Xen - User mailing list archive at Nabble.com. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users