Installing IBM SPSS Modeler Server scoring adapter for Db2 LUW
If you have a previous version of the scoring adapter for Db2 LUW installed, first you must uninstall it as follows:
- Locate the executable file named Uninstall IBM SPSS Modeler Server Scoring Adapter for DB2 in the Db2 scoring adapter's installation directory. It's in a folder named Uninstall IBM SPSS Modeler Server Scoring Adapter for DB2.
- Run the executable file either from the console or by using the graphical user interface (GUI). Follow the instructions in the uninstaller to uninstall the scoring adapter.
- If you receive a message that some items could not be removed, go to the root directory where
the adapter had been (the cfscoring directory, for example) and run the command
rm -rf
on the listed directories that were not removed. This will remove them. - Proceed with the following steps to install the new version of the scoring adapter.
Before installation, you need to shut down the Db2 LUW ANALYZE_TABLE embedded process using the
db2ida_epspss.sh script provided in the IBM SPSS Modeler Server scoring adapter
installation folder. To do this, use the Db2 command: db2ida_epspss.sh
stop.
After installation, the Db2 LUW ANALYZE_TABLE embedded process should started automatically using
db2start
. However, if you install the adapter while a Db2 instance is active, you
can start the Db2 LUW ANALYZE_TABLE embedded process manually by using the command:
db2ida_epspss.sh start
.
Depending on the configuration of your database you can install either from the console or by using a graphical user interface (GUI); however, the first step is the same for both methods:
- Run the install.bin install script. Ensure that install.bin can be executed by db2 user and run it as that user.
Console Installation
- Introduction details are displayed. Press Enter to continue.
- Licensing information is displayed. Read the license, type 1 to accept it and press Enter.
- You are prompted to type the installation location. The default installation location is shown; however, if your installation is different, type the revised location and press Enter.
- You are prompted to enter the database name, database user name, and database password.
- A pre-installation summary is displayed to confirm your entries so far. Press Enter to continue.
- A message is displayed to say the installation routine is ready to run. Press Enter to continue.
- A progress bar is displayed whilst the installation routine runs. When the installation is complete, press Enter to exit from the installer.
GUI Installation
- Introduction details are displayed. Click Next to continue.
- Licensing information is displayed. Read the license, select the option to accept it, and click Next to continue.
- You are prompted to select the installation location. The default installation location is shown; however, if your installation of is different, click Choose to browse for the revised location. When the correct location is shown, click Next.
- You are prompted to enter the database name, database user name, and database password.
- A pre-installation summary is displayed to confirm your entries so far. Click Install to continue.
- A progress bar is displayed whilst the installation routine runs. When the installation is complete, click Done to exit from the installer.
When you have completed these steps the scoring adapter is ready to receive work.
ALTER TABLE COMPONENTS ALTER COLUMN MODELDS2 SET DATA TYPE BLOB(48M);