Re: problems relocating services

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

 



Hi,
I'm attaching to you my services configuration. If I disable a service on node1 and enable it on node2, it succesfully runs on the other node. So, aparently all scripts are installed on both nodes and functional.

Relocating a service do not appear nothing on the other node's log. So, must be a communications problem. Where can I start to search any problem related to this? Network seems to be ok, and I can do ssh between nodes. Sending pings with mtr -i 0.01 does not loose any packet.

Thanks,

Services:
               <service autostart="1" domain="projectes" name="projectes">
                       <fs ref="NFS_Ordal">
<fs device="/dev/vg_ordal/tdx" force_unmount="1" fstype="ext3" mountpoint="/projectes2/tdx" name="TDX" options=""> <fs device="/dev/padicat/dades.padicat" force_fsck="0" force_unmount="1" fstype="ext3" mountpoint="/projectes2/padicat" name="Dades padicat" options="" self_fence="0">
                                               <ip ref="192.168.12.203">
<script file="/etc/init.d/add.nfs.projectes" name="add.nfs.projectes"/>
                                               </ip>
                                       </fs>
                               </fs>
                       </fs>
               </service>
               <service autostart="1" domain="local" name="local">
                       <fs ref="NFS_usr_local">
                               <ip ref="192.168.12.204">
<script file="/etc/init.d/add.nfs.local" name="add.nfs.local"/>
                               </ip>
                       </fs>
               </service>
<service autostart="1" domain="mysql" exclusive="1" name="mysql">
                       <ip ref="192.168.12.201">
<fs device="/dev/vg_bbdd/mysql01" force_unmount="1" fstype="ext3" mountpoint="/CLUSTER/MySQL/mysql-5.0.20" name="mysql" options=""> <script file="/etc/init.d/mysqld" name="mysql"/>
                               </fs>
                       </ip>
               </service>
               <service autostart="1" domain="postgres" name="postgres">
                       <fs ref="Postgres">
                               <ip ref="192.168.12.202">
                                       <script ref="init.postgres"/>
                               </ip>
                       </fs>
               </service>


Lon Hohberger wrote:
On Wed, 2006-10-04 at 20:34 +0200, Jordi Prats wrote:
It appears to be running on both nodes:

# cat /proc/cluster/services
Service          Name                              GID LID State     Code
Fence Domain:    "default"                           1   2 run       -
[1 2]

DLM Lock Space:  "Magma"                             3   4 run       -
[1 2]

User:            "usrm::manager"                     2   3 run       -
[1 2]

# ccs_tool lsnode

Cluster name: dades, config_version: 76

Could you post your service blob?  If you're using a script, it might
not be installed on the other node.  When you do a "relocate", does
anything appear in the logs on the other node?

-- Lon

--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster




--
......................................................................
        __
       / /          Jordi Prats
 C E / S / C A      Dept. de Sistemes
     /_/            Centre de Supercomputació de Catalunya

 Gran Capità, 2-4 (Edifici Nexus) · 08034 Barcelona
 T. 93 205 6464 · F.  93 205 6979 · jprats@xxxxxxxx
......................................................................
--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster

[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux