iscsi targets hosted in pve container

peril

Renowned Member
Oct 6, 2009
50
2
73
Newark, DE USA
Does anyone know if the iscsi target code works in the PVE container? (And this might sound stupid - but that means they should work on the hypervisor too.)

--Adrian
 
I don't really understand your question, so I will offer my best answer. I've successfully implimented freenas and openfiler as a virtual guest on PVE. I also connected other virtual guests via iscsi to these systems. Essentially making PVE local storage an iscsi target.

This also fools PVE into live migration features, if you needed such a thing.
 
Hi Clayton,

As long as the iscsi-target works in a pve - that's really all I was asking about. I figured that having the initiators working wasn't that big of a deal (esp for the fully virtualized KVM...) But if the targets work the PVE initiators should work aok too.

My thoughts are to show a configuration of something like a DB test suite running in a kvm pulling data for a DB from a kvm hosted iscsi target, and then demonstrating how copying those images to a PVE container the workload would appear "faster" by rehosting from kvm targets to pve targets (stop DB, stop initiators, rsync targets from kvm to pve, copy iscsi target config from kvm to pve, restart targets, restart initiators, restart db)

As I noodle about it - I like a lot of the possible permutations that the pve container brings (both as a target as as potentially the initiator).

This is my test matrix (off the top of my head):

KVM Db initiator <-> KVM target
KVM Db initiator <-> PVE target
PVE db initiator <-> KVM target
PVE db initiator <-> PVE target

Thanks a lot for the reply.

--Adrian