Originally published on 2010-07-18 01:56
If you want to move CIM database from one instance to another (with not necessarily the same ports), or move your entire CIM installation from one machine to another, here is an example of the supported way to do it:
# make a back-up on the machine the original is running on [centos52-x64 bin]$./cov-admin-db backup ~rdave/db_backup.20100412 # on the target (new) machine, bring CIM into maintenance mode [linux64-01 bin]$ ./cov-im-ctl maintenance # restore the back-up on the new machine [linux64-01 bin]$ ./cov-admin-db restore ~rdave/db_backup.20100412
Now, this moves the DB contents into the new installation but I want to be very clear that this completely replaces the DB that's already there. It's a one-way, write-only move. It's a great way to move CIM to another machine or even to create a bunch of test instances with the same data, but in production, the only use case I see for this is if someone wants to have a read-only secondary instance for backup (and all changes there get overwritten next time someone restores a DB there) or if this is for a one-time move from one server to another.
Originally published on 2012-02-28 13:28
I would like to ask a little more detail. I currently have CIM/CIC installed on a Windows 16-bit machine and want to move the complete installation and database to a Windows Server 2008 64 bit machine. The steps I think I need are:
- download and install CIM 64-bit to the new machine
- make a backup on the original windows machine
- put the new machine in maintenance mode
- restore the backup on the new machine
- uninstall CIM on the old machine.
Any additional steps?
Originally published on 2012-02-28 14:34
I assume you are currently on Windows 32-bit machine (since we don't support 16-bit) but you have the steps exactly as they should be.
I would only add "Bring up new machine and verify everything is good" before uninstalling CIM on the original machine.
Originally published on 2012-04-09 09:18
As it turns out, the only things you need to move are those that you customized. So, export the XML files for node configuration and chart configuration, install new IC into the new CIM (sounds like you already did that) import the two XML files into IC and wait for CIM to notice the new config and to resend all the data (this might take a while) .