Virtual Machines

The UPS and Downs – Shutting Down a Server

By Joseph Yedid Setting-up Uninterruptible Power Supply (UPS) software is a fairly simple process, but if you have virtual machines (VMs) you have to take some extra care. If the UPS is set to shut down too soon there may not be enough time to turn off the VMs. As a result, the server might hang while trying to shut them down. Another factor to consider is that if you have too many VMs you might run out of battery power. In our lab we are running CyberPower UPS Systems which uses PowerPanel Business Edition software to manage them. First thing you should do is to figure out how much time the batteries will last before they run out. Will there be enough time to shut down all of the VMs and turn off the server in time? To do this, we can look at the Status of the UPS. You can see below that ...

Configuring an Android 5.1 RC1 VM

By Garth Jones Continuing on from my last blog post about how to install an Android 5.1 RC1 VM, I will now take you through the Android configuration process.   1. As soon as you boot, you will see the Android logo. 2. Click Next (yellow arrow). Watch out for the mouse/touch pointer within the VM because it is a bit awkward to use in 5.1. I hope they fix this in Android 6.0, but I haven’t seen any news on when it will be released for x86. 3. You can see the mouse location in the screenshot above (green arrow). Drag the mouse/touch pointer to the SKIP button. Then click SKIP. 4. On the WIFI page click SKIP and then click the SKIP ANYWAY button. 5. Enter your account details. 6. Enter your Password. 7. Click ACCEPT. 8. I will not restore the data from my test Android device, so I clicked on ...

How to Setup Android 5.1 RC1 on Hyper-V

By Garth Jones Not that long ago, I wrote a blog set about how to create an Android 4.4 R5 VM. Shortly after completing those posts, I stumbled across Android 5.1 RC1. Why am I using these Android VMs? The answer is simple: I want to test ConfigMgr, Intune and all the cool features of Mobile Application Management (MAM) without having to use a physical device! By the way, to create the VM itself, the steps are exactly the same for the Android 5.1 RC1 as they are for the Android 4.4 R5. If you want to read more about how to create the VM, check out my earlier blog post. This post will take you through the steps on how to create an Android 5.1 RC1 VM. 1. Download Android 5.1 RC1. 2. Start the VM, and then select Installation. 3. Create a new partition. 4. Select No for GPT. 5. Select New. 6....

To the Cloud and Beyond. Backup!!!

By Joseph Yedid Recently, I was called to work out at a client’s office. One of their IT people had left the company and there were questions as to whether or not everything was being backed-up. Sure enough while reviewing their environment, I noticed that the Windows backup was not working. I tried to get it going, but it wasn’t going to happen. Plus, the other challenge we faced was that their QNAP wasn’t big enough to store all of their data. Normally I would advise backing up data to the cloud, but their data couldn’t be stored on a public cloud. What to do? What software could I recommend for this small company? I spoke to my colleague, Garth Jones, and he reminded me that Veeam has backup software. I actually hadn’t thought about them because I think of them more for enterprise backu...

Starving. Need… More… Memory…

By Joseph Yedid There are times when you might find your VMs running, shall we say… a bit slow. They will seem to be sluggish and not performing as expected. What do you do? I came across a TechNet forum post about a person having trouble with their VM and why it took forever to do something, so I decided to simulate this as a demonstration. I took one of my VMs, reduced its dynamic memory to 1GB and 3GB for the startup and maximum amounts. I then set the maximum SQL memory to 8GB and 8GB for the minimum and maximum amounts. I then let the VM run for a bit. Watching Hyper-V Manager, the memory status entered the Warning state. I then managed to get into the VM to look around. Boy was it slow. Since the VM was starving for memory, it must be doing something, right? Let’s look at the Perform...

Android VM Setup Tips

By Garth Jones You finally setup your Android VM! Congratulations! Here are a few tips that I found useful and I think that you will too! Turn Off the Screensaver I know this one might seem like a dumb tip, but seriously, this one will save you from a lot of frustration. Why? If you don’t turn off the screensaver your Android VM will go to sleep. The problem isn’t that it’s gone to sleep, but trying to wake it up again! Despite numerous attempts, I usually end up turning off the VM and then re-starting it. If you turn off the screensaver to begin with, your Android VM will never sleep and therefore you will never have the problem of waking it! There is a slight downside to turning off the screensaver: 1. It will use CPU cycles on your Hyper-V server. In my opinion this is not a big deal as...

How to Configure a First-Time Android VM

By Garth Jones In my last two posts, I showed you how to create a VM and then how to install an Android 4.4 R5 within that VM. In this blog post I will show you how to configure the Android device. 1. After the initial boot, the Android logo will appear on the screen for about a minute.   2. At the Welcome page, click on the “triangle” button.   3. Wait for about another minute.   4. Skip the Wi-Fi.   5. Next, select Skip anyway. 6. Since I have a Google Account, I will select Yes.   7. Enter your Google account details.   8. Click OK. 9. Then wait… 10. Click the Down arrow. 11. Click the Next button. (Somehow this screenshot turned into a Ghost!)   12. Click on NO THANKS.   13. Make sure the date and time are correct and then click on the Next/Triangle button.   14. Set the personalizatio...

How to Install Android 4.4 R5 on a VM

By Garth Jones In this blog post I will continue to show you how to create an Android virtual machine (VM). Once the VM is created, you need to install Android 4.4 R5. 1. Download Android 4.4-R5 ISO. 2. Ensure that the Android ISO is attached to the VM. 3. Start the VM and then connect to the VM. 4. Type the letter, “I,” to begin the installation. 5. Type the letter, “C,” to Create/Modify partitions. 6. Click No to GPT. 7. Select New. 8. Select Primary. 9. Hit Enter to use the full drive size. 10. Select Bootable. 11. Select Write. 12. Type yes (trust me the “s” is there). 13. Select Quit. 14. Select OK. 15. Select the ext3 file format. 16. Select Yes to format the partition. 17. Select Yes to install the boot loader GRUB. 18. Select Skip for the EFI GRUB2. 19. Select No to the System Dire...

How to Create a VM for Android 4.4 R5

By Garth Jones Over four blog posts, I will show you how to create an Android virtual machine (VM) and provide you with some helpful tips. You can use an Android VM to test Intune stand-alone, ConfigMgr hybrid or Mobile Application Management (MAM). Currently Android is the only one that will work with Hyper-V or VMware server. I find it extremely useful to use a VM instead of a physical device to do testing because you can create as many VMs as you want without any extra cost. In this first part, I will show you how to create the VM itself without installing Android. I know this might seem like an easy task, and it is, as long as you remember that you MUST use Hyper-V Generation 1. First, starting within the Hyper-V Manager start by clicking on New and then Virtual Machine… Next, name you...

Fun with AVMA

By Joseph Yedid Recently I ran into a situation where I had to spin up new VMs. The issue: How do you activate multiple VMs without running into licensing issues? The solution: Automatic Virtual Machine Activation (AVMA) Turns out that the host server was running a MAK product key. To test that AVMA would work, I setup a new Server 2012 R2 VM. During the setup, I entered the AVMA key and the setup continued. So far so good. Once the setup completed and I was able to login, I had to verify that the AVMA key took hold. Off to the Event Viewer we go! What was I looking for in the Event Viewer? Well confirmation that the AVMA key worked. In the Event Viewer, under Windows Logs \ Application, the log with Event ID 12309 is what I needed to find. On the host server, I looked for Event ID 12310: ...

Selecting a Java Virtual Machine in InstallAnywhere

How do you select the right Java virtual machine (JVM) to run an InstallAnywhere installer, or any InstallAnywhere-installed Java application? That depends largely upon the settings in your InstallAnywhere project and the Java executables available on the end-user's system. The core of JVM selection is performed by InstallAnywhere's LaunchAnywhere technology. Its launchers can perform their own VM searches each time they run. It is also possible to: Bundle a VM with the installer to be used by the installer and, optionally, to be used by the launchers your installer deploys. (See "Bundling a VM with Your Installer" and "Customizing Individual...

  • 1
  • 2