<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:clearspace="http://www.jivesoftware.com/xmlns/clearspace/rss" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>VMware Communities: Message List - viewing a VM's vmware.log</title>
    <link>http://communities.vmware.com/community/vmtn/vsphere/automationtools/windows_toolkit?view=discussions</link>
    <description>Most recent forum messages</description>
    <language>en</language>
    <pubDate>Sun, 03 May 2009 18:37:22 GMT</pubDate>
    <generator>Clearspace 1.10.12 (http://jivesoftware.com/products/clearspace/)</generator>
    <dc:date>2009-05-03T18:37:22Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>Re: viewing a VM's vmware.log</title>
      <link>http://communities.vmware.com/message/1241858?tstart=0#1241858</link>
      <description>Hi&lt;br /&gt;
can you please write back how to add the plug in for VC to find vmware.log.&lt;br /&gt;
thank you&lt;br /&gt;
sp</description>
      <pubDate>Sun, 03 May 2009 18:37:22 GMT</pubDate>
      <author>vmwaeiscsi</author>
      <guid>http://communities.vmware.com/message/1241858?tstart=0#1241858</guid>
      <dc:date>2009-05-03T18:37:22Z</dc:date>
      <clearspace:dateToText>6 months, 4 weeks ago</clearspace:dateToText>
    </item>
    <item>
      <title>Re: viewing a VM's vmware.log</title>
      <link>http://communities.vmware.com/message/1040519?tstart=0#1040519</link>
      <description>Right, that was my original question. Looking back on how I solved the problem, there still doesn't appear to be a PS way. Like you said, there's no "read." That would be a good enhancement. Our IT department has several production VMs and when they go south or hiccup, the first thing they do it view vmware.log.&lt;br /&gt;
&lt;br /&gt;
My web app implements the viewing of a VM's log file in VI Client by 1) logging in using given session id, 2) resolving the VM's moref, 3) resolving the url to the VM's vmware.log file, 4) doing an http get on the url, and finally 5) displaying the vmware.log file from the http response.&lt;br /&gt;
&lt;br /&gt;
Bruce</description>
      <pubDate>Tue, 02 Sep 2008 21:31:44 GMT</pubDate>
      <author>bruce.downs</author>
      <guid>http://communities.vmware.com/message/1040519?tstart=0#1040519</guid>
      <dc:date>2008-09-02T21:31:44Z</dc:date>
      <clearspace:dateToText>1 year, 2 months ago</clearspace:dateToText>
    </item>
    <item>
      <title>Re: viewing a VM's vmware.log</title>
      <link>http://communities.vmware.com/message/1040406?tstart=0#1040406</link>
      <description>A nice "teaser" &lt;img class="jive-emoticon" border="0" src="http://communities.vmware.com/images/emoticons/wink.gif" alt=";-)" /&gt;&lt;br /&gt;
&lt;br /&gt;
Would the method you used be feasible from within a PS script ?&lt;br /&gt;
I couldn't find an SDK method to "read" the VMX file. &lt;img class="jive-emoticon" border="0" src="http://communities.vmware.com/images/emoticons/sad.gif" alt=":-(" /&gt;</description>
      <pubDate>Tue, 02 Sep 2008 19:27:59 GMT</pubDate>
      <author>LucD</author>
      <guid>http://communities.vmware.com/message/1040406?tstart=0#1040406</guid>
      <dc:date>2008-09-02T19:27:59Z</dc:date>
      <clearspace:dateToText>1 year, 2 months ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>Re: viewing a VM's vmware.log</title>
      <link>http://communities.vmware.com/message/1040344?tstart=0#1040344</link>
      <description>Currently, it is just a hack that I put together. Our business guy (from Configuresoft) will be showing it at VMworld in a couple of weeks along with a "real" plug-in that I wrote for the show. The real plug-in integrates our ECM product with the VI Client. It includes compliance reports, detailed machine reports, green reports, integration points, etc for all ESX/ESXi servers and their guests that are managed by our product.&lt;br /&gt;
&lt;br /&gt;
I'm not sure how our business people want to handle my plug-ins, but I suspect it'll be a free offering if productized. And I'll advocate misc plug-ins be open sourced or packaged and posted on vmware.com's community site.&lt;br /&gt;
&lt;br /&gt;
Bruce</description>
      <pubDate>Tue, 02 Sep 2008 18:25:23 GMT</pubDate>
      <author>bruce.downs</author>
      <guid>http://communities.vmware.com/message/1040344?tstart=0#1040344</guid>
      <dc:date>2008-09-02T18:25:23Z</dc:date>
      <clearspace:dateToText>1 year, 2 months ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>Re: viewing a VM's vmware.log</title>
      <link>http://communities.vmware.com/message/1039681?tstart=0#1039681</link>
      <description>Hi Bruce,&lt;br /&gt;
Is this a free plug-in ?&lt;br /&gt;
Or is it part of their ECM product ?</description>
      <pubDate>Tue, 02 Sep 2008 07:55:54 GMT</pubDate>
      <author>LucD</author>
      <guid>http://communities.vmware.com/message/1039681?tstart=0#1039681</guid>
      <dc:date>2008-09-02T07:55:54Z</dc:date>
      <clearspace:dateToText>1 year, 2 months ago</clearspace:dateToText>
      <clearspace:replyCount>3</clearspace:replyCount>
    </item>
    <item>
      <title>Re: viewing a VM's vmware.log</title>
      <link>http://communities.vmware.com/message/1038025?tstart=0#1038025</link>
      <description>I'm playing with VI Client plug ins and came up with a cool plug in to view a VM's vmware.log and VMX file. In the VI Client, just right click on a VM and choose 'View vmware.log' or 'View VMX' and it brings up a new window with the file contents loaded.&lt;br /&gt;
&lt;br /&gt;
It includes an XML configuration file to add the menu items, a C# COM object to login and retrieve vmware.log, an ASP page to call the COM object, and an IIS web app to host the ASP page.&lt;br /&gt;
&lt;br /&gt;
Check out the usage in the attached Word document.</description>
      <pubDate>Fri, 29 Aug 2008 23:58:09 GMT</pubDate>
      <author>bruce.downs</author>
      <guid>http://communities.vmware.com/message/1038025?tstart=0#1038025</guid>
      <dc:date>2008-08-29T23:58:09Z</dc:date>
      <clearspace:dateToText>1 year, 3 months ago</clearspace:dateToText>
      <clearspace:replyCount>5</clearspace:replyCount>
    </item>
    <item>
      <title>Re: viewing a VM's vmware.log</title>
      <link>http://communities.vmware.com/message/1037944?tstart=0#1037944</link>
      <description>I wish I could answer this one but I can't.  There is an experimental file browsing facility with this version of the toolkit but its barebones right now.  There is no feature to download the files, just scan the listings. &lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://communities.vmware.com/docs/DOC-3610" class="jive-link-wiki"&gt;Creating a PSDrive to browse your inventory&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Until VMw enhances this facility and/or writes high level cmdlets, it cannot be done &lt;u&gt;easily&lt;/u&gt;.  With enough delving into the SDK it would be possible.  I need to check out vifs.pl to see what it does.&lt;br /&gt;
&lt;br /&gt;
Other options are to wrap plink.exe or even the RCLI. Would be a little odd and not as robust of course.&lt;br /&gt;
&lt;br /&gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Author of the upcoming book: &lt;a class="jive-link-external" href="http://sapienpress.com/vmware.asp"&gt;Managing VMware Infrastructure with PowerShell&lt;/a&gt;&lt;br /&gt;
Co-Host, PowerScripting Podcast (&lt;a class="jive-link-external" href="http://powerscripting.net"&gt;http://powerscripting.net&lt;/a&gt;)</description>
      <pubDate>Fri, 29 Aug 2008 20:59:56 GMT</pubDate>
      <author>halr9000</author>
      <guid>http://communities.vmware.com/message/1037944?tstart=0#1037944</guid>
      <dc:date>2008-08-29T20:59:56Z</dc:date>
      <clearspace:dateToText>1 year, 3 months ago</clearspace:dateToText>
      <clearspace:replyCount>6</clearspace:replyCount>
    </item>
    <item>
      <title>viewing a VM's vmware.log</title>
      <link>http://communities.vmware.com/message/1037532?tstart=0#1037532</link>
      <description>Does anyone know of a way to view a given VM's vmware.log file in the PowerShell Toolkit?&lt;br /&gt;
&lt;br /&gt;
On ESX 3.x I do the following:&lt;br /&gt;
$ tail /vmfs/volumes/VirtualMachines2/de3vc20/vmware.log&lt;br /&gt;
&lt;br /&gt;
or the VM's vmx file&lt;br /&gt;
$ tail /vmfs/volumes/VirtualMachines2/de3vc20/de3vc20.vmx&lt;br /&gt;
&lt;br /&gt;
On ESXi, I use the Remote CLI's vifs.pl to copy locally and then view in local viewer.&lt;br /&gt;
&lt;br /&gt;
Either way, it's a tedious task if I use VI Client and Virtual Center as my management interface.</description>
      <pubDate>Fri, 29 Aug 2008 14:54:16 GMT</pubDate>
      <author>bruce.downs</author>
      <guid>http://communities.vmware.com/message/1037532?tstart=0#1037532</guid>
      <dc:date>2008-08-29T14:54:16Z</dc:date>
      <clearspace:dateToText>1 year, 3 months ago</clearspace:dateToText>
      <clearspace:replyCount>7</clearspace:replyCount>
    </item>
  </channel>
</rss>

