<?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 VCEM batch script - server profile copy in BladeSystem - General</title>
    <link>https://community.hpe.com/t5/bladesystem-general/vcem-batch-script-server-profile-copy/m-p/5690815#M31449</link>
    <description>&lt;P&gt;&lt;STRONG&gt;Sam had a customer question on Virtual Connect Enterprise Manager (VCEM):&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;*******************&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a client with a large BladeSystem environment.&amp;nbsp;&amp;nbsp;&amp;nbsp; Rather than using the GUI copy profile operation we would prefer to write a powershell/VB script to copy the VC server profile template and assign.&amp;nbsp; &amp;nbsp;&amp;nbsp;Questions:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Will this approach work?&amp;nbsp; Has anyone used the COmmand Line Interface&amp;nbsp;(CLI) to do a large batch update like this?&lt;/LI&gt;&lt;LI&gt;Does anyone have access to a similar script we could modify?&amp;nbsp;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;*************&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Reply from Fred:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;***************&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There’s a couple ways to approach this. You could use the VCEM SDK to create a utility to copy profiles. The other way to make a copy of a profile would be to script the creation of the desired profile in terms of connections, fabrics, etc, then run the script when another copy of a profile with those settings is needed. You could expand on this approach and leverage the CSV export of profiles to read the desired profile settings and use them to drive a script to create a duplicate of the profile.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The VCEMCLI doesn’t support a “copy” operation at this time like the one available in the VCM CLI.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;***************&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Questions?&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 14 Jun 2012 21:08:31 GMT</pubDate>
    <dc:creator>chuckk281</dc:creator>
    <dc:date>2012-06-14T21:08:31Z</dc:date>
    <item>
      <title>VCEM batch script - server profile copy</title>
      <link>https://community.hpe.com/t5/bladesystem-general/vcem-batch-script-server-profile-copy/m-p/5690815#M31449</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Sam had a customer question on Virtual Connect Enterprise Manager (VCEM):&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;*******************&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a client with a large BladeSystem environment.&amp;nbsp;&amp;nbsp;&amp;nbsp; Rather than using the GUI copy profile operation we would prefer to write a powershell/VB script to copy the VC server profile template and assign.&amp;nbsp; &amp;nbsp;&amp;nbsp;Questions:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Will this approach work?&amp;nbsp; Has anyone used the COmmand Line Interface&amp;nbsp;(CLI) to do a large batch update like this?&lt;/LI&gt;&lt;LI&gt;Does anyone have access to a similar script we could modify?&amp;nbsp;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;*************&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Reply from Fred:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;***************&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There’s a couple ways to approach this. You could use the VCEM SDK to create a utility to copy profiles. The other way to make a copy of a profile would be to script the creation of the desired profile in terms of connections, fabrics, etc, then run the script when another copy of a profile with those settings is needed. You could expand on this approach and leverage the CSV export of profiles to read the desired profile settings and use them to drive a script to create a duplicate of the profile.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The VCEMCLI doesn’t support a “copy” operation at this time like the one available in the VCM CLI.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;***************&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Questions?&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jun 2012 21:08:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/bladesystem-general/vcem-batch-script-server-profile-copy/m-p/5690815#M31449</guid>
      <dc:creator>chuckk281</dc:creator>
      <dc:date>2012-06-14T21:08:31Z</dc:date>
    </item>
  </channel>
</rss>

