if (haFlag != null && Constants.HA_FLAG_FT.equals(haFlag.toLowerCase())) {
ha = true;
ft = true;
}
// delete old vm and rename new vm in the prePowerOn
ReplaceVmPrePowerOn prePowerOn =
new ReplaceVmPrePowerOn(node.getMoId(), node.getVmName(),
clusterSpec.getNodeGroup(groupName).getStorage().getShares(),
createSchema.networkSchema, createSchema.diskSchema, ha, ft);
// power on the new vm, but not wait for ip address here. we have startVmStep to wait for ip
return new CreateVmSP(node.getVmName() + RECOVERY_VM_NAME_POSTFIX,