OpenFiler iSCSI Software

VMware, VMotion, DRS and other VMware feature needs a SAN ! If you work for VMware probably you have 5 or 6 SAN under your desk and 3 new servers. In the Real World…. you need to figure out your test with a limited budget.

So for those people like me, you can try the OpenFiler Virtual Appliance, they provide a simple interface and you will be able to deploy your ESXi to connect with iSCSI and test out your VMotion, DRS, and so on…

The virtual appliance can be found : http://www.vmware.com/appliances/directory/344

The official Website :
http://www.openfiler.com/

A quick intro with Petri KB
http://www.petri.co.il/use-openfiler-as-free-vmware-esx-san-server.htm

Updating to ESXi 4.1 Error : Failed to read the upgrade package metadata.xml

You have issue upgrading from ESXi 4.0 Update 2 to ESXi 4.1 you have the error :  Failed to read the upgrade package metadata.xml

Basically the problem is related to ESXi doesn’t support the SSH Shell.
To activate the SSH Shell : 

1. At the console of the ESXi host, press ALT-F1 to access the console window.
2. Enter unsupported in the console and then press Enter. You will not see the text you type in.
3. If you typed in unsupported correctly, you will see the Tech Support Mode warning and a password prompt. Enter the password for the root login.
4. You should then see the prompt of ~ #. Edit the file inetd.conf (enter the command vi /etc/inetd.conf).
5. Find the line that begins with #ssh and remove the #. Then save the file. If you’re new to using vi, then move the cursor down to #ssh line and then press the Insert key. Move the cursor over one space and then hit backspace to delete the #. Then press ESC and type in :wq to save the file and exit vi. If you make a mistake, you can press the ESC key and then type it :q! to quit vi without saving the file.
6. Once you’ve closed the vi editor, run the command /sbin/services.sh restart to restart the management services. You’ll now be able to connect to the ESXi host with a SSH client. But for me I was force to Reboot the Server.

  • Upload the package with the VI client to a folder on the ESX Server
  • Put the server in maintenance mode
  • Connect to the Shell and fo into the folder where you upload the package
  • at the prompt run :     esxupdate update –m metadata.zip
  • Reboot and enjoy !  🙂

I will not take the credit for it I keep the steps in case their website goes down, for a more details go to : 
http://blog.vmpros.nl/2010/07/15/vmware-failed-to-read-the-upgrade-package-metadata-xml-upgrading-to-esxi-4-1/

Linux and Windows Active Directory : Centrify

A lot of people try to have a perfect integration with  Windows Active Directory and a Linux Box. If you try it by yourself with editing the samba files and some basic GUI you will have an hard time and a headache in a lot of Distro.

If you want to simplify your life go with Centrify Express:
http://www.centrify.com/
http://www.centrify.com/express/free-active-directory-tools-for-linux-mac.asp?r=menu-nav

This software is really easy to install and fit with *all* the distro. Just follow the 3 pages install guide.

They have a Samba “server” module to share some folders from your linux box to users in the Active Directory. This package is a bit more difficult to setup but follow the guide and everything work great. If you set this up correctly the Windows Users will not be prompt for credential, the linux will check the Active Directory to authenticate the users !

 

iPhone Internal Diagnostic utility

Tested on iOS 4.2 @ 4.3.5

Launch the dial pad and enter:
*3001#12345#*

.. then press Call.

Once in the field test screen you can view a bunch of different internal information and if you click on the Signal bars you will actually see the signal in numerical value. The closest to zero (0) you are the better signal.

To get out simply press the Home button.