public class VIJavaUtil
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
LAST_MIGRATED_VM |
static java.lang.String |
LAST_MIGRATION_TIME |
static java.lang.String |
LAST_TARGET_HOST |
static java.lang.String |
PRE_VMOTION_COUNTER |
static java.lang.String |
RESTORE_CONNECTION |
static boolean |
STOP_START_SERVER
A true value indicates that a randomly selected VM will be restarted at the
same time as that of commencement of vMotion of (another) VM.
|
static java.lang.String |
VM_NAME |
static java.lang.String |
VMOTION_COUNTER |
static java.lang.String |
VMOTION_DURING_LOCATOR_STOP_START |
static java.lang.String |
VMOTION_DURING_STOP_START |
static java.lang.String |
VMOTION_FAILOVER |
static java.lang.String |
VMOTION_TRIGGERRED |
| Constructor and Description |
|---|
VIJavaUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
disableVMotionDuringLocatorStopStart() |
static void |
disableVMotionDuringStopStart() |
static boolean |
doMigrateVM() |
static void |
doVMotion(ClientVmInfo targetVmToMove)
This is being called from StopStartVMs.run() between stop and start of a
VM.
|
static void |
enableVMotionDuringLocatorStopStart() |
static void |
enableVMotionDuringStopStart() |
static void |
HydraCloseTask_verifyVMotion() |
static void |
HydraTask_migrateNetDownVM() |
static void |
HydraTask_migrateVM() |
static void |
HydraTask_migrateVMToTargetHost() |
static void |
migrateVMToTargetHost(java.lang.String vmName) |
static void |
resetRestoreConnection() |
static void |
setRestoreConnection() |
static void |
updateVMName() |
public static boolean STOP_START_SERVER
public static final java.lang.String VMOTION_FAILOVER
public static final java.lang.String VMOTION_TRIGGERRED
public static final java.lang.String LAST_MIGRATION_TIME
public static final java.lang.String LAST_MIGRATED_VM
public static final java.lang.String LAST_TARGET_HOST
public static final java.lang.String VMOTION_COUNTER
public static final java.lang.String RESTORE_CONNECTION
public static final java.lang.String VMOTION_DURING_STOP_START
public static final java.lang.String VMOTION_DURING_LOCATOR_STOP_START
public static final java.lang.String VM_NAME
public static final java.lang.String PRE_VMOTION_COUNTER
public static void HydraTask_migrateVM()
throws java.lang.Exception
java.lang.Exceptionpublic static void HydraTask_migrateVMToTargetHost()
throws java.lang.Exception
java.lang.Exceptionpublic static void HydraCloseTask_verifyVMotion()
throws java.lang.Exception
java.lang.Exceptionpublic static void migrateVMToTargetHost(java.lang.String vmName)
throws java.lang.Exception
java.lang.Exceptionpublic static boolean doMigrateVM()
throws java.lang.Exception
java.lang.Exceptionpublic static void HydraTask_migrateNetDownVM()
throws java.lang.Exception
java.lang.Exceptionpublic static void updateVMName()
public static void setRestoreConnection()
public static void resetRestoreConnection()
public static void enableVMotionDuringStopStart()
public static void disableVMotionDuringStopStart()
public static void enableVMotionDuringLocatorStopStart()
public static void disableVMotionDuringLocatorStopStart()
public static void doVMotion(ClientVmInfo targetVmToMove)
vmId - The id of hydra-vm being restarted.Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.