Although Microsoft Hyper-V Server 2012 is a “free” hypervisor-based server virtualization product, it is a little difficult for us to manage it if we don’t clearly be familiar with the command line or PowerShell cmdlets. Based on this, I want to realize whether exist some Windows Server GUI for Hyper-V Server 2012 so that find out we can do something.
At first, download Remote Server Administration Tools for Windows 8 package from Microsoft Download Center and double-click the install program next to follow wizard to install the tools.
After installation complete, all tools are enabled by default and we don’t need to do Turn Windows feature on or off in Windows 8 to enable the tools that we want to use.
If Managing Computer is not the same as Managed Server, we have to do something as configuring Windows Firewall to allow MMC snap-in connect.
The following “how to…” will introduce the client in workgroup or standalone remotely manage the server in domain.
How to remotely manage your Hyper-V server (2012) with server manager?<Server> Enable the remote management by Server Configuration tool (#1)
<Client>
1).Add IP mapping Server Name into “\Windows\System32\Drivers\etc\hosts” file
2).In Server Manager page, click All Servers –> Manage –> Add Servers In DNS tab of Add Servers page, Key in and search a Server for being managed.
So does that the Server is added but has error “Kerberos authentication error”
Right-click this Server and select Manage As … in menu
Key in domain account and password for authentication
Now this server can be managed by Server Manager
How to remotely manage your Hyper-V Virtual Machines with Hyper-V manager?
<Server> Enable the remote management by Server Configuration tool (#1)
<Client>
1). Add IP mapping Server Name into hosts file and open Server Manage by using Manage As… selection to change logon permission.
2). In Access Permission property of Component Services, allow “remote access” right for “Anonymous logon” group.
3). In Component Services windows, right-click My Computer and select Properties in menu
In COM Security tab, click Edit Limits … button
In Access Permission window, select ANONYMOUS LOGON, enable Remote Access check box next to click OK button
3). To return to Server Manager window, right-click the server and select Hyper-V Manager in menu
Now we can manage Hyper-V by GUI interface.
How to remotely manage your Hyper-V server 2012 firewall with a MMC snap-in?<Server>
1). Enable the remote management by Server Configuration tool (#1)2). Allow the firewall to be remotely managed by command netsh advfirewall set currentprofile settings remotemanagement enable3). Add 4 rules into the firewall setting to allow remote management by command netsh advfirewall firewall set rule group="Windows Firewall Remote Management" new enable=yes4). Add an account into local administrators group and this account name is the same as client’s administrator privilege. In the moment, we also log on by this account in client.
<Client>
1). Add IP mapping Server Name into hosts file and open Server Manage by using Manage As… selection to change logon permission.
2). In Access Permission property of Component Services, allow “remote access” right for “Anonymous logon” group.
3). Move cursor to left-bottom and right-click it next to select Search when Start icon show up
key in mmc in Search Apps next to right-click mmc.exe
Click Run as Administrator in bottom toolbar so that MMC console will show up
In MMC console, click File and select Add/Remove Snap-in… in menu
In Add or Remove Snap-ins windows, select Windows Firewall with Advanced Security next to click Add > button
In Select Computer windows, select Another computer option and key in Server name as “VB-HYPERV-01” next to click Finish button
Click OK button
Now we can manage Hyper-V Server 2012 firewall by MMC snap-ins.
How to remotely manage your Hyper-V Server 2012 with Computer manager?
<Server>
1). Enable the related setting as managing Hyper-V Server 2012 with MMC
2). For using Disk Manager MMC console, run this command netsh advfirewall firewall set rule group="Remote Volume Management" new enable=yes on command prompt
<Client>
1). Enable the related setting as managing Hyper-V Server 2012 with MMC
2). For using Disk Manager MMC console, run this command netsh advfirewall firewall set rule group="Remote Volume Management" new enable=yes on command prompt
3). In Windows Firewall with Advanced Security window, right-click Inbound Rules and select New Rule… in menu to launch New Inbound Rule Wizard.
In Rule Type page, choose Custom option next to click Next > button
In Program page, choose All programs option next to Next > button
In Protocol and Ports page, select TCP protocol type, Specific Ports local port and key in 135, 445, 49152-65535 next to click Next > button (# 2) In Scope page, click Next > button if no need to change anything
In Action page, choose Allow the connection option next to click Next > button
In Profile page, select Domain, Private, Public check box next to click Next > button
In Name page, key in a name as “COM+ Network Access (DCOM-In)” next to click Finish button
4). Return to Server Manager and right-click Hyper-V Server next to select Computer Management in menu
Now we can manage Computer Management besides Device Manager.
Reference
(# 1) In Hyper-V Server 2012 or Windows Server 2012, the remote management is enabled by default so that we can manage a server remotely by using Server Manager.
If Remote Management is disable, we can enable Server Manager remote management by using Configure-SMRemoting.exe –enable Windows PowerShell or refer to Configure Remote Management in Server Manager
(# 2) We can use the command netsh int ipv4 show dynamicport tcp to realize what the dynamic port range is on Server.
不必問我是誰,我就像您一樣:僅是位平凡人,但卻想在人生旅途上留下生活的足跡! 哪怕是過程跌跌撞撞、經歷風風雨雨,只要有您的關注,就是我最大的欣慰與成就!!! 感謝您的蒞臨:) 下一個職涯十年信念:不到最後關頭,決不輕言放棄!!!
2012年12月15日 星期六
2012年12月9日 星期日
VirtualBox 4.2.4 --- Install Hyper-V Server 2012 RTM on VirtualBox
It is very simple to install Windows Server 2012 on VirtualBox 4.2.4 and there is more and more demos or documents in Internet for reference. After install this OS, I get the error when I want to enable Hyper-V role and add the related features.
Even though I search some articles and teach us to change hypervisorlaunchtype parameter from auto to off, the result still is failure.
Whether the processor does not support virtualization? No, because I ever confirm this by Intel & Microsoft utility and the Hyper-V can be installed on host machine. (My host OS is Windows 8 version.)
I don’t know how to resolve this problem now. So I decide to install Hyper-V Server 2012 RTM on VirtualBox for testing.
VirtualBox Setting
To Create a VM and the configuration is the same as Windows Server 2012
In Processor tab, choose Enable PAE/NX check box
In System/Acceleration tab, choose Enable VT-x/AMD-V and Enable Nested Paging check box
In Network/Adapter 1 tab, Select Intel PRO/1000 MT Server (82545EM) Adapter Type (# 1)After finish the above steps, we can mount/boot download ISO file (# 2) and power on this VM now.
Install Hyper-V Server 2012
As install Server version, the first screen still is to choose Language, Time and currency format and keyboard
Click Install Now
Accept License
Due to we will install the first Hyper-V Server, please choose Custom: Install the newer version of Hyper-V Server only (advanced)Select one disk for install OS
Install process is running now…
After install OS and reboot, the system request us to change Administrator password now.
When change finish and OS reboot again, the logon screen will show up.
Configure Hyper-V Server 2012
When the first time log on the console, maybe need to change the computer name by selecting the option 2) Computer Name in menu and key new computer name as “VB-HYPERV-01” next to reboot and log on it again.
Select option 5) Windows Update Settings for defining the future policy to install window hotfix automatically or manually
Select option 6) Download and Install Updates for install the windows hotfix right now
Select option 9) Date and Time for correcting Date, Time and Time Zone
Finally, we can verify whether this version did build-in Hyper-V function by executing Get-WindowsFeature Hyper-V* PowerShell command.
If the result is right, maybe we can make a template OS by running Sysprep command for the future usage. So do that we don’t need to always install the new OS again and again if have OS necessity in the future.
Reference :
(# 1) If we don’t select this network adapter in menu, no active network adapter is found after install Hyper-V Server 2012.
(# 2) Microsoft Hyper-V Server 2012
Even though I search some articles and teach us to change hypervisorlaunchtype parameter from auto to off, the result still is failure.
Whether the processor does not support virtualization? No, because I ever confirm this by Intel & Microsoft utility and the Hyper-V can be installed on host machine. (My host OS is Windows 8 version.)
I don’t know how to resolve this problem now. So I decide to install Hyper-V Server 2012 RTM on VirtualBox for testing.
VirtualBox Setting
To Create a VM and the configuration is the same as Windows Server 2012
In Processor tab, choose Enable PAE/NX check box
In System/Acceleration tab, choose Enable VT-x/AMD-V and Enable Nested Paging check box
In Network/Adapter 1 tab, Select Intel PRO/1000 MT Server (82545EM) Adapter Type (# 1)After finish the above steps, we can mount/boot download ISO file (# 2) and power on this VM now.
Install Hyper-V Server 2012
As install Server version, the first screen still is to choose Language, Time and currency format and keyboard
Click Install Now
Accept License
Due to we will install the first Hyper-V Server, please choose Custom: Install the newer version of Hyper-V Server only (advanced)Select one disk for install OS
Install process is running now…
After install OS and reboot, the system request us to change Administrator password now.
When change finish and OS reboot again, the logon screen will show up.
Configure Hyper-V Server 2012
When the first time log on the console, maybe need to change the computer name by selecting the option 2) Computer Name in menu and key new computer name as “VB-HYPERV-01” next to reboot and log on it again.
Select option 5) Windows Update Settings for defining the future policy to install window hotfix automatically or manually
Select option 6) Download and Install Updates for install the windows hotfix right now
Select option 9) Date and Time for correcting Date, Time and Time Zone
Finally, we can verify whether this version did build-in Hyper-V function by executing Get-WindowsFeature Hyper-V* PowerShell command.
If the result is right, maybe we can make a template OS by running Sysprep command for the future usage. So do that we don’t need to always install the new OS again and again if have OS necessity in the future.
Reference :
(# 1) If we don’t select this network adapter in menu, no active network adapter is found after install Hyper-V Server 2012.
(# 2) Microsoft Hyper-V Server 2012
訂閱:
文章 (Atom)
Since 2010 Design by Davidwa
©Copyright Davidwa Inc. All rights reserved.
©Copyright Davidwa Inc. All rights reserved.