public void failoverCopyTest(RPCopyRequestParams copyToFailoverTo) throws RecoverPointException {
  String bookmarkName=copyToFailoverTo.getBookmarkName();
  Date apitTime=copyToFailoverTo.getApitTime();
  if (bookmarkName != null) {
    logger.info("Failver copy to bookmark : " + bookmarkName);
  }
 else   if (apitTime != null) {
    logger.info("Failover copy to APIT : " + apitTime.toString());
  }
 else {
    logger.info("Failover copy to most recent image");
  }
  RecoverPointImageManagementUtils imageManager=new RecoverPointImageManagementUtils();
  imageManager.enableCopyImage(functionalAPI,copyToFailoverTo,false);
  RecoverPointVolumeProtectionInfo failoverCopyInfo=copyToFailoverTo.getCopyVolumeInfo();
  pauseTransfer(failoverCopyInfo);
}

public void failoverCopyTest ( RPCopyRequestParams copyToFailoverTo ) throws RecoverPointException { String bookmarkName = copyToFailoverTo . getBookmarkName ( ) ; Date apitTime = copyToFailoverTo . getApitTime ( ) ; if ( bookmarkName != null ) { logger . info ( "Failver copy to bookmark : " + bookmarkName ) ; } else if ( apitTime != null ) { logger . info ( "Failover copy to APIT : " + apitTime . toString ( ) ) ; } else { logger . info ( "Failover copy to most recent image" ) ; } RecoverPointImageManagementUtils imageManager = new RecoverPointImageManagementUtils ( ) ; imageManager . enableCopyImage ( functionalAPI , copyToFailoverTo , false ) ; RecoverPointVolumeProtectionInfo failoverCopyInfo = copyToFailoverTo . getCopyVolumeInfo ( ) ; pauseTransfer ( failoverCopyInfo ) ; }
perform a failover test to the consistency group copy specified by the input request params .
