Sometimes you need to recreate the PowerHA cluster but it fails with the message that mkcluster command failed or there is something wrong with repository disk. You can try the rmcluster command on both nodes with undocumented option -r and specify the repository disk from which you want to remove the configuration. This needs to be run with CAA_FORCE_ENABLED=1 system variable:
# CAA_FORCE_ENABLED=1 rmcluster -fr repodisk #repodisk is actual name of hdisk
If the above method did not help then you can destroy the repository by overriding it and reboot:
# dd if=/dev/zero of=/dev/repodisk bs=1024k count=100
Now reboot the system.
On both nodes do the following:
# lssrc -ls clstrmgrES | grep state ===> Current state: ST_INIT
# export CAA_FORCE_ENABLED=1
# rmcluster -f -r repodiskA
# rmcluster -f -r repodiskB
# rmdev -dl cluster0
reboot
On node 1, run sync and verify
# /usr/es/sbin/cluster/utilities/cldare -rt -C yes
After a sync and verify, the caavg_private vg should be created on both nodes.