ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    HyperVServer Build

    IT Discussion
    11
    67
    7.0k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • JoelJ
      Joel
      last edited by

      Enter-PSSession -ComputerName HV01 -Credential HV01\Administrator does work - yes this does work!

      1 Reply Last reply Reply Quote 0
      • JoelJ
        Joel
        last edited by

        Its just the connecting via hyper-v manager 'Operation not supported' - So how can I allow remote management on the HV01 host or get my host to support Hyper-V Manager?

        1 Reply Last reply Reply Quote 0
        • ObsolesceO
          Obsolesce
          last edited by Obsolesce

          Enter another PSSession to HV01.

          Then type get-service vmms

          Does the status say it's running?

          1 Reply Last reply Reply Quote 0
          • JoelJ
            Joel
            last edited by

            UPDATE: I have run Updates on the host and after a reboot I think i can now connect. It did throw another error about WinRM firewall but it connected - i'll report back after a bit more tetsing
            THANKS so far

            1 Reply Last reply Reply Quote 1
            • JoelJ
              Joel
              last edited by

              Next I want to create a new VM - My Domain Controller.

              First, I want to change Hyper-V settings so my VM's go into D:\

              1. How do I partition the D drive on my host - when i formatted windows I created one partition for 😄 (80GB) and left 1.9TB spare (which I want to be my D drive) - How do I bring the D drive online on the host and have it accessible?

              Thanks

              black3dynamiteB 1 Reply Last reply Reply Quote 0
              • JoelJ
                Joel
                last edited by

                0_1532638597925_disks.PNG

                1 Reply Last reply Reply Quote 0
                • black3dynamiteB
                  black3dynamite @Joel
                  last edited by

                  @joel said in HyperVServer Build:

                  Next I want to create a new VM - My Domain Controller.

                  First, I want to change Hyper-V settings so my VM's go into D:\

                  1. How do I partition the D drive on my host - when i formatted windows I created one partition for 😄 (80GB) and left 1.9TB spare (which I want to be my D drive) - How do I bring the D drive online on the host and have it accessible?

                  Thanks

                  If you have RSAT installed, you can use Server Manager > File and Storage Services to manage your disks or use Disk Management.

                  1 Reply Last reply Reply Quote 1
                  • ObsolesceO
                    Obsolesce
                    last edited by Obsolesce

                    I'm assuming Disk 0 is your RAID10.

                    You have a partition setup for 80GB which is your C volume.

                    Now you need to (on DISK 0), create another VOLUME using the rest of the space and give it the letter D.

                    1 Reply Last reply Reply Quote 0
                    • JoelJ
                      Joel
                      last edited by

                      0_1532638980066_disk1.PNG

                      1 Reply Last reply Reply Quote 0
                      • ObsolesceO
                        Obsolesce
                        last edited by Obsolesce

                        diskpart
                        select disk 0
                        create partition primary
                        select partition 5
                        format fs=ntfs label="DATA" quick
                        assign
                        list disk
                        list part
                        list vol
                        
                        1 Reply Last reply Reply Quote 1
                        • NashBrydgesN
                          NashBrydges @Obsolesce
                          last edited by

                          @obsolesce I don't have to run any firewall powershell commands. The steps I listed above are literally all I need to do. I did this on a server about 10 days ago. Installed perfectly on a Dell R420.

                          ObsolesceO 1 Reply Last reply Reply Quote 0
                          • NashBrydgesN
                            NashBrydges @Joel
                            last edited by

                            @joel If you followed the steps I layed out, you HAVE to log in as WSMAN\username where username is the user you setup on the Hyper-V server. I don't know why but without "WSMAN", regardless of the workgroup name, the remote management doesn't work.

                            1 Reply Last reply Reply Quote 0
                            • ObsolesceO
                              Obsolesce @NashBrydges
                              last edited by

                              @nashbrydges said in HyperVServer Build:

                              @obsolesce I don't have to run any firewall powershell commands. The steps I listed above are literally all I need to do. I did this on a server about 10 days ago. Installed perfectly on a Dell R420.

                              I never mentioned the firewall.

                              I mentioned in my first response here to make sure the host and management PC are fully up to date.

                              NashBrydgesN 1 Reply Last reply Reply Quote 0
                              • NashBrydgesN
                                NashBrydges @Obsolesce
                                last edited by

                                @obsolesce Haha, sorry, this was supposed to be a response to Joel's post about firewall powershell. Tagged the wrong person.

                                1 Reply Last reply Reply Quote 0
                                • JoelJ
                                  Joel
                                  last edited by

                                  This server build is frustrating...I managed to get the HyperV server installed and able to connect to it via Hyper-V Manager. However when trying to boot the Guest VM via my CDRom (WindowsServer2016)m it tells me the BIOS was locked and the OS was tied to vendor. Note: I was using the original CD that I got shipped with the server!!!

                                  I then tried burning an ISO (generic) to USB but was unable to mount and boot from it as the HyperV Manager couldnt see the USB plugged into the Host! I read about making it 'offline' first but when attempting that, it turns out i couldnt make removable media offline!!

                                  This thing is a nightmare!
                                  Thinking of packing in Hyper-V!

                                  ObsolesceO black3dynamiteB NashBrydgesN matteo nunziatiM 4 Replies Last reply Reply Quote 0
                                  • ObsolesceO
                                    Obsolesce @Joel
                                    last edited by

                                    @joel said in HyperVServer Build:

                                    This server build is frustrating...I managed to get the HyperV server installed and able to connect to it via Hyper-V Manager. However when trying to boot the Guest VM via my CDRom (WindowsServer2016)m it tells me the BIOS was locked and the OS was tied to vendor. Note: I was using the original CD that I got shipped with the server!!!

                                    I then tried burning an ISO (generic) to USB but was unable to mount and boot from it as the HyperV Manager couldnt see the USB plugged into the Host! I read about making it 'offline' first but when attempting that, it turns out i couldnt make removable media offline!!

                                    This thing is a nightmare!
                                    Thinking of packing in Hyper-V!

                                    Why don't you just mount the ISO in a virtual cdrom for the VM?

                                    1 Reply Last reply Reply Quote 2
                                    • black3dynamiteB
                                      black3dynamite @Joel
                                      last edited by

                                      @joel said in HyperVServer Build:

                                      This server build is frustrating...I managed to get the HyperV server installed and able to connect to it via Hyper-V Manager. However when trying to boot the Guest VM via my CDRom (WindowsServer2016)m it tells me the BIOS was locked and the OS was tied to vendor. Note: I was using the original CD that I got shipped with the server!!!

                                      I then tried burning an ISO (generic) to USB but was unable to mount and boot from it as the HyperV Manager couldnt see the USB plugged into the Host! I read about making it 'offline' first but when attempting that, it turns out i couldnt make removable media offline!!

                                      This thing is a nightmare!
                                      Thinking of packing in Hyper-V!

                                      Copy the iso to the server instead.

                                      1 Reply Last reply Reply Quote 1
                                      • NashBrydgesN
                                        NashBrydges @Joel
                                        last edited by

                                        @joel

                                        Sometimes Hyper-V will puke all over itself when trying to install from network ISO so in most cases, I end up copying the ISO from the remote network folder to a local folder on the Hyper-V server after I've created the network drive.

                                        1. Create network drive on Hyper-V server from cmd with net use z: \\10.10.10.200\some_folder /persistent:yes /user:username "supersecretpassword"
                                        2. Create local folder for ISOs on the Hyper-V server from cmd run mkdir c:\ISO
                                        3. Copy the ISO from the network drive to the new ISO folder from cmd with copy z:\my_iso.iso c:\ISO

                                        If you don't want to keep the mapped network drive, remove it from cmd with net use z: /delete

                                        The key is to have the ISO locally stored on the Hyper-V server. Once you do, you can use Hyper-V Manager to navigate to the local folder on the Hyper-V server to connect the ISO to use to create the VM.

                                        JaredBuschJ 1 Reply Last reply Reply Quote 4
                                        • PhlipElderP
                                          PhlipElder
                                          last edited by

                                          Please have a look at these:
                                          http://www.mpecsinc.com/powershell-guide-standalone-hyper-v-server/

                                          http://www.mpecsinc.com/powershell-guide-new-vm-powershell/

                                          The first is a complete set of PowerShell and CommandLine to run on the newly installed Hyper-V Server OS.

                                          The second is the PowerShell to use to set up a VM.

                                          The simplest thing to do is set up the second partition on the host, create a folder called ISOs, copy the necessary ISO files into that folder, and tweak the above PowerShell to point to that location.

                                          Note that since the guest VMs are Windows based, the Windows Server Standard license covers installing the host OS in Desktop Experience Mode using the Server Standard installer files and activating with the supplied key that came with the license.

                                          JaredBuschJ 2 Replies Last reply Reply Quote 0
                                          • JaredBuschJ
                                            JaredBusch @PhlipElder
                                            last edited by

                                            @phlipelder said in HyperVServer Build:

                                            The simplest thing to do is set up the second partition on the host,

                                            No, never.

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 2 / 4
                                            • First post
                                              Last post