{"id":5592,"date":"2020-09-27T21:01:10","date_gmt":"2020-09-27T19:01:10","guid":{"rendered":"https:\/\/tekmart.co.za\/t-blog\/?p=5592"},"modified":"2020-09-27T21:01:11","modified_gmt":"2020-09-27T19:01:11","slug":"how-do-you-use-vmware-esxi-logs-to-troubleshoot-your-host","status":"publish","type":"post","link":"https:\/\/tekmart.co.za\/t-blog\/how-do-you-use-vmware-esxi-logs-to-troubleshoot-your-host\/","title":{"rendered":"How do you use VMware ESXi logs to troubleshoot your host?"},"content":{"rendered":"<span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Reading Time-approximately:<\/span> <span class=\"rt-time\"> 3<\/span> <span class=\"rt-label rt-postfix\">minutes<\/span><\/span>\n<h2 class=\"wp-block-heading\"><strong>With access to logs, you can troubleshoot your ESXi host and track issues as they crop up. You can access your logs via the console or a web browser with only a few simple steps.<\/strong><\/h2>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/cdn.ttgtmedia.com\/rms\/onlineImages\/seget_vladan.jpg\" alt=\"Vladan Seget\"\/><\/figure>\n\n\n\n<p>By <a href=\"https:\/\/www.techtarget.com\/contributor\/Vladan-Seget\">Vladan Seget<\/a><\/p>\n\n\n\n<p>You can troubleshoot an ESXi host in a few different ways. The exact method depends on which version of ESXi you&#8217;re trying to troubleshoot and if the host is part of the vCenter server or accessible remotely via Secure Shell. VMware doesn&#8217;t recommend that you allow access via Secure Shell, so this guide will concentrate on using\u00a0VMware ESXi\u00a0logs with access via console or web browser. <\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>Therefore, this article won&#8217;t include situations in which you completely lose connectivity to your ESXi host. In these cases, a hardware problem, such as a physical switch, network interface card or cable, could be the cause.<\/p><\/blockquote>\n\n\n\n<h3 class=\"wp-block-heading\">Access VMware ESXi logs via console<\/h3>\n\n\n\n<p>It&#8217;s easy to\u00a0troubleshoot ESXi via logs\u00a0if you know where to look; this saves you the effort of looking at everything to locate the root cause of your problems.<\/p>\n\n\n\n<p>In order to access VMware ESXi logs from the ESXi Direct Connect User Interface, you have to be in the server room, at the console itself. You might be able to access the server remotely via the\u00a0Intelligent Platform Management Interface (IPMI), Dell Remote Access Card, Hewlett Packard Enterprise Integrated Lights Out or another hardware remote access system; if so, you can use any of these technologies to fire up the remote ESXi host&#8217;s console.<\/p>\n\n\n\n<p>At the console prompt, <strong>hit the F2 key,\u00a0<\/strong>enter your<strong> root login and password<\/strong>, and click <strong>View System Logs<\/strong>. As its name suggests, this will pull up a list of available system logs, highlighted in Figure A. Choose the log you wish to view.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/cdn.ttgtmedia.com\/rms\/editorial\/sVMWare_View_ESXi_system_logs.jpg\" alt=\"\"\/><figcaption><strong>Figure A. You can use technologies like IPMI to access servers remotely and view system logs<\/strong>.<\/figcaption><\/figure>\n\n\n\n<p>The log window that results isn&#8217;t user-friendly. Press the Q and ESC keys to quit the log window and the current login session.<\/p>\n\n\n\n<p>There are six different types of VMware ESXI logs:\u00a0<strong><em>Syslog<\/em>\u00a0<\/strong>captures message from the VMkernel and other components.\u00a0<em><strong>Vmkernel<\/strong><\/em>\u00a0shows the uptime and availability statistics. You use\u00a0<em><strong>Config<\/strong><\/em>\u00a0when a host hangs or crashes or an authentication issue occurs.\u00a0<em><strong>Management Agent (hostd)<\/strong><\/em>\u00a0records which logs are specific to the host services that connect your vSphere client to your ESXi host.\u00a0<em><strong>VirtualCenter Agent (vpxa)<\/strong>\u00a0<\/em>records additional logs that appear when vCenter connects to and manages your ESXi. Finally,\u00a0<em>VMware ESXi Observation <strong>log (vobd)<\/strong><\/em>\u00a0tracks all changes to the configuration of your ESXi host and results.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Access VMware ESXi logs via web browser<\/strong><\/h2>\n\n\n\n<p>You can access your host directly from a web browser, which is especially useful for older versions of ESXi that don&#8217;t have the Host Client yet.<\/p>\n\n\n\n<p>Put your host&#8217;s IP address in the address section of the following URL to access the host: <strong>https:\/\/address\/host.<\/strong> When you receive a prompt to log in, use the root username, and enter the root password. This will allow you to access a window from which you can download or view logs directly via your browser.<\/p>\n\n\n\n<p>Newer releases of ESXi have the\u00a0ESXi Host Client built in, which gives you access to the logs and makes browsing and troubleshooting more convenient.<\/p>\n\n\n\n<p>In your web browser, go to the following URL, replacing &#8220;address&#8221; with the IP address of your ESXi host: <strong>https:\/\/address\/ui.<\/strong><\/p>\n\n\n\n<p>Select and expand your host on the left-hand side of the screen, and then choose the Logs tab. The logs should appear in the lower pane. You can choose a log by selecting a specific line; in this case, we&#8217;re looking for\u00a0<em><strong>syslog.log<\/strong><\/em>.<\/p>\n\n\n\n<p> You also search for specific logs and log lines with the search mechanism highlighted in Figure B. Once you locate a log, right-click the line to copy and paste. You can also generate a support bundle for the log via the Actions button.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/cdn.ttgtmedia.com\/rms\/editorial\/sVMWare_ESXi_Logs_via_Host_Client.jpg\" alt=\"\"\/><figcaption><strong>Figure B. Search for logs with the search mechanism in the VMware Host Client.<\/strong><\/figcaption><\/figure>\n\n\n\n<p>Depending on what you&#8217;re looking for, it can be complex to troubleshoot ESXi. If your environment has central management via vCenter, there are built-in tools that can help. There are also other VMware products for monitoring and troubleshooting, usually available within the vSphere vCloud suite.<\/p>\n\n\n\n<p>I suggest vRealize Operations Manager or vRealize Log Insight, which can ingest many gigabits of logs per day and provide synthetic graphics based on keywords or particular repetitive issues within your infrastructure.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p><a href=\"https:\/\/www.techtarget.com\/contributor\/Vladan-Seget\"><\/a><a href=\"https:\/\/www.techtarget.com\/contributor\/Vladan-Seget\">Vladan Seget<\/a>\u00a0asks:<\/p><p>Which tools do you use to track and troubleshoot?<\/p><\/blockquote>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/searchvmware.techtarget.com\/answer\/How-do-you-use-VMware-ESXi-logs-to-troubleshoot-your-host?_ga=2.232858526.1841858191.1601199998-771408278.1598007830#commenting\"><strong>Join the Discussion<\/strong><\/a><\/h2>\n","protected":false},"excerpt":{"rendered":"<p><span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Reading Time-approximately:<\/span> <span class=\"rt-time\"> 3<\/span> <span class=\"rt-label rt-postfix\">minutes<\/span><\/span>With access to logs, you can troubleshoot your ESXi host and track issues as they crop up. You can access your logs via the console or a web browser with only a few simple steps. By Vladan Seget You can troubleshoot an ESXi host in a few different ways. The exact method depends on which version of ESXi you&#8217;re trying<\/p>\n<p><a class=\"more-link\" href=\"https:\/\/tekmart.co.za\/t-blog\/how-do-you-use-vmware-esxi-logs-to-troubleshoot-your-host\/\">Read More<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,5,30,3,105],"tags":[],"class_list":["post-5592","post","type-post","status-publish","format-standard","hentry","category-datacenter-news","category-engage-the-experts","category-expert-advise-and-opinion","category-industry-news-and-expert-advise","category-vmware-products"],"_links":{"self":[{"href":"https:\/\/tekmart.co.za\/t-blog\/wp-json\/wp\/v2\/posts\/5592","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tekmart.co.za\/t-blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tekmart.co.za\/t-blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tekmart.co.za\/t-blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tekmart.co.za\/t-blog\/wp-json\/wp\/v2\/comments?post=5592"}],"version-history":[{"count":1,"href":"https:\/\/tekmart.co.za\/t-blog\/wp-json\/wp\/v2\/posts\/5592\/revisions"}],"predecessor-version":[{"id":5593,"href":"https:\/\/tekmart.co.za\/t-blog\/wp-json\/wp\/v2\/posts\/5592\/revisions\/5593"}],"wp:attachment":[{"href":"https:\/\/tekmart.co.za\/t-blog\/wp-json\/wp\/v2\/media?parent=5592"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tekmart.co.za\/t-blog\/wp-json\/wp\/v2\/categories?post=5592"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tekmart.co.za\/t-blog\/wp-json\/wp\/v2\/tags?post=5592"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}