public void initResource() {
final String serverMobId =
Configuration.getString(Constants.SERENGETI_SERVER_VM_MOBID);
logger.info("server mob id:" + serverMobId);
final VcVirtualMachine serverVm = findVM(serverMobId);
VcResourcePool vcRP = getVmRp(serverVm);
String clusterName = vcRP.getVcCluster().getName();
String vcRPName = vcRP.getName();
logger.info("vc rp: " + vcRPName + ", cluster: " + clusterName);
String networkName = getVMNetwork(serverVm);
Map<DatastoreType, List<String>> dsNames = getVmDatastore(serverVm);
if (rpSvc.isDeployedUnderCluster(clusterName, vcRPName)) {
vcRPName = "";