{"id":63,"date":"2014-12-04T10:43:11","date_gmt":"2014-12-04T08:43:11","guid":{"rendered":"https:\/\/serverstuff.info\/wordpress\/?p=63"},"modified":"2014-12-04T11:54:42","modified_gmt":"2014-12-04T09:54:42","slug":"nested-esxi-virtualization","status":"publish","type":"post","link":"https:\/\/serverstuff.info\/wordpress\/2014\/12\/04\/nested-esxi-virtualization\/","title":{"rendered":"Nested ESXi Virtualization"},"content":{"rendered":"<p>Basically, I had to test something on an ESXi upgrade procedure before putting it into production and I didn&#8217;t want to mess up my working environment.<br \/>\nThe following is done in an ESXi 5.5 SSH console:<\/p>\n<pre lang=\"bash\">\r\ncd \/vmfs\/volumes\r\n# cd [your volume]\/[your machine name]\r\nvi [your machine name].vmx\r\n#make sure you have enough ram\r\n#find and replace: memSize = \"8192\" with something that feets your needs ( at least 2048 though )\r\n#find and replace or add: numvcpus = \"4\" and cpuid.coresPerSocket = \"2\" to something that meets your demands\r\n#set guestOS = \"vmkernel5\" here if you don't want to manually set it through the interface and you'll nest an ESXi 5 host\r\nmonitor.virtual_mmu = \"hardware\"\r\nmonitor.virtual_exec = \"hardware\"\r\ncpuid.1.ecx = \"---- ---- ---- ---- ---- ---- --H- ----\"\r\nhypervisor.cpuid.v0 = \"FALSE\"\r\nvhv.enable = \"TRUE\"  \r\nsched.mem.maxmemctl = \"0\"\r\n:wq\r\n# search for your vm id\r\nvim-cmd \/vmsvc\/getallvms | grep \"[your machine name]\"\r\nvim-cmd \/vmsvc\/reload [id]\r\n\r\n<\/pre>\n<p>After doing this go to the machine settings in the vSphere Client and set &#8220;Options&#8221; -> &#8220;General Options&#8221; -> &#8220;Guest Operating System&#8221; to &#8220;Other&#8221; -> &#8220;VMware ESXi 5.x&#8221;<br \/>\nAlso, be sure to have size your VM disk if you want machines in it .. AND at least 2 cores !<\/p>\n<p>Enjoy.<\/p>\n<p>P.S.: <a href=\"https:\/\/communities.vmware.com\/message\/2120826\" title=\"run  nested KVM hypervisor VMs\">https:\/\/communities.vmware.com\/message\/2120826<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Basically, I had to test something on an ESXi upgrade procedure before putting it into production and I didn&#8217;t want to mess up my working environment. The following is done in an ESXi 5.5 SSH console: cd \/vmfs\/volumes # cd [your volume]\/[your machine name] vi [your machine name].vmx #make sure you have enough ram #find &hellip; <a href=\"https:\/\/serverstuff.info\/wordpress\/2014\/12\/04\/nested-esxi-virtualization\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Nested ESXi Virtualization<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-63","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/serverstuff.info\/wordpress\/wp-json\/wp\/v2\/posts\/63","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/serverstuff.info\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/serverstuff.info\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/serverstuff.info\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/serverstuff.info\/wordpress\/wp-json\/wp\/v2\/comments?post=63"}],"version-history":[{"count":7,"href":"https:\/\/serverstuff.info\/wordpress\/wp-json\/wp\/v2\/posts\/63\/revisions"}],"predecessor-version":[{"id":70,"href":"https:\/\/serverstuff.info\/wordpress\/wp-json\/wp\/v2\/posts\/63\/revisions\/70"}],"wp:attachment":[{"href":"https:\/\/serverstuff.info\/wordpress\/wp-json\/wp\/v2\/media?parent=63"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/serverstuff.info\/wordpress\/wp-json\/wp\/v2\/categories?post=63"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/serverstuff.info\/wordpress\/wp-json\/wp\/v2\/tags?post=63"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}