`clusvcadm -e service-name` fails to enable the cluster service with the error "Invalid operation for resource".

Solution Verified - Updated -

Issue

  • clusvcadm -e service-name fails to enable the cluster service in a two node cluster with the error "Invalid operation for resource"
    Cluster services are configured as follows. Cluster service service3 is failing to start.
                <service autostart="1" exclusive="1" max_restarts="3" name="service1" recovery="restart" restart_expire_time="30">
                        <script ref="script1"/>
                </service>
                <service autostart="1" exclusive="1" max_restarts="3" name="service2" recovery="restart" restart_expire_time="30">
                        <script ref="script2"/>
                </service>
                <service autostart="1" domain="Domain0" exclusive="0" name="service3" recovery="relocate">
                        <script ref="script3"/>
                </service>

Cluster service is failing to start with the below mentioned error.

# clusvcadm -e service3
Local machine trying to enable service:service3...Invalid operation for resource

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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content