1824199 Members
4205 Online
109669 Solutions
New Discussion

Moving IMC Database to another hard drive

 
SOLVED
Go to solution
pattap
Regular Advisor

Moving IMC Database to another hard drive

I'm trying to move DB from C drive where IMC is in stalled to another HD on the same computer, I guess there's a config file somewhere were you can change this 

4 REPLIES 4
NeilR
Esteemed Contributor

Re: Moving IMC Database to another hard drive

May not be that easy.. I don't see IMC path related variables

there are a lot of individual config files which may or may not have drive path in them

Plus you've got the DB data files as well if its all on the same box. That's easier.

I did a search of the DB for Drive letter in path and only found it in a very few palces, so most of the data in the DB seems drive neutral.

May be able to back it up, reinstall on the new drive then restore.

 

jguse
HPE Pro

Re: Moving IMC Database to another hard drive

Hello,

What Neil already said - you would need to back it up, re-install IMC with the exact same version and components using the new path for IMC, and then restore the database.

This is due primarily to IMC using a fixed data path (install directory) and database path configuration in the Windows\iMC-Reserved\instinfo.txt which is an encrypted file containing IMC and DB parameters, and cannot be manually modified.

Check the IMC Migration Guides for some more advice on how to move an IMC installation.

Best regards,
Justin

Working @ HPE
Accept or Kudo
pattap
Regular Advisor

Re: Moving IMC Database to another hard drive

Thanks for the reply gents

I've done as you said, just reinstalled IMC on the new drive.

While backing up I have moved unba_skip to make sure NTA configuration is backed up aswell.

I'm having issue with restoring that DB now, dbman_debug.log file reads:

2019-10-03 09:16:59 [ERROR] [locateDbPosition] Can not find DB[127.0.0.1@unba_slave_unba_slave] information in config !
2019-10-03 09:16:59 [ERROR] [checkDBFiles] Instance 127.0.0.1@unba_slave_unba_slave invalid: there is no information on server

 

this is config file found in the directory along DB files 

imc_aclm_aclm_db_iMC-ACLM = 7.3.E0703

imc_config_config_db_iMC-EUPLAT = 7.3.E0703
imc_config_config_db_iMC-PLAT = 7.3.E0703
imc_config_config_db_iMC-GAM = 7.3.E0703

imc_icc_icc_db_iMC-ICC = 7.3.E0703

imc_inventory_invent_db_iMC-NETASSET = 7.3.E0703

imc_monitor_monitor_db_iMC-NME-FAULT = 7.3.E0703

imc_perf_perf_db_iMC-NME-PERF = 7.3.E0703

imc_syslog_syslog_db_iMC-SYSLOG = 7.3.E0703

imc_vnm_vnm_db_iMC-VNM = 7.3.E0703

imc_wips_wips_db_iMC-WIPS = 7.3.E0602

imc_wsm_wlan_db_iMC-WLAN = 7.3.E0602

reportplat_reportplat_db_iMC-REPORT = 7.3.E0703

unba_master_unba_master_iMC-NBAM = 7.3.E0506

unba_slave_unba_slave_iMC-NBAM-SERVER = 7.3.E0506

vlan_vlanm_db_iMC-VLAN = 7.3.E0703
pattap
Regular Advisor
Solution

Re: Moving IMC Database to another hard drive

OK I fixed it by removing unba_skip from imc\dbman\etc in the new location of IMC

thanks for your help