<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>HCI on Home</title><link>/tags/hci/</link><description>Recent content in HCI on Home</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Sun, 29 Jan 2023 00:00:00 +0000</lastBuildDate><atom:link href="/tags/hci/" rel="self" type="application/rss+xml"/><item><title>graphR. - Visualizing RV Tool exports</title><link>/2023/graphr.-visualizing-rv-tool-exports/</link><pubDate>Sun, 29 Jan 2023 00:00:00 +0000</pubDate><guid>/2023/graphr.-visualizing-rv-tool-exports/</guid><description>&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;With the advent of hyper-converged infrastructure (HCI), the initial question was how to design such a solution. Unfortunately, sizing tools were missing at the beginning. I found the evaluation of RV Tools very helpful to design HCI solutions, unfortunately, a detailed analysis could take a lot of time and be very error-prone. Therefore I developed a small tool called graphR. which automates the evaluation of RV Tools and compiles a visual presentation of the information contained within one Excel export.&lt;br&gt;
&lt;a href="http://www.robware.net/rvtools/"&gt;RV Tools&lt;/a&gt; is a VMware utility that connects to a vCenter and gathers information with an impressive level of detail on the VMware environment (e. g. on virtual machines, on ESX hosts, on the network configuration). The data collection is fast and easy. The end result can be stored in a Microsoft Excel file. RV Tools exports are a great way to collect data on VMware environments. However, analyzing RV Tool exports, especially of complex environments can be time-consuming, error-prone, and cumbersome.&lt;br&gt;
That&amp;rsquo;s where &lt;em&gt;graphR.&lt;/em&gt; steps in. &lt;em&gt;GraphR.&lt;/em&gt; processes RV Tool exports which are saved as Microsoft Excel or as comma-separated files. It performs statistical analysis on the data contained within the Microsoft Excel file. The dataset is visualized through some beautiful-looking diagrams. Finally, all tables and charts are assembled in one downloadable PDF report. Hence &lt;em&gt;graphR.&lt;/em&gt; enables the generation of a concise report with some great graphics in order to derive meaningful insights on the analyzed VMware environment.&lt;/p&gt;
&lt;p&gt;The tool can be adjusted to your specific needs (see below) or used through the web tool:&lt;br&gt;
&lt;a href="https://www.graphr.de" target="_blank" rel="noreferrer" class="download"&gt;
&lt;svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="currentcolor" class="clip" width="13" height="13" style="vertical-align: middle; margin-right: .3rem;"&gt;
&lt;path d="M352 0c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9L370.7 96 201.4 265.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L416 141.3l41.4 41.4c9.2 9.2 22.9 11.9 34.9 6.9s19.8-16.6 19.8-29.6V32c0-17.7-14.3-32-32-32H352zM80 32C35.8 32 0 67.8 0 112V432c0 44.2 35.8 80 80 80H400c44.2 0 80-35.8 80-80V320c0-17.7-14.3-32-32-32s-32 14.3-32 32V432c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V112c0-8.8 7.2-16 16-16H192c17.7 0 32-14.3 32-32s-14.3-32-32-32H80z"&gt;&lt;/path&gt;
&lt;/svg&gt; visit the graphR. website &lt;/a&gt;&lt;/p&gt;
&lt;style type="text/css"&gt;.notice{--root-color:#444;--root-background:#eff;--title-color:#fff;--title-background:#7bd;--warning-title:#c33;--warning-content:#fee;--info-title:#fb7;--info-content:#fec;--note-title:#6be;--note-content:#e7f2fa;--tip-title:#5a5;--tip-content:#efe}@media (prefers-color-scheme:dark){.notice{--root-color:#ddd;--root-background:#eff;--title-color:#fff;--title-background:#7bd;--warning-title:#800;--warning-content:#400;--info-title:#a50;--info-content:#420;--note-title:#069;--note-content:#023;--tip-title:#363;--tip-content:#121}}body.dark .notice{--root-color:#ddd;--root-background:#eff;--title-color:#fff;--title-background:#7bd;--warning-title:#800;--warning-content:#400;--info-title:#a50;--info-content:#420;--note-title:#069;--note-content:#023;--tip-title:#363;--tip-content:#121}.notice{line-height:24px;margin-bottom:24px;border-radius:4px;color:var(--root-color);background:var(--root-background)}.notice p:last-child{margin-bottom:0; padding: .5rem 1.2rem 1rem;}.notice-title{margin:-18px -18px 12px;padding:4px 18px;border-radius:4px 4px 0 0;font-weight:700;color:var(--title-color);background:var(--title-background)}.notice.warning .notice-title{background:var(--warning-title)}.notice.warning{background:var(--warning-content)}.notice.info .notice-title{background:var(--info-title)}.notice.info{background:var(--info-content)}.notice.note .notice-title{background:var(--note-title)}.notice.note{background:var(--note-content)}.notice.tip .notice-title{background:var(--tip-title)}.notice.tip{background:var(--tip-content)}.icon-notice{display:inline-flex;align-self:center;margin-right:8px}.icon-notice img,.icon-notice svg{height:1em;width:1em;fill:currentColor}.icon-notice img,.icon-notice.baseline svg{top:.125em;position:relative}&lt;/style&gt;
&lt;div&gt;&lt;svg width="0" height="0" display="none" xmlns="http://www.w3.org/2000/svg"&gt;&lt;symbol id="tip-notice" viewBox="0 0 512 512" preserveAspectRatio="xMidYMid meet"&gt;&lt;path d="M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"/&gt;&lt;/symbol&gt;&lt;symbol id="note-notice" viewBox="0 0 512 512" preserveAspectRatio="xMidYMid meet"&gt;&lt;path d="M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zm-248 50c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"/&gt;&lt;/symbol&gt;&lt;symbol id="warning-notice" viewBox="0 0 576 512" preserveAspectRatio="xMidYMid meet"&gt;&lt;path d="M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"/&gt;&lt;/symbol&gt;&lt;symbol id="info-notice" viewBox="0 0 512 512" preserveAspectRatio="xMidYMid meet"&gt;&lt;path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z"/&gt;&lt;/symbol&gt;&lt;/svg&gt;&lt;/div&gt;&lt;div class="notice info" &gt;
&lt;p class="first notice-title"&gt;&lt;span class="icon-notice baseline"&gt;&lt;svg&gt;&lt;use href="#info-notice"&gt;&lt;/use&gt;&lt;/svg&gt;&lt;/span&gt;Info&lt;/p&gt;&lt;p&gt;The web tool is deployed using a non-persistent container. The uploaded file is cached for evaluation. A cron job ensures that the generated PDF files are deleted at 15-minute intervals. Therefore, no data is stored permanently.&lt;/p&gt;&lt;/div&gt;
&lt;h2 id="prerequisites"&gt;Prerequisites&lt;/h2&gt;
&lt;p&gt;To run &lt;em&gt;graphR.&lt;/em&gt; you just need an environment that supports Docker containers. To customize &lt;em&gt;graphR.&lt;/em&gt; according to your needs the installation of the open-source programming language &lt;a href="https://www.r-project.org/"&gt;R&lt;/a&gt; is recommended.&lt;/p&gt;
&lt;h2 id="getting-started"&gt;Getting Started&lt;/h2&gt;
&lt;p&gt;The easiest way to use &lt;em&gt;graphR.&lt;/em&gt; is to pull the latest pre-build Docker container from Dockerhub and run it within your environment. The following commands will download &lt;em&gt;graphR.&lt;/em&gt; from Dockerhub and make it available in your environment on port &lt;em&gt;80&lt;/em&gt;:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;docker pull smichard/graphr
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;docker run -d -p 80:3838 smichard/graphr
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="customize"&gt;Customize&lt;/h2&gt;
&lt;p&gt;To customize &lt;em&gt;graphR.&lt;/em&gt; according to your needs, e.g. by adding new ways to plot the data, altering threshold values, or adding a custom design just clone this repository:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;git clone https://github.com/smichard/graphR.git
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Since the core of &lt;em&gt;graphR.&lt;/em&gt; is written in R the installation of R is recommended to see the changes taking effect. If you are using R-Studio as a code editor the &lt;em&gt;graphr_dashboard.Rproj&lt;/em&gt; file contains all necessary files to adjust &lt;em&gt;graphR.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Following is a short description of the most important files:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;em&gt;app.R&lt;/em&gt; - the main file, which is needed by the Shiny web framework to display the web app. Here the GUI of the web app is described, also the &lt;em&gt;libraries.R&lt;/em&gt; and the &lt;em&gt;server_rv.R&lt;/em&gt; files are sourced&lt;/li&gt;
&lt;li&gt;&lt;em&gt;server_rv.R&lt;/em&gt; - contains all necessary functions to ingest the raw data, perform some basic analysis, generate diagrams, and finally generate the pdf report&lt;/li&gt;
&lt;li&gt;&lt;em&gt;plottingFunctions.R&lt;/em&gt; - a set of functions to display text, data frames, and diagrams on slides&lt;/li&gt;
&lt;li&gt;&lt;em&gt;libraries.R&lt;/em&gt; - contains a list of all required R packages, and also sources the &lt;em&gt;plottingFunctions.R&lt;/em&gt; file&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;In case you want to use custom backgrounds according to your corporate identity just replace the image files within the &lt;em&gt;/graphr/backgrounds&lt;/em&gt; folder and make sure to use the &lt;em&gt;.png&lt;/em&gt; file format. The recommended image dimensions are 960 px times 540 px.&lt;/p&gt;
&lt;p&gt;Once all changes are done you can build your own custom &lt;em&gt;graphR.&lt;/em&gt; container using the following commands:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;docker build -t &amp;lt;project name&amp;gt; .
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;docker run -d -p 80:3838 &amp;lt;project name&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="how-to-use-graphr"&gt;How to use graphR.&lt;/h2&gt;
&lt;p&gt;The use of graphR. is designed to be simple:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Collect the data with the &lt;a href="http://www.robware.net/rvtools/"&gt;RV Tools&lt;/a&gt; and save the export as &lt;em&gt;.xls&lt;/em&gt;, &lt;em&gt;.xlsx&lt;/em&gt; or as &lt;em&gt;.csv&lt;/em&gt; file&lt;/li&gt;
&lt;li&gt;Upload the &lt;em&gt;.xls&lt;/em&gt; / &lt;em&gt;.xlsx&lt;/em&gt; file (recommended) or the &lt;em&gt;tabvInfo.csv&lt;/em&gt; to graphR. and hit &lt;em&gt;Generate Report&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;Enjoy your report&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="demo"&gt;Demo&lt;/h2&gt;
&lt;p&gt;Get a glimpse through this YouTube video:
&lt;div style="position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;"&gt;
&lt;iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share; fullscreen" loading="eager" referrerpolicy="strict-origin-when-cross-origin" src="https://www.youtube.com/embed/dotbSX79FJg?autoplay=0&amp;amp;controls=1&amp;amp;end=0&amp;amp;loop=0&amp;amp;mute=0&amp;amp;start=0" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; border:0;" title="YouTube video"&gt;&lt;/iframe&gt;
&lt;/div&gt;
&lt;/p&gt;
&lt;h2 id="summary"&gt;Summary&lt;/h2&gt;
&lt;p&gt;The tool provides an easy way to systematically analyze RV tools. The evaluation is fast and straightforward. This evaluation helps to get a quick overview of existing VMware environments.&lt;/p&gt;
&lt;h2 id="references"&gt;References&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;RVTools - &lt;a href="http://www.robware.net/rvtools/"&gt;link&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;graphR. website - &lt;a href="https://graphr.de/"&gt;link&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;GitHub repository - &lt;a href="https://github.com/smichard/graphR.git"&gt;link&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;R - The open source programming language for statistical computing - &lt;a href="https://www.r-project.org/"&gt;link&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;R-Studio - Used as code editor for R and for debugging and visualization - &lt;a href="https://www.rstudio.com/"&gt;link&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Shiny - Used as web application framework for R - &lt;a href="https://shiny.rstudio.com/"&gt;link&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Docker - Used to package all dependencies into one container - &lt;a href="https://www.docker.com/"&gt;link&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description></item></channel></rss>