Network Management

 View Only
last person joined: 12 hours ago 

Keep an informative eye on your network with HPE Aruba Networking network management solutions
Expand all | Collapse all

IMC Database backup fails

This thread has been viewed 15 times
  • 1.  IMC Database backup fails

    Posted Jan 20, 2023 07:45 AM
    Hello,

    Our current IMC server has Windows Server 2012R2 installed and the remote database is on SQL Server 2014.
    I want to upgrade the OS to Windows 2022 and move the db to SQL Server 2019.

    Updating the current database doesn't work. 
    dbman_debug.log:
    2023-01-20 13:34:12 [ERROR] [Client::send_backupdbase_msg] Remote return error: Database backup failed when backup
    2023-01-20 13:34:12 [WARNING] [CDbBackup::BackupAllDataBase] Backup database: vlanm_db failed
    2023-01-20 13:34:12 [ERROR] [ManualBackupDase] manual backing fail
    2023-01-20 13:34:12 [ERROR] [response_err_code] errCode = -1


    I've installed DBMan on the SQL server and the process is running.



    Any suggestions?


    Kind regards,
    Kevin


  • 2.  RE: IMC Database backup fails

    EMPLOYEE
    Posted Jan 30, 2023 03:48 AM
    Hi Kevin,
    depending on the IMC version you are running, you also need to copy the encryption keys from the IMC server to the database server.
    Reboot both servers after making the changes.
    From the readme 

    • As from iMC PLAT 7.3 (E0705), in the database distributed deployment environment, the database address for DMA can only be an IP address. Follow these steps to configure the database IP address for DMA: 1. Execute the iMC/deploy/instInfoMgr.bat -modify dbAddr=database IP address command in Windows environment, or execute the iMC/deploy/instInfoMgr.sh -modify dbAddr=database IP address command in Linux environment. 2. Set the database IP address for the db-config address parameter in the iMC/common/conf/server_addr.xml file.
    • [ note this also applies to your environment] In an active/standby IMC server scenario, please copy the iMC/common/conf/ks.dat and iMC/server/conf/imchw.conf files in the IMC installation directory on the active IMC server to the corresponding directories on all standby IMC servers. After copying these files, restart the IMC service to make these files take effect. If a standby IMC server is deployed with a separate database and the deployment monitoring agent is not installed on the database server, please copy the two files to the iMC/dbman/etc/ directory of the database server.
    Kind Regards
    Paola