cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1381
Views
0
Helpful
0
Comments
Orf Gelbrich
Cisco Employee
Cisco Employee

This is an integration example between UCSD and Cohesity. 

   Posted for Russ (Please direct questions to: rwhitear@cisco.com)

 

Please watch video for more details: 

  https://youtu.be/OLqmUm3WMvU

 

Even more details are here: 

 

   Cohesity video with initial explanation slides and HX native snapshots support.

   https://youtu.be/YCgF_Ifv2OA

 

 

Custom task code: 

importPackage(java.util);

importPackage(java.lang);

importPackage(java.io);

loadJar("Cohesity/CohesityREST.jar");

 

importClass(com.cohesity.auth.CohesityAuth);

importClass(com.cohesity.operations.protectionJobs.CreateProtectionJob);

 

 

var protectedVmName = input.protectedVmName;

var vmWareSourceName = input.vmWareSourceName;

var cohesityUsername = input.cohesityUsername;

var cohesityPassword = input.cohesityPassword;

var cohesityDomain = "LOCAL";

var cohesityHost = input.cohesityHost;

 

 

logger.addInfo("VMname: " + protectedVmName);

logger.addInfo("Protection Job Name: " + protectedVmName+"-protectionJob");

logger.addInfo("VCenter Source: " + vmWareSourceName);

 

var credentials = new CohesityAuth(cohesityUsername cohesityPassword, cohesityDomain);

var cohesityCluster = cohesityHost;

 

var createProtectionJob = new CreateProtectionJob( credentials, cohesityCluster );

 

createProtectionJob.setProtectionJobName(protectedVmName+"-protectionJob");     

createProtectionJob.setVmWareSourceName(vmWareSourceName);

createProtectionJob.setProtectionPolicyName("uktmeDefault");

createProtectionJob.setViewBoxName("DefaultStorageDomain");

createProtectionJob.setVmName(protectedVmName);

createProtectionJob.setStartHour(22);

createProtectionJob.setStartMinute(30);

          

createProtectionJob.execute();

 

 

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links