
Failover
4. Set the preferred_peer flag on a cluster. The purpose of the preferred_peer parameter is to indicate the
failover peer on which the cluster is "desired" to run, and it is the peer on which the cluster will be run if the
user runs the rebalance command. This parameter is set on the Peer that your want the cluster to be
associated with, in the non-failover case. If this parameter is not set, the cluster defaults to the Peer that
has been set as the preferred primary.
Note - The preferrerred_peer flag for allcllusters that would be configured into the same Failover Group must be the same.
eqcli > cluster [name] flags preferred_peer
Show the cluster parameters by entering :
eqcli > show cluster cl-tcp
L4 Cluster Name : cl-tcp
Protocol : tcp
IP Address : 172.16.0.131
Port : 80
Port Range : 0
Preferred Peer : Primary
VID : 1
Server Pool : testserverpool
Sticky Timeout : 5
Sticky Netmask : 0
Idle Timeout : 5
Stale Timeout : 5
L4 Flags :
eqcli >
5.
Display the dynamically created failover group by entering show fogrp. This command lists the Failover
Groups that have been created, based on the configuration. For example:
eqcli > show fogrp
F/O Group Name F/O Group IDF/O ModePrimary Peer
Unassigned 0 Not Used
fo_group1 1 PrimaryPrimary
fo_group22Backup
The F/O Group Name “Unassigned” is used:
l When active-active is NOT enabled on the local peer, all clusters are in the "Unassigned" F/O
Group.
l If the system cannot determine a failover group in which to place a cluster, possibly because
it was assigned a VLAN IP that does not reside on a defined subnet, it goes into Unassigned.
458
Copyright © 2013 Coyote Point Systems. A subsidiary of Fortinet, Inc.
Comentarios a estos manuales