This article is to describe how to transfer a Management Console for Unix (MCU) server from one server to a new server. If it is on a different operating system, copying the database files from the old system to the new system does not work by itself as the paths are different.
Here are the steps to perform a migration from one server to another with a different operating system:
1 - Make a backup copy of the MCU database
For instructions refer to Knowledge Article 95993
It is recommended to back up the database directory prior to an OS upgrade.
2 -Copy the $MCU_DATA_DIR to the new server in the correct path
$MCU_DATA_DIR Paths are the following:
On Windows XP/2003 Server:
%SystemDrive%\Documents and Settings\All Users\Application Data\Quest Software\Management Console for Unix
On Windows 2008 Server/2012/Vista/7:
%SystemDrive%\ProgramData\Quest Software\Management Console for Unix
On Unix and Mac:
For example if moving from Windows 2008 server to a linux server:
Copy the "C:\ProgramData\Quest Software\Management Console for Unix" folder to "/var/opt/quest/mcu" (make sure root has rwx rights on everything)
3 - Edit the console.script which will be located in $MCU_DATA_DIR/db directory and change the paths to the correct operating system path.
You could use a utility such as textpad which has a search and replace option. You can search for the word for CONFIG_PROPERTY to look for paths.
For example convert Windows 2008 paths to Linux paths:
C:\ProgramData\Quest Software\Management Console for Unix would change to /var/opt/quest/mcu
C:\Program Files (x86)\Quest Software\Management Console for Unix would change to /opt/quest/mcu
4 - Edit config.cfg and installer-defaults.properties which will be located in $MCU_DATA_DIR/resources with the correct paths
5 - Install the MCU server software on the new machine and choose the same port