ESX

Unsupported Console and SSH on ESXi 4

I haven done this in a long time and took a short while to remember.  So I said why not list the steps here

alt-f1 (Note:  you will not see your typing on this screen).
unsupported
root pw (password)
vi /etc/inetd.conf
delete the “#” from ssh for the IPv4 and IPv6 (If your using it)
services.sh restart

Quick ESXi iSCSI configuration

Here is a quick walkthrough on connecting your ESXi host to an iSCSI target.
[Start Now]
Connecting to our ESXi server with the vSphere client is go into the configuration tab then storage adapters. Now we need to enable the iSCSI software adapter and click configure.
After enabling the software adapter we need to point it at our iSCSI target. Go to the dynamic discovery tab and “click add”.
Enter the IP address of the SAN and use port 3260
Click close and you will be prompted to rescan for storage, click yes
Our iSCSI disk will now show up under the software adapter
Go to the storage section of the configuration and click “Add Storage”
Select Disk/LUN and click “Next” then select the new iSCSI target and click “Next” and Click “Next” again
Enter a datastore name and click “Next”
Click “Next” unless you want to adjust the block size
Click “Finish”
Now your new iSCSI datastore is ready to use

Updating ESXi 5 – How To

So you are running ESXi5 standalone in my house or your office.  You have a need up patch this baby for the latest in driver support for guest and perhaps for Runing Windows 8 on vSphere 5

Here are a few things you might want to know and do to make this happen

 

Make sure you have ESXi Shell access on the ESXi 5 host.

Download the patch bundle directly from VMware Support. This download will be .zip file.  Do not extract it.

Upload the .zip file to a datastore that is accessible on the ESXi host you wish to update

Note:  In the examples below… Adjust accordingly.

Obtain local console access or ssh in.

Place your hose in maintenance mode and shutdown / pause all of your guest systems

To update the ESXi 5 host with the VIBs included in the depot, issue the following command:  esxcli software vib update --depot=/vmfs/volumes/datastore1/somepath/ESXi500-201109001.zip

When the update is complete reboot the ESXi 5 host

I could have also included other steps like verification of what is installed before and after, but why?  You should know how to do that and well there is always Google.

As always, thank you for reading this and I hope this helps.

Useful Link:  http://www.vmware.com/patchmgr/download.portal

 

Convert thick disks to thin provisioning | ESX

Got Space? I don’t

Seeing how it’s not possible to convert a VMWare Guest VM’s from ‘thick’ to ‘thin’. I will provide some simple info on how to clone the disk into a ‘thin’ disk. Once completed the original ‘thick’ disk can be deleted

# remote into your ESX Server
# service console can be used also
# change into your machine directory and type
vmkfstools -i <*thickDiskname.vmdk> -d thin <thintDiskname.vmdk>

 

Install VMWare Tools Ubuntu Server

This is a little short on how to install the ESX VMWare Tools on Ubuntu Server

If you are not running as the ‘root’ user you will need to change into super user

Lets start —

 

# if not running as ‘root’ change into super user
sudo su

# update your sources
apt-get update

# you will need to install the build tools
apt-get install build-essential
apt-get install linux-headers-server

# we can now install the tools from the virtual cd
# in esx click on the vm-guest and then select guest
# followed by install/upgrade VMWare tools
# you will need to mount the tools
mount /dev/cdrom /media/cdrom

# now copy the tools to the temp path of your server
# use tab completion to get the correct tools version
cp /media/cdrom/VMWareTools-.x.x.x-xxxx.tar.gz /tmp

# change into the tmp directory
cd /tmp

# extract the install files
# use tab completion to get the correct tools version
tar -zxf VMWareTools-.x.x.x-xxxx.tar.gz

# change into the extracted directory
# use tab completion to get the correct directory
cd vmware-tools-distrib

# now start the installing by typing the following
./vmware-install.pl

# you will see the following message
:: Installing VMware Tools. ::

# accept the defaults
:: Initializing… ::

 

– Done –