Examples of FaultToleranceSecondaryConfigInfo


Examples of com.vmware.vim.binding.vim.vm.FaultToleranceSecondaryConfigInfo

      if (vm.getConfig() != null && vm.getConfig().getFtInfo() != null) {
         // ft enabled
         vm.update();
         if (vm.getConfig().getFtInfo().getRole() != 1) {
            // not primary VM
            FaultToleranceSecondaryConfigInfo ftInfo =
                  (FaultToleranceSecondaryConfigInfo) vm.getConfig()
                        .getFtInfo();
            moId = MoUtil.morefToString(ftInfo.getPrimaryVM());
            logger.info("Received secondary VM event, switch to primary VM "
                  + moId);
         }
      }
      return moId;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.