<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Problem vmreconfig.pl in vSphere Command-Line Interface Discussions</title>
    <link>https://communities.vmware.com/t5/vSphere-Command-Line-Interface/Problem-vmreconfig-pl/m-p/2099191#M914</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many thanks, &lt;/P&gt;&lt;P&gt;are very precise and detailed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Oct 2009 08:33:13 GMT</pubDate>
    <dc:creator>ii00907</dc:creator>
    <dc:date>2009-10-20T08:33:13Z</dc:date>
    <item>
      <title>Problem vmreconfig.pl</title>
      <link>https://communities.vmware.com/t5/vSphere-Command-Line-Interface/Problem-vmreconfig-pl/m-p/2099187#M910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a problem when i remove a disk. I run this command ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="#0000ff" __jive_macro_name="color"&gt;perl vmreconfig.pl --url &lt;A href="https://172.23.42.211/sdk/vimService" target="test_blank"&gt;https://172.23.42.211/sdk/vimService&lt;/A&gt; --username root --password passw0rd --filename ../sampledata/vmreconfig.xml --schema ../schema/vmreconfig.xsd&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i have this result;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="#ff0000" __jive_macro_name="color"&gt;No reconfiguration performed as there is no device config spec created.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In attach the file vmreconfig.xml&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help please!!!!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2009 10:13:13 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/vSphere-Command-Line-Interface/Problem-vmreconfig-pl/m-p/2099187#M910</guid>
      <dc:creator>ii00907</dc:creator>
      <dc:date>2009-10-08T10:13:13Z</dc:date>
    </item>
    <item>
      <title>Re: Problem vmreconfig.pl</title>
      <link>https://communities.vmware.com/t5/vSphere-Command-Line-Interface/Problem-vmreconfig-pl/m-p/2099188#M911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The reason it's not working is you're providing the incorrect name of the device ... it actually took me second try before realizing what it was looking for&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __jive_macro_name="code"&gt;
	  &amp;lt;Hard-Disk&amp;gt;
	     &amp;lt;Name&amp;gt;Disk3&amp;lt;/Name&amp;gt;
	  &amp;lt;/Hard-Disk&amp;gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;should be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __jive_macro_name="code"&gt;
	  &amp;lt;Hard-Disk&amp;gt;
	     &amp;lt;Name&amp;gt;Hard disk 3&amp;lt;/Name&amp;gt;
	  &amp;lt;/Hard-Disk&amp;gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt; The input is case sensitive and notice the &lt;STRONG&gt;d&lt;/STRONG&gt; on disk is lower case. To find out the device name, specifically for your vDisk, you can take a look at the settings for your virtual machine and you'll see the various devices. VMware should have better error/warning handling versus just "dying" out with some message relating to the API that a user may not be aware of&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a sample output for a successful virtual disk removal:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __jive_macro_name="code"&gt;
[vi-admin@scofield vm]$ ./vmreconfig.pl --server himalaya.primp-industries.com --username root --filename ../sampledata/my_vmreconfig.xml ../schema/vmreconfig.xsd
Enter password:

Removing hard disk with the backing filename '[himalaya-local-SATA.RE4-GP:Storage] vMA-resize/vMA-resize_1.vmdk' . . .
Virtual machine 'vMA-resize' is reconfigured successfully.

&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=========================================================================&lt;/P&gt;&lt;P&gt;William Lam&lt;/P&gt;&lt;P&gt;VMware vExpert 2009&lt;/P&gt;&lt;P&gt;VMware ESX/ESXi scripts and resources at: &lt;A href="http://engineering.ucsb.edu/~duonglt/vmware/"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://communities.vmware.com/d-9852"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://communities.vmware.com/c-3075"&gt;VMware Code Central - Scripts/Sample code for Developers and Administrators&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://communities.vmware.com/c-2414"&gt;VMware Developer Comuunity&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://twitter.com/lamw"&gt;Twitter: @lamw&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://engineering.ucsb.edu/~duonglt/vmware/vexpert_silver_icon.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you find this information useful, please award points for "correct" or "helpful".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Oct 2009 02:14:28 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/vSphere-Command-Line-Interface/Problem-vmreconfig-pl/m-p/2099188#M911</guid>
      <dc:creator>lamw</dc:creator>
      <dc:date>2009-10-17T02:14:28Z</dc:date>
    </item>
    <item>
      <title>Re: Problem vmreconfig.pl</title>
      <link>https://communities.vmware.com/t5/vSphere-Command-Line-Interface/Problem-vmreconfig-pl/m-p/2099189#M912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Very very thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had not thought of that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found some problems with version 4 of ESX. They took the script of 3.5 and took them on the 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry if I ask you another question, but now to hook a rdm to use a VM rdmCreate.pl (vdiskcreate.pl not work). Can you tell me if I can attach a rdm through commands vimsh? &lt;/P&gt;&lt;P&gt;I tried vmware-vim-cmd vmsvc / device.diskaddexisting creating another rdmp.vmdk through vmkftools, but does not work, manages to engage only vdisk. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks to one of your kind reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ivan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Oct 2009 11:53:37 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/vSphere-Command-Line-Interface/Problem-vmreconfig-pl/m-p/2099189#M912</guid>
      <dc:creator>ii00907</dc:creator>
      <dc:date>2009-10-19T11:53:37Z</dc:date>
    </item>
    <item>
      <title>Re: Problem vmreconfig.pl</title>
      <link>https://communities.vmware.com/t5/vSphere-Command-Line-Interface/Problem-vmreconfig-pl/m-p/2099190#M913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;afaik, &lt;STRONG&gt;vimsh&lt;/STRONG&gt; &lt;U&gt;device.addexistingdisk&lt;/U&gt; does not allow you to add an existingn RDM but only standard VMDK(s), it was probably not written to handle RDMs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=========================================================================&lt;/P&gt;&lt;P&gt;William Lam&lt;/P&gt;&lt;P&gt;VMware vExpert 2009&lt;/P&gt;&lt;P&gt;VMware ESX/ESXi scripts and resources at: &lt;A href="http://engineering.ucsb.edu/~duonglt/vmware/"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://communities.vmware.com/d-9852"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://communities.vmware.com/c-3075"&gt;VMware Code Central - Scripts/Sample code for Developers and Administrators&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://communities.vmware.com/c-2414"&gt;VMware Developer Comuunity&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://twitter.com/lamw"&gt;Twitter: @lamw&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://engineering.ucsb.edu/~duonglt/vmware/vexpert_silver_icon.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you find this information useful, please award points for "correct" or "helpful".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Oct 2009 16:50:29 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/vSphere-Command-Line-Interface/Problem-vmreconfig-pl/m-p/2099190#M913</guid>
      <dc:creator>lamw</dc:creator>
      <dc:date>2009-10-19T16:50:29Z</dc:date>
    </item>
    <item>
      <title>Re: Problem vmreconfig.pl</title>
      <link>https://communities.vmware.com/t5/vSphere-Command-Line-Interface/Problem-vmreconfig-pl/m-p/2099191#M914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many thanks, &lt;/P&gt;&lt;P&gt;are very precise and detailed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2009 08:33:13 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/vSphere-Command-Line-Interface/Problem-vmreconfig-pl/m-p/2099191#M914</guid>
      <dc:creator>ii00907</dc:creator>
      <dc:date>2009-10-20T08:33:13Z</dc:date>
    </item>
  </channel>
</rss>

