Re: [ClusterLabs] Change SBD Disk to VCenter Stonith

2019-02-22 Thread Klaus Wenninger
On 02/22/2019 09:03 AM, Dileep V Nair wrote:
>
> Hello Klaus,
>
> Thanks for the suggestion. I tried both ways, but even then pacemaker
> service is not starting because there is a dependency on SBD service,
> which does not start without the SBD disk. I am planning to try
> uninstalling SBD service itself and see if that removes the
> dependency. Any suggestion on how to remove the dependency without
> actually uninstalling service will be helpful.
>

Interesting ... with any reference to the disk removed from sbd-config
sbd-service should
come up in watchdog-only-mode (well in your VMware case without a
hardware-watchdog
just using the loop of sbd-inquisitor ...) ... and disabling sbd-service
should make
systemd (assuming you are on a systemd-based distribution) not require
SBD to come
up before it starts pacemaker.

Klaus
>
>
> Thanks & Regards
> *
> Dileep Nair*
> Squad Lead - SAP Base
> Togaf Certified Enterprise Architect
> IBM Services for Managed Applications
> +91 98450 22258 Mobile
> dilen...@in.ibm.com
>
> IBM *Services*
>
>
> Inactive hide details for Klaus Wenninger ---02/22/2019 12:25:22
> PM---On 02/22/2019 06:24 AM, Dileep V Nair wrote: >Klaus Wenninger
> ---02/22/2019 12:25:22 PM---On 02/22/2019 06:24 AM, Dileep V Nair wrote: >
>
> From: Klaus Wenninger 
> To: Cluster Labs - All topics related to open-source clustering
> welcomed , Dileep V Nair 
> Date: 02/22/2019 12:25 PM
> Subject: Re: [ClusterLabs] Change SBD Disk to VCenter Stonith
>
> 
>
>
>
> On 02/22/2019 06:24 AM, Dileep V Nair wrote:
>
> Hi,
>
> I have a running cluster with Stonith configured as SBD. Now I
> would like to remove the SBD disks and move to VCenter
> Stonith. After removing the SBD disk, I am not able to start
> pacemaker because of the dependant SBD service which was
> configured during ha-cluster-init. What is the best way to
> remove SBD disk from the VM. 
>
>
> The other way round would probably be more handy like first remove SBD
> configuration and
> afterwards remove the disk from the VM.
> But I guess it would probably be quickest to remove the disk from the
> SBD-config-file
> (e.g. /etc/sysconfig/sbd) to get pacemaker-service up again. Or you
> just disable SBD-service
> (e.g. systemctl disable sbd). In both cases the SBD fencing resource
> would probably moan
> on monitoring but that shouldn't prevent you from adapting the stonith
> configuration.
>
> Klaus
>
>
>
> Thanks & Regards*
>
> Dileep Nair*
> Squad Lead - SAP Base
> Togaf Certified Enterprise Architect
> IBM Services for Managed Applications
> +91 98450 22258 Mobile_
> __dilen...@in.ibm.com_ <mailto:dilen...@in.ibm.com>
>
> IBM *Services*
>
>
> ___
> Users mailing list: _Users@clusterlabs.org_
> <mailto:Users@clusterlabs.org>
> _https://lists.clusterlabs.org/mailman/listinfo/users_
>
> Project Home: _http://www.clusterlabs.org_
> Getting started:
> _http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf_
> Bugs: _http://bugs.clusterlabs.org_
>
>
>

___
Users mailing list: Users@clusterlabs.org
https://lists.clusterlabs.org/mailman/listinfo/users

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


Re: [ClusterLabs] Change SBD Disk to VCenter Stonith

2019-02-22 Thread Dileep V Nair

Hello Klaus,

Thanks for the suggestion. I tried both ways, but even then pacemaker
service is not starting because there is a dependency on SBD service, which
does not start without the SBD disk. I am planning to try uninstalling SBD
service itself and see if that removes the dependency. Any suggestion on
how to remove the dependency without actually uninstalling service will be
helpful.

Thanks & Regards

Dileep Nair
Squad Lead - SAP Base
Togaf Certified Enterprise Architect
IBM Services for Managed Applications
+91 98450 22258 Mobile
dilen...@in.ibm.com

IBM Services




From:   Klaus Wenninger 
To: Cluster Labs - All topics related to open-source clustering
welcomed , Dileep V Nair

Date:   02/22/2019 12:25 PM
Subject:    Re: [ClusterLabs] Change SBD Disk to VCenter Stonith



On 02/22/2019 06:24 AM, Dileep V Nair wrote:


  Hi,

  I have a running cluster with Stonith configured as SBD. Now I would
  like to remove the SBD disks and move to VCenter Stonith. After
  removing the SBD disk, I am not able to start pacemaker because of
  the dependant SBD service which was configured during
  ha-cluster-init. What is the best way to remove SBD disk from the VM.



The other way round would probably be more handy like first remove SBD
configuration and
afterwards remove the disk from the VM.
But I guess it would probably be quickest to remove the disk from the
SBD-config-file
(e.g. /etc/sysconfig/sbd) to get pacemaker-service up again. Or you just
disable SBD-service
(e.g. systemctl disable sbd). In both cases the SBD fencing resource would
probably moan
on monitoring but that shouldn't prevent you from adapting the stonith
configuration.

Klaus





  Thanks & Regards

  Dileep Nair
  Squad Lead - SAP Base
  Togaf Certified Enterprise Architect
  IBM Services for Managed Applications
  +91 98450 22258 Mobile
  dilen...@in.ibm.com

  IBM Services





  ___
  Users mailing list: Users@clusterlabs.org
  https://lists.clusterlabs.org/mailman/listinfo/users

  Project Home: http://www.clusterlabs.org
  Getting started:
  http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
  Bugs: http://bugs.clusterlabs.org













___
Users mailing list: Users@clusterlabs.org
https://lists.clusterlabs.org/mailman/listinfo/users

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


Re: [ClusterLabs] Change SBD Disk to VCenter Stonith

2019-02-21 Thread Klaus Wenninger
On 02/22/2019 06:24 AM, Dileep V Nair wrote:
>
> Hi,
>
> I have a running cluster with Stonith configured as SBD. Now I would
> like to remove the SBD disks and move to VCenter Stonith. After
> removing the SBD disk, I am not able to start pacemaker because of the
> dependant SBD service which was configured during ha-cluster-init.
> What is the best way to remove SBD disk from the VM.
>

The other way round would probably be more handy like first remove SBD
configuration and
afterwards remove the disk from the VM.
But I guess it would probably be quickest to remove the disk from the
SBD-config-file
(e.g. /etc/sysconfig/sbd) to get pacemaker-service up again. Or you just
disable SBD-service
(e.g. systemctl disable sbd). In both cases the SBD fencing resource
would probably moan
on monitoring but that shouldn't prevent you from adapting the stonith
configuration.

Klaus

>
>
> Thanks & Regards
> *
> Dileep Nair*
> Squad Lead - SAP Base
> Togaf Certified Enterprise Architect
> IBM Services for Managed Applications
> +91 98450 22258 Mobile
> dilen...@in.ibm.com
>
> IBM *Services*
>
>
>
> ___
> Users mailing list: Users@clusterlabs.org
> https://lists.clusterlabs.org/mailman/listinfo/users
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org


___
Users mailing list: Users@clusterlabs.org
https://lists.clusterlabs.org/mailman/listinfo/users

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org