After setting up head node high availability (HA) on a BCM cluster, you may notice that the software images are not being synced from the active head node to the passive head node. If specific categories or nodegroups have been set in the provisioning role of the head nodes in BCM, then the names of the head nodes must also be associated with the provisioning role.
First, create a node group for the head nodes by running the following cmsh commands on the active head node:
# cmsh
% nodegroups
% add headnodes
% set nodes head01
% append nodes head02
% commit
Replace head01 and head02 with the names of the head nodes on your cluster.
Next, set the nodegroups property of the provisioning role of both head nodes to be the name of the nodegroup that you created, “headnodes”:
# cmsh
% device
% foreach -t headnode (roles; use provisioning; set nodegroups headnodes; commit)
If your cluster has existing nodegroups that are associated with the provisioning role, then you must use the “append” command instead of “set”:
% foreach -t headnode (roles; use provisioning; append nodegroups headnodes; commit)
The above actions should allow images to start being synced from the active head node to the passive head node.