----- Original Message -----
> From: "Jakob Curdes" <[email protected]>
> To: "General Linux-HA mailing list" <[email protected]>
> Sent: Sunday, June 30, 2013 6:04:58 AM
> Subject: [Linux-HA] PCS and ping resources?
> 
> Hello, I have configured a cluster on CentOS 6.x using PCS. All fine,
> but I miss the information how to create ping primitives and use them to
> ensure connectivity for the active machine.
> With crmsh this was done configuring a ocf:pacemaker:ping primitive and
> a clone; I could not figure out how to do this with PCS.

$ pcs resource help
.
.
.
    create <resource id> <class:provider:type|type> [resource options]
           [op <operation action> <operation options> [<operation action>
           <operation options>]...] [meta <meta options>...] [--clone|--master]
        Create specified resource.  If --clone is used a clone resource is
        created (with options specified by --cloneopt <clone_option>=<value>),
        if --master is specified a master/slave resource is created.
.
.
.

I'm guessing the following would work.

$ pcs resource pingrsc ping --clone


-- Vossel

> I could not
> find any document describing this. Did I miss something?
> 
> Regards,
> Jakob Curdes
> 
> 
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
> 
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to