<?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: SQL Database Move in IMC</title>
    <link>https://community.hpe.com/t5/imc/sql-database-move/m-p/7152361#M6653</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I see what you mean, you might be confused by this terminology of "Locally Restore" vs. "Remotely Restore". It's actually referring to where the backup files you'd like to restore are located, and has nothing to do with a local vs. remote DB setup. Even in a remote DB deployment, you want to trigger the Restore operation via "Locally Restore" option on the DMA of the IMC server, if you've placed the DB backup files locally onto the IMC server (rather than on the DB server for example).&lt;/P&gt;&lt;P&gt;Hope that makes sense.&lt;/P&gt;</description>
    <pubDate>Wed, 20 Oct 2021 14:06:11 GMT</pubDate>
    <dc:creator>jguse</dc:creator>
    <dc:date>2021-10-20T14:06:11Z</dc:date>
    <item>
      <title>SQL Database Move</title>
      <link>https://community.hpe.com/t5/imc/sql-database-move/m-p/7151903#M6643</link>
      <description>&lt;P&gt;Hello all. I am&amp;nbsp; currently running older version of IMC and trying to get them upgraded to a later version. In reading release notes, I found out that I will need to migrated to a nwq SQL server as we are currently on SQL 2008. I am on 7.3 E0605 currently. From this post &lt;A href="https://community.hpe.com/t5/IMC/IMC-Data-Base-Change/td-p/5931131" target="_blank"&gt;https://community.hpe.com/t5/IMC/IMC-Data-Base-Change/td-p/5931131&lt;/A&gt; it looks like I will need to:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Build a temporary IMC server.&lt;/LI&gt;&lt;LI&gt;copy my current backups from DMA to the new temp server.&lt;/LI&gt;&lt;LI&gt;Restore databases to new SQL server.&lt;/LI&gt;&lt;LI&gt;Shut down new temporary IMC server.&lt;/LI&gt;&lt;LI&gt;edit C:\Program Files\iMC\deploy\conf\dma.conf, and C:\Program Files\iMC&lt;SPAN&gt;\common\conf\server-addr.xml&lt;/SPAN&gt;&lt;A href="http://www.netopscommunity.net/en_GB/forums/-/message_boards/view_message/47803#_19_message_47737" target="_blank" rel="nofollow noopener noreferrer"&gt;&lt;BR /&gt;&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;Start old IMC server that points to new dbs.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Am I missing anything on this migration? Are there any known issues getting this to work or is there a better document for migrating databases?&lt;/P&gt;&lt;P&gt;Any help is appreciated.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Oct 2021 06:51:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/imc/sql-database-move/m-p/7151903#M6643</guid>
      <dc:creator>IT_GUY299</dc:creator>
      <dc:date>2021-10-18T06:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Database Move</title>
      <link>https://community.hpe.com/t5/imc/sql-database-move/m-p/7151951#M6645</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Please go through release notes installation prerequisites from below link:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://support.hpe.com/hpesc/public/docDisplay?docId=a00118145en_us" target="_blank"&gt;https://support.hpe.com/hpesc/public/docDisplay?docId=a00118145en_us&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks!</description>
      <pubDate>Sun, 17 Oct 2021 19:40:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/imc/sql-database-move/m-p/7151951#M6645</guid>
      <dc:creator>akg7</dc:creator>
      <dc:date>2021-10-17T19:40:17Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Database Move</title>
      <link>https://community.hpe.com/t5/imc/sql-database-move/m-p/7151961#M6646</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Please make sure you follow the official Migration Guide. It's included in the 'manual' folder of the latest iMC Platform downloads. You can also find it below.&lt;/P&gt;&lt;P&gt;Windows -&amp;nbsp;&lt;A href="https://support.hpe.com/hpesc/public/docDisplay?docLocale=en_US&amp;amp;docId=a00075552en_us" target="_blank"&gt;https://support.hpe.com/hpesc/public/docDisplay?docLocale=en_US&amp;amp;docId=a00075552en_us&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Linux -&amp;nbsp;&lt;A href="https://support.hpe.com/hpesc/public/docDisplay?docLocale=en_US&amp;amp;docId=a00075554en_us" target="_blank"&gt;https://support.hpe.com/hpesc/public/docDisplay?docLocale=en_US&amp;amp;docId=a00075554en_us&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I can't recommend manually editing config files on the old system to point it to the new DB server. It would be better to just use the new iMC system that you set up anyway and transfer the licenses on My Networking portal. You can do the transfer yourself or open a support case to have it done for you.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Oct 2021 06:44:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/imc/sql-database-move/m-p/7151961#M6646</guid>
      <dc:creator>jguse</dc:creator>
      <dc:date>2021-10-18T06:44:14Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Database Move</title>
      <link>https://community.hpe.com/t5/imc/sql-database-move/m-p/7152216#M6649</link>
      <description>&lt;P&gt;Thanks for the response. In looking at the WIndows document mentioned, on page 9 it looks like this details a local restore, not a remote (SQL) one. Will this process work the same for SQL?&lt;/P&gt;</description>
      <pubDate>Tue, 19 Oct 2021 20:08:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/imc/sql-database-move/m-p/7152216#M6649</guid>
      <dc:creator>IT_GUY299</dc:creator>
      <dc:date>2021-10-19T20:08:41Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Database Move</title>
      <link>https://community.hpe.com/t5/imc/sql-database-move/m-p/7152217#M6650</link>
      <description>&lt;P&gt;Thanks for the response.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Oct 2021 20:09:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/imc/sql-database-move/m-p/7152217#M6650</guid>
      <dc:creator>IT_GUY299</dc:creator>
      <dc:date>2021-10-19T20:09:10Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Database Move</title>
      <link>https://community.hpe.com/t5/imc/sql-database-move/m-p/7152361#M6653</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I see what you mean, you might be confused by this terminology of "Locally Restore" vs. "Remotely Restore". It's actually referring to where the backup files you'd like to restore are located, and has nothing to do with a local vs. remote DB setup. Even in a remote DB deployment, you want to trigger the Restore operation via "Locally Restore" option on the DMA of the IMC server, if you've placed the DB backup files locally onto the IMC server (rather than on the DB server for example).&lt;/P&gt;&lt;P&gt;Hope that makes sense.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Oct 2021 14:06:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/imc/sql-database-move/m-p/7152361#M6653</guid>
      <dc:creator>jguse</dc:creator>
      <dc:date>2021-10-20T14:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Database Move</title>
      <link>https://community.hpe.com/t5/imc/sql-database-move/m-p/7152362#M6654</link>
      <description>&lt;P&gt;OH! That makes sense! I was definitely misunderstanding the terminology.&lt;/P&gt;&lt;P&gt;I will work on this later in the week and report back if I have any issues.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 20 Oct 2021 14:12:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/imc/sql-database-move/m-p/7152362#M6654</guid>
      <dc:creator>IT_GUY299</dc:creator>
      <dc:date>2021-10-20T14:12:50Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Database Move</title>
      <link>https://community.hpe.com/t5/imc/sql-database-move/m-p/7152585#M6658</link>
      <description>&lt;P&gt;I built a new server, installed iMC and matched it to the current production server as far as settings. Initial install was successful including the SQL database installs. I could log into the IMC web gui and see a basic setup.&amp;nbsp; I did the local restore and it seemed to run the restore until the very end when I received the "database restore failed" error. In the dbman_debug see the error below. The services started up and everything looks (in the web GUI) to be working, but I want to confirm before I open try to figure out how to get the new server licensed.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone seen this error and should I even worry since everything looks correct?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2021-10-22 14:01:03 [DEBUG] [Remove] Remove file: C:\Program Files\iMC\dbman\bin\dbop.sql.log&lt;BR /&gt;2021-10-22 14:01:03 [INFO] [DBMAN] Begin to restore file 10.21.0.98@icc_dbimc_icc&lt;BR /&gt;2021-10-22 14:01:03 [INFO] [CDbRestore::RestoreDatabaseList] m_PrimaryHost = 1, db remote_file_dir change to:&lt;BR /&gt;2021-10-22 14:01:03 [INFO] [Client::connect_to_server] Starting connect to 10.21.0.98: 2810&lt;BR /&gt;2021-10-22 14:01:03 [INFO] [Client::connect_to_server] Established connection to 10.21.0.98: 2810&lt;BR /&gt;2021-10-22 14:01:03 [ERROR] [Client::send_filetrans_msg] Send file data error expect 1024 bytes infact -1 bytes&lt;BR /&gt;2021-10-22 14:01:03 [INFO] [CDbRestore::RestoreOneDBase] File trans failed&lt;BR /&gt;2021-10-22 14:01:03 [ERROR] [CDbRestore::RestoreDatabaseList] Fail to restore DB file in RestoreOneDBase Function 10.21.0.60@icc_db_imc_icc_db_20211022_105358_full.db&lt;BR /&gt;2021-10-22 14:01:03 [INFO] [ManualRestoreBase] req asn msg:{ -- SEQUENCE --&lt;BR /&gt;iErrCode 'f6'H --&lt;BR /&gt;,&lt;BR /&gt;iContent '6963635f64623b3137322e32312e302e3938'H -- "icc_db;10.21.0.98" --&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;2021-10-22 14:01:03 [INFO] [sendTrapAlert] Send trap success&lt;/P&gt;&lt;P&gt;2021-10-22 14:01:03 [ERROR] [ManualRestoreBase] Failed to manual restore databases. ManualType: 0&lt;BR /&gt;2021-10-22 14:01:03 [ERROR] [response_err_code] errCode = -10&lt;BR /&gt;2021-10-22 14:01:03 [INFO] [ManualRestoreBase] Begin start service.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Oct 2021 19:13:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/imc/sql-database-move/m-p/7152585#M6658</guid>
      <dc:creator>IT_GUY299</dc:creator>
      <dc:date>2021-10-22T19:13:00Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Database Move</title>
      <link>https://community.hpe.com/t5/imc/sql-database-move/m-p/7152588#M6659</link>
      <description>&lt;P&gt;One other note, when I try to do a manual backup, I get an error also, logs from dbman_debug seen below.&lt;/P&gt;&lt;P&gt;2021-10-22 15:14:10 [DEBUG] [My_Accept_Handler::handle_input] Connection established 127.0.0.1&lt;BR /&gt;2021-10-22 15:14:10 [DEBUG] [CDataConnStreamQueueT::deal_msg] Receive command code: 10002&lt;BR /&gt;2021-10-22 15:14:10 [DEBUG] [CDataConnStreamQueueT::deal_msg] Succeed to create ManualBackupDBase thread .&lt;BR /&gt;2021-10-22 15:14:10 [INFO] [Client::connect_to_server] Starting connect to 10.21.0.98: 2810&lt;BR /&gt;2021-10-22 15:14:10 [INFO] [Client::connect_to_server] Established connection to 10.21.0.98: 2810&lt;BR /&gt;2021-10-22 15:14:10 [INFO] [ManualBackupDase] All server echo ok&lt;BR /&gt;2021-10-22 15:14:10 [INFO] [CDbBackup::BackupAllDataBase] Begin to manual backup all databases. Backup directory: C:\dbmanbak\E605PostMigration&lt;BR /&gt;2021-10-22 15:14:10 [INFO] [CDbBackup::BackupAllDataBase] ServerCount = 1&lt;BR /&gt;2021-10-22 15:14:10 [INFO] [CDbBackup::BackupAllDataBase] Path: 10.21.0.98@aclm_db_imc_aclm_db_20211022_151410_full.db&lt;BR /&gt;2021-10-22 15:14:10 [INFO] [Client::connect_to_server] Starting connect to 10.21.0.98: 2810&lt;BR /&gt;2021-10-22 15:14:10 [INFO] [Client::connect_to_server] Established connection to 10.21.0.98: 2810&lt;BR /&gt;2021-10-22 15:14:10 [ERROR] [Client::send_backupdbase_msg] Remote return error: Database backup failed when backup&lt;BR /&gt;2021-10-22 15:14:10 [WARNING] [CDbBackup::BackupAllDataBase] Backup database: aclm_db failed&lt;BR /&gt;2021-10-22 15:14:10 [ERROR] [ManualBackupDase] manual backing fail&lt;BR /&gt;2021-10-22 15:14:10 [ERROR] [response_err_code] errCode = -1&lt;/P&gt;</description>
      <pubDate>Fri, 22 Oct 2021 20:25:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/imc/sql-database-move/m-p/7152588#M6659</guid>
      <dc:creator>IT_GUY299</dc:creator>
      <dc:date>2021-10-22T20:25:19Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Database Move</title>
      <link>https://community.hpe.com/t5/imc/sql-database-move/m-p/7152773#M6663</link>
      <description>&lt;P&gt;A restart of the server amd a second attempt to restore cleared up the restore issue and the error trying to backup.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Oct 2021 18:39:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/imc/sql-database-move/m-p/7152773#M6663</guid>
      <dc:creator>IT_GUY299</dc:creator>
      <dc:date>2021-10-25T18:39:50Z</dc:date>
    </item>
  </channel>
</rss>

