Project

General

Profile

Actions

Feature #13805

open

A way to reliably determine if system is the primary or secondary in CARP

Added by Christopher Cope over 1 year ago. Updated about 1 month ago.

Status:
New
Priority:
Very Low
Category:
High Availability
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Default

Description

There is no current way, as far as I can tell, to reliably determine if the current system is the primary or secondary.

A few of the current ways include:
  • "Synchronize Config to IP" isn't set it's likely secondary, but isn't certain.
  • Checking the advskew is a good way, but these are sometimes changed, so it isn't 100% either.

My thoughts are to add a setting to System > High Avail. Sync for Primary/Secondary.

This would allow behavior specific to that to be implemented. Such as:
  • Disabling the ability to toggle CARP maintenance mode on the Secondary, to avoid confusion.
  • Auto filling advskew when creating new VIPs
  • etc.

I could write the code and submit a merge request for this, but would appreciate any thoughts / comments on anything I may be missing before I do that.

Actions

Also available in: Atom PDF