KNIME Server Workshop



Similar documents
What s Cooking in KNIME

NetBeans IDE Field Guide

Geo-Localization of KNIME Downloads

How To Test Your Web Site On Wapt On A Pc Or Mac Or Mac (Or Mac) On A Mac Or Ipad Or Ipa (Or Ipa) On Pc Or Ipam (Or Pc Or Pc) On An Ip

Installation Guide of the Change Management API Reference Implementation

5.1 Features Denver CO 80202

EVALUATION ONLY. WA2088 WebSphere Application Server 8.5 Administration on Windows. Student Labs. Web Age Solutions Inc.

OpenLDAP Oracle Enterprise Gateway Integration Guide

Actian Vortex Express 3.0

Introduction to Oracle Mobile Application Framework Raghu Srinivasan, Director Development Mobile and Cloud Development Tools Oracle

Lab - Building an Internet of Things Application Hands-On Lab

Salesforce.com Integration - Installation and Customization Guide

Liferay Portal 6.2. Key Features List

Data and Machine Architecture for the Data Science Lab Workflow Development, Testing, and Production for Model Training, Evaluation, and Deployment

Publish Cisco VXC Manager GUI as Microsoft RDS Remote App

Getting Started Guide for Developing tibbr Apps

Building and Using Web Services With JDeveloper 11g

TIBCO Spotfire Statistics Services Installation and Administration. Release 5.5 May 2013

Developing ASP.NET MVC 4 Web Applications Course 20486A; 5 Days, Instructor-led

MOC 20488B: Developing Microsoft SharePoint Server 2013 Core Solutions

JMETER - MONITOR TEST PLAN

Gateway Apps - Security Summary SECURITY SUMMARY

Developing ASP.NET MVC 4 Web Applications MOC 20486

IBM API Management Overview IBM Corporation

This course provides students with the knowledge and skills to develop ASP.NET MVC 4 web applications.

Sage Integration Cloud Technology Whitepaper

Mobilize workforce using Fiori apps: Graybar Story

Load testing with. WAPT Cloud. Quick Start Guide

Configuring Apache HTTP Server as a Reverse Proxy Server for SAS 9.2 Web Applications Deployed on BEA WebLogic Server 9.2

Mashery OAuth 2.0 Implementation Guide

Sitecore InDesign Connector 1.1

TIBCO Spotfire Statistics Services Installation and Administration Guide. Software Release 5.0 November 2012

Step-by-Step guide for SSO from MS Sharepoint 2010 to SAP EP 7.0x

OpenText Information Hub (ihub) 3.1 and 3.1.1

Enterprise Service Bus


Creating a generic user-password application profile

Practice Fusion API Client Installation Guide for Windows

Crystal Reports for Eclipse

SafeNet KMIP and Google Cloud Storage Integration Guide

HP OfficeJet Pro 276DW Scan to Network Folder and Digital Fax to Network Folder not working after firmware upgrade

DreamFactory on Microsoft SQL Azure

How do I set up a branch office VPN tunnel with the Management Server?

JBoss SOAP Web Services User Guide. Version: M5

FormAPI, AJAX and Node.js

Configuration Guide - OneDesk to SalesForce Connector

Creating Web Services Applications with IntelliJ IDEA

IBM WebSphere Application Server V8.5 lab Basic Liberty profile administration using the job manager

Microsoft Active Directory Oracle Enterprise Gateway Integration Guide

The Security Framework 4.1 Programming and Design

Revolution R Enterprise DeployR 7.1 Installation Guide for Windows

An Oracle White Paper May Creating Custom PDF Reports with Oracle Application Express and the APEX Listener

Apache Web Server System Description

TIBCO Spotfire Statistics Services Installation and Administration Guide

HP Operations Orchestration Software

JReport Server Deployment Scenarios

design coding monitoring deployment Java Web Framework for the Efficient Development of Enterprise Web Applications

Kentico CMS, 2011 Kentico Software. Contents. Mobile Development using Kentico CMS 6 2 Exploring the Mobile Environment 1

USER GUIDE Deploying Your Application to WinHost

Creating a User Profile for Outlook 2013

SAP BusinessObjects Design Studio Overview. Jie Deng, Product Management Analysis Clients November 2012

CrownPeak Playbook CrownPeak Hosting with PHP

Securing SAS Web Applications with SiteMinder

TIBCO Spotfire Statistics Services Installation and Administration

Adobe Marketing Cloud Bloodhound for Mac 3.0

Developing ASP.NET MVC 4 Web Applications

Usage of Evaluate Client Certificate with SSL support in Mediator and CentraSite

CORISECIO. Quick Installation Guide Open XML Gateway

Avalanche Site Edition

Identity Implementation Guide

Introduction to Google Apps for Business Integration

Cloud Services ADM. Agent Deployment Guide

Database Forms and Reports Tutorial

StreamServe Persuasion SP4 StreamServe Connect for SAP - Business Processes

2692 : Accelerate Delivery with DevOps with IBM Urbancode Deploy and IBM Pure Application System Lab Instructions

vcenter Orchestrator Developer's Guide

Siebel Web UI Dynamic Developer Kit Guide. Siebel Innovation Pack 2013 Version 8.1/8.2 September 2013

Collaborative Open Market to Place Objects at your Service

App Orchestration 2.5

NASA Workflow Tool. User Guide. September 29, 2010

Using EMC Documentum with Adobe LiveCycle ES

TIBCO Spotfire Automation Services 6.5. User s Manual

Glassfish Architecture.

Getting started with API testing

Investment Management System. Connectivity Guide. IMS Connectivity Guide Page 1 of 11

JBoss AS Administration Console User Guide. by Shelly McGowan and Ian Springer

SuperOffice Pocket CRM

Glassfish, JAVA EE, Servlets, JSP, EJB

BMC Remedy Integration Guide

PARTNER INTEGRATION GUIDE. Edition 1.0

Parallels Plesk Automation

TimeTrade Salesforce Connector Administrator Guide

Livezilla How to Install on Shared Hosting By: Jon Manning

HP Operations Orchestration Software

Sample copy. Introduction To WebLogic Server Property of Web 10.3 Age Solutions Inc.

Visualizing a Neo4j Graph Database with KeyLines

SelectSurvey.NET Developers Manual

Accessing Data with ADOBE FLEX 4.6

SyncThru Database Migration

vcommander will use SSL and session-based authentication to secure REST web services.

Transcription:

KNIME Server Workshop Jon Fuller Application Scientist KNIME.com AG

Table of Contents Server Architecture Server Administration Workflow and Data Sharing Metanode / Subnode Templates Remote & Schedule Execution KNIME WebPortal Webservice Interface 2

Architecture & Administration 3

KNIME Server Functional Setup Wizard Execution Tomcat/TomEE App Server REST/SOAP Interface Workflow Versioning / Diff WebPortal Templates

KNIME Server Architecture KNIME WebPortal VAADIN 7 KNIME Server Tomcat/TomEE Application Server KNIME Executor (headless KNIME Analytics Platform) Java 8 5

Why TomEE? Apache TomEE is based on Apache Tomcat Much higher adoption than Glassfish Additional libraries to support EJB Communication solely via HTTP Less firewallproblems SSL Encryption for client- and web-to-server communication Installation and deployment considerably easier Better user and group management Simultaneous connection to multiple servers KNIME Server 4.0 available mid of 2015 6

Installation Overview Install Java 8 Install KNIME Analytics Platform Create shared workflow repository Install Tomcat/TomEE 1.7 Configure Application Server JVM Options KNIME Server settings Create email resource Define users (or configure LDAP/AD) Deploy KNIME Server Deploy KNIME WebPortal 7

Administration Overview Typical responsibilities of the KNIME Server Administrator: Perform server side updates (~ 2x per year) Intermediate bug fix releases provided if necessary Structure the workflow repository Manager user access via permissions 8

Client Access 9

KNIME Server Client Extensions New features are needed for the KNIME Analytics Platform to access the Server. Install the KNIME.com Client- Side Extensions from the KNIME Server update site. 10

Defining a new ServerSpace Server connections are shown as mount points in the KNIME Explorer. To add a new mount point simply: 1. Click on the configure button in the KNIME Explorer. 2. Click New 3. Configure a ServerSpace with your details 11

Defining a new ServerSpace Server connections are shown as mount points in the KNIME Explorer. To add a new mount point simply: 1. Click on the configure button in the KNIME Explorer. 2. Click New 3. Configure a ServerSpace with your details 12

ServerSpace as a shared repository The Server provides an area in the Explorer for sharing work with your colleagues. Use workflow groups to organize your workflows, metanodes, and data files. Workflow groups Data files Workflows Metanodes To move resources simply drag and drop or copy and paste 13

Permissions Owner Groups Everybody Else Available in KNIME Server 14

Remote Execution and Scheduling Available in KNIME Server 15

Remote Execution and Scheduling Available in KNIME Server 16

Workflow Jobs Remotely executed workflows are run as Jobs A workflow job is a copy of the workflow with specific settings and data. Jobs are tied to a particular version of a workflow Orphaned jobs are colored red Jobs have messages (e.g. successful, or failure) Can be saved as workflow for data provenance and debugging (right-click save as) 17

KNIME WebPortal 18

WebPortal Enabled Data Mining (legacy) 19

Wrapped Metanodes Similar to Metanodes Differ in key areas: Limited variable scope (c.f. global scope for Metanodes) Use with Quick Form nodes (Analytics Platform 3.1+) Key to advanced functionality in KNIME products: Use for new WebPortal pages 20

Wrapped Metanodes Collapse Select Wrap 21

Metanodes vs. Wrapped Metanodes (WebPortal) Metanodes Quick Forms Legacy Standard Variable scope Global Local Wrapped Metanodes WebPortal Execution Old New (work with loops/switches) JavaScript views in WebPortal Not supported Supported WebPortal Usage Quickforms used globally Views/Quickforms must be embedded in a Wrapped Metanode Recommended uses Legacy workflows New developments Compatibility KNIME Server 3.x/4.x KNIME Server 4.2+ * Valid for KNIME Analytics Platform 3.1 and above 22

WebPortal Enabled Data Mining 23

Webportal Enabled Data Mining Execution on Server via WebPortal - 1 24

Webportal Enabled Data Mining Execution on Server via WebPortal - 2 25

Webportal Enabled Data Mining Execution on Server via WebPortal - 3 26

Webportal Enabled Data Mining Execution on Server via WebPortal - 4 27

Webportal Enabled Data Mining Execution on Server via WebPortal - 5 28

Webportal Enabled Data Mining Execution on Server via WebPortal - 6 29

KNIME WebPortal: URL Parameter 30

WebPortal Templates (I)

WebPortal Templates (II)

WebPortal Templates (III)

WebPortal Templates (IV)

WebPortal Templates (V) Layout can be configured by templates Footer & header Main panel Login page Custom stylesheet Custom JavaScript libraries Can be re-used in JS-based views

WebPortal Templates (VI) Templates are part of the configuration and are not overridden by updates

Webservice Access (SOAP and REST) 37

SOAP Webservice API SOAP Based, Installed with the KNIME Server application http://<servername>:8080/genericworkflowservice/genericworkflow?wsdl Supports authentication Execute workflows from within KNIME or other applications Code examples available upon request 38

KNIME Server: Webservice Interface 39

Programmatic access URL wsdlurl =...; QName name = new QName("http://www.knime.com/soap", "GenericWorkflowService"); Service knimeservice = Service.create(wsdlURL, name); GenericWorkflowWebService accessor = knimeservice.getport(genericworkflowwebservice.class); BindingProvider bin = ((BindingProvider) accessor); Map<String, Object> requestcontext = bin.getrequestcontext(); requestcontext.put(bindingprovider.username_property, user); requestcontext.put(bindingprovider.password_property, pass); accessor.listworkflows(); accessor.invokeasync(...); 40

SOAP Nodes Use to access KNIME Web services (or others) Supports workflow credentials 41

REST Interface Main addition to KNIME Server 4.1 REST = Representational State Transfer Communication based on HTTP Usually clear text Many possible clients Web browser Java applications (e.g. via JAX-RS) KREST nodes https://www.knime.org/blog/the-knime-server-rest-api https://www.knime.org/blog/giving-the-knime-server-a-rest 42

REST Example: List Workflows (I) Via browser http://localhost:8080/com.knime.enterprise.server/rest/ v4/repository/list Requires user authentication

REST Example: List Workflows (II) Via KNIME and KREST nodes

REST Example: Execute Workflow (I) Via browser Load workflow http://localhost:8080/com.knime.enterprise.server/rest/v4 /jobs/load/ugm 2015/REST Demo/Report Returns unique job ID Execute job http://localhost:8080/com.knime.enterprise.server/rest/v4 /jobs/syncexec/24a76fec-a74e-45ba-b03f-cabf528b6a69 Returns final status Render report http://localhost:8080/com.knime.enterprise.server/rest/v4 /jobs/renderreport/24a76fec-a74e-45ba-b03fcabf528b6a69/pdf Format can be specified in request

REST Example: Execute Workflow (II) Via KNIME and KREST nodes

REST Example: Live-Scoring on server (I) Getexpectedparameter format fromworkflow Set input parameters in input quickform nodes Execute workflow Get results from quickform output nodes Scoring workflow, called via REST

REST Example: Live-Scoring on server (II) Getexpectedparameter format fromworkflow Set input parameters in input quickform nodes Execute workflow Get results from quickform output nodes

REST Example: Live Scoring on server (III) Via Call Remote Workflow node Analyzes input parameters Prepare input data accordingly Executes job and gets back results

JSON Type & Utility Nodes JSON JavaScript Object Notation Hierarchical data format

JSON Type & Utility Nodes - Applications Web Service consumption ((K)REST) NoSQL databases / MongoDB KNIME Web Service

JSON JSON Path $.['UGM sessions'].['talks'].[*].['presenter']

KNIME.com AG Technoparkstr. 1 8005 Zurich Switzerland education@knime.com