<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[HA setup with VRRPD]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I am trying to build a HA setup, but a bit different than what was described in the tutorial. I want it to be consistent with our other deployments.<br />
We use VRRPd to load a VIP between 2 hosts. I setup MySQL with master-master replication between the 2 boxes, and when the VIP move takes place, a script clears the DB lock and starts the netxms daemon on the new master. The problem I am facing is that netxms binds to the primary  IP of the box, not the VIP.</p>
<p dir="auto">How can I make it use the VIP, or where to clean it in the DB so that the new server does not complain it can't bind to it?</p>
<p dir="auto">Best regards,<br />
Alex</p>
]]></description><link>https://forum.netxms.org/topic/7398/ha-setup-with-vrrpd</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 13:10:41 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/7398.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 31 May 2022 11:01:26 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to HA setup with VRRPD on Mon, 04 Jul 2022 16:53:29 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">do you mean database lock in the DB so server complains that database is locked by another instance? If yes, you should list peer IP address in netxmsd.conf on cluster nodes. For example, if you have cluster nodes with addresses 10.0.0.1 and 10.0.0.2 (with whatever VIP moving between them), on node 10.0.0.1 you should add</p>
<p dir="auto">PeerNode = 10.0.0.2</p>
<p dir="auto">to netxmsd.conf and on node 10.0.0.2 add</p>
<p dir="auto">PeerNode = 10.0.0.1</p>
<p dir="auto">That way server will read the lock, check if server is running on peer node (by attempting to connect to agent and check running processes and by connecting to port 4701), and remove stalled lock if netxmsd is not running on peer node.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/31616</link><guid isPermaLink="true">https://forum.netxms.org/post/31616</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Mon, 04 Jul 2022 16:53:29 GMT</pubDate></item></channel></rss>