Below given is an example for Active-Active Cluster configuration.
chassis {
cluster {
redundancy-group 0 {
node 0 priority 200;
node 1 priority 100;
}
redundancy-group 1 {
node 1 priority 100;
node 0 priority 200;
}
redundancy-group 2 {
node 1 priority 200;
node 0 priority 100;
}
}
}
For RG1, Node0 is with high priority and it will act as Primary, but for RG2 Node1 is configured with high priority and it will the prmary node.
Regarding session entries, all sessions other than ICMP will be synced between both nodes and you can see almost similar number of sessions on both nodes. You can use "set security flow sync-icmp-session" to sync ICMP sessions between both nodes.
Thanks,
Suraj
Please Mark My Solution Accepted if it Helped, Kudos are Appreciated too