Managing Hyper-V
-
@Mike-Davis said in Managing Hyper-V:
@scottalanmiller said in Managing Hyper-V:
@Mike-Davis said in Managing Hyper-V:
@scottalanmiller said in Managing Hyper-V:
Not something that I've looked into yet. But if you use PowerShell to manage Hyper-V, is there anyway to get console access without another tool? Like can PS be used to activate an RDP session to a VM console redirect?
I've been able to install screen connect on it and manage it that way.
How do you get SC onto a fresh install of Windows? You need to make the base image somewhere with a console.
download the .msi installer and use the command line msiexec /i to install it the same way you install the open manage tools. In Screen Connect it's like you're sitting at the console:
What's your method for installing and configuring the base OS to get to that point?
-
I know that you can use Hyper-V on Windows 10, make a base image, and then deploy via image. Is that just what people do? Make the starting images via a different process then just use command line PS or similar to manage them once they are deployed? This is how AWS and Azure work, so it isn't crazy. But it's not ideally convenient either, and those systems lose console access which can be a pain and there isn't any reason to have to lose that with Hyper-V.
-
What's your method for installing and configuring the base OS to get to that point?
It's a new physical host, so I'm physically in front of the server or using ilo/DRAC. Attach the hyper-v .iso, install, and then map a drive to a share on my laptop to get screen connect and/or open manage, etc.
-
@Mike-Davis said in Managing Hyper-V:
What's your method for installing and configuring the base OS to get to that point?
It's a new physical host, so I'm physically in front of the server or using ilo/DRAC. Attach the hyper-v .iso, install, and then map a drive to a share on my laptop to get screen connect and/or open manage, etc.
How does that help, though? We want console access to the VMs, not to the Hyper-V host. What does a connection to the Hyper-V host buy us?
-
Sounding more and more like hyperv is a disaster without these kinds of tools
-
@DustinB3403 said in Managing Hyper-V:
Sounding more and more like hyperv is a disaster without these kinds of tools
It seems very frustrating to me but a lot of people use it and are happy with it so I chalked it up to my own inexperience, which it still may be
-
@scottalanmiller said in Managing Hyper-V:
@Mike-Davis said in Managing Hyper-V:
What's your method for installing and configuring the base OS to get to that point?
It's a new physical host, so I'm physically in front of the server or using ilo/DRAC. Attach the hyper-v .iso, install, and then map a drive to a share on my laptop to get screen connect and/or open manage, etc.
How does that help, though? We want console access to the VMs, not to the Hyper-V host. What does a connection to the Hyper-V host buy us?
VM creation?
-
I've used 2012 with hyperv enabled, and if we ever wanted to manage or create a vm Wed rep to the server.
Which is a bit insane. But it's how it worked.
Can you RDP to a straight hyperv install for the same use?
-
@DustinB3403 said in Managing Hyper-V:
I've used 2012 with hyperv enabled, and if we ever wanted to manage or create a vm Wed rep to the server.
Which is a bit insane. But it's how it worked.
Can you RDP to a straight hyperv install for the same use?
Yes you can
-
@scottalanmiller said in Managing Hyper-V:
How does that help, though? We want console access to the VMs, not to the Hyper-V host. What does a connection to the Hyper-V host buy us?
I was thinking about the typical VM tasks like allocating more space or moving vm files around. I forgot we were trying to get console access.
-
@DustinB3403 said in Managing Hyper-V:
Sounding more and more like hyperv is a disaster without these kinds of tools
It's pretty limited currently. Losing 5Nine is a blow to the entire ecosystem.
-
@scottalanmiller said in Managing Hyper-V:
@DustinB3403 said in Managing Hyper-V:
Sounding more and more like hyperv is a disaster without these kinds of tools
It's pretty limited currently. Losing 5Nine is a blow to the entire ecosystem.
It really does seem that way
-
@wirestyle22 said in Managing Hyper-V:
@DustinB3403 said in Managing Hyper-V:
Sounding more and more like hyperv is a disaster without these kinds of tools
It seems very frustrating to me but a lot of people use it and are happy with it so I chalked it up to my own inexperience, which it still may be
Most people use it in ways we'd never consider to be production viable for any other platform, though.
-
@wirestyle22 said in Managing Hyper-V:
@scottalanmiller said in Managing Hyper-V:
@Mike-Davis said in Managing Hyper-V:
What's your method for installing and configuring the base OS to get to that point?
It's a new physical host, so I'm physically in front of the server or using ilo/DRAC. Attach the hyper-v .iso, install, and then map a drive to a share on my laptop to get screen connect and/or open manage, etc.
How does that help, though? We want console access to the VMs, not to the Hyper-V host. What does a connection to the Hyper-V host buy us?
VM creation?
In what way? What does that do that PS doesn't already do?
-
@Mike-Davis said in Managing Hyper-V:
@scottalanmiller said in Managing Hyper-V:
How does that help, though? We want console access to the VMs, not to the Hyper-V host. What does a connection to the Hyper-V host buy us?
I was thinking about the typical VM tasks like allocating more space or moving vm files around. I forgot we were trying to get console access.
Ah, that we can do with PS already even easier (once remoting is enabled.)
-
@wirestyle22 said in Managing Hyper-V:
@scottalanmiller said in Managing Hyper-V:
@wirestyle22 said in Managing Hyper-V:
@scottalanmiller said in Managing Hyper-V:
@wirestyle22 said in Managing Hyper-V:
The issue with that is my lack of powershell knowledge
base knowledge needed to work on Windows. Just how it is.
Directly conflicts with me wanting to turn myself into a proper linux systems administrator
Not really. Good practices on Windows are good practices on Linux. They are not as different as people think.
I just mean i have extremely limited time and I have been using it to read about Red Hat and the Linux Command Line. The prospect of also studying for Powershell is off-putting
I find this funny - you're now put out because something your company needs you to learn is trumping something you want to learn that currently offers your employer no benefit - all doing this on the company's dime and time?
-
I don't understand what the issue is here. Install and configure a Hyper-V Host... then connect to it via Hyper-V Manager, FCM, or PowerShell. None of the Windows GUI tools do anything that you cannot do with PowerShell. In fact it's the other way around. You can do way more to Hyper-V with PowerShell than from any tool. Just learn the commands and move on. They are so easy.
-
@Dashrender said in Managing Hyper-V:
@wirestyle22 said in Managing Hyper-V:
@scottalanmiller said in Managing Hyper-V:
@wirestyle22 said in Managing Hyper-V:
@scottalanmiller said in Managing Hyper-V:
@wirestyle22 said in Managing Hyper-V:
The issue with that is my lack of powershell knowledge
base knowledge needed to work on Windows. Just how it is.
Directly conflicts with me wanting to turn myself into a proper linux systems administrator
Not really. Good practices on Windows are good practices on Linux. They are not as different as people think.
I just mean i have extremely limited time and I have been using it to read about Red Hat and the Linux Command Line. The prospect of also studying for Powershell is off-putting
I find this funny - you're now put out because something your company needs you to learn is trumping something you want to learn that currently offers your employer no benefit - all doing this on the company's dime and time?
If I'm the only person that is required to learn it, even though there are other people in identical positions, yes.
-
@Tim_G said in Managing Hyper-V:
I don't understand what the issue is here. Install and configure a Hyper-V Host... then connect to it via Hyper-V Manager, FCM, or PowerShell. None of the Windows GUI tools do anything that you cannot do with PowerShell. In fact it's the other way around. You can do way more to Hyper-V with PowerShell than from any tool. Just learn the commands and move on. They are so easy.
That allows you to manage the hypervisor.. what about getting console access to the VMs?
-
@Dashrender said in Managing Hyper-V:
@Tim_G said in Managing Hyper-V:
I don't understand what the issue is here. Install and configure a Hyper-V Host... then connect to it via Hyper-V Manager, FCM, or PowerShell. None of the Windows GUI tools do anything that you cannot do with PowerShell. In fact it's the other way around. You can do way more to Hyper-V with PowerShell than from any tool. Just learn the commands and move on. They are so easy.
That allows you to manage the hypervisor.. what about getting console access to the VMs?
Why wouldn't you use RDP there? Or PowerShell?