During the VCHA deployment, all the environmental information will be captured and used during configuration. Any modification after initial VCHA configuration, VCHA will fail to configure
When configuring a VCHA on an SDRS cluster fails with error:
"The operation is not allowed in the current state"
"One or more hosts used for vCenter HA deployment have datastores not mounted on the host"
During deployment,if SDRS(Storage DRS) will try to move the deployed VC VM across datastores which leads to the failure.
Use one of the below options during deployment