IBM Tivoli Monitoring > Version 6.3 Fix Pack 2 > Administrator's Guide > Replicating the Tivoli Enterprise Portal Server database > Run the migrate-import script

IBM Tivoli Monitoring, Version 6.3 Fix Pack 2


Run migrate-import from source Windows to target Linux or UNIX

Run the migrate-import script to import a copy of the Tivoli Enterprise Portal Server database from a Windows computer to a Linux or UNIX computer.

This procedure overwrites the TEPS database on the target computer.


On the Linux or UNIX computer where the target portal server is installed, take these steps to import the TEPS database that was copied from a Window computer using migrate-export.


Procedure

  1. Stop the portal server on the target system.

  2. On the source system, open a command prompt: Click Start → Run, and enter CMD.

  3. Copy saveexport.sql that was generated by the migrate-export.bat script from the source Windows system to the target system's install_dir/$platform/cq/sqllib directory, where $platform is li6243 for Intel Linux or ls3263 for zSeries Linux on the destination system.

  4. Open a terminal window on the target system.

  5. Change to the bin subdirectory of the Tivoli Monitoring installation: Install_dir/bin. For example,

      cd /opt/IBM/ITM/bin

  6. In the terminal window, enter ./itmcmd execute cq "runscript.sh migrate-import.sh". Be sure to use the " double-quote symbol and not ' single-quote. The script processes a file named saveexport.sql in the install_dir/$platform/cq/sqllib directory. Depending on the contents of the saveexport.sql file, this process can completely replace the existing portal server data.

  7. If you are using the migrate-import function to move the TEPS database from one release to another, perform this task after migrating the database to add application support:

    1. Open Install_dir/cq/bin/lnxnocmsenv in a text editor.

    2. Set KFW_MIGRATE_FORCE=Y, then save and close the file.

    3. Invoke the following script to apply the current portal server application support to the newly migrated TEPS database: Install_dir/bin/itmcmd execute cq InstallPresentation.sh. For example,

        /opt/IBM/ITM/bin/itmcmd execute cq InstallPresentation.sh

  8. Restart the portal server from the Install_dir/bin directory with the following command:


Parent topic:

Run the migrate-import script

+

Search Tips   |   Advanced Search