KPNS Database Setup Guide - SQL Server



Similar documents
KonyOne Server Prerequisites _ MS SQL Server

Integration Service Database. Installation Guide - Oracle. On-Premises

Database FAQs - SQL Server

Kony MobileFabric. Sync Windows Installation Manual - WebSphere. On-Premises. Release 6.5. Document Relevance and Accuracy

Kony MobileFabric. Sync Server Tomcat Installation Manual. On-Premises

Kony MobileFabric Messaging. Demo App QuickStart Guide. (Building a Sample Application

Exchange Service ReadMe and Configuration Setup


Defender Token Deployment System Quick Start Guide

EMR Link Server Interface Installation


Issue Tracking Anywhere Installation Guide

Upgrade Guide BES12. Version 12.1

Interworks. Interworks Cloud Platform Installation Guide


Fluency Enterprise Installation. Version 4.0.4

Test Center Enterprise. ios Device Onboarding Guide

Telelogic DASHBOARD Installation Guide Release 3.6

Core Protection for Virtual Machines 1

XenClient Enterprise Synchronizer Installation Guide

Install SQL Server 2014 Express Edition

Operating System Installation Guide

Dell One Identity Cloud Access Manager Installation Guide

AzMERIT Secure Browser Installation Manual For Technology Coordinators

System Administration Training Guide. S100 Installation and Site Management

Sophos Mobile Control Installation guide

DeviceAnywhere Enterprise. ios Device Onboarding Guide

Enterprise Manager. Version 6.2. Installation Guide

SafeCom G2 Enterprise Disaster Recovery Manual

Installation and Configuration Guide

NSi Mobile Installation Guide. Version 6.2

Specops Command. Installation Guide

CRESTRON-APP/CRESTRON-APP-PAD Control App for Apple ios

Configuring an Alternative Database for SAS Web Infrastructure Platform Services

BlackBerry Enterprise Service 10. Version: Configuration Guide

Parallels Containers for Windows 6.0

Installation Instructions

SA-Announce Cloud Services Mobile Notifier User Manual: ios and Android Version 1.0.0

BlackBerry Enterprise Server Express for Microsoft Exchange. Version: 5.0 Service Pack: 4. Upgrade Guide

SQL Server Express Edition 8-April-2014

Installation Guide for Pulse on Windows Server 2008R2

How To Create An Easybelle History Database On A Microsoft Powerbook (Windows)

Interact Intranet Version 7. Technical Requirements. August Interact

Installation Guide. Help Desk Manager. Version v12.1.0

Mobile Iron User Guide

StreamServe Persuasion SP4

WhatsUp Gold v16.1 Installation and Configuration Guide

Deltek Costpoint New Installation Guide for Microsoft SQL Server

SQL Server 2008 R2 Express Edition Installation Guide

Secure Messaging Server Console... 2

SafeCom Smart Printing Administrator s Quick Guide

Product Manual. MDM On Premise Installation Version 8.1. Last Updated: 06/07/15

Sophos Mobile Control Installation guide. Product version: 3

Configuration Guide. BES12 Cloud

LifeSize Control Installation Guide

Business Portal for Microsoft Dynamics GP Project Time and Expense Administrator s Guide

To install Multifront you need to have familiarity with Internet Information Services (IIS), Microsoft.NET Framework and SQL Server 2008.

AuthorizeNet Plug-in Configuration Guide

Tool-Assisted Knowledge to HL7 v3 Message Translation (TAMMP) Installation Guide December 23, 2009

Sophos Mobile Control Installation guide. Product version: 3.5

Key-Systems Registrar Plug-in PBA Configuration Guide Revision 1.1

NovaBACKUP xsp Version 15.0 Upgrade Guide

Using Microsoft Windows Authentication for Microsoft SQL Server Connections in Data Archive

CRESTRON-APP/CRESTRON-APP-PAD

FileMaker Server 14. FileMaker Server Help

Nexio Connectus with Nexio G-Scribe

Installation Guide for Pulse on Windows Server 2012

MITEL UNIFIED COMMUNICATOR ADVANCED

WhatsUp Gold v16.1 Database Migration and Management Guide Learn how to migrate a WhatsUp Gold database from Microsoft SQL Server 2008 R2 Express

EMC Data Domain Management Center

ADAM 5.5. System Requirements

WatchDox Administrator's Guide. Application Version 3.7.5

HP Intelligent Management Center v7.1 Virtualization Monitor Administrator Guide

QuickStart Guide for Mobile Device Management. Version 8.6

KonyOne Server Installation Guide - Linux

Parallels Panel. Parallels Small Business Panel 10.2: User's Guide. Revision 1.0

Business Portal for Microsoft Dynamics GP. Project Time and Expense Administrator s Guide Release 10.0

LogLogic General Database Collector for Microsoft SQL Server Log Configuration Guide

Server Installation Guide ZENworks Patch Management 6.4 SP2

Installing and Configuring vcenter Support Assistant

Multi-Factor Authentication Job Aide

Installation and Configuration Guide for Windows and Linux

Accounting Manager. User Guide A31003-P1030-U

What's New in BlackBerry Enterprise Server 5.0 SP4 for Novell GroupWise

Moving the TRITON Reporting Databases

Sophos Mobile Control Startup guide. Product version: 3.5

HYPERION SYSTEM 9 N-TIER INSTALLATION GUIDE MASTER DATA MANAGEMENT RELEASE 9.2

Guide for Setting Up Your Multi-Factor Authentication Account and Using Multi-Factor Authentication. Mobile App Activation

Migrating helpdesk to a new server

QuickStart Guide for Mobile Device Management

DeviceAnywhere Enterprise. Private System Installation Guide. Release 6.0

Installation and Deployment

Unity Error Message: Your voic box is almost full

SYSTEM SETUP FOR SPE PLATFORMS

FileMaker Server 13. FileMaker Server Help

Preparing a SQL Server for EmpowerID installation

FileMaker 12. ODBC and JDBC Guide

Citrix EdgeSight for NetScaler Rapid Deployment Guide

Architecture and Data Flow Overview. BlackBerry Enterprise Service Version: Quick Reference

Sophos Mobile Control Installation guide. Product version: 3.6

Transcription:

KPNS Database Setup Guide - SQL Server Kony Platform Release 5.0.7

Copyright 2013 Kony, Inc. All rights reserved. February, 2014 This document contains information proprietary to Kony, Inc., is bound by the Kony license agreements and may not be used except in the context of understanding the use and methods of Kony software without prior, express, written permission. Kony and Empowering Everywhere are trademarks of Kony, Inc. Microsoft, the Microsoft lo, Internet Explorer, Windows and Windows Vista are registered trademarks of Microsoft Corporation. Apple, the Apple lo, itunes, iphone, ipad, OS X, Objective-C, Safari and Xcode are registered trademarks of Apple, Inc.. Google, the Google lo, Android and the Android lo are registered trademarks of Google, Inc. Chrome is a trademark of Google, Inc. BlackBerry, PlayBook, Research in Motion, and RIM are registered trademarks of BlackBerry. All other terms, trademarks or service marks mentioned in this document have been capitalized and are to be considered the property of their respective owners. Copyright 2013 Kony, Inc. All Rights Reserved. Page 2 of 13

Revision History Date Document Version Description of Modifications/Release 09/28/2012 1.0 Document Release 03/20/2013 2.0 Added Cluster Controller, passbook and quartzalone support 08/13/2013 3.0 Added upgrade section for KPNS 5.0.6 02/13/2014 4.0 Updated the "Database Upgrade" section for KPNS 5.0.7 Copyright 2013 Kony, Inc. All Rights Reserved. Page 3 of 13

Table of Contents 1. Overview 5 1.1 Scope 5 1.2 Intended Audience 5 1.3 Typographical Conventions 5 1.4 Contact Us 6 2. Introduction 7 2.1 Prerequisites 8 2.2 Scripts for Kony database setup: 8 2.3 Approach for KPNS Database Setup 9 3. Database Setup 10 3.1 Steps for Database Setup 10 3.2 Database Setup Verification 11 3.3 Database Setup Complete 11 4. Database Upgrade 12 4.1 Steps for Database Upgrade 12 4.2 Upgrade KPNS from version 5.0.5 to version 5.0.7 12 4.3 Upgrade KPNS from version 5.0.6 to version 5.0.7 12 4.4 Database Upgrade Verification 13 4.5 Database Upgrade Complete 13 Copyright 2013 Kony, Inc. All Rights Reserved. Page 4 of 13

1. Overview KonyOne Push Notification (KPN) database gives you an overall idea of the KPN database system requirements, setup and configuration procedures. This document details all the detail steps required to setup the KPN SQL Server database.this database allows you to send Push Notifications to multiple platforms ( for example, iphone, Android, BlackBerry and Windows). 1.1 Scope This document describes the setup and configuration of KPN database. 1.2 Intended Audience This document is intended for database administrators and other technical personnel responsible for setting up and maintaining the Kony Push Notification Database. 1.3 Typographical Conventions The following are the typographical conventions used throughout the document: Conventions Explanation User input text, system prompts and responses File Path Monospace Commands Program Code File Names. Emphasis Italic Names of Books and Documents New Terminology. Windows Menus Buttons Bold Icons Fields Tabs URL Note: Important! Folders. Active link to a URL. Provides helpful hints or additional information. Highlights actions or information that might cause problems to systems or data. Copyright 2013 Kony, Inc. All Rights Reserved. Page 5 of 13

1.4 Contact Us We welcome your feedback on our documentation. Write to us at techpubs@kony.com.for technical questions, suggestions, comments, or to report problems on Kony's product line, contact productsupport@kony.com. Copyright 2013 Kony, Inc. All Rights Reserved. Page 6 of 13

2. Introduction Kony Push Notifications (KPN) provides a generic Push Notifications Service that allows you to send Push Notifications to multiple platforms (for example, iphone, Android, Blackberry, and Windows) using a single interface, without having to worry about the requirements for individual platforms (for example, formatting, status query, retry on failure etc.). KPN also allows you to send Push Notifications to customer specific IDs (for example email addresses) that a customer provides; rather than Unique Identifiers (Unique Identifier is provided by a Push Notifications Service provider when a user successfully registers for Push Notifications). You can also query the status of the Push Notification messages. Copyright 2013 Kony, Inc. All Rights Reserved. Page 7 of 13

2.1 Prerequisites Prerequisites for installing the KPNS Database for SQL Server: 1. Only a qualified SQL Server Database Administrator (DBA) must handle the SQL Server Database setup in order to successfully complete the KPNS database deployment. 2. SQL Server software must be installed and basic database must have been already created, to continue with KPNS database schema setup. 3. Database collation has to be set for Database, this is possible while creating database, hence ensure that create the database needed for KPNS with your required language as Database collation, for example, for Arabic language support, use Database collation as Arabic_100_CI_AS, similarly for other languages use appropriate collation for support. Use SQL Server Management Studio to create database with name as kpnsdb with appropriate Collation support. Read this information to understand the System requirements and necessary Software before installing KPNS. 2.1.1 Hardware Requirements (per physical instance) Component Requirement Processor Dual Core 2.2 MHz Memory 8 GB Internal Storage 73 GB (15K RPM) with 2 Drives (Raid 1) Network 1 Gigabit Ethernet Ports IP Configuration Statically assigned IP addressing Operating System Windows 2.1.2 Software System Requirements (per physical instance) Purpose Database software SQL Server 2008 Server Name 2.2 Scripts for Kony database setup: The Database scripts are available in the SQL_Server-scripts.tar file on the Kony Developer Portal at: http://developer.kony.com/pluginreleases. Navigate to appropriate major GA version and download the files from PushNotificationServer > Download > Scripts. Approximate time for KPNS database setup: 30 mins (excluding SQL Server database software installation). Copyright 2013 Kony, Inc. All Rights Reserved. Page 8 of 13

2.3 Approach for KPNS Database Setup You need to follow the "bottom>up" approach to perform the KPNS database setup. It would be performed in the following order: 1. Operating System 2. Storage 3. Clusterware (if any) 4. Database software and Database 5. Finally, Web-App servers and JDBC configuration Copyright 2013 Kony, Inc. All Rights Reserved. Page 9 of 13

3. Database Setup You can perform the database setup by executing the script files: SQL Server Database folder contains the SQL_Server-scripts.tar file. This file contains the following script files: 1. SQL_Server_CREATE_DB_SCHEMAS.SQL 2. SQL_Server_KPNSDB_Create.sql 3. SQL_Server_KPNSDB_STOREDPROCEDURE.sql 4. SQL_Server_QUARTZALONE_Create.sql 5. SQL_Server_USERMGMT_CREATE.sql We assume that the SQL_Server-scripts.tar file is copied to and extracted at some folder on the system. Here after the location where the file is copied/extracted is referred to as <File_Location>. 3.1 Steps for Database Setup Perform the following tasks to setup the database: 1. Log in to the host machine/server which has access to SQL Server instance and navigate to the location of the script files. Using SQL Server Management Studio,create the database with the name KPNS in your SQL Server instance along with the schemas named as kpnsdb,usermgmt also,create a database login dbclient with SQL Server authentication which will be owning all the KPNS database and schemas. 2. Execute scripts using SQL Server Management Studio s query editor or using sqlcmd client. For sqlcmd method follow the following steps. > cd <File_Location> > sqlcmd -S "<IP/hostname\SQLSERVER-instancename>"-U dbclient - P "kony123" Note: Use either IP address or <hostname\sqlserver-instance name> while connecting to SQL Server using sqlcmd,also please note the password used here is default, please use actual password while executing the commands. 3. Execute SQL_Server_CREATE_DB_SCHEMAS.sql script file.this script creates database and schemas followed by creation of kpnsdb objects in kpnsdb schema. :r "SQL_Server_CREATE_DB_SCHEMAS.SQL" :r "SQL_Server_KPNSDB_Create.sql" :r "SQL_Server_KPNSDB_STOREDPROCEDURE.sql" Copyright 2013 Kony, Inc. All Rights Reserved. Page 10 of 13

4. Execute the following script file.this scripts creates QUARTZ framework objects in the QUARTZALONE schema. :r "SQL_Server_QUARTZALONE_Create.sql" 5. Execute SQL_Server_usermgmt_create.sql script file.this script creates usermgmt objects in usermgmt schema. :r "SQL_Server_USERMGMT_CREATE.sql" 3.2 Database Setup Verification Run the following commands to check if the deployment is successful and all the objects are created successfully. use master select name from sys.databases use KPNS SELECT TABLE_SCHEMA, TABLE_NAME,TABLE_TYPE FROM [KPNS].[INFORMATION_SCHEMA].[TABLES] order by 3,1,2 3.3 Database Setup Complete Once you are done with all the Database setup procedures, you can now proceed with the installation of KPNS Server on application servers. For more details, refer the "Install and Configure KPNS" section in the "Kony_Push_Notifications_User_Guide" document. Copyright 2013 Kony, Inc. All Rights Reserved. Page 11 of 13

4. Database Upgrade You can upgrade the database setup by executing the upgrade script files available in the SQL_Serverscripts.tar file. upgrade_from_5.0.5_to_5.0.7_kpnsdb.sql upgrade_from_5.0.6_to_5.0.7_kpnsdb.sql upgrade_from_5.0.6_to_5.0.7_quartzalone.sql Important: If you are using internationalization, please refer Step 3 in the Prerequisites section. We assume that the SQL_Server-scripts.tar file is copied to and extracted at some folder on the system. Here after the location where the file is copied/extracted is referred to as <File_Location>. 4.1 Steps for Database Upgrade Perform the following tasks to upgrade the database: 1. Login to the host machine/server which has access to SQL Server instance and navigate to the location of the script files. 2. Execute upgrade scripts using SQL Server Management Studio s query editor or using sqlcmd client. For sqlcmd method follow the following steps. > cd <File_Location> > sqlcmd -S "<IP/hostname\SQLSERVER-instancename>"-U dbclient - P "<password>" Note: Use either IP address or <hostname\sqlserver-instance name> while connecting to SQL Server using sqlcmd,also please note the password used here is default, please use actual password while executing the commands. 4.2 Upgrade KPNS from version 5.0.5 to version 5.0.7 Execute the following statement. These script updates objects in KPNSDB and QUARTZALONE schema. :r "upgrade_from_5.0.5_to_5.0.7_kpnsdb.sql" :r "upgrade_from_5.0.6_to_5.0.7_kpnsdb.sql" :r "upgrade_from_5.0.6_to_5.0.7_quartzalone.sql" Important: Please verify the scripts execution. 4.3 Upgrade KPNS from version 5.0.6 to version 5.0.7 Execute the following statement. These script updates the objects in KPNSDB and QUARTZALONE schema. Copyright 2013 Kony, Inc. All Rights Reserved. Page 12 of 13

:r "upgrade_from_5.0.6_to_5.0.7_kpnsdb.sql" :r "upgrade_from_5.0.6_to_5.0.7_quartzalone.sql" Important: Please verify the scripts execution. Note: While running the below statements if you get any error related data already exists and column data type not allowed to change, please delete the data from the MessageEntry and messagerequest tables and then run the below commands again. 4.4 Database Upgrade Verification Run the following commands to check if the deployment is successful and all the objects are created successfully. use master select name from sys.databases use KPNS SELECT TABLE_SCHEMA, TABLE_NAME,TABLE_TYPE FROM [KPNS].[INFORMATION_SCHEMA].[TABLES] order by 3,1,2 4.5 Database Upgrade Complete Once you are done with all the Database upgrade procedures, you can now proceed with the upgrade of KPNS. For more details, refer the "Upgrade KPNS' section in the "Kony_Push_Notifications_User_Guide" document. Copyright 2013 Kony, Inc. All Rights Reserved. Page 13 of 13