public class VIJavaUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
LAST_MIGRATED_VM |
static String |
LAST_MIGRATION_TIME |
static String |
LAST_TARGET_HOST |
static String |
PRE_VMOTION_COUNTER |
static 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 String |
VM_NAME |
static String |
VMOTION_COUNTER |
static String |
VMOTION_DURING_LOCATOR_STOP_START |
static String |
VMOTION_DURING_STOP_START |
static String |
VMOTION_FAILOVER |
static 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(String vmName) |
static void |
resetRestoreConnection() |
static void |
setRestoreConnection() |
static void |
updateVMName() |
public static boolean STOP_START_SERVER
public static final String VMOTION_FAILOVER
public static final String VMOTION_TRIGGERRED
public static final String LAST_MIGRATION_TIME
public static final String LAST_MIGRATED_VM
public static final String LAST_TARGET_HOST
public static final String VMOTION_COUNTER
public static final String RESTORE_CONNECTION
public static final String VMOTION_DURING_STOP_START
public static final String VMOTION_DURING_LOCATOR_STOP_START
public static final String VM_NAME
public static final String PRE_VMOTION_COUNTER
public static void HydraTask_migrateVMToTargetHost()
throws Exception
Exceptionpublic static void HydraCloseTask_verifyVMotion()
throws Exception
Exceptionpublic static void migrateVMToTargetHost(String vmName) throws Exception
Exceptionpublic static void HydraTask_migrateNetDownVM()
throws Exception
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.