This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
virtualization:microsoft:hyper-v-checklist [2013/08/07 10:07] gcooper created |
virtualization:microsoft:hyper-v-checklist [2013/08/07 11:20] (current) gcooper |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Hyper-V Server 2012 Installation Checklist ====== | ====== Hyper-V Server 2012 Installation Checklist ====== | ||
+ | |||
+ | FIXME This page is incomplete and needs editing and verification. | ||
http:// | http:// | ||
Line 12: | Line 14: | ||
- Enable virtualization in the BIOS | - Enable virtualization in the BIOS | ||
- Download the free Hyper-V Server file named " | - Download the free Hyper-V Server file named " | ||
- | Burn your ISO to a DVD | + | - Burn your ISO to a DVD |
- | Boot to the DVD | + | |
- | Choose the language and such then click " | + | |
- | Click " | + | |
- | Choose Core = Free, op one | + | |
- | Agree to the Licensing terms, check the box for "I Accept" | + | |
- | Choose | + | |
- | If you want to partition the drive click on "Drive Options (advanced)" | + | |
- | You should now be at the screen where the installation takes place. This takes some time. | + | |
- | Once the server has booted up you will need to provide | + | |
- | Then you will be greeted by SConfig (PS if you accidentally close the SConfig box you can type Sconfig in the DOS prompt | + | - You will be greeted by **SConfig** (sconfig.exe) |
+ | - Choose Option 4 to configure Remote Management | ||
+ | - Enter Selection: 1 to Enable Remote Management | ||
+ | - Enter Selection: 3 to Allow Remote Machines to Ping server, click Yes | ||
+ | - Enter Selection: 4 to Return to Main Menu | ||
+ | - Choose Option 7 to configure Remote Desktop Settings | ||
+ | - Type E for (E)nable and press Enter | ||
+ | - Enter Selection: 2 to allow any version of Remote Desktop to connect. | ||
+ | - Choose Option 9 to open the Date and Time GUI | ||
+ | - Configure | ||
+ | - Choose Option 8 to configure Network Settings | ||
+ | - It will only list the NICs that are connected to a network | ||
+ | - Select the Index# | ||
+ | - You will be shown Current Settings | ||
+ | - Select Option 1 to enter IP Address | ||
+ | - Enter S for (S)tatic IP address and press Enter | ||
+ | - Enter the new IP Address and press Enter | ||
+ | - Press Enter again to accept the default Subnet of /24 | ||
+ | - Enter the new Static Gateway IP and press Enter. | ||
+ | - Select Option 2 to enter DNS IP Addresses | ||
+ | - Set the Preferred DNS server IP and press Enter. You will get a confirmation popup. Press OK to continue. | ||
+ | - Set the Alternate DNS server IP and press Enter. | ||
+ | - Select Option 4 to Return to the Main Menu. | ||
- | Choose Option 4 to Configure Remote Management: | + | :!: There is no need to install |
- | a. Enter Selection: 1 to Enable Remote Management | + | |
- | b. Enter Selection: 3 to Allow Remote Machines to Ping server. | + | |
- | Click Yes. | + | |
- | Enter Selection: 4 to Return to Main Menu. | + | In the black CMD/DOS window that is opened by default, |
- | Choose Option 7 to configure Remote Desktop Settings. | + | |
- | a. Type E for (E)nable and press Enter. | + | |
- | b. Enter Selection: 2 to allow any version of Remote Desktop to connect. | + | |
- | You will be returned to the Main Menu. | + | |
- | + | ||
- | Choose Option 9 to open the Date and Time GUI. | + | |
- | a. Configure the date and time as you would Server 2008 R2 | + | |
- | You will be returned to the Main Menu. | + | |
- | + | ||
- | Choose Option 8 to configure Network Settings. | + | |
- | a. It will only list the NICs that are connected to a network. | + | |
- | b. Select the Index# for the adapter you want to configure: | + | |
- | c. You will be shown Current Settings. | + | |
- | Select Option 1 to enter IP Address. | + | |
- | a. Enter S for (S)tatic IP address and press Enter. | + | |
- | b. Enter the new IP Address and press Enter. | + | |
- | c. Press Enter again to accept the default Subnet of /24. | + | |
- | d. Enter the new Static Gateway IP and press Enter. | + | |
- | You will be returned to the Network Adapter Settings Menu. | + | |
- | + | ||
- | Select Option 2 to enter DNS IP Addresses. | + | |
- | a. Set the Preferred DNS server IP and press Enter. | + | |
- | You will get a confirmation Popup. Press OK to continue. | + | |
- | b. Set the Alternate DNS server IP and press Enter. | + | |
- | You will get a confirmation Popup. Press OK to continue.. | + | |
- | You will be returned to the Network Adapter Settings Menu. | + | |
- | c. Select Option 4 to Return to the Main Menu. | + | |
- | + | ||
- | In the black CMD/DOS window that is opened by default, | + | |
+ | < | ||
:Disable TCPChimney | :Disable TCPChimney | ||
netsh int tcp set global chimney=disabled | netsh int tcp set global chimney=disabled | ||
Line 65: | Line 58: | ||
:Disable Firewall | :Disable Firewall | ||
netsh advfirewall set allprofiles state off | netsh advfirewall set allprofiles state off | ||
- | NOTE: This will allow to RDP and map drives as the firewall is on by default and will prevent you from doing anything remotely until you either turn it off or put in exceptions. I opt to turn it off because I have hardware firewalls. | + | </ |
- | :Install SNMP-Services (only neeed if you plan on monitoring your VHOST with some monitoring software) | + | :!: This will disable the firewall and allow all traffic. |
+ | |||
+ | :!: The next step is only needed | ||
+ | |||
+ | < | ||
+ | :Install SNMP-Services | ||
powershell.exe -command " | powershell.exe -command " | ||
+ | </ | ||
+ | |||
+ | - Choose Option 2 to configure the server Hostname | ||
+ | - Enter the virtualization host hostname and press Enter | ||
+ | - You will be prompted to Reboot the server. Click Yes. | ||
+ | |||
+ | ===== Add the Virtualization Host to the Domain ===== | ||
+ | |||
+ | :!: While not mandatory, this eliminates most security and access related issues. | ||
+ | | ||
+ | Again, in SConfig: | ||
+ | |||
+ | - Select Option 1 to Join the virtualization host to a domain | ||
+ | - Press D for (D)omain | ||
+ | - Enter the full Domain Name and press Enter | ||
+ | - Enter the Domain Administrator User Name and press Enter | ||
+ | - Enter the Domain Administrator Password and press Enter | ||
+ | - You will be prompted if you want to change the hostname, click No | ||
+ | - You will be prompted to Restart the machine, click Yes | ||
+ | |||
+ | Now you can map a drive to your virtualization host '' | ||
+ | |||
+ | - Make a directory on the root of called C:\ISO and copy your installation OS (.iso) file into it | ||
+ | - Make a directory on C: | ||
+ | - Copy the unzipped folder " | ||
+ | - Connect via RDP to the new virtualization host | ||
+ | - at the DOS prompt, enter '' | ||
+ | - Choose OK next to the A43 File Manager | ||
+ | - Browse to C:\PSHVM and then run the file named vcredist_x86.exe to install the runtime needed for " | ||
+ | - Next you will need to choose the Powershell shortcut | ||
+ | - When it opens, you will need to type '' | ||
+ | - Answer Yes to allow the change | ||
+ | - If you do not do either of these RDP will not work and you will not be able to use the Hyper-V Manager | ||
+ | |||
+ | ===== Start the File Manager at Login ===== | ||
+ | |||
+ | Use the regedit edit shortcut and add a string value to: | ||
+ | |||
+ | < | ||
+ | HKLM\software\microsoft\windows\current version\run | ||
+ | </ | ||
+ | |||
+ | called '' | ||
+ | |||
+ | ===== Show Quick Status Report at Login ===== | ||
- | Choose Option 2 to configure Server Hostname | + | In '' |
- | a. Enter the VHOST hostname and press Enter. | + | |
- | b. You will be prompted | + | |
- | ADD THE VHOST TO THE DOMAIN Not really Needed, but I will show you how. | + | ===== Hyper-V Manager ===== |
- | 1. Form the console use the SConfig window. | + | |
- | 2. Select Option 1 to Join the VHOST to a Domain. | + | |
- | a. Press D for (D)omain | + | |
- | b. Type the Full Domain and press Enter. | + | |
- | c. Type the Domain Administrator User Name and press Enter. | + | |
- | d. Type the Domain Administrator Password and press Enter. | + | |
- | i. You will be prompted if you want to change the hostname. Click No. | + | |
- | ii. You will be prompted to Restart the machine. Click Yes. | + | |
- | Now you can map a drive to your vhost\\VHOSTname\C$ to get the download and unzipped files to your vhost that we are about to install. | + | Choose |
- | Make a directory on the root of called C:\ISO and copy your installation OS -iso file into it | + | :!: Once this opens you will notice |
- | Make a directory on C: | + | |
- | Copy the folder " | + | |
- | RDP to the new VHOST | + | To use it you just click the OK next to the item you want to perform. |
- | Now Use your DOS prompt and type C: | + | Now you have built the virtualization host, you need to configure it using PS Hyper-V Manager. |
- | Browse to C: | + | - Set the Virtual Machine |
+ | - Create a vSwitch | ||
+ | - Create a new VM via questions and answers | ||
+ | - Start RDP to a VM | ||
+ | - Answer OS installation questions | ||
+ | - Set password | ||
+ | | ||
+ | - Set the IP address | ||
+ | | ||
- | To get the file manager to open at login you will need to use the regedit edit shortcut and add a string value to | + | ===== Manage DVD/ISO for VM's ===== |
- | HKLM\software\microsoft\windows\current version\run called file manager that points to c: | + | |
- | Choose the shortcut called Hyper-v Manager | + | |
+ | - Reboot | ||
- | Once this opens you will notice a powershell window at the upper left. Leave this open you can minimize it if you want but do not close it unless you want hyper-v manager | + | Now you can RDP to the server once it comes up and continue configuration as needed. |
- | To use it you just click the ok next to the item you want to perform. A Powershell script will open in a new powershell prompt. read and follow the instructions. Some items will open a GUI file explorer pop-up window, just use it like any other program that tou have installed. If unsure read the title of the pop-up window. Each of the scripts will pause then close and return to the menu above. | + | Run an Inventory Report of the virtualization host and VM' |
- | Now you have built athe vhost you need to configure it, using PS Hyper-V | + | You now have a Hyper-V |
- | Set the Virtual Machine and HardDisk paths for the VHost | + | |
- | Create a vSwitch | + | |
- | Create a new VM via questions and answers (I am assuming it is a windows OS) | + | |
- | Start | + | |
- | RDP to a VM, answer OS installation questions. set password, turn off firewall, set the IP address and enable RDP | + | |
- | Manage VM's DVD/ISO.. Insert MS tools and then install them, reboot | + | |
- | Now you can RDP to the server once it comes up and continue setting it upa as needed. | + | |
- | Run and Inventory Report of the VHost and VM's to see if it is setup to your specs. RAM vCPU etc. | + | |
- | You know have a hyper-v server | + |