Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

Contents:

Table of Contents

Related pages:

Page Tree
rootKOP Knowledge Base
excerpttrue


System Architecture Overview

Kiuwan On-Premises (KOP) is based on a client-server architecture with the following major server components:

...

KOP also supports distributed architecture with high-availability and load-balancing. For these scenarios, please contact Kiuwan support.

Server Host Requirements

Installation requirements

Kiuwan On-Premises (KOP)  solution is deployed on a centralized server host (all the components are installed in the same host) and accessed by users via HTTP or by IDE plugins (Eclipse, Visual Studio).

...

  • Recommended size for KOP persistent volume is 50 Gb
  • Try to specify an independent disk/partition, so you can easily increase it later if needed

CPU and memory requirements

 Server CPU and memory requirements depend on several factors:

...

  • In case you need a higher number of parallel analyses executions, you should add 1 CPU core and 512 Mb for any additional required parallel analysis
  • In case you need to improve response time to web users, conside to add 1Gb for every 50 additional web users.

 

Installation steps

Before installing KOP, make sure that you understand the System Architecture Overview, that your server host(s) complies with the Server Host Requirements, and that you have properly prepared the Environment as follows:

 

Info

Before installing KOP, make sure your server host complies with the Server Host Requirements

 

Installation Steps:
Table of Contents
includeStep.*

 

Step 1. Unpackage KOP Installation Package

Info

KOP Installation Package consists on a tarball gz file (docker-for-kiuwan_master.X.Y.tar.gz) containing all the kiuwan docker files.

  • Copy the distribution tarball to your host server’s installation directory ($KOP_INSTDIR)
  • Uncompress the distribution tarball  
    • tar xvzf docker-for-kiuwan_master.X.Y.tar.gz
  • This will create a $KOP_INSTDIR/docker-for-kiuwan_master.X.Y directory with all the kiuwan docker files

  • In $KOP_INSTDIR/docker-for-kiuwan_master.X.Y you will find a file named Dockerfile where you will configure the Kiuwan docker image.

 

KOP Licenses are distributed through a zip file that contains two license distribution zipfiles:

  • license.zip
  • configq1.zip

To install the licences:

  1. Copy both zipfiles to "license" directory of you KOP installation directory
    • cp license.zip $KOP_INSTDIR/docker-for-kiuwan_master.X.Y/license
    • cp configq1.zip $KOP_INSTDIR/docker-for-kiuwan_master.X.Y/license
  2. Continue configuring and building your KOP image

Please visit How to Install KOP Licenses is you need to reinstall (or upgrade) licenses after the docker container is built.

 

Step 2. Configure Kiuwan Docker image

Info

After unpackaging, you should configure the docker image to be built.

Configuration of Kiuwan docker image is currently done by creating a configuration file (settings.custom) that will be used during the image building process.

There's a file (settings.tpl) you can use as a template to configure your own settings.

  1. Create settings.custom file by copying the template file
    • cp settings.tpl settings.custom
  2. Edit the properties of settings.custom file

 

...

You can visit Advanced Configuration for additional configuration parameters.

 

Step 3. Build the Kiuwan Docker image

Info

After configuration, you will build the Kiuwan docker image.

 

IMPORTANT: Please be sure you have already installed KOP licenses, otherwise the docker image will not be built !!

 

To build the docker image:

     cd $KOP_INSTDIR/vX.Y
     ./create_and_init_kop.sh

 

This step requires Internet connectivity.

If your installation uses an proxy, you should have previolsy configured the proxy settings.

 

In case you need to execute the Kiuwan container in a host server without Internet connectivity:

  1. Build the image in a connected server host
  2. Save the image, transfer it to the target host server and then load it and execute it (as further described)

 

...

After image creation, you will be able to list the images in your docker server and identify your kiuwan image by issuing the next command:

     docker images

 

Step 3.1 (Optional) Moving the image to another server host

After creating the image, if you want to move it to another host server you first must save it to a tarball by executing: 

...

     docker load --input kop_v12_saved_image.tar 

 

Step 4. Executing the Kiuwan Docker container

Info

After executing docker image build script (./create_and_init_kop.sh ), two scripts are generated based on settings.custom configuration file

 

    run_kop.sh 

Script to start the Kiuwan docker container and make KOP fully available and accessible to users.

 

    run_init_kop.sh 

Script to initilize the Kiuwan docker container (i.e. resetting completely the KOP installation to factory defaults) without to create a new image. This script will remove any existing data of KOP installation (for example, all the database contents will be deleted).

 

IMPORTANT:

  • These scripts are based on settings.custom values at the momment of building the docker image.
  • If you later change settings.custom file, the new configuration values will not be applied until a new image is built (and new scripts will be generated)

 

 

You can stop the Kiuwan container by issuing the following command:

     docker stop <my_container_name>

 

 

Step 4.1 Execution in debug mode (only sshd) 

Just in case you are running with problems while executing Kiuwan container, you can run it in debug mode.

...

Info

After the container is built, you can execute (run) the Kiuwan container in debug mode by issuing the following command:

 

     docker run --rm --name <my_container_name> \
                     -h <my_container_host_name> \
                     -v <server_host_mount_dir:container_mount_dir> \
                     -p <ssh_port_ext>:22  \
                     -d \
                     <image_name:version>


Step 5. Accessing Kiuwan On Premise


KOP built-in users

KOP comes with the following built-in users.

  • kiuwanadmin (password: kiuwanadmin)
    • access to Kiuwan "functional" administration modules such as Users, Applications and Model Management  (see Admin Guide )
    • log in as kiuwanadmin to create users of your KOP instance
  • sysadmin (password: sysadmin)
    • log in as sysadmin to access functionalities related to monitoring and tuning KOP execution
    • sysadmin will give you access KOP sysconsole


KOP URL

Once Kiuwan On Premise container is running, you can access it from a browser in the following URL:

...

where KIUWAN_HOST and KIUWAN_PORT match the values of those properties as configured in settings.custom

 

 

Advanced Configuration


As above specified, settings.custom file allows you to specify most (but not all) configuration parameters.

...