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/03/30 16:21] 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:// |
- | On Windows 8 Pro or higher PC add the Hyper-V | + | ===== Manage |
- | **Make | + | :!: If managing a server that is not joined to your domain, connect to Hyper-V |
- | Configure the Hyper-V Server for Remote Access | + | :!: DNS must be in place so that the server and remote management PC can connect to each other via host name and IP address. |
+ | |||
+ | On a 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 Remote Management ==== | ||
+ | |||
+ | === Configure the Hyper-V Server for Remote Access | ||
http:// | http:// | ||
- | If the Server Core server | + | On the Hyper-V |
- | cmdkey / | + | Configure items 1, 2, 4, 7, 8 and 9. |
- | Where: | + | To allow all MMC snap-ins to connect, |
- | ServerName is the name of the Server Core server | + | |
- | UserName is the name of an administrator account | + | |
- | To be prompted for a password, omit the /pass option. | + | |
- | When prompted, type the password for the user name that is specified in the previous step | + | |
- | If the firewall on the Server Core server is not already configured to allow MMC snap-ins to connect, | + | |
- | **Attach ISCSI Storage** | + | < |
+ | netsh advfirewall firewall set rule group=" | ||
+ | </ | ||
- | http://www.techrepublic.com/ | + | :!: If you get the "Group cannot be specified with other identification conditions" |
- | On the Hyper-V server console command prmpt type iscsicpl. | + | To allow only specific MMC snap-ins to connect run this PowerShell command: |
- | In the ISCSI Initiator type the "Target Name" | + | < |
+ | Enable-NetFirewallRule -DisplayGroup | ||
+ | </ | ||
- | It may take a reboot ofthe Hyper-V server to see the drive in Computer Management | + | Where '' |
+ | ^MMC Snap-In ^Rule Group ^ | ||
+ | |Event Viewer | ||
+ | |Services | ||
+ | |Shared Folders | ||
+ | |Task Scheduler | ||
+ | |Disk Management | ||
+ | |Windows Firewall with Advanced Security |Windows Firewall Remote Management | | ||
+ | :!: All MMC Snap-ins work except for " | ||
+ | ==== Attach iSCSI Storage ==== | ||
- | **Create a Hyper-V Virtual Machine using Windows 8 Hyper-V Manager** | + | === Configure Network Interface for Storage Network === |
- | http://technet.microsoft.com/en-us/library/ddb147c1-621c-4b89-9003-81c93ba050d7# | + | http://www.techrepublic.com/blog/datacenter/configure-the-iscsi-initiator-in-windows-server-core-or-hyper-v-server/ |
- | On the Windows 8 computer, start an MMC snap-in, such as Computer Management. (right click computer, manage) | + | :!: If you have a separate NIC for Storage, perhaps 10GbE, you need to configure it separately. |
- | In the left pane, right-click the top of the tree and click Connect to another computer. | + | On the Hyper-V server console, access |
- | Type the computer name of the server that is in Server Core mode and click OK. You can now use the MMC snap-in | + | - Choose Network Settings |
+ | - Select | ||
+ | - 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 Windows 8 PC from Start just type hyper-v and choose | + | On the Hyper-V |
- | In the left pane right click on Hyper-V Manager and select " | + | :!: If the iSCSI Initiator service is not running |
- | Enter the Hostname | + | In the iSCSI Initiator type the " |
- | Right click the Hyper-V | + | :!: Remember to use the storage network NIC IP of storage |
+ | 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. | ||
+ | If you have trouble initializing the disk do this at the Hyper-V server console. | ||
+ | Type '' | ||
+ | < | ||
+ | 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. | ||