This is an operational test plan for verifiying that an installation of VirtualCenter is fit for purpose.
This document can be treated as both a guide and starting point for developing your own VirtualCenter 2.x testing purposes.
This document is not intended to replace the user guide so it does not provide screen shots on how to do each activity: it's expected that the audience will take this document and create their own level of detail using the available resources like the user guides.
VMware Certified Professionals (VCPs) and Test Analysts/Experts.
The following steps are required:
Fit for purpose specification
VirtualCenter system actions
Virtual Machine actions
Optional extensions to this plan
Steve Chambers is a Senior Architect at VMware, specialising in Enterprise Virtualization (large scale virtualizaiton of '000s).
VMware (NYSE: VMW) is the global leader in virtualization solutions from the desktop to the datacenter. Customers of all sizes rely on VMware to reduce capital and operating expenses, ensure business continuity, strengthen security and go green. With 2008 revenues of $1.9 billion, more than 130,000 customers and more than 22,000 partners, VMware is one of the fastest-growing public software companies. Headquartered in Palo Alto, California, VMware is majority-owned by EMC Corporation (NYSE: EMC). For more information, visit www.vmware.com.
You can find this document on the internet @ Virtual Machines status not correct vissible
If you want help with testing your VMware Infrastructure, then reach out to the network of VMware Authorized Consultant partners
You use this proven practice at your discretion. VMware and the author do not guarantee any results from the use of this proven practice. This proven practice is provided on an as-is basis and is for demonstration purposes only.
Sample VirtualCenter 2.x Test Plan
1. Fit for purpose specification
This section should be customer to specify what should be tested and what results are expected. The more granularity and detail in this section, the more effort is obviously required but the more professional and perfect the result.
For VirtualCenter 2.x to be fit for purpose, it must pass the following tests:
The VirtualCenter server should be installed, managed and backed up as per standard Windows Server Team SLA.
Check configuration of VirtualCenter against installation documentation and confirm 100% settings.
Windows system administrators should not be able to access the VirtualCenter application.
All of the functions required of VirtualCenter should be proven in our enviroment no matter how basic the function: in the case of features like vMotion, these depend on configurations outside of VirtualCenter so these must be proven.
All of the standard operating procedures executed on VirtualCenter must be shown to work for a VMware Administrator role, these SOPs apply to VC itself, VMs and Hosts.
In the event of a failure of the VirtualCenter server, the failover procedure should be invoke and VirtualCenter should be available in R2 (second datacenter) within 30 minutes.
Check that the database actions are co-ordinated and working ok (e.g. database backups).
Check that all tests are signed off and verified.
2. VirtualCenter system actions
The following actions should be tested.
Power off gracefully using Start -> Shutdown.
Power on after graceful Shutdown.
Check Event Log for <errors>
Power off ungracefully using physical power button.
Power on after ungracefeful Shutdown.
Check Event Log for <errors>
Reboot server from OS.
Check Event Log for <errors>
Stop VirtualCenter service in Services.
Check service has stopped
Start VirtualCenter service in Services.
Check service has started up.
Restart VirtualCenter service in Services.
Check service has restarted.
Check that backup of VirtualCenter server has worked on a schedule.
Recover a test file from backup.
Recover whole VirtualCenter server from backup.
Check that VirtualCenter application monitoring was working during restarts/reboots above.
Run Security procedures / check report against VC server.
Confirm that there are no unnecessary services or files or shares or users on VirtualCenter server (as per documentation).
3. Accessing VC
The following items should be tested. This can be a complex area if you have more complex roles and profiles. These tests assume that IT Ops are the only ones who can make changes via change process and via the trusted bastions.
Check that VirtualCenter server is only accessible via RDP and that VirtualCenter client can only be run locally on VirtualCenter server - ie. no VC Client on bastion or anywhere else. Check IPSec rules on VC server as per documentation.
Check that a normal user cannot access VirtualCenter via RDP or via a rogue VC Client, and that users from untrusted networks (non-management) cannot pass any IP traffic (ping, udp, tcp).
Check that Windows Sys Admins can access the VirtualCenter server OS via RDP from bastion host but cannot access VC application via VC client either on bastion host or locally on VC server.
Check that VMware Administrators have only read-only access, as per docs.
Check that IT Ops have full administrator access, as per docs.
4. Creating Objects
The following actions should be tested because although they really do "what it says on the tin" (rip-off of a UK advert for fence staining!), the implementation might have had a mistake that affects any operation such as a mis-configuration.
These tests are at the first use of VC - when VC has been used before and VC is populated, these tests may be skipped and signed off as "NOT REQUIRED - UNTESTED" in test documentation.
Create a datacenter
Create a cluster
Add two hosts min.
Create a resource pool
Create a vSwitch
Create a datastore
Configure a role
5. Virtual Machine actions
The following actions should be possible as a IT Ops role and not VMware administrator (as per docs). Remove tests / expand as required from this sample.
Provision a virtual machine from scratch following documentation.
Power on virtual machine
Recycle virtual machine (power)
Power off virtual machine
Delete virtual machine
Convert VM to template
Provision VM from template
Provision VM using cloning.
P2V Convert Physical Machine Windows 2003 to Virtual Machine.
P2V Convert Physical Mahcine Windows 2000 to Virtual Machine.
6. Optional Extenstions to this plan
VMware Update Manager tests
VMware License Manager tests
VMware Converter tests
Using VMware Support (vm-support, raising a ticket)