[Pacemaker] Renumbering cluster

Andrew Beekhof andrew at beekhof.net
Wed May 14 19:31:35 EDT 2014


On 15 May 2014, at 1:39 am, Chris Adams <linux at cmadams.net> wrote:

> I have a two node cluster for NFS service.  The servers are running
> CentOS 6.5 with corosync-1.4.1 and pacemaker-1.1.10.  They each have a
> pair of NICs bonded together running a VLAN trunk, with interfaces
> vlan10 and vlan11.  The "main" IP on each server is on vlan10, and
> that's where the cluster communication takes place (the servers don't
> actually have individual IPs on vlan11, just a cluster-managed IP for
> NFS service).
> 
> I need to replace vlan10 with vlan9 (different subnet), changing the
> "main" IP used for cluster communication.
> 
> I assume that I could do it by:
> 
> - add the new VLAN interface and IP on each node
> - shut down cluster services on both nodes
> - change /etc/hosts entries to point to the new IPs
> - start cluster services on both nodes
> 
> But that would require a service outage I'd like to avoid if practical.
> Is there another (better) way?

Put pacemaker into maintenance-mode first (like you'd do for a software upgrade):
   
    http://clusterlabs.org/doc/en-US/Pacemaker/1.1/html/Pacemaker_Explained/_disconnect_and_reattach.html
   
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20140515/8ab02f12/attachment-0003.sig>


More information about the Pacemaker mailing list