Re: [Users] How to configure sharedFS ?

2012-06-17 Thread Deepak C Shetty

On 03/19/2012 03:07 PM, Dan Kenigsberg wrote:

On Wed, Mar 14, 2012 at 07:04:47PM +0530, Deepak C Shetty wrote:

On 02/29/2012 08:06 PM, Dan Kenigsberg wrote:

Let us know if you need further assistance..
If you have that python script working for LOCALFS, I'd suggest you try
making it work for SHAREDFS too.



I was able to use the VDSM_Standalone example, and modify it to use SHAREDFS
and export glusterfs as a DATA_DOMAIN and invoke VM backed by
gluster storage.

I edited http://www.ovirt.org/wiki/Vdsm_Standalone (scroll below)
added it as
a SHAREDFS example.

Thanks! It is great news that all you need is O_DIRECT in fuse, and that
Vdsm's SHAREDFS interface works as it is for gluster.

Regards,
Dan.



Hello,
Got more questions on this, now that I am re-visiting this.
The last time i tried using SHAREDFS, i started from createStorageDomain 
verb, and it works fine.


But now we have connectStorageServer verb... which i believe is the new 
way of doing things ?
If i start from connectStorageServer verb to mount using SHAREDFS ( 
which goes via PosixFs... MountConnection flow), that won't help me 
entirely here, right ?
Because it only mounts based on the dict sent, but does not do anything 
with the image and metadata stuff ( which createStorageDomain flow did ).


I am wondering if its too early to start using connectStorageServer ? If 
not, how can i re-write the above vdsm standalone example using 
connectStorageServer instead of createStorageDomain flow ?



___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] How to configure sharedFS ?

2012-06-17 Thread Deepak C Shetty

On 06/17/2012 07:06 PM, Yair Zaslavsky wrote:

On 06/17/2012 03:50 PM, Deepak C Shetty wrote:

On 03/19/2012 03:07 PM, Dan Kenigsberg wrote:

On Wed, Mar 14, 2012 at 07:04:47PM +0530, Deepak C Shetty wrote:

On 02/29/2012 08:06 PM, Dan Kenigsberg wrote:

Let us know if you need further assistance..
If you have that python script working for LOCALFS, I'd suggest you try
making it work for SHAREDFS too.



I was able to use the VDSM_Standalone example, and modify it to use
SHAREDFS
and export glusterfs as a DATA_DOMAIN and invoke VM backed by
gluster storage.

I edited http://www.ovirt.org/wiki/Vdsm_Standalone (scroll below)
added it as
a SHAREDFS example.

Thanks! It is great news that all you need is O_DIRECT in fuse, and that
Vdsm's SHAREDFS interface works as it is for gluster.

Regards,
Dan.


Hello,
 Got more questions on this, now that I am re-visiting this.
The last time i tried using SHAREDFS, i started from createStorageDomain
verb, and it works fine.

But now we have connectStorageServer verb... which i believe is the new
way of doing things ?
If i start from connectStorageServer verb to mount using SHAREDFS (
which goes via PosixFs... MountConnection flow), that won't help me
entirely here, right ?
Because it only mounts based on the dict sent, but does not do anything
with the image and metadata stuff ( which createStorageDomain flow did ).

I am wondering if its too early to start using connectStorageServer ? If
not, how can i re-write the above vdsm standalone example using
connectStorageServer instead of createStorageDomain flow ?

Will a solution via engine (i.e - create PosixFS storage domain) be good
for you?


Well, no. I kind of mis-interpreted the problem. My Q stands canceled.
The right way indeed is to use createStorageServer followed by 
createStorageDomain, which i was confused initially a bit, but now its 
cleared.



___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] How to configure sharedFS ?

2012-03-19 Thread Dan Kenigsberg
On Wed, Mar 14, 2012 at 07:04:47PM +0530, Deepak C Shetty wrote:
 On 02/29/2012 08:06 PM, Dan Kenigsberg wrote:
 On Wed, Feb 29, 2012 at 07:42:15PM +0530, Deepak C Shetty wrote:
 On 02/27/2012 04:55 AM, Ayal Baron wrote:
 Any help on documenting this so people would not have to dig into the code 
 would be greatly appreciated.
 
 Great, let me start and get back if i land up into issues.
 thanks for the pointer.
 Let us know if you need further assistance..
 
 If you have that python script working for LOCALFS, I'd suggest you try
 making it work for SHAREDFS too.
 
 
 
 I was able to use the VDSM_Standalone example, and modify it to use SHAREDFS
 and export glusterfs as a DATA_DOMAIN and invoke VM backed by
 gluster storage.
 
 I edited http://www.ovirt.org/wiki/Vdsm_Standalone (scroll below) 
 added it as
 a SHAREDFS example.

Thanks! It is great news that all you need is O_DIRECT in fuse, and that
Vdsm's SHAREDFS interface works as it is for gluster.

Regards,
Dan.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] How to configure sharedFS ?

2012-03-14 Thread Deepak C Shetty

On 02/29/2012 08:06 PM, Dan Kenigsberg wrote:

On Wed, Feb 29, 2012 at 07:42:15PM +0530, Deepak C Shetty wrote:

On 02/27/2012 04:55 AM, Ayal Baron wrote:

Any help on documenting this so people would not have to dig into the code 
would be greatly appreciated.


Great, let me start and get back if i land up into issues.
thanks for the pointer.

Let us know if you need further assistance..



If you have that python script working for LOCALFS, I'd suggest you try
making it work for SHAREDFS too.




I was able to use the VDSM_Standalone example, and modify it to use SHAREDFS
and export glusterfs as a DATA_DOMAIN and invoke VM backed by gluster 
storage.


I edited http://www.ovirt.org/wiki/Vdsm_Standalone (scroll below)  
added it as

a SHAREDFS example.


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] How to configure sharedFS ?

2012-02-29 Thread Deepak C Shetty

On 02/29/2012 08:06 PM, Dan Kenigsberg wrote:

On Wed, Feb 29, 2012 at 07:42:15PM +0530, Deepak C Shetty wrote:

On 02/27/2012 04:55 AM, Ayal Baron wrote:

Any help on documenting this so people would not have to dig into the code 
would be greatly appreciated.


Great, let me start and get back if i land up into issues.
thanks for the pointer.

Let us know if you need further assistance..

This is how I plan to attack it... using vdscli, let me know if my
steps are correct ?

1) Use createStorageDomain to create a SHAREDFS_DOMAIN of domTypes
data  iso
2) Use  createStoragePool and associate the above sd's with this pool.
3) How to copy .iso into the newly create iso dom ?
engine-iso-uploader won't know abt it, rite ?

I would've used `cp` (chown to make sure vdsm can read it when needed).

engine-iso-uploader create the needed dir structure (metadata, images, 
dom_md etc)
and put the .iso in the right dir. Using `cp` I will have to do that 
myself, rite ?

4) create a volume to represent my vm disk
5) Use create to create a VM and run it

Is this the recommended way ( to use individual vdscli cmds) or the
way its done in
http://www.ovirt.org/wiki/Vdsm_Standalone ?


For human-triggered setup, running vdsClient from bash may be easier.
But the suggested python script is expected to take you slightly further
on the road to reproducible testable application on top of Vdsm.

If you have that python script working for LOCALFS, I'd suggest you try
making it work for SHAREDFS too.



Thanks, will try using the python script itself. When i use the script
and create LOCALFS (and SHAREDFS in future) will these domains
and hence VMs created on top of these domains be visible and manageable
from OE side ?

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users