<?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: mxexport.bat : export doesn't work, CLI error in Server Management - Systems Insight Manager</title>
    <link>https://community.hpe.com/t5/server-management-systems/mxexport-bat-export-doesn-t-work-cli-error/m-p/5242157#M51928</link>
    <description>You're the winner.&lt;BR /&gt;&lt;BR /&gt;Using -Xmx512m solved the problem. I can now understand what hapenned.&lt;BR /&gt;&lt;BR /&gt;In the HP document about migrating the CMS, the command line (page 11) uses â  Xmx1024. The above line uses Xmx512m. I stupidly copied and pasted the line in mxexport.bat but without the trailing 'm' (I admit that my knowledge of Java is near null), I think java understood to use 1024 bytes of memory instead of 1024 Mb, and crashed. I decided not to use this switch then.&lt;BR /&gt;&lt;BR /&gt;For information, during the export, Java.exe used a maximum of 130 Mb of ram and it took about 3 hours for exporting the base with 800+ devices. The result file size makes 75 Mb.&lt;BR /&gt;&lt;BR /&gt;Thank you very, very much for your time and replies.&lt;BR /&gt;&lt;BR /&gt;Best regards.</description>
    <pubDate>Fri, 04 Jun 2010 04:15:59 GMT</pubDate>
    <dc:creator>OlivierV</dc:creator>
    <dc:date>2010-06-04T04:15:59Z</dc:date>
    <item>
      <title>mxexport.bat : export doesn't work, CLI error</title>
      <link>https://community.hpe.com/t5/server-management-systems/mxexport-bat-export-doesn-t-work-cli-error/m-p/5242145#M51916</link>
      <description>Hello.&lt;BR /&gt;&lt;BR /&gt;I've installed the migration.exe tool and now &lt;BR /&gt;I'm using the Mxexport.bat file for exporting the configuration of a Sim 5.3.1 CMS.&lt;BR /&gt;I run "mxexport.bat -f e:\export.zip", enter the password when asked to, the script runs and after about one hour displays the following messages :&lt;BR /&gt;- HpSim Completed successfully&lt;BR /&gt;- Error invoking the CLI.&lt;BR /&gt;None zip file is created at the root of E: or in the configdata-export folder.&lt;BR /&gt;&lt;BR /&gt;Hp Sim service is stopped during the export, SQL is version 2005 with SP3. Any idea of what causes this problem ?&lt;BR /&gt;&lt;BR /&gt;Thank you.&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Jun 2010 10:40:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-systems/mxexport-bat-export-doesn-t-work-cli-error/m-p/5242145#M51916</guid>
      <dc:creator>OlivierV</dc:creator>
      <dc:date>2010-06-02T10:40:53Z</dc:date>
    </item>
    <item>
      <title>Re: mxexport.bat : export doesn't work, CLI error</title>
      <link>https://community.hpe.com/t5/server-management-systems/mxexport-bat-export-doesn-t-work-cli-error/m-p/5242146#M51917</link>
      <description>Hello.&lt;BR /&gt;&lt;BR /&gt;I've noticed some points :&lt;BR /&gt;- the line 'SET SIMLIB=%SIMPATH%\lib' has 5 trailing spaces. Is it normal ?&lt;BR /&gt;- Using procmon, I found that the export tool creates many CSV files in the folder [hpsim]\data\configdata-export\migrationtemp\HPSIM\Tables\HPSIM. Can they be used for importing the datas in the targert CMS ?&lt;BR /&gt;- During the export, a zip file is created in [hpsim]\config\migration, named tmpzip.... . It's 28 Mb big at the moment. Can it be used (if not cleared at the end of the export process) for importing the data to the target CSM ?&lt;BR /&gt;&lt;BR /&gt;Thank you.</description>
      <pubDate>Thu, 03 Jun 2010 05:26:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-systems/mxexport-bat-export-doesn-t-work-cli-error/m-p/5242146#M51917</guid>
      <dc:creator>OlivierV</dc:creator>
      <dc:date>2010-06-03T05:26:13Z</dc:date>
    </item>
    <item>
      <title>Re: mxexport.bat : export doesn't work, CLI error</title>
      <link>https://community.hpe.com/t5/server-management-systems/mxexport-bat-export-doesn-t-work-cli-error/m-p/5242147#M51918</link>
      <description>i ran it this way:&lt;BR /&gt;run command without giving zip file name, like: mxexport -p &lt;PASSWORD&gt;&lt;BR /&gt;&lt;BR /&gt;this will create zip file under: [hpsim]\data\configdata-export\Products.zip&lt;BR /&gt;&lt;BR /&gt;This products.zip is exported zip file.&lt;BR /&gt;&lt;BR /&gt;remove those spaces from end of SIM-LIB variable that's issue.&lt;BR /&gt;&lt;BR /&gt;+++++++++++++&lt;BR /&gt;-HpSim Completed successfully&lt;BR /&gt;-Error invoking the CLI.&lt;BR /&gt;these both above looks contradictory. you have only hpsim installed or some other HPSIM plugin also?&lt;BR /&gt;&lt;/PASSWORD&gt;</description>
      <pubDate>Thu, 03 Jun 2010 07:27:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-systems/mxexport-bat-export-doesn-t-work-cli-error/m-p/5242147#M51918</guid>
      <dc:creator>Change_happens</dc:creator>
      <dc:date>2010-06-03T07:27:48Z</dc:date>
    </item>
    <item>
      <title>Re: mxexport.bat : export doesn't work, CLI error</title>
      <link>https://community.hpe.com/t5/server-management-systems/mxexport-bat-export-doesn-t-work-cli-error/m-p/5242148#M51919</link>
      <description>PMP and VMM were installed but I uninstalled them before exporting the datas because the new CMD doesn't use them.&lt;BR /&gt;I'm running the export with your suggestion, wait and see ..</description>
      <pubDate>Thu, 03 Jun 2010 07:34:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-systems/mxexport-bat-export-doesn-t-work-cli-error/m-p/5242148#M51919</guid>
      <dc:creator>OlivierV</dc:creator>
      <dc:date>2010-06-03T07:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: mxexport.bat : export doesn't work, CLI error</title>
      <link>https://community.hpe.com/t5/server-management-systems/mxexport-bat-export-doesn-t-work-cli-error/m-p/5242149#M51920</link>
      <description>hi, &lt;BR /&gt;you will not be able to use the csv files directly for import. Also the temp zip will not be useful.&lt;BR /&gt;&lt;BR /&gt;Just check if enough free space was available at the sim installed dir. &lt;BR /&gt;also try using mxexport without specifying the default file name.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Jun 2010 08:02:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-systems/mxexport-bat-export-doesn-t-work-cli-error/m-p/5242149#M51920</guid>
      <dc:creator>pirate_2</dc:creator>
      <dc:date>2010-06-03T08:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: mxexport.bat : export doesn't work, CLI error</title>
      <link>https://community.hpe.com/t5/server-management-systems/mxexport-bat-export-doesn-t-work-cli-error/m-p/5242150#M51921</link>
      <description>hey Olivier, just remove any xml file related to PMP, VMM which is present in [hpsim]\config\migration</description>
      <pubDate>Thu, 03 Jun 2010 08:04:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-systems/mxexport-bat-export-doesn-t-work-cli-error/m-p/5242150#M51921</guid>
      <dc:creator>Change_happens</dc:creator>
      <dc:date>2010-06-03T08:04:43Z</dc:date>
    </item>
    <item>
      <title>Re: mxexport.bat : export doesn't work, CLI error</title>
      <link>https://community.hpe.com/t5/server-management-systems/mxexport-bat-export-doesn-t-work-cli-error/m-p/5242151#M51922</link>
      <description>Than kyou for your replies.&lt;BR /&gt;&lt;BR /&gt;I removed the XML files for the products that are not installed. This solved the message displayed at the beginning of the export process telling that VMM data won't be exported.&lt;BR /&gt;&lt;BR /&gt;I also ran the mxexport.bat file without the file name, only -p switch.&lt;BR /&gt;&lt;BR /&gt;There is also 33 Gb of free space on the drive where I export the configuration.&lt;BR /&gt;&lt;BR /&gt;But unfortunately, I'm still getting the message "Error while invoking the CLI" after "HPSIM completed successfully". For information, the error message appears about 10 minutes after "HPSIM completed successfully".&lt;BR /&gt;&lt;BR /&gt;There is several .jar files in [hpsim]/config/migration/lib where there is only simmigrate.jar on the new SIM6 server. So I removed the other ones and re-launched the migration batch. Result in one hour.&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Jun 2010 09:12:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-systems/mxexport-bat-export-doesn-t-work-cli-error/m-p/5242151#M51922</guid>
      <dc:creator>OlivierV</dc:creator>
      <dc:date>2010-06-03T09:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: mxexport.bat : export doesn't work, CLI error</title>
      <link>https://community.hpe.com/t5/server-management-systems/mxexport-bat-export-doesn-t-work-cli-error/m-p/5242152#M51923</link>
      <description>we are one step further now. good you deleted those jars.&lt;BR /&gt;now best will be enable logs described here below:&lt;BR /&gt;&lt;A href="http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1425183" target="_blank"&gt;http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1425183&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;upload or check log file that will tell you all.</description>
      <pubDate>Thu, 03 Jun 2010 09:41:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-systems/mxexport-bat-export-doesn-t-work-cli-error/m-p/5242152#M51923</guid>
      <dc:creator>Change_happens</dc:creator>
      <dc:date>2010-06-03T09:41:21Z</dc:date>
    </item>
    <item>
      <title>Re: mxexport.bat : export doesn't work, CLI error</title>
      <link>https://community.hpe.com/t5/server-management-systems/mxexport-bat-export-doesn-t-work-cli-error/m-p/5242153#M51924</link>
      <description>Usefull information, thank you.&lt;BR /&gt;&lt;BR /&gt;I enabled the logging and used "%java%" in mxexport.bat. But the problem is still present, the last entries of the logs are :&lt;BR /&gt;&lt;BR /&gt;03 Jun 2010 14:19:41,192 INFO  [HPSIM_DEBUG] LEAVING: exportMigrFiles&lt;BR /&gt;03 Jun 2010 14:19:41,192 INFO  [HPSIM_DEBUG] Exporting files that have environment variables&lt;BR /&gt;03 Jun 2010 14:19:41,192 INFO  [HPSIM_DEBUG] LEAVING: exportMigrFiles&lt;BR /&gt;03 Jun 2010 14:19:41,192 INFO  [HPSIM_DEBUG] Exporting files that have absolute paths&lt;BR /&gt;03 Jun 2010 14:19:41,192 INFO  [HPSIM_DEBUG] LEAVING: exportMigrFiles&lt;BR /&gt;03 Jun 2010 14:19:41,192 INFO  [HPSIM_DEBUG] LEAVING: exportFiles&lt;BR /&gt;03 Jun 2010 14:19:41,192 INFO  [HPSIM_DEBUG] Export of files to recover is successful.&lt;BR /&gt;03 Jun 2010 14:19:41,192 INFO  [HPSIM_DEBUG] Create Manifest...&lt;BR /&gt;03 Jun 2010 14:19:41,192 INFO  [HPSIM_DEBUG] ENTERING: writeManifest&lt;BR /&gt;03 Jun 2010 14:19:41,223 INFO  [HPSIM_DEBUG] LEAVING: writeManifest&lt;BR /&gt;03 Jun 2010 14:19:41,223 INFO  [HPSIM_DEBUG] Manifest created...&lt;BR /&gt;03 Jun 2010 14:19:41,223 INFO  [HPSIM_DEBUG] THREAD STATUS of : hpsim_migrate modified to COMPLETED&lt;BR /&gt;03 Jun 2010 14:19:41,223 INFO  [HPSIM_DEBUG] Counter: true&lt;BR /&gt;03 Jun 2010 14:19:41,223 INFO  [HPSIM_DEBUG] hpsim completed successfully.&lt;BR /&gt;HPSIM completed successfully.&lt;BR /&gt;03 Jun 2010 14:19:41,223 INFO  [HPSIM_DEBUG] Threads complete execution&lt;BR /&gt;03 Jun 2010 14:19:41,223 INFO  [HPSIM_DEBUG] Compressing hpsim data from E:\Program Files\HP\Systems&lt;BR /&gt; Insight Manager\data\configdata-export\migrationtemp\hpsim to E:\Program Files\HP\Systems Insight M&lt;BR /&gt;anager\data\configdata-export\migrationtemp\hpsim1.zip&lt;BR /&gt;Error while invoking the CLI&lt;BR /&gt;&lt;BR /&gt;So the error occurs immediately after the process started compressing the file. I don't know if it has succeeded.&lt;BR /&gt;I'm going to check the rights on these folders</description>
      <pubDate>Thu, 03 Jun 2010 11:40:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-systems/mxexport-bat-export-doesn-t-work-cli-error/m-p/5242153#M51924</guid>
      <dc:creator>OlivierV</dc:creator>
      <dc:date>2010-06-03T11:40:35Z</dc:date>
    </item>
    <item>
      <title>Re: mxexport.bat : export doesn't work, CLI error</title>
      <link>https://community.hpe.com/t5/server-management-systems/mxexport-bat-export-doesn-t-work-cli-error/m-p/5242154#M51925</link>
      <description>one more good catch about java variable. how can they create such a batch file. :)&lt;BR /&gt;&lt;BR /&gt;are u able to see "hpsim1.zip" at that point of time @ specified place?&lt;BR /&gt;they have -Xmx512m inside batch. try increasing this value if its memory issue. just a guess.&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Jun 2010 13:37:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-systems/mxexport-bat-export-doesn-t-work-cli-error/m-p/5242154#M51925</guid>
      <dc:creator>Change_happens</dc:creator>
      <dc:date>2010-06-03T13:37:54Z</dc:date>
    </item>
    <item>
      <title>Re: mxexport.bat : export doesn't work, CLI error</title>
      <link>https://community.hpe.com/t5/server-management-systems/mxexport-bat-export-doesn-t-work-cli-error/m-p/5242155#M51926</link>
      <description>Yes, I saw the zip file. I have copied it to an other place before the end of the script because at the end it deletes all the content of the folder configdata-export.&lt;BR /&gt;I tried to import it but the process failed.&lt;BR /&gt;&lt;BR /&gt;I'm going to increase the memory in the command line. I did it a few days ago but it has generated some errors tha tdisappeared when I removed the option. I will try 512, it was 1024.&lt;BR /&gt;&lt;BR /&gt;Thank you.</description>
      <pubDate>Thu, 03 Jun 2010 13:50:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-systems/mxexport-bat-export-doesn-t-work-cli-error/m-p/5242155#M51926</guid>
      <dc:creator>OlivierV</dc:creator>
      <dc:date>2010-06-03T13:50:13Z</dc:date>
    </item>
    <item>
      <title>Re: mxexport.bat : export doesn't work, CLI error</title>
      <link>https://community.hpe.com/t5/server-management-systems/mxexport-bat-export-doesn-t-work-cli-error/m-p/5242156#M51927</link>
      <description>curious to know what happened? i will see tomorrow. good night</description>
      <pubDate>Thu, 03 Jun 2010 14:32:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-systems/mxexport-bat-export-doesn-t-work-cli-error/m-p/5242156#M51927</guid>
      <dc:creator>Change_happens</dc:creator>
      <dc:date>2010-06-03T14:32:29Z</dc:date>
    </item>
    <item>
      <title>Re: mxexport.bat : export doesn't work, CLI error</title>
      <link>https://community.hpe.com/t5/server-management-systems/mxexport-bat-export-doesn-t-work-cli-error/m-p/5242157#M51928</link>
      <description>You're the winner.&lt;BR /&gt;&lt;BR /&gt;Using -Xmx512m solved the problem. I can now understand what hapenned.&lt;BR /&gt;&lt;BR /&gt;In the HP document about migrating the CMS, the command line (page 11) uses â  Xmx1024. The above line uses Xmx512m. I stupidly copied and pasted the line in mxexport.bat but without the trailing 'm' (I admit that my knowledge of Java is near null), I think java understood to use 1024 bytes of memory instead of 1024 Mb, and crashed. I decided not to use this switch then.&lt;BR /&gt;&lt;BR /&gt;For information, during the export, Java.exe used a maximum of 130 Mb of ram and it took about 3 hours for exporting the base with 800+ devices. The result file size makes 75 Mb.&lt;BR /&gt;&lt;BR /&gt;Thank you very, very much for your time and replies.&lt;BR /&gt;&lt;BR /&gt;Best regards.</description>
      <pubDate>Fri, 04 Jun 2010 04:15:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-systems/mxexport-bat-export-doesn-t-work-cli-error/m-p/5242157#M51928</guid>
      <dc:creator>OlivierV</dc:creator>
      <dc:date>2010-06-04T04:15:59Z</dc:date>
    </item>
    <item>
      <title>Re: mxexport.bat : export doesn't work, CLI error</title>
      <link>https://community.hpe.com/t5/server-management-systems/mxexport-bat-export-doesn-t-work-cli-error/m-p/5242158#M51929</link>
      <description>cheers :)&lt;BR /&gt;glad your problem was solved &lt;BR /&gt;</description>
      <pubDate>Fri, 04 Jun 2010 04:18:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-systems/mxexport-bat-export-doesn-t-work-cli-error/m-p/5242158#M51929</guid>
      <dc:creator>pirate_2</dc:creator>
      <dc:date>2010-06-04T04:18:42Z</dc:date>
    </item>
    <item>
      <title>Re: mxexport.bat : export doesn't work, CLI error</title>
      <link>https://community.hpe.com/t5/server-management-systems/mxexport-bat-export-doesn-t-work-cli-error/m-p/5242159#M51930</link>
      <description>Cool. good news and you have discovered one more issue this was with HP document. :) &lt;BR /&gt;</description>
      <pubDate>Fri, 04 Jun 2010 04:21:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-systems/mxexport-bat-export-doesn-t-work-cli-error/m-p/5242159#M51930</guid>
      <dc:creator>Change_happens</dc:creator>
      <dc:date>2010-06-04T04:21:55Z</dc:date>
    </item>
    <item>
      <title>Re: mxexport.bat : export doesn't work, CLI error</title>
      <link>https://community.hpe.com/t5/server-management-systems/mxexport-bat-export-doesn-t-work-cli-error/m-p/5242160#M51931</link>
      <description>erroneous parameter in the java command line, see comment above.</description>
      <pubDate>Fri, 04 Jun 2010 13:26:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-systems/mxexport-bat-export-doesn-t-work-cli-error/m-p/5242160#M51931</guid>
      <dc:creator>OlivierV</dc:creator>
      <dc:date>2010-06-04T13:26:41Z</dc:date>
    </item>
  </channel>
</rss>

