[ClusterLabs] <UNJUNKED> Re: duplicate node

gerry kernan gerry.kernan at infinityit.ie
Fri Dec 11 21:34:59 UTC 2015


Hi 
Tried removing the node with uuid ae4d76e7-af64-4d93-acdd-4d7b5c274eff but I get an error that the node is not present in the cib.

When I do a crm configure show the uuid is there
node $id="3b5d1061-8f68-4ab3-b169-e0ebe890c446" gat-voip-01.gdft.org node $id="ae4d76e7-af64-4d93-acdd-4d7b5c274eff" gat-voip-01.gdft.org \
	attributes standby="on"

is there any files I can edit manually to remove this or should I do complete erase of the config and start fresh.



Gerry 
-----Original Message-----
From: Dejan Muhamedagic [mailto:dejanmm at fastmail.fm] 
Sent: Thursday 10 December 2015 16:37
To: Cluster Labs - All topics related to open-source clustering welcomed <users at clusterlabs.org>
Subject: <UNJUNKED> Re: [ClusterLabs] duplicate node

Hi,

On Tue, Dec 08, 2015 at 09:17:27PM +0000, gerry kernan wrote:
> Hi
>  
> How would I remove a duplicate node, I have a 2 node setup , but on node is showing twice .  crm show configure below, node gat-voip-01.gdft.org is listed twice.
>  
>  
> node $id="0dc85a64-01ad-4fc5-81fd-698208a8322c" gat-voip-02\
>         attributes standby="on"
> node $id="3b5d1061-8f68-4ab3-b169-e0ebe890c446" gat-voip-01 node 
> $id="ae4d76e7-af64-4d93-acdd-4d7b5c274eff" gat-voip-01\
>         attributes standby="off"

First you need to figure out which one is the old uuid, then try:

# crm node delete <uuid>

This looks like heartbeat, there used to be a crm_uuid or something similar to read the uuid. There's also a uuid file somewhere in /var/lib/heartbeat.

Thanks,

Dejan

> primitive res_Filesystem_rep ocf:heartbeat:Filesystem \
>         params device="/dev/drbd0" directory="/rep" fstype="ext3" \
>         operations $id="res_Filesystem_rep-operations" \
>         op start interval="0" timeout="60" \
>         op stop interval="0" timeout="60" \
>         op monitor interval="20" timeout="40" start-delay="0" \
>         op notify interval="0" timeout="60" \
>         meta target-role="started" is-managed="true"
> primitive res_IPaddr2_northIP ocf:heartbeat:IPaddr2 \
>         params ip="10.75.29.10" cidr_netmask="26" \
>         operations $id="res_IPaddr2_northIP-operations" \
>         op start interval="0" timeout="20" \
>         op stop interval="0" timeout="20" \
>         op monitor interval="10" timeout="20" start-delay="0" \
>         meta target-role="started" is-managed="true"
> primitive res_IPaddr2_sipIP ocf:heartbeat:IPaddr2 \
>         params ip="158.255.224.226" nic="bond2" \
>         operations $id="res_IPaddr2_sipIP-operations" \
>         op start interval="0" timeout="20" \
>         op stop interval="0" timeout="20" \
>         op monitor interval="10" timeout="20" start-delay="0" \
>         meta target-role="started" is-managed="true"
> primitive res_asterisk_res_asterisk lsb:asterisk \
>         operations $id="res_asterisk_res_asterisk-operations" \
>         op start interval="0" timeout="15" \
>         op stop interval="0" timeout="15" \
>         op monitor interval="15" timeout="15" start-delay="15" \
>         meta target-role="started" is-managed="true"
> primitive res_drbd_1 ocf:linbit:drbd \
>         params drbd_resource="r0" \
>         operations $id="res_drbd_1-operations" \
>         op start interval="0" timeout="240" \
>         op promote interval="0" timeout="90" \
>         op demote interval="0" timeout="90" \
>         op stop interval="0" timeout="100" \
>         op monitor interval="10" timeout="20" start-delay="0" \
>         op notify interval="0" timeout="90"
> primitive res_httpd_res_httpd lsb:httpd \
>         operations $id="res_httpd_res_httpd-operations" \
>         op start interval="0" timeout="15" \
>         op stop interval="0" timeout="15" \
>         op monitor interval="15" timeout="15" start-delay="15" \
>         meta target-role="started" is-managed="true"
> primitive res_mysqld_res_mysql lsb:mysqld \
>         operations $id="res_mysqld_res_mysql-operations" \
>         op start interval="0" timeout="15" \
>         op stop interval="0" timeout="15" \
>         op monitor interval="15" timeout="15" start-delay="15" \
>         meta target-role="started"
> group asterisk res_Filesystem_rep res_IPaddr2_northIP 
> res_IPaddr2_sipIP res_mysqld_res_mysql res_httpd_res_httpd res_asterisk_res_asterisk ms ms_drbd_1 res_drbd_1 \
>         meta clone-max="2" notify="true" interleave="true" resource-stickiness="100"
> location loc_res_httpd_res_httpd_gat-voip-01.gdft.org asterisk inf: 
> gat-voip-01.gdft.org location 
> loc_res_mysqld_res_mysql_gat-voip-01.gdft.org asterisk inf: 
> gat-voip-01.gdft.org colocation col_res_Filesystem_rep_ms_drbd_1 inf: 
> asterisk ms_drbd_1:Master order ord_ms_drbd_1_res_Filesystem_rep inf: ms_drbd_1:promote asterisk:start property $id="cib-bootstrap-options" \
>         stonith-enabled="false" \
>         dc-version="1.0.12-unknown" \
>         no-quorum-policy="ignore" \
>         cluster-infrastructure="Heartbeat" \
>         last-lrm-refresh="1345727614"
>  
>  
>  
> Gerry Kernan
>  
>  
> Infinity IT   |   17 The Mall   |   Beacon Court   |   Sandyford   |   Dublin D18 E3C8   |   Ireland
> Tel:  +353 - (0)1 - 293 0090   |   E-Mail:  gerry.kernan at infinityit.ie
>  
> Managed IT Services       Infinity IT - www.infinityit.ie
> IP Telephony                    Asterisk Consulting - www.asteriskconsulting.com
> Contact Centre                Total Interact - www.totalinteract.com
>  



> _______________________________________________
> Users mailing list: Users at clusterlabs.org 
> http://clusterlabs.org/mailman/listinfo/users
> 
> Project Home: http://www.clusterlabs.org Getting started: 
> http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org


_______________________________________________
Users mailing list: Users at clusterlabs.org http://clusterlabs.org/mailman/listinfo/users

Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org





More information about the Users mailing list