Professional Documents
Culture Documents
Installation Guide
Installation Guide
CONTENTS
iii
Contents
INTRODUCTION ........................................................................................ 5 Other Resources .................................................................................5 INSTALLING KAPOW MASHUP SERVER ........................................................... 6 Installing on Windows .........................................................................6 Installing from a CD-ROM..................................................................6 Installing from a Downloaded Installer ................................................6 Installing on Linux ..............................................................................6 Installing from a CD-ROM..................................................................6 Installing from a Downloaded Installer ................................................6 Installing on a Headless Computer......................................................7 Silent Installation ...............................................................................7 Important Folders in Kapow Mashup Server ............................................7 CONFIGURING KAPOW MASHUP SERVER ......................................................... 9 Setting the Current Robot Project........................................................ 10 Configuring the Database Connections ................................................. 10 Setting up the Object Databases ...................................................... 10 Setting up the RoboManager Databases ............................................ 10 Configuring the Database Connections .............................................. 11 Specifying a Proxy Server .................................................................. 15 Configuring the Web Server ............................................................... 16 Enabling Administration Security ...................................................... 16 Setting Up a Cluster of RoboServers ................................................. 16 Running RoboServer as a Service........................................................ 16 Configuring the Bug Reporting ............................................................ 17 Changing the License Information ....................................................... 17 Installing New Certificates.................................................................. 17 UPGRADING FROM EARLIER VERSIONS ......................................................... 19 Upgrading Clipping Robots and Portlets................................................ 19 INDEX.................................................................................................. 20
INDEX
Introduction
This Installation Guide describes how to install Kapow Mashup Server.
Other Resources
Further information on installing Kapow Mashup Server may be available from the support site at this URL: http://support.kapowtech.com/ For information on using Kapow Mashup Server, refer to the Users Guide for each application.
INSTALLATION GUIDE
Installing on Windows
Note: You need to have administrator rights to install on Windows.
Installing on Linux
Note: You should install as an unprivileged user on Linux.
INDEX
Silent Installation
A silent installer is able to run without user interaction. This is handy if you need to automate the installation process in a script. To utilize the silent installer, you need to create an ASCII text file containing parameters for the installer. The file should contain the following: INSTALLER_UI=silent USER_INSTALL_DIR=[Path to installation folder] LICENSE_NAME=[Your name] LICENSE_EMAIL=[Your email] LICENSE_COMPANY=[Company name] LICENSE_KEY=[License key] You can omit the line containing the USER_INSTALL_DIR to install in the default folder. Save the file as installer.properties. It is important that this file is placed in the same folder as the installer file (setup.exe or setup.bin). Now launch the installer as usual and it will detect the file and run in silent mode.
INSTALLATION GUIDE Certificates contains the HTTPS certificates known by Kapow Mashup Server. See the Installing New Certificates section for more information. Plugins contains the Kapow Mashup Server plugins. lib/jdbc contains the installed JDBC database drivers. See the Configuring the Database Connections section for more information on installing new JDBC drivers.
INDEX
Figure 1: Settings Main Window Using this application, you can configure the following: The location of the current robot project. The connections to databases that Kapow Mashup Server should be able to access. The proxy server that Kapow Mashup Server should use, if any. The use of certificates. The parameters to RoboServer when run as a service. The embedded Web Server. The bug reporting. The license information.
After changing any of the settings in Settings, you should click OK to store the new settings, and then restart all other applications that you have running, to make the changes take effect. You may also want to install additional certificates or change the certificates that are included by default. See the section Installing New Certificates.
10
INSTALLATION GUIDE
The databases are independent of each other and do not have to be placed on the same database server. You can have multiple object databases and RoboManager databases this may be especially useful for running simultaneous test and production environments. See the release notes for a complete list of supported databases.
INDEX
11
sure that existing databases are available. For each RoboManager database you intend to use, you must obtain a username and password with rights to create tables, drop tables, create indexes, drop indexes, select, insert, update, and delete in the database. After setting up the RoboManager databases, configure the connections to them as described in the section Configuring the Database Connections below. After configuring the connections, the required tables in the databases can be created by starting the RoboManager application it will guide you through the process.
Figure 2: Configuring Database Connections in Settings In the left side of the window is a list of the created connections. You can create new connections, remove connections, or change their order, using the buttons below the list. The currently selected connection is configured in the right side of the window.
12 A connection is configured using the following properties: Property Database Name Description
INSTALLATION GUIDE
The name of the database as seen from inside Kapow Mashup Server. Note that this is different from the Host Database Name below, although you can use the same name here if desired. The type of database, e.g. Oracle. The host name of the database server. This can be an IP-address, or the fully qualified domain name, e.g. myhost.kapowtech.com. The name of the database on the database server. The user name for the database. The password for the database. The port number on the database server. Leave it blank to use the default port number for the database type that you have selected. If the database uses a special character encoding you can enter the encoding here. Please refer to your database documentation for information on the name of the encoding. The maximum number of concurrent connections to the database.
Character Encoding
You can test the current connection by pressing the Test Connection button. Note: This will only test the connection to the database, it will not test that you have the proper permissions in the database. Connecting to Oracle: If you are using an Oracle database, you need to enter a user name and a role in the User Name property. For example, if the user name is sys, and the role is sysdba, you should enter sys as sysdba in the User Name property. Connecting to DB2: To connect to your DB2 database, you need to start a special server on the database server one which enables Java programs to connect to the database. To start the server, locate the file named db2jstart on the database server, and start it with the command db2jstrt 6789. You are also required to install the JDBC driver for DB2. The JDBC driver is
INDEX
13
included in your database installation. Look for a file called db2java.zip. When connecting to version 8.2 you should also copy db2jcc.jar. You must copy that file to your installation. On Windows, the default destination directory is: C:\Program Files\Kapow Mashup Server 6.4\lib\jdbc\ On Linux, the default destination directory is: ~/Kapow_Mashup_Server_6.4/lib/jdbc/ Connecting to Microsoft SQL Server 2005: To connector to your Microsoft SQL Server 2005, you must download the SQL Server 2005 JDBC driver from http://www.microsoft.com. The download contains a file named sql2005jdbc*.jar. You should copy this file to your installation. On Windows, the default destination directory is: C:\Program Files\Kapow Mashup Server 6.4\lib\jdbc\ On Linux, the default destination directory is: ~/Kapow_Mashup_Server_6.4/lib/jdbc/ Connecting to Microsoft SQL Server 2000: To connect to your Microsoft SQL Server 2000, you must download the Microsoft SQL Server 2000 Driver for JDBC from http://www.microsoft.com. The download contains three files named msbase.jar, mssqlserver.jar, and msutil.jar. You must copy these files to your installation. On Windows, the default destination directory is: C:\Program Files\Kapow Mashup Server 6.4\lib\jdbc\ On Linux, the default destination directory is: ~/Kapow_Mashup_Server_6.4/lib/jdbc/ Connecting to Microsoft SQL Server 7.0: To connect to your Microsoft SQL Server 7.0, you must buy the Sprint driver from i-net software http://www.inetsoftware.de/English/produkte/JDBC2/Default.htm. It is possible to download a trial version. The download contains a file named Sprinta2000.jar. You must copy that file to your installation. On Windows, the default destination directory is: C:\Program Files\Kapow Mashup Server 6.4\lib\jdbc\ On Linux, the default destination directory is: ~/Kapow_Mashup_Server_6.4/lib/jdbc/ Connecting to MySQL: To connect to your MySQL, you must download the MySQL JDBC driver (MySQL Connector/J) from http://www.mysql.com. The download contains a file named mysql-connector-java-*-bin.jar. You should copy this file to your installation. On Windows, the default destination directory is: C:\Program Files\Kapow Mashup Server 6.4\lib\jdbc\
INSTALLATION GUIDE
Connecting to PointBase Server: If you are using PointBase Server 4.3, you must either upgrade to version 4.4, 4.5, or obtain the latest 4.3 patch from PointBase. To connect to your PointBase Server, you must copy the PointBase JDBC driver from your database installation to your installation. The driver can normally be found in the PointBase installation directory, under lib. The file name is pbclient43.jar (for PointBase version 4.3), or pbclient44.jar (for PointBase version 4.4). Copy this file to your installation. On Windows, the default destination directory is: C:\Program Files\Kapow Mashup Server 6.4\lib\jdbc\ On Linux, the default destination directory is: ~/Kapow_Mashup_Server_6.4/lib/jdbc/
INDEX
15
Port Number
Multiple proxy servers can be specified in the Configuration/proxyserver.properties file in the installation folder (if the file does not exist you can simply create it). The file consists of a number of proxy server entries, each of the form:
proxyName.proxyServerUse = true proxyName.proxyServerHost = host name or IP address proxyName.proxyServerPort = port number proxyName.proxyServerUserName = user name proxyName.proxyServerPassword = password proxyName.proxyServerExcludedHostNames = list of hosts
Where proxyName is a name chosen to identify that particular proxy server. Each proxy server must have its own unique proxyName.
16
INSTALLATION GUIDE
The file can be updated on-the-fly while Kapow Mashup Server is running. Kapow Mashup Server will check the file every minute and reload the proxy server settings if the file has changed. When multiple proxy servers are specified, a new proxy server will be chosen every time a robot is run. Note that you can also specify a proxy server for an individual robot. This is done when you configure the robot in the Robot Configuration Window in RoboMaker. Such a proxy server will override any proxy servers specified in Settings or the proxyserver.properties file. See RoboMaker Users Guide for more information.
INDEX is done by clicking Start/Settings/Control Panel/Administrative Tool/Services) and locate the RoboServer service. Right-click and select Properties to start, stop, and enable automatic startup. On Linux, you are required to write a simple wrapper around the RoboServerService executable in the installation folder. Place the wrapper wherever your Linux distribution normally has services. See your Linux documentation for more information on installing services. The parameters used by RoboServer when started as a service can be set under the RoboServer tab in Settings. The parameters are the same as you would use for RoboServer on a command-line. See the RoboServer Users Guide for more information.
17
18
INSTALLATION GUIDE Select Properties under the File menu, and then select Certificates. This will open a Certificate dialog. Click Install Certificate. Click Next twice, Finish once, and exit the certificate dialog. Now you have installed the certificate in your browser. The next step is to export it to a file. Click Internet Options... in the Tools menu. This opens the Internet Options dialog. Go to the Content tab and click on the Certificates button. Now you need to locate the installed certificate. It is most likely in the tab called Other People. Select the certificate and press Export. Press Next twice. Save the certificate in the Certificates/Server folder in the installation folder as foo.cer. Restart all your Kapow Mashup Server applications.
Note: You must install the certificates on all installations that need to load from the particular HTTPS sites. Multiple client certificates can be installed in the Certificates tab of Settings. Unless a particular certificate is selected in a robot, the default certificate will be used. Only a robot configured to use Apache HTTP Client can take advantage of multiple certificates. To install a new client certificate press the plus sign. You will be prompted to select a certificate file which must be in PKCS12 format, and you must enter the password used to encrypt the file. Each client certificate must be given a unique ID which is later used in the robot to select the certificate. Remember that the certificates must be installed on all machines that need to run the robot.
INDEX
19
20
INSTALLATION GUIDE
Index
B
bug reporting, 17
L
license changing information, 17 Linux installing on, 6 running RoboServer as a service, 17
C
certificates, 17 clipping portlets upgrading, 19 clipping robots upgrading, 19
P
proxy server, 15
D
databases character encoding, 12 configuring connections, 10 DB2, 13 drivers, 8, 13, 14 Microsoft SQL Server, 13 object databases, 10 Oracle, 12 PointBase, 14 RoboManager databases, 10, 11 downloading RoboSuite, 6, 7
R
RoboServer running as a service, 17 RoboSuite Settings, 9 robot project default, 8 setting the current, 10
S
silent installation, 7
W
web server, 16 admin security, 16 clustering, 16 Windows installing on, 6 running RoboServer as a service, 17
F
folders in RoboSuite, 7
H
headless installation, 7