|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.novell.zos.jdl.GridObjectInfo
com.novell.zos.jdl.VMHostInfo
public class VMHostInfo
The VmHostInfo class is a representation of a VM host grid object. This class provides accessors and setters to the Vm Host facts and operations to control the state of the VM host object.
Example to retrieve an existing instance of a VmHostInfo
and
initiate a soft shutdown on it.
vmhost = getMatrix().getGridObject(TYPE_VMHOST,"MyVmHost") vmhost.shutdown()
Method Summary | |
---|---|
void |
discoverVMs()
Start a discovery operation for this Vm Host. |
void |
shutdown()
Initiate a soft shutdown of this Vm host. |
void |
shutdown(boolean hard)
Shutdown this Vm host specifying a hard or soft shutdown. |
void |
start()
Initiate a start action on this Vm host. |
Methods inherited from class com.novell.zos.jdl.GridObjectInfo |
---|
deleteFact, factExists, getFact, getFactLastModified, getFactNames, refresh, setArrayFact, setBooleanArrayFact, setDateArrayFact, setDateFact, setFact, setIntegerArrayFact, setRealArrayFact, setStringArrayFact, setTimeArrayFact, setTimeFact |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void shutdown()
This will softly shutdown any running VMs on this host and put the Vm Host in a state of not accepting provisioning actions. A soft shutdown will wait for the agent to be idle.
public void shutdown(boolean hard)
This will shutdown any running VMs on this host and put the Vm Host in a state of not accepting provisioning actions.
hard
- true to shutdown hard, false to initiate a soft shutdown.
A hard shutdown is immediate (no migration, agent idle wait, etc)public void start()
Enable the Vm Host as ready for provisioning actions.
public void discoverVMs()
This action can create and delete VM's, reset attributes on VMs, delete the referenced VmHost and mark an existing VM as needing to be re-synced.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |