Re: [ovirt-users] Getting kdump integration to work

2015-05-26 Thread Martin Perina
Hi Daniel,

- Original Message -
 From: Daniel Helgenberger daniel.helgenber...@m-box.de
 To: users@ovirt.org
 Sent: Tuesday, 26 May, 2015 10:45:34 AM
 Subject: [ovirt-users] Getting kdump integration to work
 
 Hello,
 
 I followed the feature's page [1] and added to my test hosts the
 following lines /etc/kdump:
 
 fence_kdump_nodes othernode-in-cluster
 fence_kdump_args -p 7410 -f auto -i 5

Please don't do this, this is added automatically when you deploy
you host using oVirt UI with Kdump integration enabled in PM tab
of the host.

 
 Further, I added a firewall rule on both machines:
 -A INPUT -p udp --dport 7410 -j ACCEPT

Same as above, this is needed only on engine hosts and it's done
automatically during oVirt engine installation.

 
 and restarted kdump.

Same as above, this is done automatically during host deploy.

 
 Yet I get on the engine's side:
 
 2015-05-26 10:41:54,113 WARN
 [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
 (ajp--127.0.0.1-8702-7) Correlation ID: null, Call Stack: null, Custom
 Event ID: -1, Message: Kdump integration is enabled for host 'hv02', but
 kdump is not configured properly on host.

Could you please try to do it properly:

  1. Put host to maintenance
  2. Enable Kdump integration in PM tab
  3. Reinstall the host (click Reinstall when you select the host in Hosts tab)


Thanks a lot

Martin Perina

 
 Thanks!
 
 Versions:
 CentOS7.1 3.10.0-229.4.2.el7.x86_64 #1 SMP Wed May 13 10:06:09 UTC 2015
 x86_64 x86_64 x86_64 GNU/Linux
 
 ovirt-engine-cli-3.5.0.5-1.el7.centos.noarch
 ovirt-engine-userportal-3.5.2.1-1.el7.centos.noarch
 ovirt-engine-webadmin-portal-3.5.2.1-1.el7.centos.noarch
 ovirt-guest-agent-common-1.0.10-2.el7.noarch
 ovirt-engine-jboss-as-7.1.1-1.el7.x86_64
 ovirt-release35-004-1.noarch
 ovirt-engine-sdk-python-3.5.2.1-1.el7.centos.noarch
 ovirt-image-uploader-3.5.1-1.el7.centos.noarch
 ovirt-engine-setup-plugin-ovirt-engine-common-3.5.2.1-1.el7.centos.noarch
 ovirt-engine-websocket-proxy-3.5.2.1-1.el7.centos.noarch
 ovirt-host-deploy-java-1.3.1-1.el7.noarch
 ovirt-engine-reports-3.5.2-0.3.el7.centos.noarch
 ovirt-engine-dwh-setup-3.5.2-0.1.el7.centos.noarch
 ovirt-engine-tools-3.5.2.1-1.el7.centos.noarch
 ovirt-engine-setup-3.5.2.1-1.el7.centos.noarch
 ovirt-engine-restapi-3.5.2.1-1.el7.centos.noarch
 ovirt-engine-3.5.2.1-1.el7.centos.noarch
 ovirt-engine-setup-base-3.5.2.1-1.el7.centos.noarch
 ovirt-engine-setup-plugin-websocket-proxy-3.5.2.1-1.el7.centos.noarch
 ovirt-engine-reports-setup-3.5.2-0.3.el7.centos.noarch
 ovirt-engine-dwh-3.5.2-0.1.el7.centos.noarch
 ovirt-engine-dbscripts-3.5.2.1-1.el7.centos.noarch
 ovirt-engine-setup-plugin-ovirt-engine-3.5.2.1-1.el7.centos.noarch
 ovirt-engine-backend-3.5.2.1-1.el7.centos.noarch
 ovirt-iso-uploader-3.5.2-1.el7.centos.noarch
 ovirt-engine-extensions-api-impl-3.5.2.1-1.el7.centos.noarch
 ovirt-host-deploy-1.3.1-1.el7.noarch
 ovirt-engine-lib-3.5.2.1-1.el7.centos.noarch
 
 
 [1] http://www.ovirt.org/Fence_kdump
 
 --
 Daniel Helgenberger
 m box bewegtbild GmbH
 
 P: +49/30/2408781-22
 F: +49/30/2408781-10
 
 ACKERSTR. 19
 D-10115 BERLIN
 
 
 www.m-box.de  www.monkeymen.tv
 
 Geschäftsführer: Martin Retschitzegger / Michaela Göllner
 Handeslregister: Amtsgericht Charlottenburg / HRB 112767
 ___
 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] Getting kdump integration to work

2015-05-26 Thread Martin Perina


- Original Message -
 From: Daniel Helgenberger daniel.helgenber...@m-box.de
 To: Martin Perina mper...@redhat.com
 Cc: users@ovirt.org
 Sent: Tuesday, 26 May, 2015 2:40:23 PM
 Subject: Re: [ovirt-users] Getting kdump integration to work
 
 
 
 On 26.05.2015 10:54, Martin Perina wrote:
  Hi Daniel,
 Hello Martin,
 
 
  - Original Message -
  From: Daniel Helgenberger daniel.helgenber...@m-box.de
  To: users@ovirt.org
  Sent: Tuesday, 26 May, 2015 10:45:34 AM
  Subject: [ovirt-users] Getting kdump integration to work
 
  Hello,
 
  I followed the feature's page [1] and added to my test hosts the
  following lines /etc/kdump:
 
  fence_kdump_nodes othernode-in-cluster
  fence_kdump_args -p 7410 -f auto -i 5
 
  Please don't do this, this is added automatically when you deploy
  you host using oVirt UI with Kdump integration enabled in PM tab
  of the host.
 
 
  Further, I added a firewall rule on both machines:
  -A INPUT -p udp --dport 7410 -j ACCEPT
 
  Same as above, this is needed only on engine hosts and it's done
  automatically during oVirt engine installation.
 
 
  and restarted kdump.
 
  Same as above, this is done automatically during host deploy.
 
 
  Yet I get on the engine's side:
 
  2015-05-26 10:41:54,113 WARN
  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
  (ajp--127.0.0.1-8702-7) Correlation ID: null, Call Stack: null, Custom
  Event ID: -1, Message: Kdump integration is enabled for host 'hv02', but
  kdump is not configured properly on host.
 
  Could you please try to do it properly:
 
 1. Put host to maintenance
 2. Enable Kdump integration in PM tab
 3. Reinstall the host (click Reinstall when you select the host in Hosts
 tab)
 
 Thanks! This procedure seem to work, engine reporting kdump as activated.
 It was rather unclear to me, since I run hosted engine: After host
 deploy they are in the default state, no PM configured. Hence, kdump
 integration is disabled and will never activate since PM has to be
 configured in the first place to install.
 
 Do you think it is a better idea to always activate kdump in the host
 deploy stage so it can later be activated correctly with PM configured?

Well, I've never tested kdump integration with hosted engine, so adding
Sandro to the thread.

I'm not sure if there's any value of Kdump integration for the hosted
engine itself, but if hosted engine behaves according to following
rules, you can be sure that your dump is not lost:

  1. When VM with hosted engine is migrated from dumping host to the
 another host, the VM should have the same FQDN.
 If not, then you will have to change FenceKdumpDestinationAddress
 parameter accordingly

  2. Also when VM with hosted engine is migrated to another host, not
 only ovirt-engine service has to started on it but also
 ovirt-fence-kdump-listener service has to be started

Martin Perina

 
 
 
  Thanks a lot
 
  Martin Perina
 Cheers!
 
 
  Thanks!
 
  Versions:
  CentOS7.1 3.10.0-229.4.2.el7.x86_64 #1 SMP Wed May 13 10:06:09 UTC 2015
  x86_64 x86_64 x86_64 GNU/Linux
 
  ovirt-engine-cli-3.5.0.5-1.el7.centos.noarch
  ovirt-engine-userportal-3.5.2.1-1.el7.centos.noarch
  ovirt-engine-webadmin-portal-3.5.2.1-1.el7.centos.noarch
  ovirt-guest-agent-common-1.0.10-2.el7.noarch
  ovirt-engine-jboss-as-7.1.1-1.el7.x86_64
  ovirt-release35-004-1.noarch
  ovirt-engine-sdk-python-3.5.2.1-1.el7.centos.noarch
  ovirt-image-uploader-3.5.1-1.el7.centos.noarch
  ovirt-engine-setup-plugin-ovirt-engine-common-3.5.2.1-1.el7.centos.noarch
  ovirt-engine-websocket-proxy-3.5.2.1-1.el7.centos.noarch
  ovirt-host-deploy-java-1.3.1-1.el7.noarch
  ovirt-engine-reports-3.5.2-0.3.el7.centos.noarch
  ovirt-engine-dwh-setup-3.5.2-0.1.el7.centos.noarch
  ovirt-engine-tools-3.5.2.1-1.el7.centos.noarch
  ovirt-engine-setup-3.5.2.1-1.el7.centos.noarch
  ovirt-engine-restapi-3.5.2.1-1.el7.centos.noarch
  ovirt-engine-3.5.2.1-1.el7.centos.noarch
  ovirt-engine-setup-base-3.5.2.1-1.el7.centos.noarch
  ovirt-engine-setup-plugin-websocket-proxy-3.5.2.1-1.el7.centos.noarch
  ovirt-engine-reports-setup-3.5.2-0.3.el7.centos.noarch
  ovirt-engine-dwh-3.5.2-0.1.el7.centos.noarch
  ovirt-engine-dbscripts-3.5.2.1-1.el7.centos.noarch
  ovirt-engine-setup-plugin-ovirt-engine-3.5.2.1-1.el7.centos.noarch
  ovirt-engine-backend-3.5.2.1-1.el7.centos.noarch
  ovirt-iso-uploader-3.5.2-1.el7.centos.noarch
  ovirt-engine-extensions-api-impl-3.5.2.1-1.el7.centos.noarch
  ovirt-host-deploy-1.3.1-1.el7.noarch
  ovirt-engine-lib-3.5.2.1-1.el7.centos.noarch
 
 
  [1] http://www.ovirt.org/Fence_kdump
 
  --
  Daniel Helgenberger
  m box bewegtbild GmbH
 
  P: +49/30/2408781-22
  F: +49/30/2408781-10
 
  ACKERSTR. 19
  D-10115 BERLIN
 
 
  www.m-box.de  www.monkeymen.tv
 
  Geschäftsführer: Martin Retschitzegger / Michaela Göllner
  Handeslregister: Amtsgericht Charlottenburg / HRB 112767
  ___
  Users mailing list
  Users@ovirt.org
  http

Re: [ovirt-users] Getting kdump integration to work

2015-05-26 Thread Daniel Helgenberger


On 26.05.2015 10:54, Martin Perina wrote:
 Hi Daniel,
Hello Martin,


 - Original Message -
 From: Daniel Helgenberger daniel.helgenber...@m-box.de
 To: users@ovirt.org
 Sent: Tuesday, 26 May, 2015 10:45:34 AM
 Subject: [ovirt-users] Getting kdump integration to work

 Hello,

 I followed the feature's page [1] and added to my test hosts the
 following lines /etc/kdump:

 fence_kdump_nodes othernode-in-cluster
 fence_kdump_args -p 7410 -f auto -i 5

 Please don't do this, this is added automatically when you deploy
 you host using oVirt UI with Kdump integration enabled in PM tab
 of the host.


 Further, I added a firewall rule on both machines:
 -A INPUT -p udp --dport 7410 -j ACCEPT

 Same as above, this is needed only on engine hosts and it's done
 automatically during oVirt engine installation.


 and restarted kdump.

 Same as above, this is done automatically during host deploy.


 Yet I get on the engine's side:

 2015-05-26 10:41:54,113 WARN
 [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
 (ajp--127.0.0.1-8702-7) Correlation ID: null, Call Stack: null, Custom
 Event ID: -1, Message: Kdump integration is enabled for host 'hv02', but
 kdump is not configured properly on host.

 Could you please try to do it properly:

1. Put host to maintenance
2. Enable Kdump integration in PM tab
3. Reinstall the host (click Reinstall when you select the host in Hosts 
 tab)

Thanks! This procedure seem to work, engine reporting kdump as activated.
It was rather unclear to me, since I run hosted engine: After host 
deploy they are in the default state, no PM configured. Hence, kdump 
integration is disabled and will never activate since PM has to be 
configured in the first place to install.

Do you think it is a better idea to always activate kdump in the host 
deploy stage so it can later be activated correctly with PM configured?



 Thanks a lot

 Martin Perina
Cheers!


 Thanks!

 Versions:
 CentOS7.1 3.10.0-229.4.2.el7.x86_64 #1 SMP Wed May 13 10:06:09 UTC 2015
 x86_64 x86_64 x86_64 GNU/Linux

 ovirt-engine-cli-3.5.0.5-1.el7.centos.noarch
 ovirt-engine-userportal-3.5.2.1-1.el7.centos.noarch
 ovirt-engine-webadmin-portal-3.5.2.1-1.el7.centos.noarch
 ovirt-guest-agent-common-1.0.10-2.el7.noarch
 ovirt-engine-jboss-as-7.1.1-1.el7.x86_64
 ovirt-release35-004-1.noarch
 ovirt-engine-sdk-python-3.5.2.1-1.el7.centos.noarch
 ovirt-image-uploader-3.5.1-1.el7.centos.noarch
 ovirt-engine-setup-plugin-ovirt-engine-common-3.5.2.1-1.el7.centos.noarch
 ovirt-engine-websocket-proxy-3.5.2.1-1.el7.centos.noarch
 ovirt-host-deploy-java-1.3.1-1.el7.noarch
 ovirt-engine-reports-3.5.2-0.3.el7.centos.noarch
 ovirt-engine-dwh-setup-3.5.2-0.1.el7.centos.noarch
 ovirt-engine-tools-3.5.2.1-1.el7.centos.noarch
 ovirt-engine-setup-3.5.2.1-1.el7.centos.noarch
 ovirt-engine-restapi-3.5.2.1-1.el7.centos.noarch
 ovirt-engine-3.5.2.1-1.el7.centos.noarch
 ovirt-engine-setup-base-3.5.2.1-1.el7.centos.noarch
 ovirt-engine-setup-plugin-websocket-proxy-3.5.2.1-1.el7.centos.noarch
 ovirt-engine-reports-setup-3.5.2-0.3.el7.centos.noarch
 ovirt-engine-dwh-3.5.2-0.1.el7.centos.noarch
 ovirt-engine-dbscripts-3.5.2.1-1.el7.centos.noarch
 ovirt-engine-setup-plugin-ovirt-engine-3.5.2.1-1.el7.centos.noarch
 ovirt-engine-backend-3.5.2.1-1.el7.centos.noarch
 ovirt-iso-uploader-3.5.2-1.el7.centos.noarch
 ovirt-engine-extensions-api-impl-3.5.2.1-1.el7.centos.noarch
 ovirt-host-deploy-1.3.1-1.el7.noarch
 ovirt-engine-lib-3.5.2.1-1.el7.centos.noarch


 [1] http://www.ovirt.org/Fence_kdump

 --
 Daniel Helgenberger
 m box bewegtbild GmbH

 P: +49/30/2408781-22
 F: +49/30/2408781-10

 ACKERSTR. 19
 D-10115 BERLIN


 www.m-box.de  www.monkeymen.tv

 Geschäftsführer: Martin Retschitzegger / Michaela Göllner
 Handeslregister: Amtsgericht Charlottenburg / HRB 112767
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users



-- 
Daniel Helgenberger
m box bewegtbild GmbH

P: +49/30/2408781-22
F: +49/30/2408781-10

ACKERSTR. 19
D-10115 BERLIN


www.m-box.de  www.monkeymen.tv

Geschäftsführer: Martin Retschitzegger / Michaela Göllner
Handeslregister: Amtsgericht Charlottenburg / HRB 112767
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users