Skip to main content

Posts

Showing posts from 2011

Disabling DHCP on vmnet1 (VMware Fusion)

I did most of the VMware testing including View on my Fusion. Due to the VDI client, I need to disable the fusion's DHCP coz I will be using the DHCP on my AD server. The following command help to kill the process... sudo kill -15 `sudo ca t /var/run/vmnet-dhcpd-vmnet1.pid` Or You can always find the dhcpd.conf and disable from here as well... Sudo vi /Library/Preferences/VMware Fusion/vmnet8/dhcpd.conf Put a comment # infront of all the lines... # # #... http://www.perturb.org/display/448_Example_dhcpd_conf.html In many cases, you can also edit the dhcpd.conf to suit your testing environment instead of leveraging Windows DHCP service... You can find some samples here - 

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

Jailbreak iPhone 4 IOS 4.3.3 with www.jailbreakme.com

I've just got my new iPhone 4 replacement due to the Home button problem... You can now jailbreak IOS 4.3.3 with www.jailbreakme.com. Just launch Safari, and type www.jailbreakme.com, and install Cydia. Once Cydia is installed, you need to add the source as per this link - http://ljnewchapter.blogspot.com/2011/03/jailbreak-421-with-greenpoison.html . Due to the Home button problem, I've further explore if we can use iPhone without the Home button. Surprisingly, the Home button is no longer required. Once you have install Cydia, you probably want to download SBSsettings (Cydia>>Featured>>SBSsettings). Reboot your iPhone once SBSsettings is installed. You can now configure Activator to replace the Home button. For example, you can swipe down on the status bar to replace Home button, Double Tap to activate Switcher (double click Home button), swipe left to replace Sleep button, etc... Probably the next version of iPhone will not have the home button but rather a bi

Editing hosts file in iPhone/iPAD

You can now edit the hosts file with a jailbroken iPhone/iPad. Download the hosts file using tool like FileZilla. Default location is /etc/hosts. Download Notepad++ and edit the file. I've edit the file and convert it to ANSI under the Encoding menu. Once completed, upload the file back to the default location.  Try to ping the DNS... It should works!

Diving Equipment List

There is a feeling that you always forget something when packing to diving... Below is the list that must bring... Mask / Snorkel Fin and booties Buoyancy Compensators (BC) Regulators Sausage Gloves Dry bag Dive comp Knives Torches (and rechargeable batteries and charger) Wet suits (maybe to consider swimming trunk, rush guard or half size wet suit) Dry suits (keep you warm in between dives) Tanks (Optional, depending dive site) Weights / Belts (Optional, depending dive sites) For those that go spear fishing, you might consider the following... Spear gun Shaft / spear Loader Fish hook Extender Extra cable Fish net For myself, I need extra stuffs, which are... Contact lens (take extra if possible) Saline Shampoo Body Shampoo Toothbrush and toothpaste Sun glasses Wind breaker Jacket Normal dry suit (clothes and shorts enough for the trip) Plastic bags Handphone charger

What it matters - cost per application, NOT just one piece of the software cost...

I found it interesting when people want to consolidate or virtualize their datacenter x86 servers, most peoples always question on the hypervisor licensing cost and NOT cost per application. What it really matters today is how much you will be paying based on one instance application (or VM which is refer by most peoples). What most of the technology vendors like Microsoft, Citrix and Redhat did not tell you is they somehow will still charge and mare money from selling management tools like Microsoft SCVMM, Citrix Enterprise and management tools, KVM annual licensing maintenance, etc... Well, think about it... if one company is giving free stuff all time, how much development funding they will get to continue to enhance and support the product? Frankly speaking, running your datacenter on technology not mature like HyperV, you probably are losing mind... With VMware vSphere 5.0 today, it can supports monster VMs (32 vCPU and 1TB RAM) which make more sense to drive both consolidation

Server power consumption

I'm referring to DL380 G7's power consumption stated as per http://www.hp.com/hpinfo/newsroom/press_kits/2010/breakingthegridlock2010/DL380G7ServerDS.pdf There are different power supply available in this model:  460W; 750W; 1200W In Malaysia, we can safely assume RM0.43/KWH as per http://www.tnb.com.my/business/for-commercial/pricing-tariff.html, Tariff B. So, if we take DL380G7 with 460W, running 24x7, total per server power consumption is 4018.56KWH. Rate per year per server, 4018.56KWH x RM0.43 = RM1272.98. Factoring in the cooling load at 1X (2.0 PUE) puts the annual energy cost per server at RM3,455.96. For 750W, rate per year per server is RM5634.72 For 1200W, rate per year per server is RM9015.55 You probably can take 20%-30% off from the number presented above assuming that these servers are somehow energy saving for best case.

Configuring Log Shipping with SQL 2005

SQL 2005 log shipping can work without AD. It can run on standalone but you will need to create a local user account with local admin rights with same username and password at both source and destination SQL server. Once user created, configure the SQL server service and SQL agent service to start with this account. Always remember to restart the services mentioned before proceeding to the following steps.  Make sure the following are ready:- 1. Shared folders (with right permission for the SQL account startup account) at both source and destination server. 2. SQL agent service must be started Steps to configure Log Shipping on SQL Server 2005 1. Create a new user Account named “sqlagent” on both computers. Use the exact same user name and password. 2. Make sure File Sharing is enabled on the local area connection between the server. Also enable file sharing in Firewall. 3. Optional - Make sure the local network connection is not regular LAN. It must be a gigabit card with near zero

Downloaded 101%?

Damn... life is getting for interesting... Downloaded 101% and still going...

Editing host file in MAC book

The hosts file is in the hidden /etc folder so it is ruled by the superuser "root". You have two choices: Enable the root user so you can login with super powers; or use Terminal. I prefer doing with Terminal. Editing in Terminal is really quite easy. Launch Terminal. Type sudo pico /etc/hosts and hit return. 

Alarm jam on Honda Jazz

It's been quite amaze... if you have a Honda Jazz and the alarm is not working, try this... Press and hold the two buttons on the remote controller for 5 seconds, then 2 times on the "ON" button (left button) to reset the alarm... It works for me...  Amaze... Thanks for the mechanic! 

Creating Certificate with multiple Subject Alternative Name (SAN) for Exchange 2010 and ISA 2006 using local certificate authority (CA)

I'm deploying Exchange 2010 for 6000 users/mailboxes and migrating them from Exchange 2003. I've found that creating and managing the certificate is quite complicated or rather confuse. Decided to blog it so I could refer and hopefully help others! I'm generating new cert with multiple Subject Alternative Name (SAN) to be used in the following design:- ISA01 -> ExchCAS00 (VIP for ExchCAS01 and ExchCAS02) -> Mailbox servers Publish DNS  1. webmail.companyA.com (existing Exchange 2003 to be migrated) 2. webmail2.companyA.com (current pilot user) 3. autodiscover.companyA.com 4. ExchCAS00.company.com 5. ExchCAS01.company.com 6. ExchCAS02.company.com 7. legacy.companyA.com (For Exchange co-existence on OWA) I'm adding internal CAS HUB into the cert because some internal software somehow uses the local hostname. Otherwise, you should not need to do so. Creating Certificate with multiple Subject Alternative Name (SAN) for Exchange 2010 and ISA 2006 using local certi

Jailbreak 4.2.1 with GreenPoison!

Now you can jailbreak 4.2.1 IOS. You can refer to http://www.redmondpie.com/jailbreak-ios-4.2.1-untethered-iphone-ipad-ipod-touch-greenpois0n-rc5-how-to-guide/. After jailbreak successfully, you need to configure Cydia... 1. Open Cydia in iPhone 2. Goto Manage >> Source >> Edit >> Add 3. Type the following source:      - http://cydia.hackulo.us      - http://www.sinfuliphonerepo.com      - http://thebigboss.org/betarepo      - http://repo.benm.at Adding above sources allowing you to download installous and mywi (turning your iphone to become wifi router) Note: mywi is not required for the latest IOS. You can use personal hotspot instead.   4. Goto search (in Cydia) and search for Installous and myWi 4 Cracked (from sinful...) and install them... 5. Now, you can search crack app from Installous and use myWi! Enjoy! FYI, you can also download ipa file from some other website. Open it and will add it into iTunes and sync from iTunes to iPhone!

VCP 410 - braindump can help?

Just managed to pass my VCP 410 (Vmware vSphere Install, Configure and Manage). My score: 369, Passing Score: 300, Total Question: 85.  I've got this braindump from someone and it's pretty useful to pass the exam. However, I noticed there are changes on the questions. Some questions are tricky. Some are new. You will need to understand the Q&A in the braindump in order to answer the paper successfully.  Some of the tricky & new questions still fresh in mind... 1. Host profile sub page - what can be configure? 2. ESX Web page - what can you do in the homepage? 3. vNetwork Distributed Switch load balancing option 4. Be careful the NOT question... 5. Couple questions on Resource Pool  6. User permission, after removing create permission, bla bla bla... you can refer to the dump! 7. Understand Data Recovery concept and limitation - up to 8 concurrent session... I think i've got this wrong. Download dump from here:- VCP 410 braindump!

Making your iphone to Wifi HotSpot?

Gotten this from a friend really solve my problem. MyWi can be downloaded from Cydia but of course you would probably need to pay it after the trial period.  There is other "cracked" MyWi which you would need to first jailbreak your iphone, and add additional source as follow:- 1. Open your Cydia 2. Goto Manage>Source>Edit>Add 3. Add http://sinfuliphonerepo.com Then, go to Search and look for MyWi (cracked version), download and install it! Tata... you got it working!

Where to download iphone Apps?

I'm getting more and more enquiries where to download iphone Apps for jailbroken phone. Well, the easiest way of course is to google them... Just type "download crack iphone app" and you get a few of them. These are some that you might find it useful... http://www.funkyspacemonkey.com/7-sites-download-cracked-ipa-files-iphone-itouch One of my favorite - AppCake