Upgrading VMware Tools without rebooting

Whenever one upgrades VMware ESXi, the drivers and tools that the guest VM's use should also be upgraded.  It isn't necessary, but is recommended.

Upgrading them can be a pain; generally there is two options.....Right click on the
VM-->Guest-->Install/Upgrade VMware Tools.  The first option is "Interactive Tools Upgrade"...what this does is mount an ISO to the VM, then one must log into that VM and run the installer from the virtual CD.  Which is fine but time consuming, usually this also requires a reboot.  The Second option is "Automatic Tools Upgrade"...which is all automated but it will restart the VM, which is fine unless the VM needs to stay up.

Advanced Options: this is where one can toss in some parameters.  I am using:
"/s /v/qn ADDLOCAL=ALL REBOOT=ReallySuppress"
The /S means do the install silently, the /v passes the switches to the application MSI. The /qn portion is MSI-speak for no user interface, ADDLOCAL is describing what features to install locally.

MindCraft: The game & setting up your own server.

***I will keep editing this posting with updates vs. making new posts.....so check back with THIS post if interested.

I started spending some time with a now 12 year old boy, who is addicted to computer games.  One of which is MineCraft.  I heard of this game previously, mostly about how it can be used as a learning tool. Science Friday (a National Public Radio show) and Wired Magazine are just some of the media sources who have reported on it.
http://www.sciencefriday.com/segments/can-video-games-be-used-as-teaching-tools/
https://www.pri.org/stories/2015-08-06/when-video-games-are-educational-they-are-fun

This game has been out for well over five years now.  I have even sold some second hardware on Craig's List to people who intended to use it to be a MineCraft server.  Wait what? One can setup their own server?!?  It isn't just central corporation for gaming servers?  So I decided to dip my toe in the water.

The graphics are horrible by today's standards.  Kind of reminds me of the original Nintendo.  However, it is 3D, it is really lightweight, the "world" is REALLY big and able to have so much manipulation done to it.  It is kinda like Legos meets SimCity meets Age of Empires.  I have become somewhat addicted.

The application is really just a java file wrapped up in a GUI menuing system.  The system requirements are fairly low, most any Windows 7 machine can play it (being a Java file, both Macs & Linux machines can also run it).

The MineCraft Server is a free download, it also doesn't require much for system resources, and also just essentially just big Java file.  To setup a server, download the source file, expand it.  Manipulate the "eula.txt" file to say eula=true.  Many of the server parameters can be adjusted by manipulating a file called "server.properties".  The server is started via a command line, most people make a batch file.   Mine looks like this:

<start of file>
java -Xmx6144M -Xms102M -jar minecraft_server.jar -64 nogui
pause
<end of file>

The batch file calls Java, passes the maximum ram parameter, passes the startup ram parameter, passes the filename, forces 64 bit mode, and suppresses the GUI.  I added the pause, just so I can see the error message if it doesn't launch properly.

The de facto ram config is 512mb.  I bumped it up.  I had a bunch of issues where I couldn't set it about 1700mb; Java would complain it couldn't assign that much memory.  I was able to fix that by uninstalling Java from this machine, downloading and installing the newest 64bit version.  Suppressing the GUI saves a bit of resources, and really isn't all that necessary, as regardless of the GUI or not, one will see a command prompt style window, that has a running log of what is going on, and commands can be issued.  Like "stop" to shutdown the server.

The game communicates on TCP port 25565; so normal firewall holes/NATting apply.  If one wants external access.

Obtain, install, and launch the client portion of the game.  Hit Multi-Player, add-server, use the IP/DNS of your machine, and connect.  The game costs $30, there are pirated copies out there but they will not connect to your server unless you change the server set settings to: online-mode=false.  That means that your server won't check in with MineCraft central for user authentication.

I am still getting messages that my server cannot keep up.  Not sure why, as the server isn't using hardly any CPU or ram.  Although after fixing my Java issue and giving it more than 2gb of ram did really help.

[18:01:51] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 2107ms behind, skipping 42 tick(s)
[18:02:34] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 21613ms behind, skipping 432 tick(s)

MORE TO COME!


A Windows Alternative

I have a PC that I spared from being recycled as it is an Intel Core2Duo machine.  However it has a Windows COA (Certificate Of Authority) sticker for Windows Vista.  Yuck, while an 'ok' OS back in the day, I have no interest in running it again.  I cannot legally run Windows 7 on it.  So what to do?

Introducing Elementary OS.  It is a Ubuntu Linux variant.  It is very, very, easy to use, one might even say "elementary"?  :)  Honestly, if one can use a smartphone or tablet, one can use this operating system.  The install was super easy.  It detected all of the hardware on this HP DC7700, onboard network, sound, and video.  I later added in an Nvidia 1gb PCI-e video card and a cheap USB wireless network card, it added all the drivers automatically with almost no intervention from me.  It did dual monitors without any hassle.  It is also quite fast, great for breathing new life into older hardware.

The built in web browser is quite sufficient, YouTube and what not works just fine.  Amazon Video streaming does not work.  Installing Google Chrome is a bit of a chore for those not familiar with Linux.  The App store has plenty of software available.  Getting Java installed correctly is a challenge I am still working through.

In summary, I am impressed.  If you got a machine laying around it give it a try.  If you got people in your life that are "not good at 'puter" this might be an answer.



Lenovo ThinkServer TD230

Interesting little SMB server.
It claims to be really power efficient, I haven't had my Kill-a-Watt on it yet.  It is super quiet!  A nice feature to have for those who don't have dedicated server rooms.

This one has an Intel Xeon E5620 2.4ghz quad core.  16gb DDR3 ECC ram (four 4gb modules), expandable to 32gb if one adds in a 2nd processor.  It has two banks of four memory slots (eight total), however in order to use the 2nd set of four memory banks, the 2nd processor must be installed.  I also think I tried 8gb memory modules and it didn't like them.  ThinkServer 9240-8i Lsi RAID Adapter

ThinkServer Remote Management Module v3 (Out Of Band management, like HP's ILO or Dell's DRAC)

Four hot swap drive trays/bays that are accessed from the side.  Why the side?  Why are the sleds hiding behind a trap door.  

http://www.lenovo.com/shop/americas/content/pdf/servers/TD230_DataSheet.pdf




RVTools: Vmware Inventory Application

I ran across this tool not long ago.  It doesn't anything one can't do via other means, but it does it faster, doesn't require doing a bunch of scripting, puts all sorts of useful information in one screen and can export to a spreadsheet.  One of the things I use it for is finding what VM's have old snapshots sitting around.  I also used it the other day, when I was deleting old ISO files from a datastore, but couldn't as it was locked.  A VM had it mounted, but which one?  With this tool I was able to goto the CD rom tab and quickly scan to find the offending VM.

http://www.robware.net/rvtools/


M$ Surface, SSD's, and secure wiping

As you may know securely erasing SSD’s is not the same as traditional rotating hard drives; largely due to TRIM, reserve cell, and a few other technologies.  Thus traditional tools, such as DBAN, will not work.  Many people are using tools made for SSD’s that write “0’s” on all of the drive.  Parted Magic being one of the most talked about.

Beyond that, each drive manufacture makes utility software for their drive, one of the drive features is to basically shock each cell on the drive making it blank.  The key being, EACH manufacturer.  To make matters worse, some of these are OEM’ed, so the support changes.  Microsoft Surface and Lenovo use Samsung drives, however the Samsung tools do not work, and Samsung offers no support.  Same story with Crucial drives.

I found a 3rd party tool called PartedMagic (maker of G-Parted (which is awesome free partitioning software)).  It was an inexpensive purchase, it does allow one to save a log file of the drives erased, it does both spinney & non-spinney drives.  I have had a few machines not like the Linux boot environment, some of those machines simply didn't like booting off of a 64gb USB drive, but didn't mind a 4gb <shrug>.

Lenovo has a bootable CD/USB image that should work, I haven't tested it yet.
Lenovo SSD erasure page

The HP Folio’s
Mine worked a bit different than what the webpage said, perhaps it is a BIOS revision thing?

-hit Esc to get to Startup Menu
-F10 BIOS Setup
-tab to get to Security menu
-Hard Drive Tools
-Secure Erase

Micro$oft does have a tool for the Surface.   I downloaded it, built a bootable USB drive, and tried it on a busted one, however I don’t know what it is doing since the screen is shot, and the external display only works in Windows.


FWIW there are other Surface Pro specific tools:
Cisco_EAP_Supplicant_Installer_v1.zip
Surface_Data_Eraser_Installer_v3.1.9.msi
Surface_Deployment_Accelerator_v_1.96.0405.msi
Surface_Diagnostic_Toolkit_v1.1.8.0.zip
SurfaceDockUpdaterSetup.msi
SurfaceUEFI_Configurator_v1.0.25.0.msi

SurfaceUefiManagerSetup.msi

Hardware hoarder

Picked up a new toy!  I figured it was a decent deal since 4tb NAS drives are $125~150 each.

Pair of 4tb Seagate NAS drives
4gb DDR3 sodimm
Intel Atom D2550 @ 1.86GHz
ASRock AD2550R/U3S3 Mini ITX Server Motherboard
Chenbro Mini-ITX Home/Small Business NAS Server Chassis Case SR30169 w/ PSU


The specs on the motherboard say it will do only 4gb of DDR3 ram, however the previous owner had a single module in there.  I put a pair of 4gb modules in there and it saw all 8gb!  Unfortunately it recognizes the pc3-12800 as pc3-10600 but whatever.  The case holds has four drive trays, that can hold either a 2.5 or 3.5" drive in each drive sled.  There is also an internal 2.5" drive tray.

In comparison to my FreeNAS ITX build it has a way slower CPU (cpu mark of 667 vs 1740), only takes 8gb vs. 16gb of ram, consumes less power 10-watts vs. 17-watts.  Six ports and PCI-E on the AsRocks VS. four SATA ports and PCI on the Gigabyte.

For kicks and grins I installed VMware ESXi v5.5.  It complained a few times during install.  Surprisingly it did complete and run! It even saw the NIC and the 3gbps SATA controller, not the 6gbps (no surprise).  This CPU doesn't have Intel-VT so I cannot run 64bit OS's.

Eventually I will make it into a NAS4Free or Windows Storage server or something to be used for backups.

Installed Windows 7 just for testing....Ignore the graphics rating as Intel GMA3600 video card drivers aren't loaded (by the way, there doesn't seem to be Windows 64bit drivers).
Interesting that Seagate 4tb NAS drives (5400rpms 64mb cache) outperform the HGST 1tb (7200rpm 32mb cache).





***update: so I benchmarked the 2nd HGST 1tb SATA drive in this system and if come in around 85 mbps according to ATTO vs. 130ish.....  Probably not advisable to but these two in the same RAID.  I suspect that drive is going to die at some point.

VMware: Vsphere Data Protection woes

I decided to install VMware's VDP, went to MyVMware.com and downloaded it.  I was presented with the option to download v5.8.  So download the OVA, installed, configured, and did a few backups.

Then it was decided to upgrade the vCenter Appliance, from 5.5u1 to 5.5u3.  The compatibility matrix said all was good.  After the vCenter upgrade, VPD would not work any more.  "An attempt made to backup a client failed because no data was found that matches the type of data the job was configured for."  Turns out VDP v5.8 isn't compatible with vCenter u3.
https://communities.vmware.com/thread/543418?start=0&tstart=0
Uggg...  Okay let's upgrade VDP, but MyVMware.com doesn't list a newer version.  Googling for it however yields that v6.1 out, and gives links to downloads.

Ok, download the latest and greatest v6.1.2.  Note to do an inplace upgrade, one must download the ISO, attach it to the VDP appliance.  Also note one must also make a VMware snapshot before the upgrade.  When launching the update process it just sat there forever spinning its wheels.  Turns out that one cannot upgrade to v6.1.x; the version of SUSE Linux it is built on had a major version shift and there isn't an inplace upgrade.  So download the 6.0.2 ISO, attach, upgrade.
http://blogs.vmware.com/virtualblocks/2015/09/24/upgrading-to-vdp-6-1/

After upgrading to VDP v6.0.2.4 I still have the same error message.  Still working on this...

https://communities.vmware.com/thread/542344

Restoring Active Directory user & Exchange accounts

For reasons I won't go into here.  I had to restore a person's account who left the company over a year ago, two months ago, that account was finally deleted.  Whatever....

Active Directory Recycle Bin in Windows 2012 AWESOME!
https://blogs.technet.microsoft.com/canitpro/2014/07/28/step-by-step-restoring-a-deleted-object-via-active-directory-recycle-bin/

As expected it restored the person's email account, great!  Next went to restore the person's email which was archived off to a PST.  Shouldn't be a problem.
http://www.msexchange.org/articles-tutorials/exchange-server-2013/management-administration/managing-pst-import-export-process-exchange-server-2013-part1.html

Except it was a problem!  I couldn't import the PST, in fact I could not use OWA or Outlook to get into this person's email account.  Also errors showed up in Exchange Admin Center.  After much digging around we deleted the person's account in Exchange, recreated it, then things started working.  Turns out that the default AD retention is 90 days, however in Exchange it was only 30 days.  Since the deletion happened roughly 60 days ago, Exchange got confused.

I/O Benchmarks, VMware, RAIDs, & SATA vs SAS

The need for more space and less power consumption in my home lab has arisen.  I pulled out a RAID 5 array composed of four 15k 146gb SAS drives in favor of a RAID1 array composed of two Western Digital 2tb Red NAS drives.  This server would now have a 256gb SSD, a RAID1 WD 1tb Enterprise drives, and a RAID1 2tb Red drives.  The hope is that the slightly faster Enterprise SATA drives and the decent RAID card would be sufficient, and the NAS drives should be fine for data.

I ran some benchmarks; this time I ran them with a larger data set, as the 512mb cache on the RAID card throws off benchmarks.  We need to test the drive arrays, not the RAID card cache.







four drive RAID5 146gb 15k SAS

two drive RAID1 1tb WD Entperise SATA

two drive RAID1 1tb WD Red NAS SATA

I am really surprised that WD Red NAS drives out performed the WD Enterprise (WD1003FBYZ) drives.  Both are 64gb cache, the Reds are 5400~7200 rpm (Intelipower) and the Ent. are 7200rpm.