<?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 Virtual Connect CLI Buffer Size in BladeSystem - General</title>
    <link>https://community.hpe.com/t5/bladesystem-general/virtual-connect-cli-buffer-size/m-p/2385751#M32504</link>
    <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm preparing the migration of a VC 1/10 Gbit to a VC Flex-10 and I have scripted the entire configuration of the domain to make things a bit easier. I have ~300 lines of CLI that I copy and paste to configure everything from general settings, ldap auth, uplinks and server profiles.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My problem is the following: when I copy the ~300 lines from my text file and paste it in Putty, VCM will properly execute the first ~150 lines and then start truncating the commands so it starts failing. If I divide the work in smaller chunks of 50 lines, everything goes through smoothly but of course it's quite manual again. I was wondering if there is a CLI buffer size that I am exceeding and if this is the reason my commands start to get truncated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Changing some Putty settings like # of scrollback lines, columns and rows sizes, doesn't seem to influence anything.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Has anybody experienced a similar issue?&lt;/P&gt;&lt;P&gt;- Is there another way to inject a text file full of CLI commands to the VC other than copy/paste using Putty?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any comments would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Didier&lt;/P&gt;</description>
    <pubDate>Tue, 31 May 2011 09:04:40 GMT</pubDate>
    <dc:creator>Did</dc:creator>
    <dc:date>2011-05-31T09:04:40Z</dc:date>
    <item>
      <title>Virtual Connect CLI Buffer Size</title>
      <link>https://community.hpe.com/t5/bladesystem-general/virtual-connect-cli-buffer-size/m-p/2385751#M32504</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm preparing the migration of a VC 1/10 Gbit to a VC Flex-10 and I have scripted the entire configuration of the domain to make things a bit easier. I have ~300 lines of CLI that I copy and paste to configure everything from general settings, ldap auth, uplinks and server profiles.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My problem is the following: when I copy the ~300 lines from my text file and paste it in Putty, VCM will properly execute the first ~150 lines and then start truncating the commands so it starts failing. If I divide the work in smaller chunks of 50 lines, everything goes through smoothly but of course it's quite manual again. I was wondering if there is a CLI buffer size that I am exceeding and if this is the reason my commands start to get truncated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Changing some Putty settings like # of scrollback lines, columns and rows sizes, doesn't seem to influence anything.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Has anybody experienced a similar issue?&lt;/P&gt;&lt;P&gt;- Is there another way to inject a text file full of CLI commands to the VC other than copy/paste using Putty?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any comments would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Didier&lt;/P&gt;</description>
      <pubDate>Tue, 31 May 2011 09:04:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/bladesystem-general/virtual-connect-cli-buffer-size/m-p/2385751#M32504</guid>
      <dc:creator>Did</dc:creator>
      <dc:date>2011-05-31T09:04:40Z</dc:date>
    </item>
    <item>
      <title>Re: Virtual Connect CLI Buffer Size</title>
      <link>https://community.hpe.com/t5/bladesystem-general/virtual-connect-cli-buffer-size/m-p/2385941#M32505</link>
      <description>&lt;P&gt;I have asked the CLI experts.&lt;/P&gt;</description>
      <pubDate>Tue, 31 May 2011 20:55:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/bladesystem-general/virtual-connect-cli-buffer-size/m-p/2385941#M32505</guid>
      <dc:creator>chuckk281</dc:creator>
      <dc:date>2011-05-31T20:55:07Z</dc:date>
    </item>
    <item>
      <title>Re: Virtual Connect CLI Buffer Size</title>
      <link>https://community.hpe.com/t5/bladesystem-general/virtual-connect-cli-buffer-size/m-p/2386005#M32506</link>
      <description>&lt;P&gt;Yes.&amp;nbsp; It seems that when you "paste", putty dumps all the text to the screen, then starts to execute.&amp;nbsp; I have&amp;nbsp;experienced this issue with putty.&amp;nbsp; I have sucessfully used&amp;nbsp;Secure Shell Client and not had this issue, however, I have also used PLINK.EXE in batch mode to dump the contents of a text file into VC to build the entire domain.&amp;nbsp; This method can also be used to implement many VC domains at once.&amp;nbsp; I recently deployed 14 blade enclosures, ran a single script, which configured the entire VC domain on each enclcosure&amp;nbsp;from importing the enclosure to assigning the profiles and powering the servers on.&amp;nbsp; I actually ran the command file, then went to bed, it was all completed successfully long before&amp;nbsp;I got up the next morning.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;For example, take a look at the following;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ECHO. Creating Pod21&lt;BR /&gt;%comspec% /c echo Y | plink.exe -ssh -l Administrator -pw YZJRR92G 172.20.21.118 exit&lt;BR /&gt;plink -batch -ssh 172.20.21.118 -l Administrator -pw YZJRR92G -m createdomain21.txt &amp;gt; out_create.wri&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The %comspec% line forces plink to accept the SSH key, then exits - if you don't do this, you will need to use plink or putty to connect&amp;nbsp;each VC module and&amp;nbsp;accept the SSH key.&lt;/P&gt;&lt;P&gt;The second line, using plink in batch mode will log in to VC, then dump the contents of the text file into the cli and execute it line by line.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, if you want to watch this execute, the drop the &amp;gt;out_create.wri from the end of the plink line and all output will be presented to the cmd window.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Create a file call&amp;nbsp;"deploy_vc.cmd" and place the above into that file&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Replace the&amp;nbsp;-pw with your actual VC toe tag password&lt;/P&gt;&lt;P&gt;3. Replace the IP address with the VC module IP address&lt;/P&gt;&lt;P&gt;4. Replace the createdomain21.txt file with the script that you have created&lt;/P&gt;&lt;P&gt;The out_create.wri file will capture all the output as the commands are executed, search that file for "error" to ensure everything completed successfully&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can also use this method to edit or change the config of a VC domain, such as add a vlan to a SUS, create a profile etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope all this make sense.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are attending the HP Discover event next week, I'm speaking on this topic, (Thursday morning).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if you have further questions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Enjoy.&amp;nbsp; Steve...&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jun 2011 04:11:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/bladesystem-general/virtual-connect-cli-buffer-size/m-p/2386005#M32506</guid>
      <dc:creator>Stevem</dc:creator>
      <dc:date>2011-06-01T04:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: Virtual Connect CLI Buffer Size</title>
      <link>https://community.hpe.com/t5/bladesystem-general/virtual-connect-cli-buffer-size/m-p/2386007#M32507</link>
      <description>&lt;P&gt;Also, if you needed to deploy multiple enclosure, you could create several entries in teh .cmd file and point to a different config.txt file, such as...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ECHO. Creating Pod21&lt;BR /&gt;%comspec% /c echo Y | plink.exe -ssh -l Administrator -pw YZJRR92G 172.20.21.118 exit&lt;BR /&gt;plink -batch -ssh 172.20.21.118 -l Administrator -pw YZJRR92G -m createdomain21.txt &amp;gt; out_create.wri&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ECHO. Creating Pod22&lt;/P&gt;&lt;P&gt;%comspec% /c echo Y | plink.exe -ssh -l Administrator -pw YZJRR92G 172.20.22.118 exit&lt;BR /&gt;plink -batch -ssh 172.20.22.118 -l Administrator -pw YZJRR92G -m createdomain22.txt &amp;gt; out_create.wri&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;etc....&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jun 2011 04:13:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/bladesystem-general/virtual-connect-cli-buffer-size/m-p/2386007#M32507</guid>
      <dc:creator>Stevem</dc:creator>
      <dc:date>2011-06-01T04:13:19Z</dc:date>
    </item>
  </channel>
</rss>

