older SSD drives from NetApp SAN

Picked up some 100gb 3.5" SSD drives from a retired NetApp SAN....quite heavy...pulled off the aluminum cover to see this.  Apparently those blue things are "super capacitors".  

Interestingly I have played a bit with these drives and they are basically unusable by desktop computers. Most SATA controllers recognize the drive, but the entire machine slows to an unusable crawl. A bit more research has shown that these drives are setup with 520bytes per sector vs. a normal 512bytes which really throws off the controller. Since these drives are OEM'ed Samsung, I tried their SSD tool kit, which didn't do squat.

I ran across this article but haven't had time to get back to it.

https://forums.servethehome.com/index.php?threads%2Fhow-to-reformat-hdd-ssd-to-512b-sector-size.4968%2F

DDR4 ECC ram?

I never noticed this before....but is all DDR4 ECC memory like this? Notice the curves on the pin side. These 8gb modules were pulled out of a brand new HP G9 server. The 32gb modules I put in have the same curves. I assume memory slots have the same curves preventing adding incompatible ram?

EDIT:  Turns out this is indeed by design!  I am told it is to limit the amount of force being applied to the system board during insertion.


ESXi v6.5 and disk encryption: a perfect storm

The combination of an HP Server (in my case a DL180) using a HP RAID card (in my case a Smart Array p840), SSD drives in a RAID 5 level or higher, and turn on volume encryption at the RAID card, causes the VMware datastore to go disappear!  See what I mean by perfect storm?  That exact combination affects only SSD datastores, not SAS or SATA.  ESXi knows the partition is there, but can't do anything with it.  After spending time on with VMware technical support I learned that VMFS volumes have to volume descriptors, and the two got corrupt in this instance.

"Error: The primary GPT table on '/dev/disks/naa.600508b1001c6ea0a7586ed479f494c5' is OK, but secondary is corrupt. Fix secondary table? This will move secondary at the end in case it is not at the end already. It will also set LastUsableLBA to use all the space at the end. diskSize (3125428400) AlternateLBA (3125428399) LastUsableLBA (3125428366)
gpt"

Apparently this is a known issue, that fix to upgrade the RAID card driver from from nhpsa version 2.0.10-1OEM to version 14 or newer.  Version 10 is what is included on the HP customized ESXi6.5u1 ISO.

I lost a lot of time on this one.  As I built a bunch of VMs on the datastore only to loose them.  Then to narrow down this issue and work with VMware technical support.

ESXi 6.x and HP G6 ML350 server

Time for the home lab to get a long awaited upgrade.  This time a HP ML350 G6 was acquired.  HP specifically designed this sort of machine for SMB's.  Knowing full well it may be stuck in a broom closet or the corner desk (aka not a proper server room), thus they are really quiet and don't make a lot of heat.  The G6 ML350's are kinda weird, as there is no G7 or G8 but there is a G9.  It appears the G6 got some modest revisions during that time.  One option on this model I like is the ability to run 3.5" drives.

The machine got a round of firmware updates, 96gb of ram, a pair of Xeon L5630 CPU's (only 40watts!), a pair of 4tb Seagate NAS drives, 256gb SSD, 1gb cache upgrade to the RAID card and Verbatim 8gb USB thumb drive to load the OS onto.

First issue: This machine does not recognize this Verbatim 8gb USB thumb drive. Despite it working in three other machines.  Work Around: use a new Kingston 16gb.

Second issue: Apparently HP will not let one boot off of one USB drive (plugged into the back or front of the case) to install an OS onto the USB drive that is plugged into the on board USB slot.  Work Around: Install from CD.

Third issue: Using VMware-ESXi-6.5.0-Update1-6765664-HPE-650.U1.10.1.5.26-Oct2017 (aka the HP customized ISO for ESXi 6.5u1).  We get prompted with this message:  Work Around: Ignore, whatever.  This server is not on the VMware HCL, but the CPU is.


Fourth issue: The host will not shutdown cleanly!  When shutting down the host freezes.  There is no option but to power cycle it.  When powering it backup up the RAID card reports an error, and the machine will not boot, it appears to corrupt the boot volume.

I next tried putting VMware 6.0U1, again HP customized ISO and it works just fine.  It is a work around but I really want to run ESXi v6.5.  After talking to a peer, I tried an SD card.  Now v6.5 still locks up on shutdown, but so far after it still boots up successfully.  Even after four reboots, it seems to be "stable".  So now what?  Just ignore the issue?  Do I trust it?

Things yet to try:
-Use generic ESXi v6.5u1 ISO
-Patch ESXi 
-Install ESXi 6.0 then upgrade to v6.5

I will update as time allows.
****UPDATE:******
Fifth issue: When attempting to create a datastore, the machine takes forever to scan the drives, the drives show up, one goes through the process of creating the datastore, then it fails.  I found out that connecting an SSD drive to the local onboard controller was able to complete.

I installed the latest patch (Build 7273056), and it appears all is now well.  The machine actually shuts down, and I was able to create a datastore using local disks from the RAID card!  YAY!   It should be said that I had to first add drive on the local SATA controller, so I could actually create a datastore from which to install the update from.  Yes I could have joined it to vCenter and used update manager, however I don't want to plug up my vCenter database with a bunch of random ESXi builds.

esxcli software profile install -d '/vmfs/volumes/IntelSSD180gb/ESXi650-201712001.zip' --ok-to-remove -p 'ESXi-6.5.0-20171201001s-standard'

****MORE UPDATE*****
Why does this software suck so bad?  I'd swear I was using open source software!

HP released a new customized ISO, this 2/09/18 build 7388607
In installed it on a fresh SD card, and I can't even log into it!!!  It just sits at this loading screen!  Or the connection times out.  Also the machine does not shutdown.  <sigh>

****EVEN MORE UPDATE*****
In effort to be thorough, I loaded the generic version ESXi 6.5 (build 5969303), and all works as expected.  I patched it to (Build 7273056), and all is still well. So do I stick with the older HP version or the generic version?

Rant: Why Craig's List (people) suck

I had an ad for an $80 ready to rock PC for sale on Craig's List.  This guy tries to low ball me down to $50, then wants me to deliver to a suburb that is 20 miles away...and some how I am the bad guy? hmmmm what?   Yes I could have been more communicative, but when your opening offer is 60% of the asking price, you can go pound sand.  Feel free to share his phone number!

Had another ad, of a $100 Intel i5 Windows 10 machine for sale for $100.  It was pictured hooked up to a 32" LED HDTV.  The ad makes no mention of a monitor, it does make mention that mouse/keyboard are included, wifi, ram and hard drive upgrades were possible.  A person asks me if the monitor is included!!!!   Yeah I am going to include a 32" TV with a $100 computer.  <Sigh>

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/