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,860 other subscribers

Archive for the ‘ESXi5.1’ Category

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 »

*nix: recursively listing “hidden” files from the current directory

Posted by jpluimers on 2014/03/25

As a follow up on my recent rsync on ESXi 5.1 post, as – when rsync in ESXi terminates the hard way because of a lost SSH connection – rsync can leave “hidden” files behind.

A small script that recursively shows the hidden files (those starting with a dot) starting from the current directory:

find . -iname ".*"

More of those (including deleting them, filtering for only files or only directories, etc) are at Linux / UNIX: Bash Find And Delete All Hidden Files Directories.

Note: don’t try to outsmart using something like piping through grep "\/\." as that will also match files who’s parent directories are hidden.

–jeroen

via:

Posted in *nix, Apple, bash, Development, ESXi4, ESXi5, ESXi5.1, ESXi5.5, Linux, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.4 Tiger, Mac OS X 10.5 Leopard, Mac OS X 10.6 Snow Leopard, Mac OS X 10.7 Lion, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, OS X 10.8 Mountain Lion, OS X 10.9 Mavericks, Power User, Scripting, Software Development, SuSE Linux, VMware, VMware ESXi | Tagged: , | Leave a Comment »

How to copy a file with I/O errors? (via: Not a complete failure » Blog Archive)

Posted by jpluimers on 2014/03/24

Blast from the past, and happy I found back the original blog that pointed me to this: Not a complete failure » Blog Archive » How to copy a file with I/O errors?.

A long while ago, I helped out a friend with a HDD that was partially working. He neede the bits of a file that had become unreadable by regular means.

dd to the rescue: it takes a lot longer, but gets the job done eventually. Eventually can be T+eternity.

Note that you always should copy such a file to another drive, like described in the above blog.

Something like this (the parameters are explained at the dd man page):

dd if=/mounting-path/directory-path/damaged.mp4 of=resurrected.mp4 conv=noerror,sync

Usually for creating disk images, dd works on *n*x, Mac OS X, Windows with for instance Cygwin, ESXi, etc.

See also: linux – Rescuing a hdd with bad sectors: dd vs gddrescue – Super User.

–jeroen

via: Not a complete failure » Blog Archive » How to copy a file with I/O errors?.

Posted in *nix, Apple, Cygwin, ESXi4, ESXi5, ESXi5.1, ESXi5.5, Linux, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.4 Tiger, Mac OS X 10.5 Leopard, Mac OS X 10.6 Snow Leopard, Mac OS X 10.7 Lion, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, OS X 10.8 Mountain Lion, OS X 10.9 Mavericks, Power User, SuSE Linux, VMware, VMware ESXi | Leave a Comment »

Moving Mac OS X VMware Fusion VMs to ESXi (via: Ask Different)

Posted by jpluimers on 2014/03/23

Interesting read: vmware – Moving Fusion VMs to ESXi – Ask Different.

I was kind of expecting something like this, as VMware has been notoriously bad at proving Mac OS X tools (whereas their VMware Workstation for Linux is on par with their Windows product, Linux also lacks a vSphere Client and a standalone VMware vCentre Converter).

Good to have my expectations confirmed. Not so good that this is a tedious process.

Note that you need twice the disk size on your Mac, as you recreate the vmdk files on your Mac in a format that ESXi understands.

Oh well…

Note there are even more tedious ways, but good to know they exist.

I really wish VMware Fusion could do what you can do with VMware Workstation to manage your ESXi hosts (including Free ESXi) & VMs.

–jeroen

via:

More links:

 

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

Best Buy Guides (BBGs) – mux’ blog – Tweakblogs – Tweakers

Posted by jpluimers on 2014/03/23

Interesting as it talks about both ZFS and ESXi servers with ECC memory: Best Buy Guides (BBGs) – mux’ blog – Tweakblogs – Tweakers.

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

VMware ESXi 5.5 LSI MegaRaid 9271: Firmware Update / Driver & CIM Provider Installation – VMware – IT-News, Tutorials, Reviews, Gaming – skV-NET

Posted by jpluimers on 2014/03/23

Soon I’m going to update the ESXi 5.1 with the youngest LSI 9260 driver and CIM from MegaRAID 9260-8i RAID Controller Card | SAS RAID | LSI.

Steps are at VMware ESXi 5.5 LSI MegaRaid 9271: Firmware Update / Driver & CIM Provider Installation – VMware – IT-News, Tutorials, Reviews, Gaming – skV-NET.

–jeroen

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