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

[Linux-cluster] Unique attribute collision.



 

 

dear sir
 
i had configured  my system with RHCS 4U5 with 10 node , i created all resources without any problems , and when i create the first service its work well,but when i create the second service and more i get the following error msg from /var/log/messages :

# tail -f /var/log/messages

May 13 13:56:24 MENCS01 ccsd[21824]: Starting ccsd 1.0.10:

May 13 13:56:24 MENCS01 ccsd[21824]:  Built: Mar 19 2007 17:44:46

May 13 13:56:24 MENCS01 ccsd[21824]:  Copyright (C) Red Hat, Inc.  2004  All rights reserved.

May 13 13:56:24 MENCS01 ccsd[21824]: Connected to cluster infrastruture via: CMAN/SM Plugin v1.1.7.4

May 13 13:56:24 MENCS01 ccsd[21824]: Initial status:: Quorate

May 13 13:56:24 MENCS01 ccsd:  succeeded

May 13 13:56:28 MENCS01 ccsd[21824]: cluster.conf (cluster name = ClustGrp1, version = 323) found.

May 13 13:56:28 MENCS01 ccsd[21824]: Remote copy of cluster.conf is from quorate node.

May 13 13:56:28 MENCS01 ccsd[21824]:  Local version # : 323

May 13 13:56:28 MENCS01 ccsd[21824]:  Remote version #: 323

May 13 13:56:28 MENCS01 cman: startup succeeded

May 13 13:56:32 MENCS01 clurgmgrd[21863]: <notice> Resource Group Manager Starting

May 13 13:56:32 MENCS01 clurgmgrd[21863]: <info> Loading Service Data

May 13 13:56:32 MENCS01 clurgmgrd[21863]: <err> Unique attribute collision. type=fs attr=mountpoint value=/Images

May 13 13:56:32 MENCS01 clurgmgrd[21863]: <err> Error storing fs resource

May 13 13:56:32 MENCS01 clurgmgrd[21863]: <err> Unique attribute collision. type=fs attr=mountpoint value=/var/lib/mysql

May 13 13:56:32 MENCS01 clurgmgrd[21863]: <err> Error storing fs resource

May 13 13:56:32 MENCS01 clurgmgrd[21863]: <err> Unique attribute collision. type=fs attr=mountpoint value=/Images

May 13 13:56:32 MENCS01 clurgmgrd[21863]: <err> Error storing fs resource

May 13 13:56:32 MENCS01 clurgmgrd[21863]: <err> Unique attribute collision. type=fs attr=mountpoint value=/var/lib/mysql

May 13 13:56:32 MENCS01 clurgmgrd[21863]: <err> Error storing fs resource

May 13 13:56:32 MENCS01 clurgmgrd[21863]: <err> Unique attribute collision. type=fs attr=mountpoint value=/Images

May 13 13:56:32 MENCS01 clurgmgrd[21863]: <err> Error storing fs resource

May 13 13:56:32 MENCS01 clurgmgrd[21863]: <err> Unique attribute collision. type=fs attr=mountpoint value=/var/lib/mysql

May 13 13:56:32 MENCS01 clurgmgrd[21863]: <err> Error storing fs resource

May 13 13:56:32 MENCS01 clurgmgrd[21863]: <err> Unique attribute collision. type=fs attr=mountpoint value=/Images

May 13 13:56:32 MENCS01 clurgmgrd[21863]: <err> Error storing fs resource

May 13 13:56:32 MENCS01 clurgmgrd[21863]: <err> Unique attribute collision. type=fs attr=mountpoint value=/var/lib/mysql

May 13 13:56:32 MENCS01 clurgmgrd[21863]: <err> Error storing fs resource

May 13 13:56:32 MENCS01 clurgmgrd[21863]: <err> Unique attribute collision. type=fs attr=mountpoint value=/Images

May 13 13:56:32 MENCS01 clurgmgrd[21863]: <err> Error storing fs resource

May 13 13:56:32 MENCS01 clurgmgrd[21863]: <err> Unique attribute collision. type=fs attr=mountpoint value=/var/lib/mysql

May 13 13:56:32 MENCS01 clurgmgrd[21863]: <err> Error storing fs resource

May 13 13:56:32 MENCS01 clurgmgrd[21863]: <err> Unique attribute collision. type=fs attr=mountpoint value=/Images

May 13 13:56:32 MENCS01 clurgmgrd[21863]: <err> Error storing fs resource

May 13 13:56:32 MENCS01 clurgmgrd[21863]: <err> Unique attribute collision. type=fs attr=mountpoint value=/var/lib/mysql

 

 

 

 

and the services ignore all file system resources !!!!
 
my case is to implement 10 node with many redhat cluster services which each service will run exclusively on any node and each service in cluster have the following resources :
- different two LVM
-two file systems to mount LVM on different two folders
-scripts   
 
each File system Resources should mount to the same location (Ex: /Images) as you see in the following snap of cluster.conf file ..
<?xml version="1.0"?>

<cluster alias="ClustGrp1" config_version="323" name="ClustGrp1">

      <fence_daemon post_fail_delay="0" post_join_delay="3"/>

      <clusternodes>

            <clusternode name="MENCS01" votes="1">

                  <fence/>

            </clusternode>

            <clusternode name="MENCS02" votes="1">

                  <fence/>

            </clusternode>

            <clusternode name="MENCS03" votes="1">

                  <fence/>

            </clusternode>

            <clusternode name="MENCS04" votes="1">

                  <fence/>

            </clusternode>

            <clusternode name="MENCS05" votes="1">

                  <fence/>

            </clusternode>

            <clusternode name="MENCS11" votes="1">

                  <fence/>

            </clusternode>

            <clusternode name="MENCS12" votes="1">

                  <fence/>

            </clusternode>

            <clusternode name="MENCS13" votes="1">

                  <fence/>

            </clusternode>

            <clusternode name="MENCS15" votes="1">

                  <fence/>

            </clusternode>

            <clusternode name="MENBS01" votes="1">

                  <fence/>

            </clusternode>

            <clusternode name="MENBS02" votes="1">

                  <fence/>

            </clusternode>

      </clusternodes>

      <cman/>

      <fencedevices/>

      <rm>

            <failoverdomains>

                  <failoverdomain name="ClustFailover" ordered="0" restricted="1">

                        <failoverdomainnode name="MENBS01" priority="1"/>

                        <failoverdomainnode name="MENBS02" priority="1"/>

                  </failoverdomain>

            </failoverdomains>

            <resources>

                  <ip address="10.10.103.111" monitor_link="1"/>

                  <ip address="10.10.103.112" monitor_link="1"/>

                  <ip address="10.10.103.113" monitor_link="1"/>

                  <ip address="10.10.103.114" monitor_link="1"/>

                  <ip address="10.10.103.115" monitor_link="1"/>

                  <ip address="10.10.103.116" monitor_link="1"/>

                  <ip address="10.10.103.117" monitor_link="1"/>

                  <ip address="10.10.103.118" monitor_link="1"/>

                  <ip address="10.10.103.119" monitor_link="1"/>

                  <ip address="10.10.103.120" monitor_link="1"/>

                  <lvm lv_name="mencs02lv" name="MENCS02lvm" vg_name="mencs02vg"/>

                  <lvm lv_name="mencs02sqllv" name="mencs02sqllvm" vg_name="mencs02sqlvg"/>

                  <lvm lv_name="mencs03lv" name="MENCS03lvm" vg_name="mencs03vg"/>

                  <lvm lv_name="mencs03sqllv" name="mencs03sqllvm" vg_name="mencs03sqlvg"/>

                  <lvm lv_name="mencs04lv" name="MENCS04lvm" vg_name="mencs04vg"/>

                  <lvm lv_name="mencs04sqllv" name="mencs04sqllvm" vg_name="mencs04sqlvg"/>

                  <lvm lv_name="mencs05lv" name="MENCS05lvm" vg_name="mencs05vg"/>

                  <lvm lv_name="mencs05sqllv" name="mencs05sqllvm" vg_name="mencs05sqlvg"/>

                  <lvm lv_name="mencs11lv" name="MENCS11lvm" vg_name="mencs11vg"/>

                  <lvm lv_name="mencs11sqllv" name="mencs11sqllvm" vg_name="mencs11sqlvg"/>

                  <lvm lv_name="mencs12lv" name="MENCS12lvm" vg_name="mencs12vg"/>

                  <lvm lv_name="mencs12sqllv" name="mencs12sqllvm" vg_name="mencs12sqlvg"/>

                  <lvm lv_name="mencs13lv" name="MENCS13lvm" vg_name="mencs13vg"/>

                  <lvm lv_name="mencs13sqllv" name="mencs13sqllvm" vg_name="mencs13sqlvg"/>

                  <lvm lv_name="mencs14lv" name="MENCS14lvm" vg_name="mencs14vg"/>

                  <lvm lv_name="mencs14sqllv" name="mencs14sqllvm" vg_name="mencs14sqlvg"/>

                  <lvm lv_name="mencs15lv" name="MENCS15lvm" vg_name="mencs15vg"/>

                  <lvm lv_name="mencs15sqllv" name="mencs15sqllvm" vg_name="mencs15sqlvg"/>

                  <fs device="/dev/mencs02vg/mencs02lv" force_fsck="0" force_unmount="1" fsid="55922" fstype="ext3" mountpoint="/Images" name="MENCS02fs" options="" self_fence="0"/>

                  <fs device="/dev/mencs02sqlvg/mencs02sqllv" force_fsck="0" force_unmount="1" fsid="47577" fstype="ext3" mountpoint="/var/lib/mysql" name="MENCS02sqlfs" options="" self_fence="0"/>

                  <fs device="/dev/mencs04vg/mencs04lv" force_fsck="0" force_unmount="1" fsid="4940" fstype="ext3" mountpoint="/Images" name="MENCS04fs" options="" self_fence="0"/>

                  <fs device="/dev/mencs04sqlvg/mencs04sqllv" force_fsck="0" force_unmount="1" fsid="3795" fstype="ext3" mountpoint="/var/lib/mysql" name="MENCS04sqlfs" options="" self_fence="0"/>

                  <fs device="/dev/mencs05vg/mencs05lv" force_fsck="0" force_unmount="1" fsid="52471" fstype="ext3" mountpoint="/Images" name="MENCS05fs" options="" self_fence="0"/>

                  <fs device="/dev/mencs05sqlvg/mencs05sqllv" force_fsck="0" force_unmount="1" fsid="52206" fstype="ext3" mountpoint="/var/lib/mysql" name="MENFS05sqlfs" options="" self_fence="0"/>

                  <fs device="/dev/mencs11vg/mencs11lv" force_fsck="0" force_unmount="1" fsid="846" fstype="ext3" mountpoint="/Images" name="MENCS11fs" options="" self_fence="0"/>

                  <fs device="/dev/mencs11sqlvg/mencs11sqllv" force_fsck="0" force_unmount="1" fsid="30665" fstype="ext3" mountpoint="/var/lib/mysql" name="mencs11sqlfs" options="" self_fence="0"/>

                  <fs device="/dev/mencs012vg/mencs12lv" force_fsck="0" force_unmount="1" fsid="48407" fstype="ext3" mountpoint="/Images" name="MENCS12fs" options="" self_fence="0"/>

                  <fs device="/dev/mencs012sqlvg/mencs012sqllv" force_fsck="0" force_unmount="1" fsid="45677" fstype="ext3" mountpoint="/var/lib/mysql" name="MENCS12sqlfs" options="" self_fence="0"/>

                  <fs device="/dev/mencs13vg/mencs13lv" force_fsck="0" force_unmount="1" fsid="55072" fstype="ext3" mountpoint="/Images" name="MENCS13fs" options="" self_fence="0"/>

                  <fs device="/dev/mencs13sqlvg/mencs13sqllvs" force_fsck="0" force_unmount="1" fsid="25032" fstype="ext3" mountpoint="/var/lib/mysql" name="MENCS13sqlfs" options="" self_fence="0"/>

                  <fs device="/dev/mencs15vg/mencs15lv" force_fsck="0" force_unmount="1" fsid="43922" fstype="ext3" mountpoint="/Images" name="MENCS15fs" options="rw" self_fence="0"/>

                  <fs device="/dev/mencs15sqlvg/mencs15sqllv" force_fsck="0" force_unmount="1" fsid="33493" fstype="ext3" mountpoint="/var/lib/mysql" name="MENCS15sqlfs" options="rw" self_fence="0"/>

            </resources>

            <service autostart="0" exclusive="1" name="MENCS01srv" recovery="relocate">

                  <ip ref="10.10.103.111"/>

            </service>

            <service autostart="0" exclusive="1" name="MENCS02srv" recovery="relocate">

                  <ip ref="10.10.103.112">

                        <lvm ref="MENCS02lvm">

                              <fs ref="MENCS02fs"/>

                        </lvm>

                        <lvm ref="mencs02sqllvm">

                              <fs ref="MENCS02sqlfs"/>

                        </lvm>

                  </ip>

            </service>

            <service autostart="0" exclusive="1" name="MENCS03srv" recovery="relocate">

                  <ip ref="10.10.103.113"/>

            </service>

            <service autostart="1" exclusive="1" name="MENCS04srv" recovery="relocate">

                  <ip ref="10.10.103.114">

                        <lvm ref="MENCS04lvm">

                              <fs ref="MENCS04fs"/>

                        </lvm>

                        <lvm ref="mencs04sqllvm">

                              <fs ref="MENCS04sqlfs"/>

                        </lvm>

                  </ip>

            </service>

            <service autostart="0" exclusive="1" name="MENCS05srv" recovery="relocate">

                  <ip ref="10.10.103.115">

                        <lvm ref="MENCS05lvm">

                              <fs ref="MENCS05fs"/>

                        </lvm>

                        <lvm ref="mencs05sqllvm">

                              <fs ref="MENFS05sqlfs"/>

                        </lvm>

                  </ip>

            </service>

            <service autostart="0" exclusive="1" name="MENCS11srv" recovery="relocate">

                  <ip ref="10.10.103.116">

                        <lvm ref="MENCS11lvm">

                              <fs ref="MENCS11fs"/>

                        </lvm>

                        <lvm ref="mencs11sqllvm">

                              <fs ref="mencs11sqlfs"/>

                        </lvm>

                  </ip>

            </service>

            <service autostart="0" exclusive="1" name="MENCS12srv" recovery="relocate">

                  <ip ref="10.10.103.117">

                        <lvm ref="MENCS12lvm">

                              <fs ref="MENCS12fs"/>

                        </lvm>

                        <lvm ref="mencs12sqllvm">

                              <fs ref="MENCS12sqlfs"/>

                        </lvm>

                  </ip>

            </service>

            <service autostart="0" exclusive="1" name="MENCS13srv" recovery="relocate">

                  <ip ref="10.10.103.118">

                        <lvm ref="MENCS13lvm">

                              <fs ref="MENCS13fs"/>

                        </lvm>

                        <lvm ref="mencs13sqllvm">

                              <fs ref="MENCS13sqlfs"/>

                        </lvm>

                  </ip>

            </service>

            <service autostart="0" exclusive="1" name="MENCS14srv" recovery="relocate">

                  <ip ref="10.10.103.119"/>

            </service>

            <service autostart="0" exclusive="1" name="MENCS15srv" recovery="relocate">

                  <ip ref="10.10.103.120"/>

                  <lvm ref="MENCS15lvm"/>

                  <lvm ref="mencs15sqllvm"/>

                  <fs ref="MENCS15fs"/>

                  <fs ref="MENCS15sqlfs"/>

            </service>

      </rm>

</cluster>

 

 


 
Best Regards


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