HomeClusterLabs Projects

High: doc: Add pcs to man page example section

Description

High: doc: Add pcs to man page example section

PCS and CRM SHELL now have their own example sections in the
resource-agent man pages. Below is an example of the CRM SHELL
and PCS examples for the IPaddr2 agent.

EXAMPLE CRM SHELL

The following is an example configuration for a IPaddr2 resource using the crm(8) shell:

    primitive p_IPaddr2 ocf:heartbeat:IPaddr2 \
      params \
        ip=string \
      op monitor depth="0" timeout="20s" interval="10s"

EXAMPLE PCS

The following is an example configuration for a IPaddr2 resource using pcs(8)

    pcs resource create p_IPaddr2 ocf:heartbeat:IPaddr2 \
      ip=string \
      op monitor depth="0" timeout="20s" interval="10s"

Details

Provenance
David Vossel <dvossel@redhat.com>Authored on Aug 25 2014, 2:31 PM
Parents
rRbeb89af9fd9b: Merge pull request #485 from davidvossel/exit-msg
Branches
Unknown
Tags
Unknown

Event Timeline