Configuring a scalable cluster
Use this feature only if you are certain that a FortiPortal cluster is required. Once a cluster has been set up it cannot be deleted. When a FortiPortal instance is used to set up a new cluster or a FortiPortal instance joins an existing cluster, the FortiPortal instance can no longer be a standalone FortiPortal. |
In the Scalable Cluster tab, you can configure a FortiPortal cluster.
A cluster consists of a primary unit and two or more standby secondary units. A minimum of three units is required to set up a cluster. If the primary unit becomes unavailable, one of the standby secondaries will become the new primary.
In a FortiPortal cluster, the license limit is the combined license limit of all the FortiPortal instances in a cluster.
Scalable clusters have the following benefits:
-
All the instances are active in a cluster and can serve requests in parallel.
-
Data can be synchronized across all cluster members in real-time. When options are updated in a primary unit, the changes are applied to all the secondary units in the cluster.
-
The cluster can be scaled horizontally by adding new FortiPortal instances.
-
The built-in load balancer is available to distribute loads across all instances in a cluster.
The following roles are available:
-
Standalone: The FortiPortal is independent of a high-availability cluster. This is the default setting. Use it if you intend to keep the FortiPortal instance independent of a cluster.
-
Primary: The FortiPortal is the primary in a high-availability cluster.
-
Secondary: The FortiPortal is a secondary in a high-availability cluster.
To set up a FortiPortal cluster:
-
Prepare your system for the cluster.
-
If the Certificate Information and Upload License related options in System > Settings need to be updated, the options should be updated in the primary unit before setting up the cluster.
-
If the firmware, restore, and backup options in the Dashboard need to be updated, the options should be updated in the primary unit before setting up a cluster.
-
-
Set up the primary instance.
- Log in to the primary FortiPortal instance.
- Go to System > Settings > Scalable Cluster.
When setting up a primary unit, the Scalable Cluster tab looks like the following:
- In the Operational Mode field, select Primary.
- In the Cluster Password field, set a password for the cluster. This password cannot be retrieved or changed once it is set.
- Click Create Cluster.
-
Set up two or more secondary units.
- Log in to another FortiPortal instance.
- Go to System > Settings > Scalable Cluster.
When setting up a secondary unit, the Scalable Cluster tab looks like the following:
- In the Operational Mode field, select Secondary.
- In the Cluster Password field, enter the cluster password you set on the primary instance.
- In the Primary FPC IP field, enter the IP address of the primary instance.
- Click Join.
- Repeat step 3 to add additional secondary instances to the cluster.
-
Configure the load balancer (optional).
-
Log in to one of the FortiPortal instances in the cluster.
-
Go to System > Settings > Scalable Cluster.
-
In the Load Balancer IP Range field, enter an IP address in the same subnet as the cluster instances. This IP should be one that is not assigned to any devices.
-
Click Update.
The load balancer IP configuration is automatically applied across all instances of the cluster.
After upgrading a FortiPortal instance, you must set the load balancer IP address again.
-