<?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 Add rdm with command line in vSphere Command-Line Interface Discussions</title>
    <link>https://communities.vmware.com/t5/vSphere-Command-Line-Interface/Add-rdm-with-command-line/m-p/2567079#M1233</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 would hook a rdmp a VM using the command line. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a first step I created via the command rdmp &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;vmkfstools -z  /vmfs/devices/disks/vml.123456... /Path/VMname.vmdk&lt;/STRONG&gt;&lt;/U&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a second step I tried with the command &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*_vmware-vim-cmd vmsvc/device.diskaddexisting VMI&lt;/P&gt;&lt;P&gt;But does not return any error and no hooks the new rdmp &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I wanted to try using the command vmreconfig.pl, but the only syntax &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;_&lt;STRONG&gt;. / vmreconfig.pl - url&lt;/STRONG&gt; &lt;U&gt;[https://ESX&lt;/U&gt;HOST/sdk/vimService|https://esx_host/sdk/vimService]_ &lt;STRONG&gt;-username USER -password PASSWORD&lt;/STRONG&gt; _&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I returned the following error &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="#ff0000" __jive_macro_name="color"&gt;Error: Server version unavailable at 'https: / / 172.23.42.211/sdk/vimService.wsdl' 
&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I also found this script ( Add-Delete-HD-vSphere-annotated.ps1) but I do not know quite how to use it &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you kindly help me? &lt;/P&gt;&lt;P&gt;I do not know what to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Sep 2009 13:56:23 GMT</pubDate>
    <dc:creator>ii00907</dc:creator>
    <dc:date>2009-09-15T13:56:23Z</dc:date>
    <item>
      <title>Add rdm with command line</title>
      <link>https://communities.vmware.com/t5/vSphere-Command-Line-Interface/Add-rdm-with-command-line/m-p/2567079#M1233</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 would hook a rdmp a VM using the command line. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a first step I created via the command rdmp &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;vmkfstools -z  /vmfs/devices/disks/vml.123456... /Path/VMname.vmdk&lt;/STRONG&gt;&lt;/U&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a second step I tried with the command &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*_vmware-vim-cmd vmsvc/device.diskaddexisting VMI&lt;/P&gt;&lt;P&gt;But does not return any error and no hooks the new rdmp &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I wanted to try using the command vmreconfig.pl, but the only syntax &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;_&lt;STRONG&gt;. / vmreconfig.pl - url&lt;/STRONG&gt; &lt;U&gt;[https://ESX&lt;/U&gt;HOST/sdk/vimService|https://esx_host/sdk/vimService]_ &lt;STRONG&gt;-username USER -password PASSWORD&lt;/STRONG&gt; _&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I returned the following error &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="#ff0000" __jive_macro_name="color"&gt;Error: Server version unavailable at 'https: / / 172.23.42.211/sdk/vimService.wsdl' 
&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I also found this script ( Add-Delete-HD-vSphere-annotated.ps1) but I do not know quite how to use it &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you kindly help me? &lt;/P&gt;&lt;P&gt;I do not know what to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2009 13:56:23 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/vSphere-Command-Line-Interface/Add-rdm-with-command-line/m-p/2567079#M1233</guid>
      <dc:creator>ii00907</dc:creator>
      <dc:date>2009-09-15T13:56:23Z</dc:date>
    </item>
  </channel>
</rss>

