Solved

How to connect to Hyper-V 2012 to create VMs and build servers

Posted on 2014-12-10
10
230 Views
Last Modified: 2014-12-11
I have a single server onto which I have installed Hyper-V 2012. The physical server is standalone on the network, i.e. no existing DNS or AD
I now want to create two virtual machines to install Windows 2012. I have a Windows 8.1 PC on which I have installed RSAT which I think is what I need to manage the VMs. However, I can't see a way of getting the PC to connect to Hyper-V server. It seems to assume that Hyper-V is registered with a DNS but of course it's not. I thought I could connect using IP address but I can't see a way of doing that. My Hyper-V has a static IP of 192.168.2.10 and the PC has a static IP of 192.168.2.11
0
Comment
Question by:ClintonK
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
  • 2
  • +1
10 Comments
 
LVL 37

Expert Comment

by:Neil Russell
ID: 40490713
Just add a static DNS entry A record into your AD. Job done
0
 

Author Comment

by:ClintonK
ID: 40490720
I don't have an AD. It's a completely new build - it's just a single physical server with nothing installed apart from Hyper-V 2012. The only other thing on the network is a Windows 8 PC
0
 
LVL 37

Expert Comment

by:Neil Russell
ID: 40490724
Ah ok sorry, I misunderstood. So this is the only computer on a new network?
Your router that you have that issues DHCP requests will also do Name resolution I assume, so set the server to DHCP instead of static and then on he router set that address as static/Always use this IP address or however it is displayed on your device.

Alternatively add an entry into your PC's HOSTS file for the server name and IP address
0
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

 
LVL 24

Accepted Solution

by:
VB ITS earned 500 total points
ID: 40491274
You can use the HVRemote tool in this scenario: https://code.msdn.microsoft.com/windowsdesktop/Hyper-V-Remote-Management-26d127c6

Have a look at the 10-second guide section and let us know how you go with this.
0
 

Author Comment

by:ClintonK
ID: 40492432
I thought there was a GUI that could be used from Windows 8.1 ?
I have turned on the Hyper-V GUI feature in Windows 8.1 and now I have a GUI which is offering to connect to a physical server. When I try to connect to 192.168.2.10 I get an error "An error occurred while attempting to connect to server 192.168.2.10. Check that the Virtual Machine Management service is running and that you are authorised to connect to the server"
Well, as far as I know the service is running because it's a new build so I would hope it would be. As it doesn't prompt me for a username or password I can't really say if I'm authorised or not.
0
 
LVL 24

Expert Comment

by:VB ITS
ID: 40492739
Yes you can still use the GUI but you need to establish a "trust" between the server and your Windows 8.1 machine as you are not on a domain so the Hyper-V host doesn't know how to trust the account you are using to log into Windows. This is where HVRemote comes in as it reduces the manual configuration steps needed in a non-domain environment down to a few simple commands.
0
 
LVL 55

Expert Comment

by:McKnife
ID: 40493571
Name resolution is not the problem.
You need to set some firewall rules at the server. There's a large step by step howto in a german forum. I will link the google translation:  http://www.administrator.de/wissen/hyper-v-server-2012-und-windows-8-hyper-v-remote-management-ohne-dom%C3%A4ne-219975.html
0
 

Author Closing Comment

by:ClintonK
ID: 40495070
The "Client and Server both workgroup" in the https://code.msdn.microsoft.com/windowsdesktop/Hyper-V-Remote-Management-26d127c6
 10 second guide got me connected.
Thanks.
Why did Microsoft have to make this so difficult??
0
 
LVL 24

Expert Comment

by:VB ITS
ID: 40495076
For security reasons, otherwise anyone with a Windows 8 machine with Hyper-V Manager installed could theoretically plug their laptop into your network and mess around with your virtual machines :)
0
 

Author Comment

by:ClintonK
ID: 40495084
Fair enough. Didn't consider that one.
Cheers
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Detailed instructions on how to install an Access add-in in recent versions of Office and Windows (with screen shots)
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…
The goal of this Micro Tutorial is to help navigate beginning users with the app store on Windows 8. It will explain exciting features how to maximize your PC through these apps. This will be demonstrated using Windows 8 operating system.

630 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question