`clusvcadm -e service-name` fails to enable the cluster service with the error "Invalid operation for resource".
Issue
clusvcadm -e service-namefails to enable the cluster service in a two node cluster with the error "Invalid operation for resource"
Cluster services are configured as follows. Cluster serviceservice3is 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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
