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.
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 a Window computer using migrate-export.
Procedure
- Stop the portal server on the target system.
- On the source system, open a command prompt: Click Start → Run,
and enter CMD.
- 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.
- 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 ./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.
- 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