제2의 비엔지니어 인생관을 꿈꾸며

Posted
Filed under Study
Server: Microsoft Hyper-V Server 2012 Core (Free Edition)
Client: Windows 8 Pro

  • Condensed (advanced) Version

    Install Hyper-V Server 2012 Core and log in to the console.

    1. Configure date and time (select #9).
    2. Enable Remote Desktop (select #7). Also select the ‘Less Secure’ option.
    3. Configure Remote Management (select #4 then #1).
    4. Add local administrator account (select #3). Username and password need to be exactly the same as the account you are going to use on the client computer to manage this Hyper-V Server.
    5. Configure network settings (select #8). Configure as a static IP. Same subnet as your home network. Don’t forget to configure the DNS IP.
    6. Set the computer name (select #2). Rename the server and reboot.
    7. Remote Desktop to server. On your client machine, remote to the server via the IP address you assigned it. Use the credentials of the local administrator account you created earlier.
    8. Launch PowerShell. In the black cmd window, run the following command: start powershell
    9. Run the following commands: Reboot the server (select #12).
      • Enable-NetFirewallRule -DisplayGroup “Windows Remote Management”
      • Enable-NetFirewallRule -DisplayGroup “Remote Event Log Management”
      • Enable-NetFirewallRule -DisplayGroup “Remote Volume Management”
      • Set-Service VDS -StartupType Automatic
    10. Reboot the server (select #12).
    11. Enable Client Firewall Rule. On your client machine, launch an elevated PowerShell prompt and type the following command: Add server hostname and IP to hosts file. Right click hosts and select properties. In the security tab, add your username. Give your account modify rights.This is needed because some remote management tools we need to use rely on the hosts file to resolve the name. Without doing this you are highly likely to encounter some errors while trying to create VHDs and such. Error you might see: There was an unexpected error in configuring the hard disk.
      • Enable-NetFirewallRule -DisplayGroup “Remote Volume Management”
      • ii c:\windows\system32\drivers\etc
    12. Add server hostname and IP to hosts file. Right click hosts and select properties. In the security tab, add your username. Give your account modify rights.This is needed because some remote management tools we need to use rely on the hosts file to resolve the name. Without doing this you are highly likely to encounter some errors while trying to create VHDs and such. Error you might see: There was an unexpected error in configuring the hard disk.

      You should now be able to remotely manage the Hyper-V server from the client machine. This includes managing the Hyper-V server’s disk from within the disk management console on the client. You should be able to create VHD’s successfully as well from within Hyper-V Manager on the client (assuming you installed the feature).

      This was a quick tutorial on how to setup a working Hyper-V Server 2012 Core edition in a non-domain environment and still be able to remotely manage it.

    13. 사용자 삽입 이미지
    14. winrm set winrm/config/client @{TrustedHosts="Hyper-V Host Name"} or *

          

2014/11/17 14:04 2014/11/17 14:04