I have Kronos setup fine. I have installed open-iscsi and setup the system
as an initiator. However, I cannot seem to get xapi to allow me to setup the
target as an SR. I was trying to use XenCenter but go nowhere. So I tried
adding it manually and here is what I got:
xe sr-create host-uuid=466aac75-c86a-496f-90e8-2a9925a9e9f7
content-type=user \> name-label="Shared LVM over iSCSI SR" shared=true \
> device-config:target=192.168.0.2
device-config:targetIQN=iqn.2011-12.store116ib.array1111:tgt
\> device-config:SCSIid=0 \
> type=lvmoiscsi
There was an SR backend failure.
status: non-zero exit
stdout:
stderr: Traceback (most recent call last):
File "/usr/lib/xen-common/xapi/sm/LVMoISCSISR", line 383, in
<module>
SRCommand.run(LVHDoISCSISR, DRIVER_INFO)
File "/usr/lib/xen-common/xapi/sm/SRCommand.py", line 261, in run
sr = driver(cmd, cmd.sr_uuid)
File "/usr/lib/xen-common/xapi/sm/SR.py", line 136, in __init__
self.load(sr_uuid)
File "/usr/lib/xen-common/xapi/sm/LVMoISCSISR", line 156, in load
self._pathrefresh(LVHDoISCSISR)
File "/usr/lib/xen-common/xapi/sm/SR.py", line 466, in _pathrefresh
self.dconf[''device''] = self.mpathmodule.path(self.SCSIid)
File "/usr/lib/xen-common/xapi/sm/mpath_dmp.py", line 258, in path
if _is_mpath_daemon_running():
File "/usr/lib/xen-common/xapi/sm/mpath_dmp.py", line 47, in
_is_mpath_daemon_running
(rc,stdout,stderr) = util.doexec(cmd)
File "/usr/lib/xen-common/xapi/sm/util.py", line 129, in doexec
proc
subprocess.Popen(args,stdin=subprocess.PIPE,stdout=subprocess.PIPE,stderr=su
bprocess.PIPE,close_fds=True)
File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1249, in
_execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
Does the current xapi have remote SR capability built into it yet?
If not, is it possible to set the SR as LVM and have it set to share=true so
that I can still have the benefits of live migrations etc?
Thanks,
Jonathan