Re: [Users] ovirt-shell failes to connect: SOLVED!

2012-02-29 Thread Michael Pasternak

Winfried,

i see that your backend version is 3.0,

the thing is that all arguments in CLI indirectly learned from the
RSDL (via ovirt-engine-sdk), so parameters construction may not work properly
on 3.0 as ovirt-engine-sdk build against latest oVirt engine,

also to enjoy new features such as auto-completion and many other benefits
of new CLI, API (i.e oVirt engine) should be latest/greatest.


On 02/28/2012 04:36 PM, Winfried de Heiden wrote:
 Problem solved; use the correct URL, domain and double \\:
 
 ovirt-shell -u internal\\admin -p xxx -l http://localhost:8080/api -c
 
  ==
   connected to oVirt manager 3.0.0.0 
  ==

  ++
  
Welcome to oVirt shell
  
  ++
 
 Winfried


-- 

Michael Pasternak
RedHat, ENG-Virtualization RD
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] Q on ovirt datacentre and host storage types

2012-02-29 Thread Deepak C Shetty

Hi, got few basic Qs in my mind. Appreciate a response.

1) Why is it that the data domains must be of the same type as that of 
datacentre ? What is the goal behind having
this constraint ? It seems useful to have a datacentre w/o having any 
storage restrictions.. i should be able to add
hosts w/o worrying abt the storage types... why is it not so... looking 
to understand the reason behind this design

decision.

2) If i have a set of host systems all connected to shared FC storage, 
is there a way for me to configure LUNs
exclusively for each host, meaning have ability to control what LUN each 
hosts sees ? Can this be done using oVirt today ? My understanding is 
that this cannot be done via ovirt, zoning of LUNs to host has to be 
done separately and not via ovirt, is that correct ?


3) If i have to create and run 1000 VMs (say), how can i automate that 
using ovirt, what is the best way to do that ?


thanx,
deepak

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


Re: [Users] Q on ovirt datacentre and host storage types

2012-02-29 Thread Xiaofan
2012/2/29 Deepak C Shetty deepa...@linux.vnet.ibm.com:
 Hi, got few basic Qs in my mind. Appreciate a response.

 1) Why is it that the data domains must be of the same type as that of
 datacentre ? What is the goal behind having
 this constraint ? It seems useful to have a datacentre w/o having any
 storage restrictions.. i should be able to add
 hosts w/o worrying abt the storage types... why is it not so... looking to
 understand the reason behind this design
 decision.

vdsm has no such restriction. But spm works not properly with mixture
storage types.
For example, say NFS is master domain, and there is also an iscsi
domain in pool,
in this situation, the size of inbox/outbox in NFS domain is not
right, which will cause mailbox exception,



 2) If i have a set of host systems all connected to shared FC storage, is
 there a way for me to configure LUNs
 exclusively for each host, meaning have ability to control what LUN each
 hosts sees ? Can this be done using oVirt today ? My understanding is that
 this cannot be done via ovirt, zoning of LUNs to host has to be done
 separately and not via ovirt, is that correct ?

 3) If i have to create and run 1000 VMs (say), how can i automate that using
 ovirt, what is the best way to do that ?

 thanx,
 deepak

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


Re: [Users] Q on ovirt datacentre and host storage types

2012-02-29 Thread Oved Ourfalli


- Original Message -
 From: Xiaofan xiaof...@gmail.com
 To: Deepak C Shetty deepa...@linux.vnet.ibm.com
 Cc: users@ovirt.org
 Sent: Wednesday, February 29, 2012 2:18:03 PM
 Subject: Re: [Users] Q on ovirt datacentre and host storage types
 
 2012/2/29 Deepak C Shetty deepa...@linux.vnet.ibm.com:
  Hi, got few basic Qs in my mind. Appreciate a response.
 
  1) Why is it that the data domains must be of the same type as that
  of
  datacentre ? What is the goal behind having
  this constraint ? It seems useful to have a datacentre w/o having
  any
  storage restrictions.. i should be able to add
  hosts w/o worrying abt the storage types... why is it not so...
  looking to
  understand the reason behind this design
  decision.
 
 vdsm has no such restriction. But spm works not properly with mixture
 storage types.
 For example, say NFS is master domain, and there is also an iscsi
 domain in pool,
 in this situation, the size of inbox/outbox in NFS domain is not
 right, which will cause mailbox exception,
 
 
 
  2) If i have a set of host systems all connected to shared FC
  storage, is
  there a way for me to configure LUNs
  exclusively for each host, meaning have ability to control what LUN
  each
  hosts sees ? Can this be done using oVirt today ? My understanding
  is that
  this cannot be done via ovirt, zoning of LUNs to host has to be
  done
  separately and not via ovirt, is that correct ?
 
If I understood you correctly that is indeed not part of ovirt.
You can put different LUNs in different data centers, but that won't mean a 
host in a cluster in one DC won't have access to a LUN defined on another DC 
(it won't have this access through ovirt, but this access will still be 
available if it was allowed in the storage controller management).

All the hosts in clusters of a specific data center need access to all its 
storage domains.
So you'd probably want to allow not only a host but a set of hosts, to access 
the LUN which the storage domains resides on.
Same for NFS exports.

  3) If i have to create and run 1000 VMs (say), how can i automate
  that using
  ovirt, what is the best way to do that ?
 
Depends on the scenario. If you are talking about stateless VMs, based on a 
template, you can use VM Pools.
We are also working on supporting pre-started VMs (see feature page in 
http://ovirt.org/wiki/Features/PrestartedVm), that will enable you to set a 
number on that VM pool which says how many VMs you would like to be up from the 
pool (I think the feature is already pushed, but not sure about that).

If you want them to be separate, then IMO the best way to do so is to use the 
either the ovirt-CLI or the ovirt-SDK (again, depends on the exact scenario). 
Using it you can create VMs, run them, stop them and etc

Details on that can be found in:
www.ovirt.org/wiki/CLI
www.ovirt.org/wiki/SDK

Hope it helps,
Oved
  thanx,
  deepak
 
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] new wiki for ovirt-engine-cli

2012-02-29 Thread Michael Pasternak

http://www.ovirt.org/wiki/CLI

-- 

Michael Pasternak
RedHat, ENG-Virtualization RD
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Can someone help me with moving a windows server 2008 to ovirt?

2012-02-29 Thread Andrew Cathrow
google for virt-v2v - it's a tool that allows you to migrate from an ESX server 
to RHEV, it'll work with oVirt too.



- Original Message -
 From: Dominic Kaiser domi...@bostonvineyard.org
 To: users@ovirt.org
 Sent: Wednesday, February 29, 2012 11:00:54 AM
 Subject: [Users] Can someone help me with moving a windows server 2008 to 
 ovirt?
 
 
 So I have been looking at how to move windows 2008 and R2 servers
 from vmware esxi4 over to ovirt. I moved my Linux servers over with
 clonezilla. But windows needs a sysprep and generalize not to
 mention uninstalling vmtools and vmware drivers. I have done this. I
 then use clonezilla to put the image onto a thinprovisioned drive on
 ovirt. It starts to boot then blue screen of death. Am I missing
 something other than syspreping the windows machine and uninstalling
 the vmware drivers? Also is there a better way?
 
 
 P.S. Also I have ovirt up in a production envirenment and is running
 rock solid for the past month great job guys!
 
 
 Thanks again,
 
 
 --
 Dominic Kaiser
 Greater Boston Vineyard
 Director of Operations
 
 cell: 617-230-1412
 fax: 617-252-0238
 email: domi...@bostonvineyard.org
 
 
 
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] new wiki for ovirt-engine-cli

2012-02-29 Thread Li, David

Michael,
I am interested in the ovirt-shell and I might have missed some earlier 
discussions. The wiki doesn't say much about how to install it. My questions 
are:

1.  Is this part of ovirt-engine install? 
2. Can it entirely replace the engine? 

Do you have a 'how to get started' page?

David


Date: Wed, 29 Feb 2012 17:08:13 +0200
From: Michael Pasternak mpast...@redhat.com
To: users@ovirt.org
Subject: [Users] new wiki for ovirt-engine-cli
Message-ID: 4f4e3f5d.7010...@redhat.com
Content-Type: text/plain; charset=ISO-8859-1


http://www.ovirt.org/wiki/CLI

--

Michael Pasternak
RedHat, ENG-Virtualization RD


___
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


Re: [Users] new wiki for ovirt-engine-cli

2012-02-29 Thread Michael Pasternak

Hi David,

On 02/29/2012 07:47 PM, Li, David wrote:
   
 Michael,
 I am interested in the ovirt-shell and I might have missed some earlier 
 discussions. The wiki doesn't say much about how to install it. My questions 
 are:
 
 1.  Is this part of ovirt-engine install? 

it shipped as another rpm (ovirt-engine-cli) / tarball in release repo,
only ovirt-engine-cli is more advanced than last release of oVirt, i.e it using 
latest
ovirt-engine-sdk which is build against latest ovirt-engine,

so to use ovirt-engine-cli-2.x you have to compile and deploy the engine by 
yourself
or wait for the next release.

 2. Can it entirely replace the engine? 

no, it doesn't replace the engine, but using it
through over-engine-sdk [1].

[1] http://www.ovirt.org/wiki/SDK

 
 Do you have a 'how to get started' page?
 
 David
 

 Date: Wed, 29 Feb 2012 17:08:13 +0200
 From: Michael Pasternak mpast...@redhat.com
 To: users@ovirt.org
 Subject: [Users] new wiki for ovirt-engine-cli
 Message-ID: 4f4e3f5d.7010...@redhat.com
 Content-Type: text/plain; charset=ISO-8859-1


 http://www.ovirt.org/wiki/CLI

 --

 Michael Pasternak
 RedHat, ENG-Virtualization RD




-- 

Michael Pasternak
RedHat, ENG-Virtualization RD
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users