User Tools

Site Tools


virtualization:microsoft:hyper-v-create-virtual-machine

This is an old revision of the document!


Manage Hyper-V Server remotely

Hint: If managing a server that is not joined to your domain connect to Hyper-V servers from a workstation using a login with admin username and password the same as server.

Also: DNS must be in place so that the server and remote management PC can connect to each other via host name and IP address. Do this with your current DNS system or using host files.

On Windows 8 Pro or higher PC add the Hyper-V Manager feature in Programs and Features under Hyper-V, Hyper-V Management Tools.

Make Hyper-V Server available for management

Configure the Hyper-V Server for Remote Access

On the Hyper-V server command menu:

Configure #1,2,4,7,8 and 9.

http://technet.microsoft.com/en-us/library/ddb147c1-621c-4b89-9003-81c93ba050d7#BKMK_1_4

To allow all MMC snap-ins to connect, at the command prompt on the Hyper-V server run

netsh advfirewall firewall set rule group=“Windows Firewall Remote Management” new enable=yes

To allow only specific MMC snap-ins to connect, run:

Enable-NetFirewallRule -DisplayGroup “<rulegroup>”

Where:

Rulegroup is one of the values from the table below, depending on which snap-in you want to connect.

MMC snap-in Rule group
Event Viewer Remote Event Log Management
Services Remote Services Management
Shared Folders File and Printer Sharing
Task Scheduler Performance Logs and Alerts, File and Printer Sharing
Disk Management Remote Volume Management
Windows Firewall with Advanced Security Windows Firewall Remote Management

Attach ISCSI Storage

*Configure Network Interface for Storage Network*

If you have a seperate NIC for Storage (10GB?) you need to configure seperately.

On the Hyper-V server console sconfig.cmd choose 8) Network settings Select the Index# of the NIC to configure 1) Set Network Adapter Address (S) Static Enter Static IP address Enter Subnet Mask Enter Gateway Choose 2) Set DNS Servers Enter primary and secondary servers

http://www.techrepublic.com/blog/datacenter/configure-the-iscsi-initiator-in-windows-server-core-or-hyper-v-server/3945

On the Hyper-V server console command prmpt type iscsicpl. If the ISCSI Initiator service is not running click yes to start and make automatic at start up.

In the ISCSI Initiator type the “Target Name” of the ISCSI share and click connect. Remember to use the storage network NIC IP if applicable.

If you have trouble initializing the disk do this at the Hyper-V server console.

Type diskpart at the command line. Type list disk and note the disk number of the ISCSI disk. DISKPART> SELECT DISK n DISKPART> ATTRIBUTES DISK CLEAR READONLY DISKPART> ONLINE DISK DISKPART> CONVERT MBR

It may take a reboot of the Hyper-V server to see the drive in Computer Management on your remote management PC.

Create a Hyper-V Virtual Machine using Windows 8 Hyper-V Manager

http://technet.microsoft.com/en-us/library/ddb147c1-621c-4b89-9003-81c93ba050d7#BKMK_1_4

On the Windows 8 computer, start an MMC snap-in, such as Computer Management. (right click computer, manage)

In the left pane, right-click the top of the tree and click Connect to another computer.

Type the computer name of the server that is in Server Core mode and click OK. You can now use the MMC snap-in to manage the Server Core server as you would any other computer running a Windows Server operating system.

On Windows 8 PC from Start just type hyper-v and choose Hyper-V Manager.

In the left pane right click on Hyper-V Manager and select “Connect to Server”.

Enter the Hostname or IP of server.

Right click the Hyper-V server name and select New, Virtual machine.

virtualization/microsoft/hyper-v-create-virtual-machine.1365110652.txt.gz · Last modified: 2013/04/04 15:24 by jcooper