Skip to main content

Posts

Showing posts from October, 2011

Making your Mac OS X as the NFS server

I'm trying to setup a shared storage for ESXi HA and vMotion demo purpose on VMware Fusion. I guess the easiest way with be enabling the native NFS in Mac rather than powering another iSCSI storage such as OpenFiler, FreeNAS, Lefthand VSA, VMware VSA, etc..  To view your VMnet, type ifconfig in Terminal. Edit  /etc/exports :  sudo vi /etc/exports  Add a line like the following (I'm using NAT network for my ESXi network, hence using the VMnet8 interface with the range of 172.16.17.0/24.): /Users -maproot=root -network 172.16.17.0 -mask 255.255.255.0 Enable  nfsd :  sudo nfsd enable Test your work:  showmount -e You can view the nfsd status:  sudo nfsd status To restart the nfsd :  sudo nfsd restart You can now try to connect ESXi to the NFS or using Mac's Finder to test the connection. Try this... Launch Finder, and press "Shift+Command+G" and type "/net/YourComputerIP/Users". Other method, you can refer to  http://support.apple.com/kb/TA2

Determining if Intel VT is enabled in ESXi 4.x/5.x

To determine if Intel VT or AMD-V are enabled in the BIOS: Log in to the   ESX host   as the root user. You can use tools like PUTTY. Run this command: # esxcfg-info|grep "HV Support" The output of the HV Support command indicates the type of Hyper-visor support available. These are the descriptions for the possible values: 0 - VT/AMD-V  indicates that s upport is not available for this hardware. 1 - VT/AMD-V  in dicates that VT or AMD-V might be available but it is not supported for this hardware. 2 - VT/AMD-V   indicates that VT or AMD-V is   available but is currently not enabled in the BIOS. 3 - VT/AMD-V   indicates that VT or AMD-V is enabled in the BIOS and can be used.

vSphere (ESXi) 5.0 on VMware Fusion (MacBookPro)

I've just powered on 2 ESXi 5.0 on Fusion successfully with hardware virtualization (VT) supported. By default, VMware Fusion will not enable VT for some reason and clearly running ESXi 5.0 on Fusion is not recommended for production and mainly is used for demo or POC purpose. Below if the configuration for my build:- MacBook Pro with Mac OS X 10.6.8 Processor: 2.66 GHz Intel Core i7 Memory: 8GB 1067MHz DDR3 Hard drive: 250GB SSD Disk  VMware Fusion 4 (Support ESXi 5.0 from the menu) However, I've not able to enable FT when configuring the VMware HA within the Custer. Somehow it shows that the CPU does not support hardware virtualization that is required for reply... If you are able to enable FT, please do let me know how... desperate looking for an answer... As to enable VT, you need to manually edit the "VMX" file. vhv.enable = "TRUE" vhv.allow = "TRUE" monitor_control.vt32 = "TRUE" monitor_control.restrict_backdoor =

Can't connect to Hotel WiFi or Starbucks WiFi

Recently I've got this problem connecting to Eastin Hotel WiFi on my Macbook. After further investigation, I noticed Eastin Hotel WiFi's gateway is pointing to 172.16.0.1 which is also the same vmnet1 IP address configured if you have VMware Fusion installed on the Macbook. There are 2 options to avoid this problem. First option is to change the vmnet1 IP to some other IP network range or get Hotel to change their GW (which I don't think it's possible at all). Second option make more sense. Temporarily disable the vmnet1 to avoid the routing conflict.  You can run Terminal to do so. 1. Type Ifconfig for the list of available adapter 2. You will noticed the vmnet1 has the IP address of 172.16.0.1 and vmnet8 has the IP address of 172.16.17.1. In any network, you can't have 2 similar IP connected and this will confuse the network routing. 3. If you have no idea which IP is conflicting, just disable both vmnet1 and vmnet2 as shown below:- sudo ifconfi