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.
Before you begin
This procedure overwrites the TEPS database on the target
computer.
About this task
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
- Stop the portal server on the target system.
- 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.
- Open a terminal window on the target system.
- Change to the bin subdirectory of
the Tivoli Monitoring installation: Install_dir/bin. For example,
cd /opt/IBM/ITM/bin
- 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.
- 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:
- Open Install_dir/cq/bin/lnxnocmsenv in
a text editor.
- Set KFW_MIGRATE_FORCE=Y, then save
and close the file.
- 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
- Restart the portal server from
the Install_dir/bin directory
with the following command:
./itmcmd agent start cq