So in this first post, I'll create a virtual disk, take that opportunity to present some of the different virtual disk formats and types, and then install an operating system on the virtual disk for experiments that I will conduct in the following blog post.
Creation of a virtual disk
Note: once the server icon is selected, we can use the Action tab or the Action pane to display the menu options. This is strictly a matter of personal preference.
Click "Next" on the "Before you Begin" page and then select the "format" for the virtual disk:
Next we select the "type" of virtual disk. Each type is presented in the screenshot above but in summary:
- Fixed size: provides the best performance, recommended for production servers.
- Dynamically expanding: the disk is created with almost no space used. If we install an operating system on the disk, it only consumes the space used by the operating system. The size of the disk increases as we add more data. This type of disk is recommended for test environments or for applications with low disk activity.
- Differencing: in this case, we have an existing "parent disk" and then create the differencing disk to which all changes are made. This allows us to revert to the parent disk if necessary. This is very useful in test environments so we can make changes and (if necessary) return to a status quo without having to reinstall the OS or restore an existing state from backup.
Here is a summary of the operation:
Creation of a virtual machine (and OS install)
Windows Server 2012 - Hyper-V - installation of role, creation of a virtual server
I will (quickly) demonstate the process a second time since there is at least one new feature I want to highlight, even though I will not discuss it in detail here.
So I target the Hyper-V host (HV1 in my case) and then, in the "Action" menu, select New - Virtual Machine:
I choose a name (Svr5) and a location for the virtual machine:
I then select the amount of memory I want to assign to the virtual machine and indicate if I want to use Dynamic Memory.
I select the network connection:
And then the virtual hard disk I have already created:
I click "Finish" on the Summary page (not shown here) and then install Windows 2012 (RTM) for the tests that will be conducted in my next blog post.