What application are you clustering? Sent from my iPhone
> On 7 Aug 2014, at 11:17, "Jon via smartos-discuss" > <[email protected]> wrote: > > What software would be ideal to do cluster management between two base64 > 14.2.0 Zones on separate physical nodes with a dedicated connection? > > I am attempting to configure an "active/active" cluster where hostnames have > two A records and if a node fails the other node "steals" the IPs without > starting/restarting any daemons. > > > >> On 08/06/14 08:51, Keith Wesolowski via smartos-discuss wrote: >>> On Wed, Aug 06, 2014 at 06:31:24AM -0700, Jon via smartos-discuss wrote: >>> >>> What is the illumos / SmartOS equivalent to Linux's sysctl setting >>> net.ipv4.ip_nonlocal_bind ? >> >> There is none. >> >> For the benefit of those who don't use GNU/Linux and don't know what >> this setting does there, I'm told it's commonly used for IP address >> takeover/failover applications, allowing a process to bind a socket to >> an address that is not configured on any local interface. >> >> The correct way to handle this -- which would have obviated the need for >> the engineering work they did to create this and works everywhere, had >> they only spent a few minutes researching existing solutions before >> adding yet another sysctl -- is to plumb the interface with the >> address(es) to be taken over, then simply leave it down on all members >> of the cluster except the active one. When takeover is desired, the >> application or cluster management software simply sets IFF_UP on that >> address. Binding is permitted when the interface is down, so long as >> the address being bound to is configured. This approach was used in the >> Fishworks appliances and worked very well there; I assume it is used by >> many other such applications as well. >> >> >> ------------------------------------------- >> smartos-discuss >> Archives: https://www.listbox.com/member/archive/184463/=now >> RSS Feed: https://www.listbox.com/member/archive/rss/184463/25552528-d52a4d93 >> Modify Your Subscription: https://www.listbox.com/member/?& >> Powered by Listbox: http://www.listbox.com > > > ------------------------------------------- > smartos-discuss > Archives: https://www.listbox.com/member/archive/184463/=now > RSS Feed: https://www.listbox.com/member/archive/rss/184463/25681568-6afa236a > Modify Your Subscription: https://www.listbox.com/member/?& > Powered by Listbox: http://www.listbox.com ------------------------------------------- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00 Modify Your Subscription: https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
