[ovirt-users] How to backup/restore the rhevm-VM in hosted-engine ?

Yedidyah Bar David didi at redhat.com
Sun Sep 7 07:46:11 UTC 2014


----- Original Message -----
> From: "Ryan Groten" <Ryan.Groten at stantec.com>
> To: "Chao Xie" <xiec.fnst at cn.fujitsu.com>, users at 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.fnst at cn.fujitsu.com]
> Sent: September-05-14 3:23 AM
> To: Groten, Ryan; users at 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.Groten at stantec.com ]
> 发送时间 : 2014 年 9 月 5 日 4:29
> 收件人 : Xie, Chao/ 谢 超 ; users at 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-bounces at ovirt.org [ mailto:users-bounces at ovirt.org ] On Behalf Of
> xiec.fnst at cn.fujitsu.com
> Sent: September-03-14 9:54 PM
> To: users at 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 at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 

-- 
Didi



More information about the Users mailing list