The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,862 other subscribers

Archive for the ‘VMware ESXi’ Category

VMware Front Experience: ESXi-Customizer

Posted by jpluimers on 2014/04/11

Interesting:

ESXi-Customizer is a user-friendly script that automates the process of customizing the ESXi install-ISO with drivers that are not originally included. Unlike other scripts and manuals that are available for this purpose ESXi-Customizer runs entirely on Windows and does not require any knowledge of or access to Linux.

Download latest version | Donate to support

Requirements:

  • The script runs on Windows XP or newer (both 32-bit and 64-bit) including the latest version Windows 8.1 and Server 2012 R2.
  • For customizing ESXi 4.1 Windows 7 (32-bit or 64-bit) or Windows Server 2008 R2 and administrative privileges are required.
  • You need to have a copy of the original VMware install-ISO. It is available at VMware (free registration required to download). The script currently supports ESXi version 4.1, 5.0, 5.1 and 5.5.
  • For ESXi 4.1 you need to have a OEM.tgz file with a custom driver.
  • For ESXi 5.x you need to have a OEM.tgz, a VIB file or an Offline Bundle ZIP file.
  • A good source for ESXi 4.1 and 5.x community drivers is Dave Mishchenko’s vm-help.com site. See the ESXi 4.1 Whitebox HCL and the forums there.

–jeroen

via: VMware Front Experience: ESXi-Customizer.

Posted in ESXi4, ESXi5, ESXi5.1, ESXi5.5, Power User, VMware, VMware ESXi | Leave a Comment »

VMware ESXi: renaming a VM and VMDK

Posted by jpluimers on 2014/04/09

This turned out to be much more manual work than I hoped: renaming a VM and the VMDK used by the VM in ESXi.

If you prefer to do all steps by hand on the command-line plus two vi sessions for the vmx* files and the main vmdk file: Just one more esxi-guy: How to Rename a Virtual Machine with the CLI in esxi 5.0.

If you have vCenter, you can do it from the guy. Note for Free ESXi users: vCenter is a payed product, but there is a trial of vCenter.

A bit less manual work, but a bit more scripting from the console (if you are comfortable with that) is at Howto: Rename a VM – Yellow Bricks to which you might want to add the script mentioned at Rename multiple files by replacing a particular pattern in the filenames using a shell script – Stack Overflow.

You can also script from vMA or vCLI: VMware KB: Renaming a virtual machine disk (VMDK) via the vSphere Management Assistant (vMA) or vSphere CLI (vCLI).

–jeroen

Posted in ESXi4, ESXi5, ESXi5.1, ESXi5.5, Power User, VMware, VMware ESXi | Leave a Comment »

ECC vs non-ECC RAM: The Great Debate (via: Nex7’s Blog). Use the ECC dude.

Posted by jpluimers on 2014/03/30

Read this very nice post on Nex7’s Blog: ECC vs non-ECC RAM: The Great Debate.

There is no debate. Use ECC dude.

Use ECC especially for server side things (storage, virtualization, databases, etc) where you employ some kind of redundancy/correction in the storage (ZFS, RAID, etc) side of things.

And think about using ECC for the rest of your stuff, especially when things stay in memory for a longer period of time (in-memory processing of data can speed up things a lot, but also increase the risk).

Summary:

There is no debate here. None.

[…]

if you think non-ECC RAM can compete with ECC RAM, you are mistaken. If you think there’s a risk/reward analysis here, you’re correct. The risk is not gigantic, and there’s a real cost to alleviating that risk. You have to decide if that cost is worth alleviating that risk.

[…]

If you believe there’s a risk/reward plan where you can take the reward and apply to to mitigate the risk, you are back to being mistaken. The only benefit of non-ECC RAM (and thus the only reward in its choice over ECC RAM) is it will make the solution cheaper. There is not, however, any way (that I’ve heard of, yet) you can use the cost savings to mitigate the risk using non-ECC RAM will introduce.

[…]

If you choose to use non-ECC RAM, you open yourself up to a new vector for data corruption/loss/downtime/errors/etc,

one that could (rarely) even cause you to lose your entire filesystem, and one ZFS does not (cannot) resolve for you. Indeed, one it likely can’t even see at all. If you choose to employ non-ECC RAM, or are forced to do so because of circumstance or environmental constraint, that’s potentially understandable (and even acceptable) – but do not then attempt to validate or explain away that choice with pseudoscience or downplaying the risk you’ve added. You are using an inferior solution with an extra vector for data corruption/loss that ECC RAM solutions simply do not have. It is that simple.

[…]

Hint 3: There’s a reason we’re so gung-ho about using ECC RAM for ZFS, and it’s not just because we’re paranoid about data loss (which goes hand in hand with being a ZFS zealot, really). It is because you likely don’t realize how at risk you are. Due to the nature of how ZFS handles writes, your incoming (write) data is at risk of RAM-related bit errors for likely significantly longer than traditional storage solutions or alternative filesystems. 5, 10, 30, 60 or more seconds in a state where it is at risk.

Read the rest of this entry »

Posted in *nix, ECC memory, Endian, ESXi4, ESXi5, ESXi5.1, ESXi5.5, Hardware, Hyper-V, Linux, Memory, Power User, SuSE Linux, VMware, VMware ESXi, Windows, Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2 | Tagged: , | Leave a Comment »

World’s Smallest VMware ESXi Server « HackingAway.org

Posted by jpluimers on 2014/03/30

Kewl: World’s Smallest VMware ESXi Server « HackingAway.org.

SSD, ECC, Xeon CPU. Nice!

–jeroen

Posted in ESXi5.1, ESXi5.5, Power User, VMware, VMware ESXi | Leave a Comment »

Installing VMware vSphere Client 4.1-5.5 on Windows 8 or 8.1 (via: tech :: stuff)

Posted by jpluimers on 2014/03/29

Until recently, I had all my VMware vSphere Client installations inside a Windows XP VM because Windows XP: relatively light weight, but (as of writing almost) End-of-Life.

I am upgrading that install now, and actually making two installs:

  1. on Windows Server 2003 R2 (the main VM management VM)
  2. on Windows 8.1 (my main Windows work laptop)

Of course I needed the installers for vSphere Client 4.1, 5.0, 5.1 and 5.5. The easiest os to get them through the direct download links at VMware: Vsphere Client Direct Download Links | tech :: stuff  Read the rest of this entry »

Posted in ESXi4, ESXi5, ESXi5.1, ESXi5.5, Power User, VMware, VMware ESXi, Windows, Windows 8.1, Windows Server 2003 R2, Windows XP | Tagged: , , , | Leave a Comment »

*nux: “$@” is how to iterate over arguments in bash script (via: command line – Stack Overflow)

Posted by jpluimers on 2014/03/29

Thanks Robert Gamble, ephemient and Jonathan Leffler. Be sure to read the top two answers and comments for full details.

Until now, I always used $* to pass on arguments from *nux shells (bash, sh, ash, etc.). Works on ESXi as well. But that is not the correct way to do.

But “$@” is the correct way:

  • Use “$@” to represent all the arguments:

for var in "$@"
do
echo "$var"
done

  • As a shortcut, for var; do ...; done means for var in "$@"; do ...; done
  • Basic thesis: “$@” is correct, and $* (unquoted) is almost always wrong. This is because “$@” works fine when arguments contain spaces, and works the same as $* when they don’t. In some circumstances, “$*” is OK too, but “$@” usually (but not always) works in the same places. Unquoted, $@ and $* are equivalent (and almost always wrong).

This next to the following construct makes file processing in *nix a breeze:

for filename in *.7z; do if 7za t $filename 2>&1 > /dev/null; then echo $filename passed; else echo $filename failed; fi; done

–jeroen

via: command line – How to iterate over arguments in bash script – Stack Overflow.

Posted in *nix, bash, Cygwin, Development, ESXi4, ESXi5, ESXi5.1, ESXi5.5, Linux, Power User, Scripting, Software Development, SuSE Linux, VMware ESXi | Leave a Comment »

Some links on ESXi disaster recovery and configuration backup

Posted by jpluimers on 2014/03/27

Just in case the shit ever hits the fan:

Background information:

Notes:

bootbank, altbootbank, backup.sh, auto-backup.sh

Adding your own software to ESXi:

–jeroen

Posted in *nix, ESXi4, ESXi5, ESXi5.1, ESXi5.5, Linux, openSuSE, Power User, SuSE Linux, Virtualization, VMware, VMware ESXi | Tagged: , , | Leave a Comment »

Some Mikrotik and RouterOS Links to get it running on ESXi for experimental purposes.

Posted by jpluimers on 2014/03/27

RouterOS runs on many kinds of hardware. Of course on the MikroTik hardware itself (which always comes with a license), but also on x86 hardware, even virtualized systems.

In that respect, it looks a bit like pfSense, or Endian, but on steroids and closed source.

Here are some links focused on MikroTik  on ESXi (which is great for experimental purposes):

WOL (Wake ON LAN)

–jeroen

via: Routers.

Posted in ESXi4, ESXi5, ESXi5.1, ESXi5.5, Ethernet, Internet, Network-and-equipment, Power User, routers, Virtualization, VMware, VMware ESXi, Wake-on-LAN (WoL) | Tagged: , | Leave a Comment »

vi intro — the cheat sheet method (via: IBM developerworks)

Posted by jpluimers on 2014/03/27

IBM isn’t all about dry corporate stuff and sometimes hard to read redbook documentation (:

I love the way they lead you do build your own VI cheat sheet step by step in vi intro — the cheat sheet method.

It is basically a vi tutorial that helps you to build up your own cheat sheet.

–jeroen Read the rest of this entry »

Posted in *nix, Cygwin, Endian, ESXi4, ESXi5, ESXi5.1, ESXi5.5, Linux, Power User, SuSE Linux, vi, VMware, VMware ESXi | Leave a Comment »

VMware Workstation 10, VMware Player 6 Regular/Plus, VMware Fusion 6 Regular/Pro: what to choose? (via: VMware Workstation 10 released Sept. 4 2013, but you might be fine with the free VMware Player 6 Plus | TinkerTry IT @ home)

Posted by jpluimers on 2014/03/27

There is an interesting post by TinkerTry IT @ home | VMware Workstation 10 released Sept. 4 2013, but you might be fine with the free VMware Player 6 Plus that helped me making up my decision what to buy.

Basically you have these products on the non-server side of things:

(Note: you can find many downloads through Google search for site:www.vmware.com/go)

I bought these:

  • VMware Fusion 6
  • VMware Workstation 10

My reasoning: Read the rest of this entry »

Posted in Fusion, Power User, VMware, VMware ESXi, VMware Workstation | Tagged: , | Leave a Comment »