{"id":1238,"date":"2013-09-27T16:12:31","date_gmt":"2013-09-27T15:12:31","guid":{"rendered":"http:\/\/www.bussink.ch\/?p=1238"},"modified":"2018-05-23T17:57:19","modified_gmt":"2018-05-23T15:57:19","slug":"using-the-vsan-observer-in-vcenter-5-5","status":"publish","type":"post","link":"https:\/\/www.bussink.ch\/?p=1238","title":{"rendered":"Using the VSAN Observer in vCenter 5.5"},"content":{"rendered":"<p>&#8220;<strong>VSAN observer is an experimental feature. It can be used to understand VSAN performance characteristics and as such is a tool intended for customers who desire deeper insight into VSAN as well as by VMware Support to analyze performance issues encountered in the field<\/strong>.&#8221;\u00a0 This is the tool any tester of VSAN can use to monitor his hosts, disks, VMs and see the distribution across hosts.<\/p>\n<p>Rawlinson (<a title=\"PunchingClouds\" href=\"https:\/\/twitter.com\/PunchingClouds\/\" target=\"_blank\">@PunchingClouds<\/a>) has created two very interesting articles on the VSAN Observer, which I&#8217;ve been hearing about for a few weeks.\u00a0In his posts, Rawlinson shows how to use the VSAN observer that comes with the vCenter Appliance <a href=\"http:\/\/www.punchingclouds.com\/2013\/09\/02\/vsphere-5-5-using-rvc-vsan-observer-pt1\/\" target=\"_blank\">Using RVC VSAN Observer Pt1<\/a> and <a href=\"http:\/\/www.punchingclouds.com\/2013\/09\/03\/vsphere-5-5-using-rvc-vsan-observer-pt2\/\" target=\"_blank\">Using RVC VSAN Observer Pt2<\/a>. I will show you here how to use the one that comes with the Windows implementation of vCenter 5.5<\/p>\n<p>The VSAN Observer runs on the <strong><a title=\"Ruby vSphere Console\" href=\"http:\/\/labs.vmware.com\/flings\/rvc\" target=\"_blank\">Ruby vSphere Console (RVC)<\/a><\/strong>. Ruby vSphere Console (RVC) is a Linux console UI for vSphere, built on the RbVmomi bindings to the vSphere API. The vSphere object graph is presented as a virtual filesystem, allowing you to navigate and run commands against managed entities using familiar shell syntax.Your vCenter 5.5 ships with RVC installed.<\/p>\n<h2><strong>Starting your own VSAN Observer<\/strong><\/h2>\n<p><strong><\/strong>In the vCenter 5.5 server under the path <em>C:\\Program Files\\VMware\\Infrastructure\\VirtualCenter Server\\support\\rvc<\/em> you will find the rvc.bat file. Edit the <strong>rvc.bat<\/strong> file with notepad or notepad++ and jump at the end of the line to change the name of the user that will connect to the vCenter and the name of the vCenter. That can be seen from the output below in the first orange box.<\/p>\n<ul>\n<li><strong>Remember<\/strong> that the Ruby vSphere Console and the VSAN Observer tool are an <strong>experimental feature<\/strong>. There is no user authentication to the VSAN Observer website, and I&#8217;ve found out that the VSAN Observer process dies after a few hours.<\/li>\n<\/ul>\n<p>Once you launch the RVC tool and enter the password for your vCenter account, you can use RVC commands. You can use<strong> ls<\/strong> to list objects, or <strong>cd &lt;number&gt;<\/strong> to drill down in an object. William Lam (<a title=\"William Lam\" href=\"https:\/\/twitter.com\/lamw\" target=\"_blank\">@lamw<\/a>) has some interesting articles about RVC (<a title=\"RVC 1.6 Released\" href=\"http:\/\/www.virtuallyghetto.com\/2012\/02\/ruby-vsphere-console-rvc-16-released.html\" target=\"_blank\">RVC 1.6 released<\/a>)<\/p>\n<p>But the command you want is to launch the <strong>vsan.observer<\/strong> program that will launch a webserver to which you can connect on <strong>port 8010<\/strong> (Second orange box).<\/p>\n<p><strong>vsan.observer &lt;vcenter-hostname&gt;\/&lt;Datacenter-name&gt;\/computers\/&lt;Cluster-Name&gt;\/ &#8211;run-webserver &#8211;force<\/strong><\/p>\n<p>or for me<\/p>\n<p><strong>vsan.observer vcenter01.bussink.org\/Home\/computers\/Management\\ Cluster\/ &#8211;run-webserver &#8211;force<\/strong><\/p>\n<p><a href=\"http:\/\/www.bussink.ch\/wp-content\/uploads\/\/2013\/09\/VSAN-Observer-on-Windows-01.jpg\"><img loading=\"lazy\" class=\"alignnone  wp-image-1243\" alt=\"VSAN Observer on Windows 01\" src=\"http:\/\/www.bussink.ch\/wp-content\/uploads\/\/2013\/09\/VSAN-Observer-on-Windows-01.jpg\" width=\"640\" height=\"448\" srcset=\"https:\/\/www.bussink.ch\/wp-content\/uploads\/2013\/09\/VSAN-Observer-on-Windows-01.jpg 800w, https:\/\/www.bussink.ch\/wp-content\/uploads\/2013\/09\/VSAN-Observer-on-Windows-01-300x210.jpg 300w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a><\/p>\n<p>To stop the vsan.observer process you can stop it with a double Ctrl+C.<\/p>\n<h2>VSAN Observer Web interface<\/h2>\n<p>So now that you have your vsan.observer running, let&#8217;s connect to it with a browser on port 8010. This is the About section\u00a0 that will list your VSAN hosts.<\/p>\n<p><a href=\"http:\/\/www.bussink.ch\/wp-content\/uploads\/\/2013\/09\/VSAN-Observer-on-Windows-02.jpg\"><img loading=\"lazy\" class=\"alignnone  wp-image-1244\" alt=\"VSAN Observer About\" src=\"http:\/\/www.bussink.ch\/wp-content\/uploads\/\/2013\/09\/VSAN-Observer-on-Windows-02.jpg\" width=\"474\" height=\"630\" srcset=\"https:\/\/www.bussink.ch\/wp-content\/uploads\/2013\/09\/VSAN-Observer-on-Windows-02.jpg 615w, https:\/\/www.bussink.ch\/wp-content\/uploads\/2013\/09\/VSAN-Observer-on-Windows-02-225x300.jpg 225w\" sizes=\"(max-width: 474px) 100vw, 474px\" \/><\/a><\/p>\n<p>But you can get some very interesting information about your Hosts such as <strong>VSAN Disks (per-host)<\/strong>.<\/p>\n<p><a href=\"http:\/\/www.bussink.ch\/wp-content\/uploads\/\/2013\/09\/VSAN-Observer-VSAN-Disks-per-host.jpg\"><img loading=\"lazy\" class=\"alignnone  wp-image-1249\" alt=\"VSAN Observer VSAN Disks per-host\" src=\"http:\/\/www.bussink.ch\/wp-content\/uploads\/\/2013\/09\/VSAN-Observer-VSAN-Disks-per-host.jpg\" width=\"649\" height=\"350\" srcset=\"https:\/\/www.bussink.ch\/wp-content\/uploads\/2013\/09\/VSAN-Observer-VSAN-Disks-per-host.jpg 1158w, https:\/\/www.bussink.ch\/wp-content\/uploads\/2013\/09\/VSAN-Observer-VSAN-Disks-per-host-300x161.jpg 300w, https:\/\/www.bussink.ch\/wp-content\/uploads\/2013\/09\/VSAN-Observer-VSAN-Disks-per-host-1024x551.jpg 1024w\" sizes=\"(max-width: 649px) 100vw, 649px\" \/><\/a><\/p>\n<p>Here is the <strong>VSAN Disk (deep-dive)<\/strong> to see the performance of the SSD caching in front of the magnetic disk. Here the vCenter Log Insight appliance kept on the VSAN, had a peak during a reboot.<\/p>\n<p><a href=\"http:\/\/www.bussink.ch\/wp-content\/uploads\/\/2013\/09\/VSAN-Observer-VSAN-Disks-deep-dive.jpg\"><img loading=\"lazy\" class=\"alignnone  wp-image-1250\" alt=\"VSAN Observer VSAN Disks deep-dive\" src=\"http:\/\/www.bussink.ch\/wp-content\/uploads\/\/2013\/09\/VSAN-Observer-VSAN-Disks-deep-dive.jpg\" width=\"635\" height=\"399\" srcset=\"https:\/\/www.bussink.ch\/wp-content\/uploads\/2013\/09\/VSAN-Observer-VSAN-Disks-deep-dive.jpg 1144w, https:\/\/www.bussink.ch\/wp-content\/uploads\/2013\/09\/VSAN-Observer-VSAN-Disks-deep-dive-300x188.jpg 300w, https:\/\/www.bussink.ch\/wp-content\/uploads\/2013\/09\/VSAN-Observer-VSAN-Disks-deep-dive-1024x644.jpg 1024w\" sizes=\"(max-width: 635px) 100vw, 635px\" \/><\/a><\/p>\n<p>You can also drill deep with the Full graphs to get more details of the write operations on the SSD.<\/p>\n<p><a href=\"http:\/\/www.bussink.ch\/wp-content\/uploads\/\/2013\/09\/VSAN-Observer-VSAN-Disks-deep-dive-SSD-01.jpg\"><img loading=\"lazy\" class=\"alignnone  wp-image-1251\" alt=\"VSAN Observer VSAN Disks deep-dive SSD 01\" src=\"http:\/\/www.bussink.ch\/wp-content\/uploads\/\/2013\/09\/VSAN-Observer-VSAN-Disks-deep-dive-SSD-01.jpg\" width=\"616\" height=\"166\" srcset=\"https:\/\/www.bussink.ch\/wp-content\/uploads\/2013\/09\/VSAN-Observer-VSAN-Disks-deep-dive-SSD-01.jpg 1027w, https:\/\/www.bussink.ch\/wp-content\/uploads\/2013\/09\/VSAN-Observer-VSAN-Disks-deep-dive-SSD-01-300x80.jpg 300w, https:\/\/www.bussink.ch\/wp-content\/uploads\/2013\/09\/VSAN-Observer-VSAN-Disks-deep-dive-SSD-01-1024x276.jpg 1024w\" sizes=\"(max-width: 616px) 100vw, 616px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/www.bussink.ch\/wp-content\/uploads\/\/2013\/09\/VSAN-Observer-VSAN-Disks-deep-dive-SSD-02.jpg\"><img loading=\"lazy\" class=\"alignnone  wp-image-1252\" alt=\"VSAN Observer VSAN Disks deep-dive SSD 02\" src=\"http:\/\/www.bussink.ch\/wp-content\/uploads\/\/2013\/09\/VSAN-Observer-VSAN-Disks-deep-dive-SSD-02.jpg\" width=\"621\" height=\"170\" srcset=\"https:\/\/www.bussink.ch\/wp-content\/uploads\/2013\/09\/VSAN-Observer-VSAN-Disks-deep-dive-SSD-02.jpg 1035w, https:\/\/www.bussink.ch\/wp-content\/uploads\/2013\/09\/VSAN-Observer-VSAN-Disks-deep-dive-SSD-02-300x82.jpg 300w, https:\/\/www.bussink.ch\/wp-content\/uploads\/2013\/09\/VSAN-Observer-VSAN-Disks-deep-dive-SSD-02-1024x279.jpg 1024w\" sizes=\"(max-width: 621px) 100vw, 621px\" \/><\/a><\/p>\n<p>These charts are not always the easiest to read. But you will find great stuff here.<\/p>\n<h2>VM VSAN Stats with Backing Storage.<\/h2>\n<p>The is the most interesting charts I&#8217;ve found. This is where you can see the different component of the storage backing your VM. My Storage Policu for the vCenter Log Insight is placed in the vCenter with a VSAN Redundancy policy (Number of failures to tolerate = 1).<\/p>\n<p>I recommend you see this picture in full size, to better see the various details.<\/p>\n<p><a href=\"http:\/\/www.bussink.ch\/wp-content\/uploads\/\/2013\/09\/VSAN-Observer-VMs-vCenter-Log-Backing.jpg\"><img loading=\"lazy\" class=\"alignnone  wp-image-1254\" alt=\"VSAN Observer VMs vCenter Log Backing\" src=\"http:\/\/www.bussink.ch\/wp-content\/uploads\/\/2013\/09\/VSAN-Observer-VMs-vCenter-Log-Backing.jpg\" width=\"606\" height=\"567\" srcset=\"https:\/\/www.bussink.ch\/wp-content\/uploads\/2013\/09\/VSAN-Observer-VMs-vCenter-Log-Backing.jpg 935w, https:\/\/www.bussink.ch\/wp-content\/uploads\/2013\/09\/VSAN-Observer-VMs-vCenter-Log-Backing-300x280.jpg 300w\" sizes=\"(max-width: 606px) 100vw, 606px\" \/><\/a><\/p>\n<p>This below is the original view you get with the vSphere Web Client view from the Monitor, Virtual SAN and on the VM.<\/p>\n<p><a href=\"http:\/\/www.bussink.ch\/wp-content\/uploads\/\/2013\/09\/vSphere-Web-Client-vCenter-Log-Insight-VSAN-Redundancy.jpg\"><img loading=\"lazy\" class=\"alignnone  wp-image-1253\" alt=\"vSphere Web Client vCenter Log Insight VSAN Redundancy\" src=\"http:\/\/www.bussink.ch\/wp-content\/uploads\/\/2013\/09\/vSphere-Web-Client-vCenter-Log-Insight-VSAN-Redundancy.jpg\" width=\"612\" height=\"200\" srcset=\"https:\/\/www.bussink.ch\/wp-content\/uploads\/2013\/09\/vSphere-Web-Client-vCenter-Log-Insight-VSAN-Redundancy.jpg 1063w, https:\/\/www.bussink.ch\/wp-content\/uploads\/2013\/09\/vSphere-Web-Client-vCenter-Log-Insight-VSAN-Redundancy-300x98.jpg 300w, https:\/\/www.bussink.ch\/wp-content\/uploads\/2013\/09\/vSphere-Web-Client-vCenter-Log-Insight-VSAN-Redundancy-1024x335.jpg 1024w\" sizes=\"(max-width: 612px) 100vw, 612px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>After having played a bit with the RVC VSAN Observer in the last 24 hours. I think this will be an interesting tool for Storage IO analysis. I really hope this makes it into a Fling or a full plugin for the vCenter server.<\/p>\n<p>&nbsp;<\/p>\n<h2>VSAN Observer Firewall rule<\/h2>\n<p>If your vCenter Server 5.5 is running on a Windows hosts with the integrated firewall activated. Here is the rule to open the port on your system to check the VSAN Observer, from another machine.<\/p>\n<p><strong>netsh advfirewall firewall add rule name = \u201cVMware RVC VSAN Observer\u201d dir = in protocol = tcp action = allow localport = 8010 remoteip = localsubnet profile = DOMAIN<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8220;VSAN observer is an experimental feature. It can be used to understand VSAN performance characteristics and as such is a tool intended for customers who desire deeper insight into VSAN as well as by VMware Support to analyze performance issues encountered in the field.&#8221;\u00a0 This is the tool any tester of VSAN can use to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1256,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[9],"tags":[100,84,101,99,83],"_links":{"self":[{"href":"https:\/\/www.bussink.ch\/index.php?rest_route=\/wp\/v2\/posts\/1238"}],"collection":[{"href":"https:\/\/www.bussink.ch\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bussink.ch\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bussink.ch\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bussink.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1238"}],"version-history":[{"count":29,"href":"https:\/\/www.bussink.ch\/index.php?rest_route=\/wp\/v2\/posts\/1238\/revisions"}],"predecessor-version":[{"id":1275,"href":"https:\/\/www.bussink.ch\/index.php?rest_route=\/wp\/v2\/posts\/1238\/revisions\/1275"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.bussink.ch\/index.php?rest_route=\/wp\/v2\/media\/1256"}],"wp:attachment":[{"href":"https:\/\/www.bussink.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1238"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bussink.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1238"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bussink.ch\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1238"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}