{"id":7164,"date":"2013-02-02T12:47:29","date_gmt":"2013-02-02T17:47:29","guid":{"rendered":"http:\/\/jianmingli.com\/wp\/?p=7164"},"modified":"2015-02-04T10:58:10","modified_gmt":"2015-02-04T15:58:10","slug":"home-vmware-vsphere-hypervisor-5-1esxi-5-1","status":"publish","type":"post","link":"https:\/\/jianmingli.com\/wp\/?p=7164","title":{"rendered":"Build a Home VMware vSphere Hypervisor 5.1(ESXi 5.1)"},"content":{"rendered":"<div class='toc wptoc'>\n<h2>Contents<\/h2>\n<ol class='toc-odd level-1'>\n\t<li>\n\t\t<a href=\"#Machine\">Machine<\/a>\n\t\t<ol class='toc-even level-2'>\n\t\t\t<li>\n\t\t\t\t<a href=\"#RAID_Card\">RAID Card<\/a>\n\t\t\t<\/li>\n\t\t<\/ol>\n\t<li>\n\t\t<a href=\"#Download_ESXi\">Download ESXi<\/a>\n\t<\/li>\n\t<li>\n\t\t<a href=\"#Install_ESXi\">Install ESXi<\/a>\n\t\t<ol class='toc-even level-2'>\n\t\t\t<li>\n\t\t\t\t<a href=\"#Setup_BIOS\">Setup BIOS<\/a>\n\t\t\t<\/li>\n\t\t\t<li>\n\t\t\t\t<a href=\"#Install_ESXi_1\">Install ESXi<\/a>\n\t\t\t<\/li>\n\t\t\t<li>\n\t\t\t\t<a href=\"#Customize_System\">Customize System<\/a>\n\t\t\t<\/li>\n\t\t\t<li>\n\t\t\t\t<a href=\"#Enter_Eval_License\">Enter Eval License<\/a>\n\t\t\t<\/li>\n\t\t<\/ol>\n\t<li>\n\t\t<a href=\"#Using_ESXi_Shell_Commands\">Using ESXi Shell Commands<\/a>\n\t<\/li>\n\t<li>\n\t\t<a href=\"#UPS\">UPS<\/a>\n\t<\/li>\n\t<li>\n\t\t<a href=\"#References\">References<\/a>\n\t<\/li>\n<\/ol>\n<\/ol>\n<\/div>\n<div class='wptoc-end'>&nbsp;<\/div>\n<span id=\"Machine\"><h2>Machine<\/h2><\/span>\n<p>* Model: <a href=\"http:\/\/www.costco.com\/HP-ENVY-h8xt-Desktop,-Intel%C2%AE-Core%E2%84%A2-i7-3770-Quad-core,-3.4GHz.product.100029672.html\"><em>HP h8-1420t<\/em><\/a> from Costco.<br \/>\n* CPU: <em>Intel i7-3770 3.40 GHz<\/em><br \/>\n* Hyperthreading: <em>Enabled <\/em>(Enabled from BIOS setup. Hit F10 right after power on for BIOS setup)<br \/>\n* Memory: <em>16 GB<\/em><br \/>\n* Storage: <em>1TB 7200 rpm<\/em><br \/>\n* NIC (<strong>separate purchase<\/strong>): <a href=\"http:\/\/www.amazon.com\/dp\/B001CY0P7G\/ref=pe_175190_21431760_3p_M3T1_SC_dp_1\"><em>Intel Gigabit CT PCI-E Network Adapter EXPI9301CTBLK<\/em><\/a> from Amazon.<\/p>\n<span id=\"RAID_Card\"><h3>RAID Card<\/h3><\/span>\n<p>I&#8217;m thinking getting a raid card for SATA drives. Here are some of candidate cards:<br \/>\n* <a href=\"http:\/\/www.newegg.com\/Product\/Product.aspx?Item=N82E16816118128\">LSI MegaRAID Internal Low-Power SATA\/SAS 9240-8i 6Gb\/s PCI-Express 2.0 RAID Controller Card, Kit<\/a><br \/>\n* <a href=\"http:\/\/www.amazon.com\/381513-B21-HP-Smart-Array-Controller\/dp\/B0038L11EM\/ref=pd_sim_sbs_e_4\">HP Smart Array P800<\/a><br \/>\n* <a href=\"http:\/\/www.compuvest.com\/Desc.jsp?iid=1771263\">HP Smart Array P400 SAS RAID Controller With Heat Sink 507808B21<\/a><br \/>\n&#8211; Bought this card, now need to buy SFF 8484 to 4 X SATA cable<\/p>\n<span id=\"Download_ESXi\"><h2>Download ESXi<\/h2><\/span>\n<p>* Download the following ESXi 5.1 components from VMware <a href=\"https:\/\/my.vmware.com\/web\/vmware\/info\/slug\/datacenter_cloud_infrastructure\/vmware_vsphere_hypervisor_esxi\/5_1\">download site<\/a>. You&#8217;ll need to login in order to download.<br \/>\n&#8211; VMware vSphere Hypervisor 5 License: needed to unlock the free features of ESXi once the initial 60 day trial period expires.<br \/>\n&#8211; VMware ESXi 5.1 (CD ISO) Installable 2012-09-10 | 5.1.0 | 301M | Binary (.iso)<br \/>\n&#8211; VMware vSphere Client 5.1<br \/>\n* Burn the downloaded CD ISO image to a CD disk.<\/p>\n<span id=\"Install_ESXi\"><h2>Install ESXi<\/h2><\/span>\n<span id=\"Setup_BIOS\"><h3>Setup BIOS<\/h3><\/span>\n<p>* Boot into BIO setup.<br \/>\n* Enable VT (Virtualization Technology) Support.<br \/>\n* Enable boot from CD\/DVD ROM.<\/p>\n<span id=\"Install_ESXi_1\"><h3>Install ESXi<\/h3><\/span>\n<p>* Boot from ESXi 5.1 CD<br \/>\n* Accept EULA<br \/>\n* Select disk<br \/>\n* Select OK to overwrite partition<br \/>\n* Select keyboard layout: <em>US Default<\/em><br \/>\n* Enter root password<br \/>\n* Confirm install<br \/>\n* Remove CD and reboot<\/p>\n<span id=\"Customize_System\"><h3>Customize System<\/h3><\/span>\n<p>* Start ESXi<br \/>\n* Press F2: <em>Customize system\/view logs<\/em><br \/>\n* Login as root user<br \/>\n* Select: <em>Configure Management Network<\/em><br \/>\n* Select: <em>IP Configuration<\/em><br \/>\n* Select: <em>Set Static IP address and network config<\/em> and enter, for example:<br \/>\n&#8211; IP: <strong>192.168.1.66<\/strong><br \/>\n&#8211; Subnet mask: <strong>255.255.255.0<\/strong><br \/>\n&#8211; Default Gateway: <strong>192.168.1.1<\/strong><br \/>\n* Select: DNS Config and enter:<br \/>\n&#8211; Primary DNS: <strong>8.8.8.8<\/strong><br \/>\n&#8211; Alternate DNS: <strong>4.4.4.4<\/strong><br \/>\n&#8211; Host Name: <strong>esxi5<\/strong><br \/>\n* Select <em>Restart Management Network<\/em><br \/>\n* Reboot<\/p>\n<span id=\"Enter_Eval_License\"><h3>Enter Eval License<\/h3><\/span>\n<p>* Login <a href=\"https:\/\/my.vmware.com\">https:\/\/my.vmware.com<\/a> and download license from: <em>Home > Evaluate VMware Products > VMware vSphere Hypervisor > Download > License &#038; Download<\/em><br \/>\n* From vSphere Client, select <em>ESXi server > Configuration > Licensed Features<\/em><br \/>\n* Click <em>Edit&#8230;<\/em> link<br \/>\n* Select <em>Assign a new license key to this host<\/em><br \/>\n* Click <em>Enter Key&#8230;<\/em><\/p>\n<span id=\"\"><h6><a href=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2013\/02\/esxi5_license_enter1.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2013\/02\/esxi5_license_enter1-300x209.jpg\" alt=\"\" title=\"esxi5_license_enter\" width=\"300\" height=\"209\" class=\"aligncenter size-medium wp-image-7603\" srcset=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2013\/02\/esxi5_license_enter1-300x209.jpg 300w, https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2013\/02\/esxi5_license_enter1.jpg 822w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/h6><\/span>\n<span id=\"Using_ESXi_Shell_Commands\"><h2>Using ESXi Shell Commands<\/h2><\/span>\n<p>* Enable ESXi Shell and<br \/>\n<em>Troubleshooting Options > Enable ESXi Shell<\/em><br \/>\n<em>Troubleshooting Options > Enable SSH Shell<\/em><br \/>\n* Access ESXi shell from remote: use SSH client such as putty<br \/>\n* Access ESXi shell from local: <em>Alt-F1<\/em><br \/>\n* NIC commands<\/p>\n<pre lang=\"bash\">\r\n# List status for all NICs\r\nesxcfg-nics -l\r\n\r\n# Bring up vmnic0\r\nesxcli network nic up -n vmnic0\r\n\r\n# Take down vmnic0\r\nesxcli network nic down -n vmnic0\r\n\r\n# Set vmnic0  to auto negotiation\r\nesxcfg-nics -a vmnic0\r\n\r\n# Forc vmnic0 100 Full\r\nesxcfg-nics -s 100 -d full vmnic0 \r\n<\/pre>\n<p>* Shutdown or reboot:<br \/>\n&#8211; Note: shutdown all VMs first<\/p>\n<pre lang=\"bash\">\r\n# Check maintenance mode\r\nesxcli system maintenanceMode get\r\n\r\n# Enable maintenance mode\r\nesxcli system maintenanceMode set -e true -t 0 \r\n\r\n# Shutdown\r\nesxcli system shutdown poweroff -d 10 -r \"Test shutdown\"\r\n\r\n# Reboot\r\nesxcli system shutdown reboot -d 10 -r \"Test reboot\"\r\n<\/pre>\n<span id=\"UPS\"><h2>UPS<\/h2><\/span>\n<p>* Bought <em>CyberPower CP1000PFCLCD PFC Sinewave UPS System<\/em> from B&#038;H.<br \/>\n* Power went out for 10 sec this afternoon (9\/10\/13) but thanks to this unit my ESXi didn&#8217;t go down.<\/p>\n<span id=\"References\"><h2>References<\/h2><\/span>\n<p>* <a href=\"http:\/\/pubs.vmware.com\/vsphere-51\/index.jsp?topic=%2Fcom.vmware.vsphere.upgrade.doc%2FGUID-200B9E03-D46B-44A9-9B0E-4863D067CFFF.html\">VMware vSphere ESXi and vCenter Server 5.1 Documentation<\/a><br \/>\n* <a href=\"http:\/\/www.vmware.com\/resources\/compatibility\/search.php?deviceCategory=io\">VMWare Compatibility Guide: I\/O Device<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Machine * Model: HP h8-1420t from Costco. * CPU: Intel i7-3770 3.40 GHz * Hyperthreading: Enabled (Enabled from BIOS setup. Hit F10 right after power on for BIOS setup) * Memory: 16 GB * Storage: 1TB 7200 rpm * NIC &hellip; <a href=\"https:\/\/jianmingli.com\/wp\/?p=7164\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[345,124],"tags":[339,141,602,340],"class_list":["post-7164","post","type-post","status-publish","format-standard","hentry","category-esxi-vmware","category-vmware","tag-esxi","tag-install","tag-vmware","tag-vsphere"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8cRUO-1Ry","_links":{"self":[{"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/7164","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7164"}],"version-history":[{"count":27,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/7164\/revisions"}],"predecessor-version":[{"id":10566,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/7164\/revisions\/10566"}],"wp:attachment":[{"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7164"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7164"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7164"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}