Discussion:
[ovirt-users] How to run "engine-backup"?
Will Dennis
2015-12-22 16:32:26 UTC
Permalink
Yay, I *finally* have my 3-host hyper-converged oVirt datacenter stood up :)

[***@ovirt-node-01 ~]# hosted-engine --vm-status


--== Host 1 status ==--

Status up-to-date : True
Hostname : ovirt-node-01
Host ID : 1
Engine status : {"health": "good", "vm": "up", "detail": "up"}
Score : 3400
stopped : False
Local maintenance : False
crc32 : 65c41ca5
Host timestamp : 217522


--== Host 2 status ==--

Status up-to-date : True
Hostname : ovirt-node-02
Host ID : 2
Engine status : {"reason": "vm not running on this host", "health": "bad", "vm": "down", "detail": "unknown"}
Score : 3400
stopped : False
Local maintenance : False
crc32 : a7a599d8
Host timestamp : 56101


--== Host 3 status ==--

Status up-to-date : True
Hostname : ovirt-node-03
Host ID : 3
Engine status : {"reason": "vm not running on this host", "health": "bad", "vm": "down", "detail": "unknown"}
Score : 3400
stopped : False
Local maintenance : False
crc32 : 6e138d0b
Host timestamp : 432658



Now in the oVirt webadmin UI down in the "Alerts" section, I am seeing this message:

"There is no full backup available, please run engine-backup to prevent data loss in case of corruption."

I do not see a "engine-backup" CLI command on my hosts; how does one do this? (I have searched ovirt.org to no avail...)

Thanks,
Will
Simone Tiraboschi
2015-12-22 16:43:55 UTC
Permalink
Yay, I **finally** have my 3-host hyper-converged oVirt datacenter stood
up :)
--== Host 1 status ==--
Status up-to-date : True
Hostname : ovirt-node-01
Host ID : 1
Engine status : {"health": "good", "vm": "up", "detail": "up"}
Score : 3400
stopped : False
Local maintenance : False
crc32 : 65c41ca5
Host timestamp : 217522
--== Host 2 status ==--
Status up-to-date : True
Hostname : ovirt-node-02
Host ID : 2
Engine status : {"reason": "vm not running on this
host", "health": "bad", "vm": "down", "detail": "unknown"}
Score : 3400
stopped : False
Local maintenance : False
crc32 : a7a599d8
Host timestamp : 56101
--== Host 3 status ==--
Status up-to-date : True
Hostname : ovirt-node-03
Host ID : 3
Engine status : {"reason": "vm not running on this
host", "health": "bad", "vm": "down", "detail": "unknown"}
Score : 3400
stopped : False
Local maintenance : False
crc32 : 6e138d0b
Host timestamp : 432658
Now in the oVirt webadmin UI down in the “Alerts” section, I am seeing
“There is no full backup available, please run engine-backup to prevent
data loss in case of corruption.”
I do not see a “engine-backup” CLI command on my hosts;
yes, engine-backup is on the engine VM :-)
how does one do this? (I have searched ovirt.org to no avail...)
Thanks,
Will
_______________________________________________
Users mailing list
http://lists.ovirt.org/mailman/listinfo/users
Will Dennis
2015-12-22 18:37:24 UTC
Permalink
Are there any docs on using this (other than the ‘—help” option text)?

Also, I do not have a GUI environment on my oVirt hosts; how to I display the console of the hosted engine VM if I need it?

From: Simone Tiraboschi [mailto:***@redhat.com]
Sent: Tuesday, December 22, 2015 11:44 AM
To: Will Dennis
Cc: users
Subject: Re: [ovirt-users] How to run "engine-backup"?

yes, engine-backup is on the engine VM :-)
Will Dennis
2015-12-22 18:41:54 UTC
Permalink
n/m, found this URL cleverly concealed in the output of “—help” ;)

http://www.ovirt.org/Ovirt-engine-backup

Still would be good to know how I could get a console...

From: Will Dennis
Sent: Tuesday, December 22, 2015 1:37 PM
To: 'Simone Tiraboschi'
Cc: users
Subject: RE: [ovirt-users] How to run "engine-backup"?

Are there any docs on using this (other than the ‘—help” option text)?

Also, I do not have a GUI environment on my oVirt hosts; how to I display the console of the hosted engine VM if I need it?

From: Simone Tiraboschi [mailto:***@redhat.com]
Sent: Tuesday, December 22, 2015 11:44 AM
To: Will Dennis
Cc: users
Subject: Re: [ovirt-users] How to run "engine-backup"?

yes, engine-backup is on the engine VM :-)
Simone Tiraboschi
2015-12-22 23:04:20 UTC
Permalink
Post by Will Dennis
n/m, found this URL cleverly concealed in the output of “—help” ;)
http://www.ovirt.org/Ovirt-engine-backup
Still would be good to know how I could get a console...
You have more options:
1. You can just ssh to the engine VM; if you deployed using the appliance
you were asked about setting its root password via cloud-init.
2. Since 3.6.1, the engine will import the hosted-engine storage domain and
you'll see the engine VM in the engine. You could open its console from
here as for other VMs.
3. You could directly connect to it with VNC/spice also from other hosts:
on the host where the engine VM runs:
[***@c72het20151222h1 vdsm_logs]# hosted-engine --add-console-password
Enter password:
code = 0
message = 'Done'
on your machine:
/bin/remote-viewer vnc://<host_ip>:5900
4. You could use the VM virtio serial console if the VM is configured for
that (and the engine appliance is) as described here:
http://www.ovirt.org/Serial_Console_Setup#I_need_to_access_the_console_the_old_way
Post by Will Dennis
*From:* Will Dennis
*Sent:* Tuesday, December 22, 2015 1:37 PM
*To:* 'Simone Tiraboschi'
*Cc:* users
*Subject:* RE: [ovirt-users] How to run "engine-backup"?
Are there any docs on using this (other than the ‘—help” option text)?
Also, I do not have a GUI environment on my oVirt hosts; how to I display
the console of the hosted engine VM if I need it?
*Sent:* Tuesday, December 22, 2015 11:44 AM
*To:* Will Dennis
*Cc:* users
*Subject:* Re: [ovirt-users] How to run "engine-backup"?
yes, engine-backup is on the engine VM :-)
Yedidyah Bar David
2015-12-23 08:42:30 UTC
Permalink
Post by Simone Tiraboschi
n/m, found this URL cleverly concealed in the output of “—help” ;)
http://www.ovirt.org/Ovirt-engine-backup
Still would be good to know how I could get a console...
1. You can just ssh to the engine VM; if you deployed using the appliance
you were asked about setting its root password via cloud-init.
2. Since 3.6.1, the engine will import the hosted-engine storage domain and
you'll see the engine VM in the engine. You could open its console from here
as for other VMs.
code = 0
message = 'Done'
/bin/remote-viewer vnc://<host_ip>:5900
4. You could use the VM virtio serial console if the VM is configured for
http://www.ovirt.org/Serial_Console_Setup#I_need_to_access_the_console_the_old_way
You can also check:

http://www.ovirt.org/Hosted_Engine_Console
Post by Simone Tiraboschi
From: Will Dennis
Sent: Tuesday, December 22, 2015 1:37 PM
To: 'Simone Tiraboschi'
Cc: users
Subject: RE: [ovirt-users] How to run "engine-backup"?
Are there any docs on using this (other than the ‘—help” option text)?
Also, I do not have a GUI environment on my oVirt hosts; how to I display
the console of the hosted engine VM if I need it?
Sent: Tuesday, December 22, 2015 11:44 AM
To: Will Dennis
Cc: users
Subject: Re: [ovirt-users] How to run "engine-backup"?
yes, engine-backup is on the engine VM :-)
_______________________________________________
Users mailing list
http://lists.ovirt.org/mailman/listinfo/users
--
Didi
Loading...