Re: [ovirt-users] Difference between Disk ID of VM and Disk ID of snapshot

2014-09-07 Thread Daniel Erez


- Original Message -
 From: santosh sba...@commvault.com
 To: users@ovirt.org
 Sent: Friday, September 5, 2014 8:14:25 AM
 Subject: [ovirt-users] Difference between Disk ID of VM and Disk ID of
 snapshot
 
 Hi All,
 
 The disks IDs provided by following two APIs will be same or different?

The same. The entities are differ by the image_id which is unique for each disk 
snapshot.

 
 SERVER:PORT/api/vms/VM_ID/snapshots/ID /disks
 
 SERVER:PORT/api/vms/VM_ID/disks
 
 
 Thanks, Santosh
 
 ***Legal Disclaimer***
 This communication may contain confidential and privileged material for the
 sole use of the intended recipient. Any unauthorized review, use or
 distribution
 by others is strictly prohibited. If you have received the message by
 mistake,
 please advise the sender by reply email and delete the message. Thank you.
 **
 
 ___
 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: [ovirt-users] How to backup/restore the rhevm-VM in hosted-engine ?

2014-09-07 Thread Yedidyah Bar David
- Original Message -
 From: Ryan Groten ryan.gro...@stantec.com
 To: Chao Xie xiec.f...@cn.fujitsu.com, users@ovirt.org
 Sent: Friday, September 5, 2014 5:27:06 PM
 Subject: Re: [ovirt-users] How to backup/restore the rhevm-VM in  
 hosted-engine ?
 
 
 
 In my case I actually have a spare server (physical) that I keep patched and
 up-to-date, the engine backups are automatically transferred there. If my
 hosted-engine goes down I restore the engine database on the physical spare
 and run like that until I can get the hosted-engine back up.
 
 
 
 I’ve never tried restoring onto a newly deployed hosted-engine VM using
 hosted-engine --deploy, but I can’t see why that wouldn’t work (maybe
 someone else knows if this is possible?). I’ll give it a try too.

Please see also [1] which describes a similar flow.

I never tried your exact flow. Main difference is that the database already
has the engine's VM and knows it's a hosted engine.

[1] http://www.ovirt.org/Migrate_to_Hosted_Engine
-- 
Didi

 
 
 
 
 From: Xie, Chao [mailto:xiec.f...@cn.fujitsu.com]
 Sent: September-05-14 3:23 AM
 To: Groten, Ryan; users@ovirt.org
 Subject: 答复 : How to backup/restore the rhevm-VM in hosted-engine ?
 
 
 
 
 Hi, Ryan
 
 Thanks for replying. I know your meaning and engine-backup command. But I
 have some questions with your way: “ If the hosted-engine needs to be
 restored for some reason I will just recreate the OS and restore the engine
 database ”.
 
 Do you recreate the Guest using original host? And the host needn’t to be
 fresh installed and just excute hosted-engine –deployed again, we can
 recreate another OS?
 
 
 
 
 发件人 : Groten, Ryan [ mailto:ryan.gro...@stantec.com ]
 发送时间 : 2014 年 9 月 5 日 4:29
 收件人 : Xie, Chao/ 谢 超 ; users@ovirt.org
 主题 : RE: How to backup/restore the rhevm-VM in hosted-engine ?
 
 
 
 
 In 3.4 there is a backup/restore utility called engine-backup. You can use
 this to backup the RHEV-M database(s) as well as restore. Of course this
 won’t backup the Guest OS itself.
 
 My DR strategy is to simply copy off these engine-backup files to another
 location. If the hosted-engine needs to be restored for some reason I will
 just recreate the OS and restore the engine database.
 
 
 
 Check this link for documentation:
 
 
 
 https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.4/html/Administration_Guide/chap-Backups.html
 
 
 
 
 
 
 From: users-boun...@ovirt.org [ mailto:users-boun...@ovirt.org ] On Behalf Of
 xiec.f...@cn.fujitsu.com
 Sent: September-03-14 9:54 PM
 To: users@ovirt.org
 Subject: [ovirt-users] How to backup/restore the rhevm-VM in hosted-engine ?
 
 
 
 
 Hi,All
 
 As the mauual, I can’t find anyway to backup/restore the rhevm-VM in the
 hosted-engine. The I just try to backup the storage of rhevm-VM (using cp
 –prf to make a copy of folder). Then I make some change and replace the
 origin RHEVM-VM content with my backup folder (of course I shutdown the
 rhevm-vm first). At last the vm can be up,but the status is NOT health but
 as below:
 
 
 
 
 
 Status up-to-date : False
 
 Hostname : 193.168.195.248
 
 Host ID : 1
 
 Engine status : unknown stale-data
 
 Score : 2400
 
 Local maintenance : False
 
 Host timestamp : 1409743461
 
 Extra metadata (valid at timestamp):
 
 metadata_parse_version=1
 
 metadata_feature_version=1
 
 timestamp=1409743461 (Wed Sep 3 07:24:21 2014)
 
 host-id=1
 
 score=2400
 
 maintenance=False
 
 state=EngineUp
 
 
 
 =
 
 
 
 So are there some proper way to backup the rhevm-vm?
 
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 

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


Re: [ovirt-users] Ovirt / RHEV interoperability

2014-09-07 Thread John Gardeniers

Hi Sven,

I'm thinking mainly in terms of migrating from one to the other, which 
people sometimes have to, or want to, do. For various reasons it may not 
always be practical to do it in one clean step. e.g. If there is 
interoperability it would be possible to have zero down time by 
migrating one hypervisor at a time (or a few, depending in capacity).


regards,
John


On 05/09/14 17:43, Sven Kieske wrote:


Am 05.09.2014 06:50, schrieb John Gardeniers:

Just curious and I'm not currently in a position to try it myself. Is
there any interoperability between Ovirt and RHEV? In other words, can
an Ovirt hypervisor work with a REV engine or can a RHEV hypervisor work
with a RHEV engine?

In theory and maybe in real world this could work, however
I don't think you could get much support from red hat for your rhev/m
in such a setup.

So I really don't see the scenario you want to deploy?
If you need paid support, buy it, if not, stick with ovirt?

HTH



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


Re: [ovirt-users] Issues with Storage domain

2014-09-07 Thread Nir Soffer
- Original Message -
 From: Carlos A. Diaz carlos_...@yahoo.com
 To: users@ovirt.org
 Sent: Friday, September 5, 2014 9:36:42 PM
 Subject: [ovirt-users] Issues with Storage domain
 
 Hello everyone, its my first time here; so I hope I am on the right place
 
 I had a problem where one of our SysAdmins cloned our NFS production export
 in order to create a new NFS export, but he didn't changed the FSID, so we
 ended up with 2 nfs exports using the same ID. I was able to roll back and
 recover the data, once I had corrected everything I went to the hosts and
 unpaused the VMs from the CLI (I lost the engine in the process), so now we
 are back up and running.
 
 My problem right now is that oVirt says that our main storage domain is
 Down and I can't bring it up, so essentially I cannot start any VMs on
 that domain, which hosts 90% of our production environment; which is also
 scary because I am not sure how to recover from this error without affecting
 my production environment.
 
 My guess is that at some point the MD5 hash changed, or something in the
 metadata for that Domain, but I don't know if this is the problem and if
 recreating the signature is possible without breaking my existing
 configuration.
 
 Is there anyway to mark it as UP from the database or at any other level
 without breaking (more) the config?

Hi Carlos,

Please attach engine.log and vdsm.log, hopefully we can understand from
the logs why you cannot activate the storage domain.

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