On 03/01/2012 11:18 PM, Saggi Mizrahi wrote:
scsi-key is not really used. Just pass 0 and ignore it. I was originally 
planned to accommodate scsi reservation.
When we will support scsi reservation the interface will probably be completely 
different.


Hi Saggi, thanks for the quick response.
It would be good to document the usage of params for each of the VDSM CLI commands, on the ovirt wiki ?
It will help immensely.

I also apologize for constantly missing you on IRC.
I Tried to reply but you were already disconnected when I noticed your message.


Not a problem, I hope to catch you over ML to get my answers ;)

Quick Q, I remember you saying having ur own vdsm cli tools to manage VMs. Can they be shared ? ;-) I am looking fwd to use vdscli for exploiting sharedFS, and am using http://www.ovirt.org/wiki/Vdsm_Standalone as the base, but i cannot run it again and again unless i clean off the prev stuff (pool, domains etc).
Wondering if you already had something that i could use to expedite it ?

----- Original Message -----
From: "Deepak C Shetty"<deepa...@linux.vnet.ibm.com>
To: vdsm-devel@lists.fedorahosted.org
Sent: Thursday, March 1, 2012 3:50:26 AM
Subject: [vdsm] How to find scsi-key param for disconnectStoragePool ?

I was trying to disconnect a already connected spool, but how do i
find
the scsi-key value that is needed
to disconnectStoragePool cmd ? Using getStoragePoolInfo does not dump
the scsi-key value, so how are we
supposed to deduce the scsi-key ?

Also curious to know, what exactly is scsi-key and what does it
signify ?

It would be good to have some documentation on each of the
parameters,
since its not possible to logically
deduce what is what, eg: scsi-key

Pls see below on what i was trying... Inputs appreciated.

[root@llm65 vdsm]# vdsClient -s 0 disconnectStoragePool
Error using command: list index out of range

disconnectStoragePool
<spUUID>  <id>  <scsi-key>
      Disconnect a Host from the specific storage pool

[root@llm65 vdsm]#
[root@llm65 vdsm]# vdsClient -s 0 getStoragePoolInfo
32e59372-53d8-4bdf-b419-e3675a7250e0
      name = dc-fc
      isoprefix =
/rhev/data-center/32e59372-53d8-4bdf-b419-e3675a7250e0/a8fadc24-76a4-490a-851c-79ce5eca0e61/images/11111111-1111-1111-1111-111111111111
      pool_status = connected
      lver = 2
      domains =
a8fadc24-76a4-490a-851c-79ce5eca0e61:Active,819f3687-65c8-4dc1-bc5e-5d596584d9bf:Active
      master_uuid = 819f3687-65c8-4dc1-bc5e-5d596584d9bf
      version = 2
      spm_id = 1
      type = FCP
      master_ver = 1
      a8fadc24-76a4-490a-851c-79ce5eca0e61 = {'status': 'Active',
'alerts': []}
      819f3687-65c8-4dc1-bc5e-5d596584d9bf = {'status': 'Active',
'diskfree': '94220845056', 'alerts': [], 'disktotal': '106971529216'}



_______________________________________________
vdsm-devel mailing list
vdsm-devel@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/vdsm-devel



_______________________________________________
vdsm-devel mailing list
vdsm-devel@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/vdsm-devel

Reply via email to