網頁

2012年12月15日 星期六

Hyper-V Server 2012 --- Remotely Manage by GUI

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.
ScreenHunter_01After 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.
ScreenHunter_02
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 ServersScreenHunter_05   In DNS tab of Add Servers page, Key in and search a Server for being managed.
ScreenHunter_08   So does that the Server is added but has error “Kerberos authentication error”
ScreenHunter_09   Right-click this Server and select Manage As … in menu
ScreenHunter_10   Key in domain account and password for authentication
ScreenHunter_11   Now this server can be managed by Server Manager
ScreenHunter_13
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
ScreenHunter_19    In COM Security tab, click Edit Limits … button
ScreenHunter_20    In Access Permission window, select ANONYMOUS LOGON, enable Remote Access check box next to click OK button
ScreenHunter_223). To return to Server Manager window, right-click the server and select Hyper-V Manager in menu
ScreenHunter_23    Now we can manage Hyper-V by GUI interface.
ScreenHunter_24
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 enableScreenHunter_253). 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=yesScreenHunter_294). 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.
ScreenHunter_23<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
ScreenHunter_01    key in mmc in Search Apps next to right-click mmc.exe
ScreenHunter_08    Click Run as Administrator in bottom toolbar so that MMC console will show up
ScreenHunter_09    In MMC console, click File and select Add/Remove Snap-in… in menu
ScreenHunter_10     In Add or Remove Snap-ins windows, select Windows Firewall with Advanced Security next to click Add > button
ScreenHunter_11    In Select Computer windows, select Another computer option and key in Server name as “VB-HYPERV-01” next to click Finish button
ScreenHunter_12    Click OK button
ScreenHunter_13    Now we can manage Hyper-V Server 2012 firewall by MMC snap-ins.
ScreenHunter_24
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
ScreenHunter_16
<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
ScreenHunter_403). In Windows Firewall with Advanced Security window, right-click Inbound Rules and select New Rule… in menu to launch New Inbound Rule Wizard.
ScreenHunter_29     In Rule Type page, choose Custom option next to click Next > button
ScreenHunter_30     In Program page, choose All programs option next to Next > button
ScreenHunter_31     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)ScreenHunter_33     In Scope page, click Next > button if no need to change anything
ScreenHunter_34     In Action page, choose Allow the connection option next to click Next > button
ScreenHunter_35     In Profile page, select Domain, Private, Public check box next to click Next > button
ScreenHunter_36     In Name page, key in a name as “COM+ Network Access (DCOM-In)” next to click Finish button
ScreenHunter_374). Return to Server Manager and right-click Hyper-V Server next to select Computer Management in menu
ScreenHunter_38     Now we can manage Computer Management besides Device Manager.
ScreenHunter_39
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.
ScreenHunter_03If 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
ScreenHunter_04(# 2) We can use the command netsh int ipv4 show dynamicport tcp to realize what the dynamic port range is on Server.
ScreenHunter_27

沒有留言:

張貼留言

Since 2010 Design by Davidwa
©Copyright Davidwa Inc. All rights reserved.