Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
Pile Of Garbage
May 28, 2007



Moey posted:

Edit: Actually the Unity VM had a corrupted VMDK, so I had to do a database backup/restore to get that piece of poo poo moved.

This seems to be par for the course with CUCM virtual appliances. If the guest doesn't shutdown cleanly then it's probably going to be cactus when you turn it back on.

Pile Of Garbage fucked around with this message at 15:06 on May 5, 2017

Adbot
ADBOT LOVES YOU

evil_bunnY
Apr 2, 2003

Moey posted:

I randomly use this to check, my coworker is a monster.
I've removed snap privileges from one of my (now former) coworkers for precisely this reason. He got the loving alarms too.

anthonypants posted:

Here's some backstory on that host:
You're sending resumes around yeah?

evil_bunnY fucked around with this message at 13:53 on May 5, 2017

anthonypants
May 6, 2007

by Nyc_Tattoo
Dinosaur Gum

evil_bunnY posted:

You're sending resumes around yeah?
I'm not at the point where I believe things are hopeless here, and I'm trying to make things better.

Moey
Oct 22, 2010

I LIKE TO MOVE IT

evil_bunnY posted:

I've removed snap privileges from one of my (now former) coworkers for precisely this reason. He got the loving alarms too.

You are doing the Lord's work.

SEKCobra
Feb 28, 2011

Hi
:saddowns: Don't look at my site :saddowns:
So I want to make my old PC into a VM host, but ESXi doesn't seem to like the Realtek NIC, is there some easy way to bypass this?

Wibla
Feb 16, 2011

Short answer: get an intel nic, the realtek nics are not great.

Long answer: You can find howtos on how to embed drivers for realtek nics online, but really - just get an intel nic. Dual ports are nice.

anthonypants
May 6, 2007

by Nyc_Tattoo
Dinosaur Gum

SEKCobra posted:

So I want to make my old PC into a VM host, but ESXi doesn't seem to like the Realtek NIC, is there some easy way to bypass this?
Can you define what "doesn't seem to like" means

SEKCobra
Feb 28, 2011

Hi
:saddowns: Don't look at my site :saddowns:

Wibla posted:

Short answer: get an intel nic, the realtek nics are not great.

Long answer: You can find howtos on how to embed drivers for realtek nics online, but really - just get an intel nic. Dual ports are nice.

All those guides don't seem to apply to 6.5 and none of the tools seem to work on Windows 10

anthonypants posted:

Can you define what "doesn't seem to like" means

It says it doesn't like it.

xarph
Jun 18, 2001


SEKCobra posted:

It says it doesn't like it.

Realtek nics are designed to be as cheap as possible and rely on the OS driver doing stuff that any real NIC should be doing on-board. They're basically winmodems for Ethernet. Attempting to make a realtek driver for ESXi is a recipe for disaster and pink screens of death.

milk milk lemonade
Jul 29, 2016
Get yourself VMWare workstation instead

evol262
Nov 30, 2010
#!/usr/bin/perl
Or, y'know, hyper-v. Or ovirt. Workstation is not comparable

milk milk lemonade
Jul 29, 2016
If you're just trying to host a few VMs on an old non-server with Windows already on it and you're having NIC troubles I don't see the point of installing a full on hypervisor. I don't think ovirt is going to help with that and Hyper-V sucks donkey rear end for Linux distros compared to Workstation.

evol262
Nov 30, 2010
#!/usr/bin/perl

milk milk lemonade posted:

If you're just trying to host a few VMs on an old non-server with Windows already on it and you're having NIC troubles I don't see the point of installing a full on hypervisor. I don't think ovirt is going to help with that and Hyper-V sucks donkey rear end for Linux distros compared to Workstation.

Well, if he's installing ESXi, so Windows doesn't matter much there.

For bare metal, oVirt basically gets support for every NIC Linux supports, so crappy realteks are fine.

Hyper-V is also totally fine. The loss is in same page sharing, and the console isn't great, but let's assume these are server VMs given the lack of evidence to the contrary, since that's the norm.

"Free bare metal hypervisor which works with realtek nic" is not the same as "vmware workstation", which only really has a win here if you need/want and accelerated console or specifically want ESXi (to virtualize it on workstation with your crappy realtek running on Windows/Linux on the host)

Methanar
Sep 26, 2013

by the sex ghost
Run ESXi in workstation. :kheldragar:


ESXi will like the virtual intel nic.

SEKCobra
Feb 28, 2011

Hi
:saddowns: Don't look at my site :saddowns:
I want to put on a selection of WIndows and Linux servers and I want to manage it remotely, other than that I'm open to trying just about anything.

milk milk lemonade
Jul 29, 2016

evol262 posted:

Well, if he's installing ESXi, so Windows doesn't matter much there.

For bare metal, oVirt basically gets support for every NIC Linux supports, so crappy realteks are fine.

Hyper-V is also totally fine. The loss is in same page sharing, and the console isn't great, but let's assume these are server VMs given the lack of evidence to the contrary, since that's the norm.

"Free bare metal hypervisor which works with realtek nic" is not the same as "vmware workstation", which only really has a win here if you need/want and accelerated console or specifically want ESXi (to virtualize it on workstation with your crappy realtek running on Windows/Linux on the host)

Uh he already said he's having problems getting the NIC working. That's why I said ovirt won't make much a difference.

Hyper-V requires either a server license or a Pro license. It is also awful for a bunch of things, not least of which is getting a range of Linux distros working. Running it with a GUI is a waste too.

From what I gather from person whose posts I'm responding to they already have a Windows OS to use. So workstation is a fine, easy shortcut that will get around the NIC issues. Thanks for the lesson though?

vanity slug
Jul 20, 2010

milk milk lemonade posted:

Uh he already said he's having problems getting the NIC working. That's why I said ovirt won't make much a difference.

Hyper-V requires either a server license or a Pro license. It is also awful for a bunch of things, not least of which is getting a range of Linux distros working. Running it with a GUI is a waste too.

From what I gather from person whose posts I'm responding to they already have a Windows OS to use. So workstation is a fine, easy shortcut that will get around the NIC issues. Thanks for the lesson though?

Bare metal Hyper-V Server is free. https://www.microsoft.com/en-us/evalcenter/evaluate-hyper-v-server-2016

SEKCobra
Feb 28, 2011

Hi
:saddowns: Don't look at my site :saddowns:

milk milk lemonade posted:

Uh he already said he's having problems getting the NIC working. That's why I said ovirt won't make much a difference.

Hyper-V requires either a server license or a Pro license. It is also awful for a bunch of things, not least of which is getting a range of Linux distros working. Running it with a GUI is a waste too.

From what I gather from person whose posts I'm responding to they already have a Windows OS to use. So workstation is a fine, easy shortcut that will get around the NIC issues. Thanks for the lesson though?

You know it's rude to talk about a person like they aren't in the room, right? :saddowns:

evol262
Nov 30, 2010
#!/usr/bin/perl

milk milk lemonade posted:

Uh he already said he's having problems getting the NIC working. That's why I said ovirt won't make much a difference.

Hyper-V requires either a server license or a Pro license. It is also awful for a bunch of things, not least of which is getting a range of Linux distros working. Running it with a GUI is a waste too.

From what I gather from person whose posts I'm responding to they already have a Windows OS to use. So workstation is a fine, easy shortcut that will get around the NIC issues. Thanks for the lesson though?

Look, there's no reason to be rude as gently caress.

Having problems getting the NIC working with ESXi has absolutely no bearing on oVirt. If he's having problems with the NIC in general, just get an Intel NIC, install ESXi, and be done with it. If it's just with ESXi, oVirt does solve this problem.

Workstation is also awful at a lot of things. It's easy to make unsubstantiated claims when you don't provide any details. Hyper-V is fine for Linux. The only real outstanding issue is that Hyper-V 2 has problems worth SuSE and secureboot. I've used it very heavily for Linux.

Virtualbox is also a free option if it's not bare metal.

SEK:

Intel NIC and ESXi, or use oVirt. If remote management is important. Hyper-V may have a free remote management tool now, but if there is one, I don't know it. Someone will correct me, though.

SEKCobra
Feb 28, 2011

Hi
:saddowns: Don't look at my site :saddowns:
I'll have to find my Intel NICs when I am at my parents place the next time, might try ovirt in the meantime.

YOLOsubmarine
Oct 19, 2004

When asked which Pokemon he evolved into, Kamara pauses.

"Motherfucking, what's that big dragon shit? That orange motherfucker. Charizard."

Grab the proper drivers for your Realtek card from https://vibsdepot.v-front.de/wiki/index.php/List_of_currently_available_ESXi_packages and build a custom ISO with them. They will still work on 6.5.

SEKCobra
Feb 28, 2011

Hi
:saddowns: Don't look at my site :saddowns:

big money big clit posted:

Grab the proper drivers for your Realtek card from https://vibsdepot.v-front.de/wiki/index.php/List_of_currently_available_ESXi_packages and build a custom ISO with them. They will still work on 6.5.

The tool for making the iso apparently doesn't work on WIndows 10.

evol262
Nov 30, 2010
#!/usr/bin/perl
You could always virtualize windows 7 with vbox just to make the ISO or something

auxout
Apr 20, 2006
Steel Femur

SEKCobra posted:

The tool for making the iso apparently doesn't work on WIndows 10.

What is the tool?

I have been using this.

https://www.v-front.de/p/esxi-customizer-ps.html

Spring Heeled Jack
Feb 25, 2007

If you can read this you can read
Not sure if this is the right thread for Horizon stuff, but is anyone else running into this issue with Horizon View 7.1 dedicated linked-clones with persistent disks and Windows 10 v1607? There is a bug where the start menu just doesn't work, most likely due to some file(s) that is being redirected to the persistent disk. VMware acknowledges the bug in this release but the tech I talked to said he isn't privy to any info regarding a patch coming down the line aside from a release date of 'this year'.

anthonypants
May 6, 2007

by Nyc_Tattoo
Dinosaur Gum
Aw gently caress, PowerCLI 6.5.1 came out a month ago and no one told me.

Alfajor
Jun 10, 2005

The delicious snack cake.
I have a few hundred VM Templates, that I need to spin up to apply updates, and then convert back to templates.
Everyone in the company does it manually, taking the sweet time of converting template to VM, turning the VM on, logging in, applying updates, shutting down, and then converting back to template. Can someone throw me a bone on how to make this a little less manually?

In my mind, a script would go like:

quote:

for-each VM template{
convert to VM
assign VM network
turn VM on
invoke command to run windows updates
[wait a day?] or [detect updates are complete and there are no more]
shut down VM
convert to template}

I'm relatively comfortable in Powershell and PowerCLI, but my experience with coming up with a script from zero is not one of my strong areas.
Down the road, I'd love to explore and compare scripts that do this one at a time, versus as many as possible in parallel (can't really convert all templates to VM at the same time, as there's not enough resources for that)... I'd like to start by scripting the current workflow, and from there move on to optimizations.

Internet Explorer
Jun 1, 2005





I seriously question why you have a few hundred VM Templates. That being said, I thought VMware Update Manager could handle this, but maybe not. If not, this link seems to be a good start - https://communities.vmware.com/thread/500805

Alfajor
Jun 10, 2005

The delicious snack cake.
Such a good contention point you bring up, and one that I've shared upstream inside my Org. The response I get is that these are our "goldens" to deliver pre-configured servers, but the reality is that they're not even half-baked, so I don't really know. Not really my fight (for now).

Anyway... That link is a good start, thank you for that. I'll hack my way forward now.

YOLOsubmarine
Oct 19, 2004

When asked which Pokemon he evolved into, Kamara pauses.

"Motherfucking, what's that big dragon shit? That orange motherfucker. Charizard."

Alfajor posted:

Such a good contention point you bring up, and one that I've shared upstream inside my Org. The response I get is that these are our "goldens" to deliver pre-configured servers, but the reality is that they're not even half-baked, so I don't really know. Not really my fight (for now).

Anyway... That link is a good start, thank you for that. I'll hack my way forward now.

The problem here is that your company is trying to use VMware templates to do configuration management, and that's not what they are for, so any solution to this will be lovely. You should have a relatively limited set of templates and then configuration management will push applications and configuration information based on the personality that server should have.

Internet Explorer posted:

I seriously question why you have a few hundred VM Templates. That being said, I thought VMware Update Manager could handle this, but maybe not. If not, this link seems to be a good start - https://communities.vmware.com/thread/500805

UM doesn't really deal with guests, aside from updating VMware tools. It's for host patching and upgrades predominantly.

Internet Explorer
Jun 1, 2005





big money big clit posted:

UM doesn't really deal with guests, aside from updating VMware tools. It's for host patching and upgrades predominantly.

I've never used it for that purpose (or really any other) but this seems to imply it used to and I'm not going completely crazy.

http://www.vmwareinfo.com/2011/09/no-more-windows-patching-via-vmware.html

adorai
Nov 2, 2002

10/27/04 Never forget
Grimey Drawer
Update manager used to be able to do all kinds of guest patching stuff. I don't know if it still can.

YOLOsubmarine
Oct 19, 2004

When asked which Pokemon he evolved into, Kamara pauses.

"Motherfucking, what's that big dragon shit? That orange motherfucker. Charizard."

adorai posted:

Update manager used to be able to do all kinds of guest patching stuff. I don't know if it still can.

It cannot.

Docjowles
Apr 9, 2009

I preface this by saying I have never tried this on the combination of Windows guests and VMware hosts, so it may not work for poo poo. I am a Linux guy these days.

With that ringing endorsement out of the way, have you looked at using Packer to build and provision your templates? It at least claims to support Windows guests and building the VM on ESXi. The idea is to have it boot a VM, install the base OS, run whatever arbitrary provisioning commands you want (install Foo, run Windows Update, create C:\NotPorn\ etc), then save the resulting image. All with one command powered by configs and scripts you can stick in version control and automate like it's 2017.

This is what we do in our Linux/XenServer world, and it owns. Whether it is fully baked on the Windows/VMware side of things, I don't know.

ragzilla
Sep 9, 2005
don't ask me, i only work here


If the templates are domain joined and connected to WSUS you should be able to query that for patch status. Toss them in their own OU with aggressive autoupdate settings, I'd probably try to avoid running it as a single long running script and instead make it 2 scripts, one to thaw all the VMs and a second to freeze them once it detects WSUS is up to date. Set them to run after your WSUS admin approves updates (every Monday after patch Tuesday or whenever). 1st script runs at 8am to to kick the process off then run the second every hour after that.

Vulture Culture
Jul 14, 2003

I was never enjoying it. I only eat it for the nutrients.

Docjowles posted:

This is what we do in our Linux/XenServer world, and it owns. Whether it is fully baked on the Windows/VMware side of things, I don't know.
I've used Packer to build Windows images for IoT appliances and it works great, at least using modern Windows versions.

Roargasm
Oct 21, 2010

Hate to sound sleazy
But tease me
I don't want it if it's that easy

Docjowles posted:

I preface this by saying I have never tried this on the combination of Windows guests and VMware hosts, so it may not work for poo poo. I am a Linux guy these days.

With that ringing endorsement out of the way, have you looked at using Packer to build and provision your templates? It at least claims to support Windows guests and building the VM on ESXi. The idea is to have it boot a VM, install the base OS, run whatever arbitrary provisioning commands you want (install Foo, run Windows Update, create C:\NotPorn\ etc), then save the resulting image. All with one command powered by configs and scripts you can stick in version control and automate like it's 2017.

This is what we do in our Linux/XenServer world, and it owns. Whether it is fully baked on the Windows/VMware side of things, I don't know.


why this over puppet?

ILikeVoltron
May 17, 2003

I <3 spyderbyte!

Roargasm posted:

why this over puppet?

It's not adverse to puppet, it could easily be in addition to puppet. Packer has a puppet provider built in.

Anyway, to answer the question you maybe were asking, packer is good at one thing - building images. Puppet isn't so good at building images, it's good at setting desired state. Which means you're still making some glue around puppet (like say jenkins, or whatever) to launch the VM, run puppet, and then make an image. Packer can do all of this, it's the obvious tool for making images (hence, packing them!)

Docjowles
Apr 9, 2009

Roargasm posted:

why this over puppet?

It's a level above puppet. Packer boots the actual VM from nothing. Then you tell it to use puppet or whatever tool you want (for us it happens to be Chef) to configure the VM. Then packer shuts it down and exports it to its final destination.

Also I happen to think Puppet is bad but that is neither here nor there. If you are using some config management at all that is 95% of the battle.

Docjowles fucked around with this message at 21:51 on May 26, 2017

Adbot
ADBOT LOVES YOU

YOLOsubmarine
Oct 19, 2004

When asked which Pokemon he evolved into, Kamara pauses.

"Motherfucking, what's that big dragon shit? That orange motherfucker. Charizard."

Or you could just keep a few very basic and bare bones templates and use puppet to configure them on creation for their intended role, rather than keeping a hundred special snowflake images that all need to be converted to VM and turned on and updated and turned off and converted back to templates.

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply