When trying to start a Service in RHEL Cluster:
[root@node2 ~]# clusvcadm -r SQL_SG
Trying to relocate service:SQL_SG...Failed; service running on original owner
[root@node2 ~]#
If you encounter the above message. The possible cause is.
cat /etc/cluster/cluster.conf
<service domain="Webserver_FA" exclusive="1" name="Webserver_SG" recovery="relocate">
<service domain="SQL_FA" exclusive="1" name="SQL_SG" recovery="relocate">
From the above we can see the cluster is configured to run 2 different services in Exclusive mode, Which is not possible on RHEL. So at a give time on cluster we can only only exclusive service.
So, You can disable exclusive option for SQL_SG and start it or make SQL_SG as a part of Webserver_SG.
Service Name Owner (Last) State
------- ---- ----- ------ -----
service:SQL_SG (none) stopped
service:Webserver_SG node1 started
[root@node2 ~]# clusvcadm -r SQL_SG
Trying to relocate service:SQL_SG...Failed; service running on original owner
[root@node2 ~]#
If you encounter the above message. The possible cause is.
cat /etc/cluster/cluster.conf
<service domain="Webserver_FA" exclusive="1" name="Webserver_SG" recovery="relocate">
<service domain="SQL_FA" exclusive="1" name="SQL_SG" recovery="relocate">
From the above we can see the cluster is configured to run 2 different services in Exclusive mode, Which is not possible on RHEL. So at a give time on cluster we can only only exclusive service.
So, You can disable exclusive option for SQL_SG and start it or make SQL_SG as a part of Webserver_SG.
Service Name Owner (Last) State
------- ---- ----- ------ -----
service:SQL_SG (none) stopped
service:Webserver_SG node1 started
Service Name Owner (Last) State
------- ---- ----- ------ -----
service:SQL_SG node2 started
service:Webserver_SG node1 started
Having the same error for a different reason unfortunately. No exclusivities, still getting "Failed; service running on original owner" for no apparent reason.
ReplyDelete