<?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 - Storage vmotion webpage (perl, php, html). How to get progress bar?</title>
    <link>http://communities.vmware.com/community/developer/forums/managementapi?view=discussions</link>
    <description>Most recent forum messages</description>
    <language>en</language>
    <pubDate>Mon, 31 Dec 2007 15:24:07 GMT</pubDate>
    <generator>Clearspace 1.10.12 (http://jivesoftware.com/products/clearspace/)</generator>
    <dc:date>2007-12-31T15:24:07Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>Re: Storage vmotion webpage (perl, php, html). How to get progress bar?</title>
      <link>http://communities.vmware.com/message/829353?tstart=0#829353</link>
      <description>The result for now (no progress bar)&lt;br /&gt;
&lt;br /&gt;
Not pretty, but works every time. &lt;img class="jive-emoticon" border="0" src="http://communities.vmware.com/images/emoticons/happy.gif" alt=":)" /&gt;&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
All files should be in the same directory on the webserver. svmotion.html is the start-page.&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
Change it to your own needs.&lt;br /&gt;
&lt;p /&gt;
edit: a small typo in the vmquery.php page. Missed one = &lt;br /&gt;
&lt;p /&gt;
select name&lt;span style="color:#ff0000"&gt;&lt;b&gt;=&lt;/b&gt;&lt;/span&gt;'newpath'</description>
      <pubDate>Mon, 31 Dec 2007 12:26:43 GMT</pubDate>
      <author>asp24</author>
      <guid>http://communities.vmware.com/message/829353?tstart=0#829353</guid>
      <dc:date>2007-12-31T12:26:43Z</dc:date>
      <clearspace:dateToText>1 year, 11 months ago</clearspace:dateToText>
    </item>
    <item>
      <title>Re: Storage vmotion webpage (perl, php, html). How to get progress bar?</title>
      <link>http://communities.vmware.com/message/829349?tstart=0#829349</link>
      <description>&lt;br /&gt;
Thank you! that worked like I wanted it. Now I can have a dropdown menu for destination datastore also.&lt;br /&gt;
&lt;p /&gt;
Now, if I just could find a way to poll the relocate status from vc...</description>
      <pubDate>Mon, 31 Dec 2007 11:24:10 GMT</pubDate>
      <author>asp24</author>
      <guid>http://communities.vmware.com/message/829349?tstart=0#829349</guid>
      <dc:date>2007-12-31T11:24:10Z</dc:date>
      <clearspace:dateToText>1 year, 11 months ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>Re: Storage vmotion webpage (perl, php, html). How to get progress bar?</title>
      <link>http://communities.vmware.com/message/829265?tstart=0#829265</link>
      <description>&lt;br /&gt;
You can use the vifs command&lt;br /&gt;
&lt;p /&gt;
vifs --server VC server --username administrator --password XYZ -Z 'New Datacenter' --listds &lt;br /&gt;
&lt;p /&gt;
I think, this syntax should work for u&lt;br /&gt;
&lt;p /&gt;
Let, me know the results&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
Thanks</description>
      <pubDate>Mon, 31 Dec 2007 04:53:23 GMT</pubDate>
      <author>vmwaredude1</author>
      <guid>http://communities.vmware.com/message/829265?tstart=0#829265</guid>
      <dc:date>2007-12-31T04:53:23Z</dc:date>
      <clearspace:dateToText>1 year, 11 months ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>Re: Storage vmotion webpage (perl, php, html). How to get progress bar?</title>
      <link>http://communities.vmware.com/message/829189?tstart=0#829189</link>
      <description>&lt;br /&gt;
By the way.. I'm looking for a small script to list ALL datastores in VC. I want ONLY the friendly names, one name per line. &lt;br /&gt;
&lt;p /&gt;
 Like this:&lt;br /&gt;
&lt;p /&gt;
Iscsi1_1&lt;br /&gt;
&lt;p /&gt;
Iscsi1_2&lt;br /&gt;
&lt;p /&gt;
Iscsi2_1&lt;br /&gt;
&lt;p /&gt;
etc&lt;br /&gt;
&lt;p /&gt;
I have found some scripts that will list the datastores, but they also list a lot of other info I do not need. I have not been able to modify them to only output what I want. Can someone please give me an example of how to do this ?</description>
      <pubDate>Mon, 31 Dec 2007 00:03:55 GMT</pubDate>
      <author>asp24</author>
      <guid>http://communities.vmware.com/message/829189?tstart=0#829189</guid>
      <dc:date>2007-12-31T00:03:55Z</dc:date>
      <clearspace:dateToText>1 year, 11 months ago</clearspace:dateToText>
      <clearspace:replyCount>3</clearspace:replyCount>
    </item>
    <item>
      <title>Storage vmotion webpage (perl, php, html). How to get progress bar?</title>
      <link>http://communities.vmware.com/message/829086?tstart=0#829086</link>
      <description>I have created a "dirty" web page using PHP (I do not know Perl well) that does the following:&lt;br /&gt;
&lt;br /&gt;
Log in to VirtualCenter (2.5) and get the storage/config file paths for all registered VM's (like this:    &lt;a class="jive-link-adddocument" href="http://communities.vmware.com/community-document-picker.jspa?communityID=&amp;subject=iscsi1_1"&gt;iscsi1_1&lt;/a&gt; vm/vm.vmx) &lt;br /&gt;
&lt;p /&gt;
Put the list into a dropdown menu and have an input field for the target storage location. And a move-button to start svmotion.&lt;br /&gt;
&lt;p /&gt;
This is a very dirty solution right now, but it works for me!&lt;br /&gt;
&lt;p /&gt;
&lt;b&gt;The question now is: How can I get a progress bar for the svmotion?&lt;/b&gt;&lt;br /&gt;
&lt;p /&gt;
I have included the neccessary files. I have installed this on my apache (linux) webserver with php and perl configured. You will have to install the Remote Client and  Perl API to run this.&lt;br /&gt;
&lt;p /&gt;
(VMware-RCLI-1.1.0-64577.i386.tar.gz and VMware-VmPerlAPI-2.3.2-39850.tar.gz used) &lt;br /&gt;
&lt;br /&gt;
Sorry about the bad programming! I'm not exactly a programmer...</description>
      <pubDate>Sun, 30 Dec 2007 19:48:27 GMT</pubDate>
      <author>asp24</author>
      <guid>http://communities.vmware.com/message/829086?tstart=0#829086</guid>
      <dc:date>2007-12-30T19:48:27Z</dc:date>
      <clearspace:dateToText>1 year, 11 months ago</clearspace:dateToText>
      <clearspace:replyCount>4</clearspace:replyCount>
    </item>
  </channel>
</rss>

