[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Linux-cluster] service can not be relocated

Hi all,

Httpd service can not be relocated when I performed the command as follows:

# clusvcadm -r httpd
Trying to relocate service:httpd...Failure
service:httpd is now running on node02

Here are cluster status:
Member Status: Quorate

  Member Name                        ID   Status
  ------ ----                        ---- ------
  node01                                1 Online, Local, rgmanager
  node02                                2 Online, rgmanager

  Service Name         Owner (Last)                   State
  ------- ----         ----- ------                   -----
  service:httpd        node02                         started


Here are the context of cluster.conf:
<?xml version="1.0" ?>
<cluster alias="web_cluster" config_version="5" name="web_cluster">
        <fence_daemon post_fail_delay="0" post_join_delay="3"/>
                <clusternode name="node01" nodeid="1" votes="1">
                                <method name="1">
                                        <device name="manual" nodename="node01"/>
                <clusternode name="node02" nodeid="2" votes="1">
                                <method name="1">
                                        <device name="manual" nodename="node02"/>
        <cman expected_votes="1" two_node="1"/>
                <fencedevice agent="fence_manual" name="manual"/>
                        <failoverdomain name="web" ordered="0" restricted="0">
                                <failoverdomainnode name="node01" priority="1"/>
                                <failoverdomainnode name="node02" priority="1"/>
                        <ip address="" monitor_link="1"/>
                        <script file="/etc/init.d/httpd" name="httpd"/>
                        <clusterfs device="/dev/gnbd/gfs" force_unmount="1" fsid="57107" fstype="gfs" mountpoint="/media/gfs" name="gnbd_storage" options=""/>
                <service autostart="0" domain="web" name="httpd" recovery="relocate">
                        <ip ref="">
                                <script ref="httpd"/>
                                <clusterfs ref="gnbd_storage"/>

Any help would be greatly appreciated.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]