Virtualization

17K

Solutions

10K

Contributors

Virtualization is the act of creating a virtual (rather than actual) version of something, including (but not limited to) a virtual computer hardware platform, operating system (OS), storage device, or computer network resources. Virtualization is usually the creation of a system that executes separate from the underlying hardware resources, or the creation of an entire desktop for systems located elsewhere, similar to thin clients.

Share tech news, updates, or what's on your mind.

Sign up to Post

Andy's VMware vSphere tip#25: When creating a virtual machine on VMware vSphere, always try to use the VMXNET3 network interface, which will need VMware Tools installing first! The Intel E1000 interface should only be used when installing an OS. Linux distributions often include the VMXNET3 interface by default, but you will find Windows OS does not include the VMXNET3 interface, so when installing a Windows OS, use the E1000 interface to complete the installation, install VMware Tools and then add a new interface VMXNET3, and delete the E1000 interface. Network interfaces are hot plug!

If you would like to discuss this post further please post a question to the VMware Topic area.
1
Get expert help—faster!
LVL 12
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Andy's VMware vSphere tip#24: When designing and implementing a vSphere solution (ESXi), make sure that all your network services, have at least two network interfaces (uplinks) in the host, to reduce single points of failure. e.g. two network interfaces per vSwitch for Management Network, vMotion, and Virtual Machine networks.

see an example here

10NICs-with-annotations---.jpg
If you would like to discuss this post further please post a question to the VMware Topic area.
2
Andy's VMware vSphere tip#23: Missed my vSphere Tips! Today lets discuss BACKUPS!

After visiting many clients, a high percentage, run BACKUPS, and have backups, but NEVER test a restore!

There is no point in making backups, if you never test restore weekly or monthly to check you can restore a VM, files or folders, and the procedure to do it. In the heat of the moment, when you are facing an emergency, do you really want to be left reading the manuals, on how to restore a VM, or files and folders.

So take some time out, and practice restoring VMs, files and folders using your backup software!

I like to use the phrase a BACKUP IS NOT A BACKUP UNLESS STORED IN THREE (3) PLACES!

Think about it...

Have a Good Weekend.

If you would like to discuss this post further please post a question to the VMware Topic area.
1
Andy's VMware vSphere tip#22: Snapshot issue! Remember a quick method, is just to CLONE out the original VM to a new VM (the CLONE)... The new VM will not have any Snapshots attached. CLONE is a function of vCenter Server. Then once you have checked your new server works, delete the original, and if you need to use the old MAC Address, no it down, of the old VM, and replace it on the new!

If you would like to discuss this post further please post a question to the VMware Topic area.
0
Andy's VMware vSphere tip#20: Created your 100 Daily VMware vSphere Daily Checks yet ? Our Sysops, when they start a shift monitoring VMware vSphere clusters, go through a checklist of 100 things to check, when they come on shift before they attend to anything else like putting the kettle on for a cuppa! I'll start you off...

You may think that 100 checks to perform, is time consuming, but it takes a Sysop approx 1 hour, to go through all checks, and sign them off.

1. Connected to vCenter Server without issue ?
2. Any alerts present at the Datacentre ?
3. Any alerts present at the Cluster ?
4. All hosts responding and online ?
5. Any alerts present per host ?

....

If you would like to discuss this post further please post a question to the VMware Topic area.

1
Andy's VMware vSphere tip#18: Rather than burning your VMware ESXi Hypervisor installation ISO to a CDROM/DVDROM, "burn" it to a USB flash drive, for quicker installation! (and if you execute from RAM even quicker!)

OEM-DELL-ESXi.jpg
You can use Rufus or YUMI to do this.

https://rufus.akeo.ie/

https://www.pendrivelinux.com/yumi-multiboot-usb-creator/

We actually have a number of flash drives, and USB external hard disks we use for different installations, for different vendor OEM ESXi, e.g. separate devices for Dell, HPE, Lenovo/IBM, and Fujitsu.

and also different releases, e.g. 5.x, 6.x, 7.x!

We also add to these flash drives, on the release of new ESXi versions, and we keep all the legacy versions, just in case there is a need to repair and installation!

HOW TO: Fix the Error loading /s.v00 Fatal error: 33 (Inconsistent data) in the VMware vSphere Hypervisor

If you would like to discuss this post further please post a question to the VMware Topic area.
1
Andy's VMware vSphere tip#17: Datastore storage: Leave at least 20-30% FREE!

If you create many VMs per datastore, and try to use all the storage space, this is a bad idea, you ideally need to reserve at least 20-30% per datastore based on total storage, to allow for Memory SWAP files - When a VM is powered on, it creates a swap file on the datatore (where the vmx configuration file is stored by default), which is equal to the memory assigned to the VM.

Also snapshots need additional storage space.

You can set alarms to warn you of storage (datastore) space issues.

If you would like to discuss this post further please post a question to the VMware Topic area.
1
Andy's VMware vSphere tip#16: Difficult P2V, difficult Shrink! Sometimes old software is best, we had a client today, which had over provision a virtual machine disk, but had made a mistake, and it was using up their datastore, but what ever software they tried "VMware Converter", file level cloning failed, to read a disk sector, which it kept complaining about a disk error, but chkdsk and surface scans stated the disk had now errors, the virtual machine disk refused to defragment, and conventional third party utilities could not shrink the OS partition to complete any of the following tricks in these articles

HOW TO: Shrink or Reduce a VMware Virtual Machine Disk (VMDK) using VMware vCenter Converter Standalone v5.5.2

HOW TO: Shrink a VMware Virtual Machine Disk (VMDK) in 15 minutes

BUT, old software is often best, years ago (1995), we purchased the General Hardware-Oriented System Transfer software on disk, or often called GHOST!

Add a new disk virtual disk of the correct size, and complete a Disk to Disk CLONE with partition re-size to shrink to 40GB - SIMPLES!

(other third party products available but most failed due to a disk fault!)

2018-06-04-21_38_40-.png
If you would like to discuss this post further please post a question to the VMware Topic area.
0
Andy's VMware vSphere tip#13: vSphere PERFORMANCE - Don't forget vCenter Server can provide you many metrics to check your overall performance, CPU, Memory, Disk I/O and Networking statistics can be generated and reported on...

but there are a few additional Capacity Tools we use on a daily basis to manage many VMware vSphere clusters and datacentres, and these are also available as FREE trials, these tools not only show health, current performance, capacity but also can predict what resources you have left in your cluster, and what wasted resources can be reclaimed!

First I've got to mention VMware's own VMware™ vRealize Operations Manager® or what we call vROPs

https://www.vmware.com/uk/products/vrealize-operations.html

2018-06-01-10_20_36-Capacity-Overvie.png
and

Sumerian Capacity Planner - https://capacity-planner.sumerian.com/register.aspx

2018-06-01-10_26_06-Capacity-Planner.png
Both available for FREE trials, if you get stuck with a performance issue, and need an additional help.

If you would like to discuss this post further please post a question to the VMware Topic area.
0
Andy's VMware vSphere tip#12:BACKUP Not matter how simple, or quick you think a change will be to a production machine, in service, First STOP! Ensure you have a Full Backup or CLONE (not a Snapshot) before you proceed changing any VMware Virtual Machine in production, and should any change fail, you can quickly rollback to the working VM. e.g. today a simple change to defragment a VM, which was causing performance issues, caused the NTFS file system to become corrupted, and the VM failed to boot with a BSOD.

Simply, rolled back with a CLONE, that was taken before the change!

Good IT Practice...Don't look like a cowboy to your peers! IT has a bad enough reputation as it is!

If you would like to discuss this post further please post a question to the VMware Topic area.

1

Expert Comment

by:tkgj11
I just want to restart Vcenter
0
Cloud Class® Course: Amazon Web Services - Basic
LVL 12
Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

Andy's VMware vSphere tip#11: DNS (Domain Name System) - this has really go nothing to do with VMware vSphere BUT your VMware vSphere Infrastructure is ONLY as GOOD as your WORKING DNS (servers) for your organisation.  So please ensure you get into the habit, of understanding DNS, what it does, and ensure you have at least two working DNS servers, BEFORE you start implementing VMware vSphere. and DO NOT USE IP Addresses for ESXi servers, vCenter Servers, or any other VMware component. Use hostnames, and fully qualified domain names (FQDN) for everything in your  VMware vSphere environment, and this means pen and paper before you start implementing and writing down names of servers and IP Addresses, and then entering A Records for those in your DNS servers., and then check you can resolve those IP Addresses to hostnames, fqdn, and hostames and fqdn to IP Addresses.

Otherwise your installations WILL FAIL!

VMware vSphere is dependant on GOOD working DNS (this can be hosted on Windows, Linux, Unix)

Please see here

https://docs.vmware.com/en/VMware-vSphere/6.0/com.vmware.vsphere.upgrade.doc/GUID-1DD8E69C-4551-4C18-8698-7BFE01BEA8B7.html

If you would like to discuss this post further please post a question to the VMware Topic area.
1
Andy's VMware vSphere tip#9: Use Templates. It surprises us, that many organisations waste time, cranking the handle, installing operating systems manually, by connecting an ISO, and doing next, next, next, reboot finish!

WHY!

Let vCenter Server do the heavy lifting for you, and spend some development time, creating Golden Masters for Windows 2012 R2, Windows 2016, Ubuntu 16.x etc - keep them patched and updated, create Many OS Customisations, and then when you get a service Request for a VM - sit back and Deploy from Template, which then Auto Renames the VM, Auto Joins domain, and is ready for hand over to the next team!

and you can sit back and take the pressure off.

If you have a SAN with VAAI enabled, deployment of templates will be very quick. (another TIP, do not have templates and VMs on the same datastore, create a datastore for storage of templates and datastore for isos).

https://docs.vmware.com/en/VMware-vSphere/6.5/com.vmware.vsphere.vm_admin.doc/GUID-8254CD05-CC06-491D-BA56-A773A32A8130.html

Please post a question to the VMware Topic area, if you would like to discuss this further.
1
Andy's VMware vSphere tip#8: Spectre and Meltdown....Have you patched your server yet? It's almost 5 months since this Security Flaw was found in Intel CPUs, and we are still finding many VMs, and Hosts in the wild which are still not patched!

Remember this actually requires a little bit of work... To successfully patch against Spectre and Meltdown, you must:-

1. Update the BIOS and Firmware, and maybe CPU microcode in the Host ESXi Server. Some BIOS updates update the microcode for you. Check with your Server Vendor, some server vendor have been very slow to release new BIOS/Firmware/Microcode updates, and some servers may be now end of life, as server vendor may not release new code.

2. Update vCenter Server to 6.5 U1g, 6.0 U3e or 5.5 U3h.

3. Update the ESXi Build to the latest versions

ESXi 6.5: ESXi650-201803401-BG* and ESXi650-201803402-BG**
ESXi 6.0: ESXi600-201803401-BG* and ESXi600-201803402-BG**
ESXi 5.5: ESXi550-201803401-BG* and ESXi550-201803402-BG**

4. Update VMware Tools and all virtual machine hardware versions to 11.

5. Update Guest VM with latest updates.

6. You can then sit back, you are patched!

https://kb.vmware.com/s/article/52085

https://blogs.vmware.com/services-education-insights/feed-items/meltdown-and-spectre-vmware-patches#

https://blogs.vmware.com/feed-items/vmware-releases-patches-for-meltdown-and-spectre-bug/

If you need to discuss this further please, post a question to the VMware topic area.
1
Andy's VMware vSphere tip#7: SNAPSHOTS (Hyper-V calls them Checkpoints!) Believe it or not one of EE most asked questions in the VMware Topic area, at least one question a week is asked in the VMware Topic, and the response by many VMware Administrators, is "my datastore has filled up, my VM has stopped working, and says retry or abort - I've checked and there are no snapshots reported in Snapshot Manager!"

I'll tell you it It lies to you.... quickly check VM Folder on the datastore, if you see a file -0000x.vmdk - the likelihood is you have a snapshot!

and guess what I wrote an EE Article here

http://www.experts-exchange.com/Software/VMWare/A_10300.html

If you use a backup product which is vSphere aware, it will use the Storage API - Snapshot method to backup your VMs, and most often leaves the VM running on a snapshot, and you are not aware.

CHECK DAILY FOR SNAPSHOTS as part of your VMware Daily Admin either manually, write a script, set a vCenter Server Alarm.

or use Snapwatcher by Opvizor - see here https://try.opvizor.com/snapwatcher/

Catch your VM snapshots before they catch YOU!

If you find yourself with a snapshot issue, out of your depth STOP! do not ignore it Ask for help on EE in the VMware Topic area, it's serious, and corruption can occur if not dealt with promptly and correctly.

Have a Good Weekend...

Andy
1
Andy's VMware vSphere tip#4: Partitions :- OS Partitions have no place in VMware vSphere or Hyper-V. So do not create a C: Partition or volume, and D: Partition or volume on the same virtual disk. We used partitions in the dark old ages of DOS, when the limits of a partition were 32MB, so we had to create multiple partitions on our disks, to use all the disk space.

Keep a single partition per virtual disk. e.g. create a single virtual disk for C:, if you need a D; create another virtual disk.

You will thank me in the future, because it becomes much easier to expand C: and D:, if they are on separate virtual disks. You've also got the benefit of being able to specify which datastore, these will be hosted on which is important if you have tiered storage for performance.

So in Summary do not create partitions, C: D: E: F: on the same virtual disk, you will regret it, later and then you will have to use VMware Converter, to convert your machine and remedy the situation.

https://www.experts-exchange.com/articles/31526/HOW-TO-P2V-V2V-for-FREE-VMware-vCenter-Converter-Standalone-6-2.html

Please feel free to post a question to the VMware or Virtualization topic areas to discuss this further.
1
LVL 127

Author Comment

by:Andrew Hancock (VMware vExpert / EE MVE^2)
It may go away on new machines, but still will be with us a long time to come...

EE questions still being asked about Windows 2000 and Windows 2003
0
LVL 104

Expert Comment

by:John
Yes, older machines will have BIOS, but new ones just UEFI and Windows 10  (or Server 2016 and beyond)

Still, we are on the same page :)
0
Andy's VMware vSphere tip#3 - Experiments in TIME. Just call me a TIME LORD!

Real life example, a client added 20 new hosts to a large vSphere Cluster, DRS was enabled, and after a few minutes, VMs started to populate the new hosts. (via VMotion/DRS)

A very large outsourcer, then suddenly found issues with Active Directory Replication across the business and also Microsoft Exchange email servers services started to fail.

Because of TIME, TIME had skewed between Active Directory servers and Microsoft Exchange servers by 1.5 hours! and all stopped replicating, and services failed! Active Directory and Microsoft Exchange failed. Logons and email stopped working for many thousands of employees!

The reason, a few of the new ESXi hosts, were syncing time from a rouge time server, which was giving the WRONG time, the time in fact was 1.5 hours ahead.

You may be thinking, ah, they are using VMware Tools to sync to host! - No!

This function has been removed from VMware Tools for many years!

BUT here is a golden nugget, did you know that a vMotion of a VM will sync time with the host unless disabled!

Time is resynchronized when you migrate the virtual machine using vMotion, take a snapshot, restore to a snapshot, shrink the virtual disk, or restart the VMware Tools service in the virtual machine (including rebooting the virtual machine).

Source
https://kb.vmware.com/s/article/1189

https://kb.vmware.com/s/article/1318

So please make sure your VMware …
0
Andy's VMware vSphere tip#2- When creating a virtual disk for VMware vSphere (or Hyper-V), always start small, and expand later. It's much easier to expand a virtual disk, than reduce a virtual disk. Do not be tempted to create 1 TB virtual disk, you will find it difficult to reduce the size. If you have made this mistake you can refer to my EE Articles.

http://www.experts-exchange.com/Software/VMWare/A_10302.html

http://www.experts-exchange.com/Software/VMWare/A_12938.html

https://www.experts-exchange.com/articles/VMware/A_25539.html
0
Is there a known well tested functional SDK or API to query Hyper V guests OSs performace counters such as cpu usage, core usage, memory ? I know for example that VMware has its own SDK for that so I need similar.
0
My Recent Experiences with Linux!

As a staunch Windows OS supporter, it's been quite a few years since I've installed a Linux distro for myself to experiment with. Why? The installation process (at the time I experimented last time) was complicated and frustrating, as was just using Linux itself.

So, after reading a few questions and comments here and there, I decided it was time to give it another shot. I first downloaded and set up an Ubuntu Studio ISO in an Oracle VM Virtualbox VM. I was suitably impressed with both the installation and relative (and intuitive) ease of use.

Encouraged by that result, I decided to try another Linux distro called ChaletOS which claimed it would give newbies like me an easier transition to Linux by giving me a familiar GUI interface to Windows 7. Again, I wasn't disappointed. Linux distros have indeed come a long way since I last experimented.

Installation was an absolute breeze and puts both Windows 7 and Windows 10 installers to shame! Ease of use? Fantastic, especially with the ChaletOS build. I think I'm starting to understand why Linux tends to have such a 'cult' type following.

I've still got a lot to learn and experiment with, but my first impressions are nothing but positive. If you're in a similar position to me, I'd encourage you to give Linux another try. By setting up in a Virtual Machine, you have nothing to lose and potentially, much to gain.

Cheers...

Andrew
1
LVL 104

Expert Comment

by:John
Interesting discussion. I always encourage people to use what they like. Businesses tend to adopt Windows and I have businesses with that.
0
LVL 44

Expert Comment

by:noci
Some businesses do, other use other software that requires yet other systems.
My daily bread comes from running OpenVMS environments.( 99.999+ uptime requirement RTO = 15minutes max total per year planned or unplanned).  Quite different specs. And some Unix clusters almost the same requirements, slightly more relaxes max 1 hour of outage a year, that predict arrival times of busses & light rail trains at  (~60,000) stops with a continous update from vehicles. with announcements on each stop for the next 3 vehicles.
(and about 6 stops ahead of a vehicle).   Somehow windows is not even considered to be remotely an option for those environments.
0
Cloud Class® Course: Python 3 Fundamentals
LVL 12
Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

Ubiquiti relatively new in the USA, but the quality and price of their products make them is now on the rise, thy grow very fast, if you have any of their products you may want to look in their Network Management System [UNMS] from where you can manage all you Ubiquiti devices from one central place via a web page, and even from a phone, it is still in bate but already have nice amount of management. The only down side with Ubiquiti is support.
In short I will be give guide how to install UNMS on a virtual machine in hyper-v and change the default port for security [you don’t need to have a server, since windows 10 supports hyper-v].
As you can see on their website you need to have 64-bit (x64) CPU and assign
•      2 GB RAM (Minimal)
•      16 GB storage (Minimal)
To follow this guide you should also own a domain and have a static ip, you can make it work without but this guide is based with the above requirements.

1-      Download and install Ubuntu 16.04.1 LTS (Xenial Xerus) 64-bit
2-      Once your done with the instlation and you have the machine up and running open the terminal and Run the following script, curl -fsSL https://unms.com/install > /tmp/unms_inst.sh && sudo bash /tmp/unms_inst.sh
3-      Login to you domain host and add a DNS a record at you domain host to point to your public IP you can call it however you want [acb.initializebiz.com]
4-      Get your local IP address make it static in your router or reserve in domain controller
5-      Open a web browser Locally and enter the …
0
LVL 3

Author Comment

by:Abraham Deutsch
Thank you for paying attention to my post.

On my lest article I posted Editor Comment me the following;
The article is full of spelling and grammar related errors. I mentioned when I published your last submission that a considerable amount editing was required to correct both spelling and grammar mistakes. I often find it helpful to slowly read each sentence and paragraph slowly and aloud to myself to see how it sounds.  

I understand and am sympathetic to the fact that English may not be your first language, which is possibly why you are running into so many difficulties, however, the purpose of an editing process isn't to rewrite your articles for you so that they read well and make sense.

A few corrections here and there are always tolerated during the editing process, but you really need to make more of an effort to get your work as close to perfect as possible before submitting for editing and publication.  

Perhaps get a fluent English friend to proof read your work for you and make suggestions for improvements, or at the very least, run your text through an online Spelling and Grammar checker. There are many such services on the Web you could take advantage of, both Free and Paid.

Since I am limited in time, and don’t have that much time to spend on writing the article to accommodate the requirements of submitting an article on top of the time it takes to put together the article, but still want to voluntary information that others may find helpful, I stopped trying to post articles and rather use post where I can just drop it in, as to post there is no requirements.
0
LVL 127

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Ok I understand we've been using Ubi kit for quite a while now
0
When i was try to Vmigrate the VM from one host to another host but the VM failed with error "VMware vmotion fails with Error 195887167: Connection closed by remote host, possibly due to timeout".

But, I was able to Normal Vmotion another VM's migrated without any issues.

Resolution: I have performed "services.sh restart" on Esxi host where the problem VM's running and the i started the Normal Vmotion then completed successfully.
0
LVL 127

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Please Ask a Question, and you are more likely to get some responses on your question.
0
LVL 19

Administrative Comment

by:Andrew Leniart
Hi Rajesh,

Firstly, welcome to Experts Exchange, we're glad to have you on board.

What you've done here is made a "Post", which is just a way to share some information or whatever is on your mind with the Experts Exchange community.

To get help from the Experts with a problem, you need to use the "Ask a Question" feature, just as Andrew Hancock has pointed out.

You can use the link I've provided, or simply click the Big Blue "Ask a Question Button at the top of your browser when you are logged in. It looks like this:

Ask a Question Snapshot


Once you've done that, a question wizard will open, so then just follow the prompts in the Question Wizard to create your question. and you'll be sure to get help with your problem from our Experts.

I hope you found this helpful.

Regards, Andrew
EE Topic Advisor
0
Restoring Oracle VM Virtual Box using Acronis True Image.

I recently went on a deleting spree to clean up my hard drive using scripts and fell afoul when I accidentally deleted a 124 GB folder containing all of my Oracle VM Virtual Box machines. A little concerned because the VM's are often active and running when the backups are taken, I fired up Acronis and restored the folder from the last Incremental backup. (Acronis True Image backs up my entire system drive using an incremental backup to the cloud each evening)

The result was perfect - After the restore, my VM's fired up without a problem as though nothing had happened.

This confirms my theory that it's fine to just backup the Host drive that contains the VM's, rather than running a separate backup in each VM. At least in the case of Oracle VM Virtual Box.

Note I've no idea if the result would be the same if using Windows's VM solution, but I thought I'd share the experience if one uses the Oracle VM solution.

Hope you find this account of my experience useful.

Andrew
0
Blade's Shadow Cloud gaming service ($34.95 /mo) launched in California today:
https://shadow.tech/usen/

They claim to deliver the performance of a high end gaming system, through any old computer you have. They also offer a "Box" ($139) that is supposed to deliver the best experience for their service:
https://shadow.tech/usen/box

This is actually the only way I'll likely be PC gaming anytime soon. Building a rig just isn't in the cards nowadays. Looks like it's the equivalent of a virtual machine with a dedicated GTX card and 12GB of RAM.

I'm gonna need to take this for a test drive.
2
LVL 19

Author Comment

by:Lucas Bishop
Oh wow, have you taken those for a test drive? The way the image is beamed to your eye with those things is hard to comprehend. Would love to hear your experience.
0
LVL 127

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE^2)
they've just arrived and on charge.... these were purchased for FPV drone flying, as I already have VR head sets from Oculus and HTC!

So these are NOT VR headsets.

and what I do like, is they can be setup for IPD and can be setup for the correct eyesight +/-... shift like you find on proper bins and scopes!
0

Virtualization

17K

Solutions

10K

Contributors

Virtualization is the act of creating a virtual (rather than actual) version of something, including (but not limited to) a virtual computer hardware platform, operating system (OS), storage device, or computer network resources. Virtualization is usually the creation of a system that executes separate from the underlying hardware resources, or the creation of an entire desktop for systems located elsewhere, similar to thin clients.