Description

Steps

Verification

Status

VM life cycle

 

 

 

Deploy VM

Deploy VM using default template,  small service offering and small data disk offering.

1. Should be able to login to the VM.
2. listVM command should return the deployed VM.State of this VM should be "Running".
3. DB check :
VM_INSTANCE table - state should be "Running".

Passed
Passed

Stop VM

Stop an existing VM that is in "Running" State.
[we should flesh out the steps here starting with 'deploy a vm']

1. Should Not be able to login to the VM.
2. listVM command should return this VM.State of this VM should be "Stopped".
3. DB check :
VM_INSTANCE table - state should be "Stopped"

Passed
Passed

Start VM

Start an existing VM that is in "Stopped" State.

1. Should be able to login to the VM.
2. listVM command should return this VM.State of this VM should be "Running".
3. DB check :
VM_INSTANCE table - state should be "Running"


Destroy VM

Destroy an existing VM that is in "Running" State.

1. Should not be able to login to the VM.
2. listVM command should return this VM.State of this VM should be "Destroyed".
3. DB check :
VM_INSTANCE table - state should be "Destroyed"

Passed

Restore VM

Restore a VM instance that is in "Destroyed" state.

1. listVM command should return this VM.State of this VM should be "Stopped".
2. We should be able to Start this VM successfully.
3. DB check :
VM_INSTANCE table - state should be "Destroyed"

Passed

Destroy VM (Expunged)

Destroy an existing VM that is in "Running" State.
Wait for the Expunge Interval (expunge.delay) .

1. listVM command should NOT  return this VM any more.
2. DB check :
1. VM_INSTANCE table - state should be "Expunging".
2. No entries relating to this VM in the NICS table.
3. No entries relating to this VM in the VOLUMES table.
4. Make sure the volumes get removed from the Primary Storage.

Passed

Reboot VM

1.Deploy VM.
2.Reboot VM.

1. Should be able to login to the VM.
2. listVM command should return the deployed VM.State of this VM should be "Running".

Passed

Migrate VM

1.Deploy VM.
2.Check to make sure you are able to log in to this VM.
3.Migrate vm to another host in the same cluster.

1. Should be able to login to the VM.
2. listVM command should return this VM.State of this VM should be "Running" and the host should be the host to which the VM was migrated to.

 

Attach ISO

1.Deploy VM.
2.Attach ISO to this VM.

1.Log in to the Vm. We should be able to see a device attached.
2. You should be able to mount this device and use the ISO.

Passed

Detach ISO

1.Deploy VM.
2.Attach ISO to this VM. Log in to the Vm and make sure you see a device attached which has the ISO.
3. Detach ISO.

1.Log in to the Vm. We should be see the device is not attached to the VM anymore.

Passed

Change Service to use less CPU and Memory

1.Deploy VM using default template,  "small" service offering and small data disk offering.
2.Stop VM
3.Change Service of this Vm to use "Medium" service offering.
4.Start VM

1.Log in to the Vm .We should see that the CPU and memory Info of this Vm matches the one specified for "Medium" service offering.
2. Using  listVM command verify that this Vm has "Medium" service offering Id.

Passed

Change Service to use more CPU and Memory

1.Deploy VM using default template,  "Medium' service offering and small data disk offering.
2.Stop VM
3.Change Service of this Vm to use "Small" service offering.
4.Start VM

1.Log in to the Vm .We should see that the CPU and memory Info of this Vm matches the one specified for "Medium" service offering.
2. Using  listVM command verify that this Vm has "small" service offering Id.

Passed

 

 

 

 

  • No labels