User Tools

Site Tools


virtualization:microsoft:hyper-v-checklist

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
virtualization:microsoft:hyper-v-checklist [2013/08/07 10:47]
gcooper
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://stephanco.blogspot.com/2013/07/preview-of-new-pshvm-all-powershell-all.html http://stephanco.blogspot.com/2013/07/preview-of-new-pshvm-all-powershell-all.html
Line 22: Line 24:
   - You should now be at the screen where the installation takes place. This takes some time.   - 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 set the default Administrator password.   - Once the server has booted up you will need to set the default Administrator password.
-  - You will be greeted by SConfig (sconfig.exe)+  - You will be greeted by **SConfig** (sconfig.exe)
     - Choose Option 4 to configure Remote Management     - Choose Option 4 to configure Remote Management
       - Enter Selection: 1 to Enable Remote Management       - Enter Selection: 1 to Enable Remote Management
Line 41: Line 43:
         - Press Enter again to accept the default Subnet of /24         - Press Enter again to accept the default Subnet of /24
         - Enter the new Static Gateway IP and press Enter.  You will be returned to the Network Adapter Settings Menu.         - 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 +        - 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 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.  You will get a confirmation popup. Press OK to continue.  You will be returned to the Network Adapter Settings Menu.         - 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.
-      - Select Option 4 to Return to the Main Menu.+        - Select Option 4 to Return to the Main Menu.
  
 :!: There is no need to install .Net 4.0 as it is already part of the base install. :!: There is no need to install .Net 4.0 as it is already part of the base install.
Line 59: Line 61:
  
 :!: This will disable the firewall and allow all traffic.  The firewall is on by default and will prevent you from doing anything remotely until you either turn it off or put in exceptions.  This will be updated to just allow necessary traffic for better security. :!: This will disable the firewall and allow all traffic.  The firewall is on by default and will prevent you from doing anything remotely until you either turn it off or put in exceptions.  This will be updated to just allow necessary traffic for better security.
 +
 +:!: The next step is only needed if you plan on monitoring your virtualization host with SNMP monitoring software.
  
 <file> <file>
-:Install SNMP-Services (only needed if you plan on monitoring your virtualization host with SNMP monitoring software)+:Install SNMP-Services
 powershell.exe -command "Add-WindowsFeature SNMP-Service" powershell.exe -command "Add-WindowsFeature SNMP-Service"
 </file> </file>
  
-Choose Option 2 to configure Server Hostname +    - Choose Option 2 to configure the server Hostname 
-a. Enter the VHOST hostname and press Enter. +      Enter the virtualization host hostname and press Enter 
-b. You will be prompted to Reboot the server. Click Yes.+      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 ''\\yourvhostname\C$'' to get the installation files to your virtualization host (downloaded and unzipped). 
 + 
 +  - Make a directory on the root of called C:\ISO and copy your installation OS (.iso) file into it 
 +  - Make a directory on C:\virtualservers (if you setup a datastore drive for the VM's just change the C: to D:) 
 +  - Copy the unzipped folder "PSHVM" to C:\pshvm 
 +  - Connect via RDP to the new virtualization host 
 +  - at the DOS prompt, enter ''C:\PSHVM\m.bat'' to load the Hyper-V Manger menu 
 +    - 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 "VMConnect (RDP to VM's) 
 +    - Next you will need to choose the Powershell shortcut 
 +    - When it opens, you will need to type ''Set-ExecutionPolicy unrestricted'' and press Enter 
 +    - 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: 
 +  
 +<file> 
 +HKLM\software\microsoft\windows\current version\run 
 +</file> 
 + 
 +called ''File Manager'' that points to ''c:\PSHVM\a43\a43.exe''
 + 
 +===== Show Quick Status Report at Login ===== 
 + 
 +In ''regedit'', you can add a string value called ''Welcome'' that points to ''C:\PSHVM\welcome.bat''.
  
-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 the shortcut called Hyper-V Manager.
  
-Make directory on the root of called C:\ISO and copy your installation OS -iso file into it +:!: Once this opens you will notice 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 to close.
-Make a directory on C:\virtualservers (if you setup a datastore dirve for the VM's just change the C: to D: +
-Copy the folder "PSHVM" that unzipped to C:\pshvm +
  
-RDP to the new VHOST+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 you 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.
  
-Now Use your DOS prompt and type C:\PSHVM\m.bat to load the Hyper-v Manger menu, choose OK next to the A43 File Manager. A43 if a file manager and has shortcuts in the bottom pane.+Now you have built the virtualization host, you need to configure it using PS Hyper-Manager.
  
-Browse to C:\PSHVM and then run the file named vcredist_x86.exe to install the runtime code so you can use the "VMConnect (RDP to VM's) Next you will need to choose the Powershell shortcut. When it opens you will need to type Set-ExecutionPolicy unrestricted and press Enter, answer Yes to allow the change. If you do not do either of these your RDP will not work and you will not be able to use the Hyper-v Manager ...which is why you are following this process.+  - Set the Virtual Machine and HardDisk paths for the virtualization host 
 +  - Create a vSwitch 
 +  - Create a new VM via questions and answers (assuming it is a windows OS) 
 +  - Start RDP to VM 
 +  - Answer OS installation questions 
 +  - Set password 
 +  Turn off firewall 
 +  - Set the IP address 
 +  Enable RDP
  
-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:\PSHVM\a43\a43.exe. If you want a quick status report each time you login you can also add a string value called welcome that points to C:\PSHVM\welcome.bat.+
  
-Choose the shortcut called Hyper-v Manager+  Insert MS tools and then install them 
 +  - 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 to close. To close hype-v manager you can press the ESC key, use the X or clikc close.+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 windowjust 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'to see if it is setup to your specs (RAMvCPUs, etc.)
  
-Now you have built athe vhost you need to configure it, using PS Hyper-V Manager +You now have Hyper-V Server and a VM running on it.
-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 and a VM running on it.+
virtualization/microsoft/hyper-v-checklist.1375894043.txt.gz · Last modified: 2013/08/07 10:47 by gcooper