This article explains how to replace node1 in a cluster with an IDP database
When Node1 is to be replaced in a cluster, configurations cannot be added directly, as it won't let you commit the configuration without the IDP database.
When a device is in a cluster, the IDP database can be pushed from the PRIMARY node only.