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 Linux or UNIX to target Linux or UNIX

Run the migrate-import script to import a copy of the Tivoli Enterprise Portal Server database from a Linux or UNIX computer to another 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 another Linux or UNIX computer using migrate-export.


Procedure

  1. Stop the portal server on the target system.

  2. Copy file saveexport.sql that was generated by the migrate-export script from the source Linux or UNIX system install_dir/$platform/cq/sqllib directory to the same directory on the target system, where install_dir is the installation directory on the destination system, such as /opt/IBM/ITM/, and $platform is the operating system, such as li6243 for Intel Linux or ls3263 for zSeries Linux.

  3. Open a terminal window on the target system.

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

      cd /opt/IBM/ITM/bin

  5. In the terminal window, enter the following command.

      ./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 IBM/ITM/$platform/cq/sqllib subdirectory. Depending on the contents of the saveexport.sql file, this process can completely replace the existing portal server data.

  6. 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

  7. 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