Title: VM - EZ Test Server Post by: Hunter on March 31, 2012, 01:28:15 pm Wow, Virtual Machines are awsome!
Its like having a new PC with a fresh new install of the operating system to work with. Everything installed in this virtual environment will not affect anything outside the window/environment. I got a Virtual Machine set up, basically a closed environment of Windows 7 32-bit within my regular PC of Windows 7 64-bit. Can be used to host WinXP, Linux, anything. I used an ISO to install the Windows OS on the Virtual platform. See pic below. Yes my regular desktop is mostly black color, and inside the window is the virtual windows all self contained in its own environment. (Sorry if I seem amazed like some noob, but this is the first time I've done something like this and this should definitely make things easier and faster to creating more custom content on EZ Server) (http://i40.tinypic.com/2q8bw5x.png) From http://www.devx.com/vmspecialreport/Article/30383 (http://www.devx.com/vmspecialreport/Article/30383) some quotes / info below about VM - why they are cool. Quote Isolation One of the key reasons to employ virtualization is to isolate applications from each other. Running everything on one machine would be great if it all worked, but many times it results in undesirable interactions or even outright conflicts. The cause often is software problems or business requirements, such as the need for isolated security. Virtual machines allow you to isolate each application (or group of applications) in its own sandbox environment. The virtual machines can run on the same physical machine (simplifying IT hardware management), yet appear as independent machines to the software you are running. For all intents and purposes—except performance, the virtual machines are independent machines. If one virtual machine goes down due to application or operating system error, the others continue running, providing services your business needs to function smoothly. Quote Ease of Testing Virtual machines let you test scenarios easily. Most virtual machine software today provides snapshot and rollback capabilities. This means you can stop a virtual machine, create a snapshot, perform more operations in the virtual machine, and then roll back again and again until you have finished your testing. This is very handy for software development, but it is also useful for system administration. Admins can snapshot a system and install some software or make some configuration changes that they suspect may destabilize the system. If the software installs or changes work, then the admin can commit the updates. If the updates damage or destroy the system, the admin can roll them back. Virtual machines also facilitate scenario testing by enabling virtual networks. In VMware Workstation, for example, you can set up multiple virtual machines on a virtual network with configurable parameters, such as packet loss from congestion and latency. You can thus test timing-sensitive or load-sensitive applications to see how they perform under the stress of a simulated heavy workload. Now all I need to do is install everything I need for a test server such as MySQL, Perl, C++ Compiler, etc. I feel like a 1990's computer noob all over again ;D Title: Re: VM - EZ Test Server Post by: Darubious on March 31, 2012, 01:38:20 pm Virtual Machines are great for testing. I used to open VM to test files I downloaded from p2p. If you get a virus. Close VM then reopen. Viola! Everything back to perfect.
Title: Re: VM - EZ Test Server Post by: Hunter on March 31, 2012, 01:41:46 pm And I read about roll back. Make a "copy" of your virtual machine / windows, sort of like a state save in emu consoles like a NES Emulator. Hope makes sense. Yes, very good way to protect yourself against virus.
I wonder how it else it could protect. Maybe it'd be a safe environment to check email and bank accounts? Or just the opposite, if your going to visit questionable websites that spam you with spyware, popups, etc, then do it on the VM so your real machine isn't affected? Sorry for noob ideas and/or questions, its my first time :) Title: Re: VM - EZ Test Server Post by: nulland on March 31, 2012, 01:44:23 pm You still need to keep them protected with prudent browsing and download habits... also keep them fully patched.
Title: Re: VM - EZ Test Server Post by: Hunter on March 31, 2012, 01:47:37 pm Yes, but in case you get infected with a virus on your virtual machine, your real physical machine should be safe?
Also, I just did ipconfig on both the real machine and virtual machine, and they have different local IP addresses (yay). Title: Re: VM - EZ Test Server Post by: nulland on March 31, 2012, 01:53:18 pm In most cases, yes, as long as it's not that perfectly timed virus that can exploit an unpatched vulnerability on your physical machine (over the network only). But like you mentioned, if you NAT, they're on different networks, and you can easily firewall that entire network off from your physical box.
Title: Re: VM - EZ Test Server Post by: Hunter on March 31, 2012, 01:54:19 pm Awsome!
Title: Re: VM - EZ Test Server Post by: Darubious on March 31, 2012, 02:49:44 pm This is actually pretty interesting. I have messed around with AX-Classic, and ran a server on and off EQEmu, but never thought about trying it in a VM.
I have never had a virus find it's way out of VM, but that definitely does not mean it is impossible. VM is pretty much self-contained. I have had no problem running an EQEmu server on windows 7, but the compatibility with the particular versions of programs needed is much better with windows XP. You can get windows XP virtual machine for free on windows 7 professional and ultimate. http://www.microsoft.com/windows/virtual-pc/default.aspx (http://www.microsoft.com/windows/virtual-pc/default.aspx) Title: Re: VM - EZ Test Server Post by: Hunter on March 31, 2012, 03:23:51 pm Oh crap, free? Probably will have to download it but you don't have to buy a key?
Title: Re: VM - EZ Test Server Post by: Darubious on March 31, 2012, 03:34:37 pm Yessir. I think it may be limited in ways. I used to use Sandboxie, until upgrading windows 7. Now if I need to use application isolation, I use the winxp VM from microsoft.
Title: Re: VM - EZ Test Server Post by: Darubious on March 31, 2012, 03:37:07 pm I am pretty sure that winxp VM is free for anyone on windows 7 professional or ultimate.
Title: Re: VM - EZ Test Server Post by: nulland on March 31, 2012, 04:47:10 pm Indeed. Quite handy for the x64 installations that have some off-the-wall application for which the vendor is lagging in support. I had one client that did payroll through a web app that required ActiveX, and it simply would not work when printing to a PDF (they were being cheap and refused to buy current version of Acrobat). It was a known issue with x64 and older versions of Acrobat. Anyway, using XP Mode, I was able to create a desktop shortcut that actually opened up an "instanced" IE, so they could move on with their lives. Not the best solution, but it worked. Just download and install... no special requirements other than Pro/Ultimate.
Title: Re: VM - EZ Test Server Post by: Hunter on March 31, 2012, 05:24:58 pm Just noticed the screenshot displays that my CPU is i7 hehe.
Title: Re: VM - EZ Test Server Post by: Hunter on April 01, 2012, 10:22:15 am So far things with the VM is still working great. Able to transfer files between the VM and outside to the real machine, and within the VM able to update the EZ Live machine too (Quest, DB, etc).
This makes things so much easier, and since we can now reboot to test changes without having to reboot EZ's Live server, new edits / updates will now come faster. I don't have any other new updates for this weekend though, this (and some other stuff) took up all my available time this weekend, so we'll probably see some updates in a week. This VM update is one of the best updates IMHO though. We'd have a lot more new content, esp new spells already, if I had this earlier. Title: Re: VM - EZ Test Server Post by: Noel on April 01, 2012, 09:47:20 pm You should be running Vsphere ESXi (free) if you are doing servers..
Title: Re: VM - EZ Test Server Post by: Hunter on April 01, 2012, 10:04:47 pm Really haven't had a debate which Virtual Machine software is the best.
So far I got Windows Virtual PC set up with EQEmu Test Server running on it with no problems. I plan to be the only one logging into it, so I won't need much resources (RAM, HD, Bandwidth, etc). It only loads a few dynamics too for testing purposes. So what would be the advantages of Vsphere ESXi over Windows Virtual PC or VMware Player? Title: Re: VM - EZ Test Server Post by: nulland on April 01, 2012, 10:43:59 pm If you need to have direct interaction with the desktop on the VM, you probably should not go ESXi. You could certainly go this route and then interact via the vSphere console, but it will be sluggish. You could also remote into the VM, of course, but this is an incredibly overcomplicated solution for what you need. There are also hardware concerns with ESXi. You can spend a lot of time trying to get ESXi to install on non-certified hardware, and it seems time is something of which you do not have an abundance. If you have something on hand that's on VMware's HCL (http://www.vmware.com/resources/guides.html), you don't need GUI performance (not sure if there is any animation on your VM), and you want to do it just for the sake of doing it, go for it. You'll get the best performance and best use of resources, but I personally think this route is way overkill for what you need. Also, backing up the VM will be not be nearly as easy as what you're used to now. You'll end up having to use hacks or third party software for ESXi (again, that means more time). You really don't want to use ESX/ESXi unless you are dealing with multiple VM's, are really wanting to squeeze the absolute most out of a given piece of hardware, and want access to a ton of features that are only relevant in enterprise (ESX only, not the free version).
My personal preference is VirtualBox for what you're doing, but since you're already up and running with Virtual PC, why not just keep using it? For a single VM that doesn't need to be up 24/7, I'm willing to bet the performance gains from any virtualization software will be minimal compared to what you're using now. p.s. And VMware Player is handy if you just want to be able to use a VM and not manage it. You can download a lot of pre-made VM "appliances" and just hit the ground running. For example, there are Nagios and FreeNAS appliances, so you can just go straight to functionality after some brief configuration... don't have to worry about which distro of Linux, which packages, etc. or anything. It's already done for you. To me, these are more proof of concept using VMware Player, though. If I were going to use either in production, I would/could then take that configured VM appliance and insert it into cluster that would be up 24/7. |