Bug 692913 - ccs --addresource usage unclear
Summary: ccs --addresource usage unclear
Keywords:
Status: CLOSED DUPLICATE of bug 614647
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: ricci
Version: 6.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Chris Feist
QA Contact: Cluster QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-01 16:01 UTC by Brian Brock
Modified: 2011-04-05 23:46 UTC (History)
1 user (show)

Fixed In Version: ricci-0.16.2-34.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-04-05 23:46:28 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Brian Brock 2011-04-01 16:01:52 UTC
The description of how to use ccs --addresource doesn't seem complete.  There is a limited number of specific arguments accepted, but those arguments are undocumented.

man page:
     --addresource <resource type> [resource options] ...
              Add resources to the cluster

--help:
      --addresource <resource type> [resource options] ...
                        Add resources to the cluster


ccs-0.16.2-33.el6

run `ccs --help` or `man ccs` on a system with ccs installed to reproduce


Expected results:
list of arguments accepted by ccs (at least in the man page)

Comment 2 RHEL Program Management 2011-04-04 02:15:39 UTC
Since RHEL 6.1 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.

Red Hat invites you to ask your support representative to
propose this request, if appropriate and relevant, in the
next release of Red Hat Enterprise Linux.

Comment 4 RHEL Program Management 2011-04-05 23:43:30 UTC
Since RHEL 6.1 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.

Red Hat invites you to ask your support representative to
propose this request, if appropriate and relevant, in the
next release of Red Hat Enterprise Linux.

Comment 5 Chris Feist 2011-04-05 23:45:00 UTC
Unfortunately there are too many options to list, however, I did update the man page and --help output to recommend a location in the online documentation for resources/subservices & fence instances.


      --addresource <resource type> [resource options] ...
                        Add global cluster resources to the cluster
                        Resource types and variables can be found in the
                        online documentation under 'HA Resource Parameters'


      --addsubservice <servicename> <subservice> [service options] ...
                        Add individual subservices, if adding child services,
                        use ':' to separate parent and child subservices
                        and brackets to identify subservices of the same type

                        Subservice types and variables can be found in the
                        online documentation in 'HA Resource Parameters'

                        To add a nfsclient subservice as a child of the 2nd
                        nfsclient subservice in the 'service_a' service use
                        the following example: --addsubservice service_a \
                                               nfsclient[1]:nfsclient \
                                               ref=/test


In notes in man page:

NOTES
       Fence Device Parameters http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Cluster_Administration/ap-fence-device-param-CA.html
       HA Resource Parameters http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Cluster_Administration/ap-ha-resource-params-CA.html

Comment 6 Chris Feist 2011-04-05 23:46:28 UTC
Rolling into main CLI bz.

*** This bug has been marked as a duplicate of bug 614647 ***


Note You need to log in before you can comment on or make changes to this bug.