How can I add child resources to my cluster.conf with ccs in RHEL 6?

Solution Unverified - Updated -

Issue

  • I need to add a child resource to an existing resource in my cluster.conf using the ccs command.
<service name="service_example" recovery="restart">          
        <script ref="script_resource">           
               <fs ref="fs_resource">  
                       <ip ref="192.168.100.1"/>   
               </fs> 
        </script>                     
</service>  
  • When I try to add a child resource to an existing resource in my cluster.conf using the ccs command I get the following error:
# ccs -h localhost --addsubservice ip2 ip_resource:ip ref=192.168.100.1              
Unable to find service ip[2] 

Environment

  • Red Hat Enterprise Linux Server 6 (with the High Availability Add on)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.