Windows Server 2012: Hyper-V Storage Migration

On this guide, we will be testing the Storage Migration feature of the new Windows Server 2012 – Hyper-V

There are a lot of new features and improvements for the Hyper-V role on Windows Server 2012.

Full features can be found on this link.

http://technet.microsoft.com/en-us/library/hh831410.aspx

Source: Microsoft Technet

This features move the Virtual disks to a different physical storage while the Virtual Machine remains running.

Lets Start.

On this guide, I have created a Windows 8 Virtual Machine. To test if there will be a downtime on the VM, I will be running a video and continuous ping to the internet.

9-8-2012 2-44-56 PM

The Windows 8 Virtual Machine is located on Drive C:\

An iSCSI drive is attached to on Drive E:\

Our goal is to move the entire Windows 8 VM to E:\

9-8-2012 2-48-36 PM

Here is the screenshot of the Windows 8 while running a movie.

 9-8-2012 2-45-52 PM

1. Go back to the HyperV Manager, Right Click on the Windows 8 Machine then Click Move.

 9-8-2012 2-47-42 PM

2. The Move Wizard will launch. Click Next

 9-8-2012 2-47-59 PM

3. We will now choose the option, Move the virtual Machine’s Storage since our objective is to move it to the shared storage (drive e). Click Next9-8-2012 2-48-23 PM

4. We will choose the “Move all of the virtual Machine’s data to a single location. Click Next. This option will move the Configuration and Virtual Harddisk.

 9-8-2012 2-48-28 PM

5. Specify the new location of the Virtual Machine.

E:\Client2\

Click Next9-8-2012 2-48-50 PM

6. Now we are ready for the move. Finalize if all are correct the hit Finish

 9-8-2012 2-48-56 PM

As you can see on both screenshots, the VM is being transferred even if it is still up and running.

 9-8-2012 2-49-03 PM 9-8-2012 2-50-53 PM

After moving, we will confirm by checking the Snapshot File Location, Virtual Disk location and checking Drive E:\

9-8-2012 3-01-21 PM

 9-8-2012 3-01-25 PM

Also checked E:\

9-8-2012 3-01-42 PM

And we are done. We have confirmed that the Windows 8 VM was transferred to the iSCSI drive without turning it off.

Cheers!

Windows Server 2012: Hyper-V

Another lab on Windows Server 2012! A good way to explore and familiarize on this new operating system.

The aim of this guide is to show  the following:

  • Join a member server to an existing Domain
    Enabling the Hyper-V Role
    Creating a Windows 8 on Hyper-V

Lets Start!

Update:

Network Settings.

I am currently using Vmware Workstation 8 for this Lab and this is how I set the Network settings for both machines:

Domain Controller:

Hostname: Server1

Ip Address: 192.168.0.100               Subnet Mask: 255.255.255.0

DNS: 127.0.0.1                                Gateway: 192.168.0.1

SNAGHTML202ddcb

Hyper-V Server

Hostname: Server3

IP Address: 192.168.0.101                Subnet Mask: 255.255.255.0

DNS: 192.168.0.100                          Gateway: 192.168.0.1

SNAGHTML204fde8

First we provision a new machine. This machine will host the Hyper-V Role.

Assuming this you already setup the Network for this machine, we will now then join this to an existing domain, Virtuallab.local

Joining the Server to the Domain

1. Press the Windows Button on your Keyboard to launch the Metro UI

9-6-2012 1-43-25 PM

2. We will now open the Computer Properties. Right Click on the Computer Icon 9-6-2012 1-43-41 PM

3. Click Properties.9-6-2012 1-43-49 PM

4. We will now Join this Server to our existing Domain. Click Change settings.9-6-2012 1-44-04 PM

5. The System Properties will Popup. Click Change 9-6-2012 1-44-41 PM

6. Type in the Domain and Click Ok. On this guide, we have an existing domain called Virtuallab.local. You can see how we configured this Domain on another Guide on Windows 2012.

9-6-2012 1-48-11 PM

7. After Clicking ok, a dialog box asking for an Account with permission to join the domain. On this case, I have specified the Domain Administrator.

Username: Administrator

Password: P@ssw0rd

Click Ok.

9-6-2012 1-48-25 PM

A dialog box Confirms that we specified the correct credential. This will prompt a restart for the changes to take effect.

9-6-2012 1-49-05 PM 9-6-2012 1-49-29 PM

And our Member Server is now part of Virtuallab.local

Enabling the Hyper-V Role

1. To enable Hyper-V, Open the Server Manager and Click on the Add roles and features.

9-6-2012 5-48-28 PM

2. Click Next

9-6-2012 5-48-45 PM

3. Choose the Select a Server from the Server Pool. Click Next

9-6-2012 5-49-04 PM

4. Specify the Hyper-V Role

9-6-2012 5-49-34 PM

5. Click Add Features

9-6-2012 5-49-43 PM

6. Click Next

9-6-2012 8-21-25 PM

7. Click Next

9-6-2012 8-21-30 PM

8. Click Next

9-6-2012 8-21-34 PM

9. Specify the Virtual Switches. As you can see, I only have one Ethernet Adapter for my Host machine. This indicates that the Guest Machines will also use this Ethernet Adapter.

9-6-2012 8-21-40 PM

10. We wont be configuring the Virtual Machine Migration. Click Next

9-6-2012 8-21-50 PM

11. Specify the Location where to place the Harddisk files and Configuration Files for each Virtual Machines. Click Next

9-6-2012 8-22-00 PM

12. Finalize all the settings and Click Install. A reboot is necessary after installing Hyper-V

9-6-2012 8-22-04 PM

9-6-2012 8-22-07 PM

9-6-2012 8-24-29 PM

And we are done!

Creating a Virtual Machine

1. We will now launch the Hyper-V Manager.

Open the Server Manager. Click on Tools > Hyper-V Manager

9-6-2012 8-29-09 PM

9-6-2012 8-29-14 PM

2.  Click New > Virtual Machine

9-6-2012 8-50-38 PM

9-6-2012 8-50-44 PM

3. Click Next

9-6-2012 8-50-49 PM

4. Specify the Name and Location of the Virtual Machine. Click Next

9-6-2012 8-50-59 PM

5. Specify the RAM. Click Finish

9-6-2012 8-51-14 PM

6. Specify the Network . Click Next

9-6-2012 8-51-19 PM

7.  Specify the name of the Virtual Disk, its Location and Size. Click Next

9-6-2012 8-51-23 PM

8.  Click Finish

9-6-2012 8-51-47 PM

The Wizard will create the the Disk.

9-6-2012 8-51-51 PM

After creating the VM, Open the Hyper-V Manager > Right Click on the Newly Created Virtual Machine and Click Turn on. Install the Operating System as if you are running on a physical box.

Here is a finished Windows 8 Virtual Machine inside the Windows Server 2012 Hyper-V.

image

Troubleshooting

Hyper-V cannot be installed. A hypervisor is already running. This error appears since I am running this Server inside a Vmware Workstation. To fix this issue, we need to edit the Configuration file of this Vm.

9-6-2012 8-11-00 PM

Locate the VMX file, open it in notepad and add the following entries:

vhv.allow = TRUE

hypervisor.cpuid.v0 = FALSE

mce.enable = TRUE

9-6-2012 8-24-11 PM

Save the file and try again.

Done!

VMWare Technology Day 2012

Vmware will be providing a Deep-Dive session on their products and give you an insight how it can help your organization in terms of datacenter, servers, desktop and application virtualization.

This is a one day event and will be held in Malaysia, Thailand, Indonesia and Singapore.

http://info.vmware.com/content/APAC_ASEAN_SG_Technology_Day_2012_Home?src=em_12Q2VMW_Technology_Day_2012_Em1&ossrc=&elq=

Capture

Installing VCenter and VSphere Client

Its great to finally have a chance to post this. Now that my machine had its upgrade, lets do more stuff.

On this guide, we will be setting up VMware vSphere 5.0

Architecture:

Drawing1

Setting up the VCenter Database

On Server1

1. Create a new Database on Server1. Based from the Architecture, Server1 is our Domain Controller and our Database Server. Lets call the database, Vcenter. I am currently logged is and a Domain Administrator. For production, it is advisable to use a different account.

3-10-2012 8-39-33 PM

2. Make sure that the SQL Server Agent is running on Server1.

3-10-2012 9-08-52 PM

 

Server7 – VCenter, VSphere Client

1. First thing, we need to create a ODBC Connection for the VCenter Database.

It is a requirements to install the latest SQL Native Client on the VCenter Machine (Server7). Failure to do so will result to our ODBC not to appear on the ODBC Datasource during installation.

Create a System DSN

3-10-2012 9-01-47 PM

Define the Name of the Data Source and which Server it will connect to.

Our SQL Server is running on Server1 using port 1433. Click Next

3-10-2012 9-02-40 PM

Choose With Integrated Windows Authentication. Click Next

3-10-2012 9-02-55 PM

Specify the Default database to VCenter. Click Next

3-10-2012 9-03-20 PM

Click Next

3-10-2012 9-03-32 PM

Test the ODBC Data Source and if a success, Click OK.

3-10-2012 9-03-45 PM

Now we are ready to install VCenter.

Launch the vCenter Installer. Click vCenter Server.

3-10-2012 10-16-14 PM

Click Next

3-10-2012 9-05-50 PM

Click Next

3-10-2012 9-05-56 PM

Accept the License Agreement. Click Next

3-10-2012 9-06-01 PM

Specify the User, Organization and License Key for the VCenter. Putting blank on the License Key runs the entire application on evaluation mode.

3-10-2012 9-06-10 PM

Specify the Data Source Name (DSN).

3-10-2012 9-06-17 PM

Specify the Service Account

3-10-2012 9-09-48 PM

Specify the Destination Folder for both the VCenter Server and Inventory Service.

3-10-2012 9-48-00 PM

Configure the VCenter Linked Mode. Since this will be the first VCenter for our lab. We choose Create a standalone VCenter Server Instance.

3-10-2012 9-48-15 PM

Configure the Ports. Click Next

3-10-2012 9-48-22 PM

Configure the ports for the Inventory Server. Click Next

3-10-2012 9-56-19 PM

Configure the JVM Inventory. Click Next

3-10-2012 9-56-37 PM

Click Install

3-10-2012 9-56-43 PM

3-10-2012 9-56-49 PM

3-10-2012 9-58-45 PM

3-10-2012 10-11-02 PM

Now that the VCenter is now ready, we need to install the VSphere Client

Installing VSphere Client

3-10-2012 10-16-37 PM

3-10-2012 10-16-48 PM

Click Next

3-10-2012 10-17-19 PM

Click Next

3-10-2012 10-17-48 PM

Accept the License Agreement. Click Next

3-10-2012 10-17-58 PM

Click Next

3-10-2012 10-18-08 PM

Specify the Destination Folder. Click Next

3-10-2012 10-18-19 PM

Click Install

3-10-2012 10-18-24 PM

3-10-2012 10-18-42 PM

3-10-2012 10-22-32 PM

We will use the VSphere Client to access and manage our ESXServer (192.168.1.230).

 

4-6-2012 3-27-57 PM

VSphere Download Center

http://downloads.vmware.com/

 

Microsoft and VMWare Product / Terminology Comparison

Microsoft Vmware
Integration Component Vmware Tools
VIrtual Machine Manager VCenter
Hyper-V ESXi
SCVMM P2V / V2V Converter
Virtual Machine Servicing Tool Update Manager
VHD VMDK
Pass-Through Disk Raw Device Mapping
Quick Storage Migration Storage VMotion
Dynamic Disk Thin Provisioning
Expand Disk / Volume Volume / Extent Grow
Failover Clustering VMWare HA
Live Migration VMotion
Coordination Mode Primary Node
VM Affinity VM Affinity
Clustered Shared Volumes VMFS
   

Source: Microsoft Virtual Academy

 

ENjoy~

Vmware Esxi 5.0 on Vmware Workstation 8

Vmware ESXI is a enterprise-level virtualization product by VMware.  It is a bare-metal hypervisor that has a very small footprint. It doesn’t need any Operating System for it to run.

On this guide, we will setup and test Vmware ESXI on top of Vmware Workstation 8.

Lets Start

1. Create a New Virtual Machine for the ESXi Server

1

2. Define the Memory

2

3. Define the Network Adapter. Configured as Bridge and Connect at Power On.

3

4. Enabled the Virtualized VT- X/EPT or AMD-V/RVI and Mount the Exsi ISO File

image

 

5. Power on the Virtual Machine. 456

6. Click Continue / Enter7

7. Accept the End User License Agreement (EULA)89

8. Select the Stoarge for the ESXI. Click Continue / Enter10

9. Select the Keyboard Layout11

10. Specify the Root Password

Credential

Username: root

Password: P@ssw0rd

12141516

 

Configuring ESxI1.

1. After installing the ESXI and did a reboot, we will now see the ESXI Startup screen.17

2. Press F2 to Customize18

3. Specify the Root Account / any account which has a privilege to access the Hypervisor.19

4. Configure the Network 202122232425

 

5. And then we are done. A straightforward installation.

We can use Vcenter and Vsphere client to manage this hyper-visor. On the next guide, we will install VCenter to manage this Esxi Environment.

Source:

VMware Virtualization Software for Desktops, Servers & Virtual