This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
virtualization:microsoft:hyper-v-create-virtual-machine [2013/04/01 13:23] jcooper |
virtualization:microsoft:hyper-v-create-virtual-machine [2019/05/20 11:30] (current) gcooper |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | **Manage | + | ====== Create a Hyper-V |
- | Hint: If managing a server that is not joined to your domain connect to Hyper-V | + | See also **[[https:// |
- | 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. | + | ===== Manage Hyper-V Server Remotely ===== |
- | On Windows 8 Pro or higher PC add the Hyper-V | + | :!: If managing a server that is not joined to your domain, connect to Hyper-V |
- | **Make Hyper-V Server available for management** | + | :!: DNS must be in place so that the server and remote |
- | Configure | + | On a Windows 8 Pro or higher PC, add the Hyper-V |
- | On the Hyper-V | + | ==== Make Hyper-V |
- | Configure | + | === Configure |
http:// | http:// | ||
- | To allow all MMC snap-ins to connect, at the command prompt on the Hyper-V server | + | On the Hyper-V server |
+ | Configure items 1, 2, 4, 7, 8 and 9. | ||
+ | |||
+ | To allow all MMC snap-ins to connect, at the command prompt on the Hyper-V server run: | ||
+ | |||
+ | < | ||
netsh advfirewall firewall set rule group=" | netsh advfirewall firewall set rule group=" | ||
+ | </ | ||
+ | |||
+ | :!: If you get the "Group cannot be specified with other identification conditions" | ||
- | To allow only specific MMC snap-ins to connect, run: | + | To allow only specific MMC snap-ins to connect run this PowerShell command: |
+ | < | ||
Enable-NetFirewallRule -DisplayGroup "< | Enable-NetFirewallRule -DisplayGroup "< | ||
+ | </ | ||
- | Where: | + | Where '' |
- | Rulegroup is one of the values from the table below, depending on which snap-in you want to connect. | + | ^MMC Snap-In |
- | + | ||
- | ^MMC snap-in | + | |
|Event Viewer | |Event Viewer | ||
|Services | |Services | ||
Line 37: | Line 45: | ||
|Windows Firewall with Advanced Security |Windows Firewall Remote Management | | |Windows Firewall with Advanced Security |Windows Firewall Remote Management | | ||
- | **Attach ISCSI Storage** | + | :!: All MMC Snap-ins work except for " |
- | http:// | + | ==== Attach iSCSI Storage ==== |
- | On the Hyper-V server console command prmpt type iscsicpl. | + | === Configure Network Interface for Storage Network === |
- | In the ISCSI Initiator type the " | + | http://www.techrepublic.com/ |
- | If you have trouble initializing the disk do this at the Hyper-V server console. | + | :!: If you have a separate NIC for Storage, perhaps 10GbE, you need to configure it separately. |
- | Type diskpart at the command line. | + | On the Hyper-V server console, access |
- | Type list disk and note the disk number of the ISCSI disk. | + | |
- | DISKPART> | + | |
- | DISKPART> | + | |
- | DISKPART> | + | |
- | DISKPART> | + | |
- | It may take a reboot | + | - Choose Network Settings |
+ | - Select the Index Number | ||
+ | - Choose (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 | ||
+ | On the Hyper-V server console command prompt, type '' | ||
+ | :!: If the iSCSI Initiator service is not running click yes to start and make automatic at start up. | ||
+ | In the iSCSI Initiator type the " | ||
- | **Create a Hyper-V Virtual Machine using Windows 8 Hyper-V Manager** | + | :!: Remember to use the storage network NIC IP of storage server if applicable. |
- | http:// | + | Once you have connected the iSCSI share, you may need to reboot both Hyper-V server and the management PC to see the volume in Computer Manager. |
- | On the Windows 8 computer, start an MMC snap-in, such as Computer Management. (right click computer, manage) | + | If you have trouble initializing |
- | In the left pane, right-click the top of the tree and click Connect to another computer. | + | Type '' |
- | + | ||
- | 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 " | + | |
- | + | ||
- | Enter the Hostname or IP of server. | + | |
- | + | ||
- | Right click the Hyper-V server name and select New, Virtual machine. | + | |
+ | < | ||
+ | DISKPART> | ||
+ | Note the disk number of the ISCSI disk. | ||
+ | DISKPART> | ||
+ | DISKPART> | ||
+ | DISKPART> | ||
+ | DISKPART> | ||
+ | </ | ||
+ | :!: 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:// | ||
+ | - 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 '' | ||
+ | - In the left pane right click on Hyper-V Manager and select " | ||
+ | - Enter the Hostname or IP of server. | ||
+ | - Right click the Hyper-V server name and select New, Virtual machine. | ||