Re: [ClusterLabs] Cluster from scratch - 7.6. Configure the Cluster for the DRBD device

2018-07-05 Thread Ken Gaillot
On Tue, 2018-07-03 at 16:06 +0200, cont...@eplex.eu wrote:
> Hi everyone
> I followed step by step this tutorial http://clusterlabs.org/pacemake
> r/doc/en-US/Pacemaker/1.1/pdf/Clusters_from_Scratch/Pacemaker-1.1-
> Clusters_from_Scratch-en-US.pdf and 
> I have stuck on this point and I'm looking for a help with this
>  
> after I run this command:
> pcs -f drbd_cfg resource create WebData2 ocf:linbit:drbd
> drbd_resource=wwwdata op monitor interval=60s
> I get error like below
> Error: Agent 'ocf:linbit:drbd' is not installed or does not provide
> valid metadata: Metadata query for ocf:linbit:drbd failed:
> Input/output error, use --force to override
> To this point everything works fine
> Maciek

After doing "7.1. Install the DRBD Packages", you should be able to
verify that /usr/lib/ocf/resource.d/linbit/drbd exists. I believe the
note about the version shipped with CentOS 7.1 is no longer an issue
with recent versions.
-- 
Ken Gaillot 
___
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


[ClusterLabs] Cluster from scratch - 7.6. Configure the Cluster for the DRBD device

2018-07-05 Thread cont...@eplex.eu
Hi everyone
I followed step by step this tutorial
http://clusterlabs.org/pacemaker/doc/en-US/Pacemaker/1.1/pdf/Clusters_from_Scratch/Pacemaker-1.1-Clusters_from_Scratch-en-US.pdf
and 
I have stuck on this point and I'm looking for a help with this
 
after I run this command:

pcs -f drbd_cfg resource create WebData2 ocf:linbit:drbd drbd_resource=wwwdata
op monitor interval=60s

I get error like below
Error: Agent 'ocf:linbit:drbd' is not installed or does not provide valid
metadata: Metadata query for ocf:linbit:drbd failed: Input/output error, use
--force to override

To this point everything works fine

Maciek

 ___
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