Installing Microsoft SQL Server Linux ODBC Driver For Use With Kognitio Analytical Platform



Similar documents
Installing and Configuring MySQL as StoreGrid Backend Database on Linux

Accessing SQL Server Data from Oracle on Linux. for FREE!

StoreGrid Backup Server With MySQL As Backend Database:

Kognitio Technote Kognitio v8.x Hadoop Connector Setup

ODBC Driver User s Guide. Objectivity/SQL++ ODBC Driver User s Guide. Release 10.2

Architecting the Future of Big Data

Cloudera ODBC Driver for Apache Hive Version

Querying Databases Using the DB Query and JDBC Query Nodes

Windows Template Creation Guide. How to build your own Windows VM templates for deployment in Cloudturk.

Architecting the Future of Big Data

How to Restore a Linux Server Using Bare Metal Restore

Trusted RUBIX TM. Version 6. ODBC Guide. Revision 7 RELATIONAL DATABASE MANAGEMENT SYSTEM TEL Infosystems Technology, Inc.

Architecting the Future of Big Data

How to Back Up and Restore an ACT! Database Answer ID 19211

Table of Contents. Overview Features Applications Hardware requirement Card dimensions Software Installation...

Supported Platforms. HP Vertica Analytic Database. Software Version: 7.0.x

vcenter Operations Management Pack for SAP HANA Installation and Configuration Guide

Avira Update Manager User Manual

Cloudera ODBC Driver for Apache Hive Version 2.5.5

Supported Platforms. HP Vertica Analytic Database. Software Version: 7.1.x

Installing LearningBay Enterprise Part 2

AlienVault Unified Security Management (USM) 4.x-5.x. Deploying HIDS Agents to Linux Hosts

How To Install Storegrid Server On Linux On A Microsoft Ubuntu 7.5 (Amd64) Or Ubuntu (Amd86) (Amd77) (Orchestra) (For Ubuntu) (Permanent) (Powerpoint

Thoroughbred Basic TM ODBC Client Capability Customization Supplement

ThinkServer RD550 and RD650 Operating System Installation Guide

Computer Science and Engineering Linux Cisco VPN Client Installation and Setup Guide

Matisse Installation Guide for MS Windows

Getting Started with RES Automation Manager Agent for Linux

RHadoop Installation Guide for Red Hat Enterprise Linux

PARALLELS SERVER 4 BARE METAL README

Intelligent Power Protector User manual extension for Microsoft Virtual architectures: Hyper-V 6.0 Manager Hyper-V Server (R1&R2)

Working with the Cognos BI Server Using the Greenplum Database

Dell UPS Local Node Manager USER'S GUIDE EXTENSION FOR MICROSOFT VIRTUAL ARCHITECTURES Dellups.com

How To Run A Password Manager On A 32 Bit Computer (For 64 Bit) On A 64 Bit Computer With A Password Logger (For 32 Bit) (For Linux) ( For 64 Bit (Foramd64) (Amd64 (For Pc

NetIQ Sentinel Quick Start Guide

Setting Up ALERE with Client/Server Data

Connect to an SSL-Enabled Microsoft SQL Server Database from PowerCenter on UNIX/Linux

SimbaEngine SDK 9.4. Build a C++ ODBC Driver for SQL-Based Data Sources in 5 Days. Last Revised: October Simba Technologies Inc.

User's Guide - Beta 1 Draft

NSi Mobile Installation Guide. Version 6.2

ThinkServer RD350 and RD450 Operating System Installation Guide

ThinkServer RD540 and RD640 Operating System Installation Guide

IceWarp Server. Log Analyzer. Version 10

How To Install Acronis Backup & Recovery 11.5 On A Linux Computer

Active Directory Management. Agent Deployment Guide

Browser Client 2.0 Admin Guide

Local Caching Servers (LCS): User Manual

Installation and Configuration Guide Simba Technologies Inc.

MSSQL quick start guide

Simba ODBC Driver with SQL Connector for Apache Hive

Release Notes for McAfee(R) VirusScan(R) Enterprise for Linux Version Copyright (C) 2014 McAfee, Inc. All Rights Reserved.

Simba ODBC Driver with SQL Connector for Apache Hive

Supported Platforms HPE Vertica Analytic Database. Software Version: 7.2.x

Install guide for Websphere 7.0

Learning about Informix and the Open Admin Tool (OAT)

Trusted RUBIX TM. Version 6. Installation and Quick Start Guide Red Hat Enterprise Linux 6 SELinux Platform. Revision 6

Using Microsoft Expression Web to Upload Your Site

Installation Instructions Release Version 15.0 January 30 th, 2011

AWS Schema Conversion Tool. User Guide Version 1.0

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

PRECISION v16.0 MSSQL Database. Installation Guide. Page 1 of 45

Abstract. Microsoft Corporation Published: November 2011

Copyright by Parallels Holdings, Ltd. All rights reserved.

Installing Red Hat Enterprise Virtualization Manager RHEV-M on Windows 2008 R2.

Acronis Backup & Recovery 10 Server for Linux. Update 5. Installation Guide

AXIGEN Mail Server. Quick Installation and Configuration Guide. Product version: 6.1 Document version: 1.0

Massey University Follow Me Printer Setup for Linux systems

LT Auditor Windows Assessment SP1 Installation & Configuration Guide

AWS Schema Conversion Tool. User Guide Version 1.0

Moving to Plesk Automation 11.5

Using Red Hat Enterprise Linux with Georgia Tech's RHN Satellite Server Installing Red Hat Enterprise Linux

National Fire Incident Reporting System (NFIRS 5.0) Configuration Tool User's Guide

Installation Guide. McAfee VirusScan Enterprise for Linux Software

Set Up Hortonworks Hadoop with SAP Sybase IQ

CTERA Agent for Linux

Intel Storage System SSR212CC Enclosure Management Software Installation Guide For Red Hat* Enterprise Linux

FileMaker 11. ODBC and JDBC Guide

About This Document 3. About the Migration Process 4. Requirements and Prerequisites 5. Requirements... 5 Prerequisites... 5

Leveraging SAP HANA & Hortonworks Data Platform to analyze Wikipedia Page Hit Data

Install MS SQL Server 2012 Express Edition

IBM Endpoint Manager Version 9.1. Patch Management for Red Hat Enterprise Linux User's Guide

ARIS Server Installation and Administration Guide ARIS. Version Service Release 1

Oracle EXAM - 1Z Oracle Weblogic Server 11g: System Administration I. Buy Full Product.

Basic SQL Server operations

Cloudera ODBC Driver for Impala Version

Partek Flow Installation Guide

Secure Agent Quick Start for Windows

4PSA Total Backup User's Guide. for Plesk and newer versions

Best Practices in Hardening Apache Services under Linux

RSA Security Analytics

FileMaker 12. ODBC and JDBC Guide

Connect to MySQL or Microsoft SQL Server using R

Acronis Backup & Recovery 10 Server for Linux. Installation Guide

Log Analyzer Reference

IBM Endpoint Manager Version 9.2. Patch Management for SUSE Linux Enterprise User's Guide

How To Upgrade A Websense Log Server On A Windows 7.6 On A Powerbook (Windows) On A Thumbdrive Or Ipad (Windows 7.5) On An Ubuntu (Windows 8) Or Windows

Voyager Reporting System (VRS) Installation Guide. Revised 5/09/06

SWsoft Plesk 8.2 for Linux/Unix Backup and Restore Utilities. Administrator's Guide

Zen Internet. Online Data Backup. Zen Vault Professional Plug-ins. Issue:

Transcription:

Installing Microsoft SQL Server Linux ODBC Driver For Use With Kognitio Analytical Platform For Controlled External Release Kognitio Document No Authors Reviewed By Authorised By Document Version Stuart Watt Date

Table Of Contents Document Control... 3 1. Introduction... 4 2. SQL Server ODBC Driver Installation Steps... 4 3. Kognitio ODBC External Connector Configuration... 7 Kognitio Limited Page 2

Document Control Distribution List Name Company Reason Presales Kognitio For use Revision History Version Revision Date Summary Of Changes First version Document Location Office Machine Filename Bracknell \\Babbage\Playground G:\Playground\Stuart.Watt\Installing Microsoft SQL Server Linux ODBC Driver.docx Kognitio Limited Page 3

1. Introduction This document gives an overview of the steps necessary to install the Microsoft SQL Server Linux ODBC Driver such that it can then be used by the Kognitio Analytical Platform ODBC external connector capability to create a seamless connection between the two environments. The Microsoft SQL Server Linux ODBC driver is available for the following Linux distributions: Red Hat Enterprise Linux 5 and 6 (64-bit); SUSE Linux Enterprise 11 Service Pack 2 (64-bit) [Community Technology Preview]. This document covers the installation of the ODBC driver on CentOS (Red Hat) v6.5, but the principles should also be applicable to SUSE Linux Enterprise. 2. SQL Server ODBC Driver Installation Steps 1. Download the SQL Server Linux ODBC Driver TAR file for the appropriate Linux OS from the Microsoft web site at http://msdn.microsoft.com/enus/library/hh568451.aspx. This file will be of the form msodbcsql- 11.0.22x0.0.tar.gz depending on the Linux OS; 2. Steps 3-13 in this section below must be repeated for every node in the Kognitio instance as the root user; 3. Ensure that the required Linux libraries are present on each Kognitio node as listed in http://msdn.microsoft.com/en-us/library/hh568452.aspx. A functioning C compiler such as GCC ( yum install gcc ) will also need to be present on each node; 4. Microsoft strongly recommends that any existing Linux ODBC Driver Manager installations are removed before the specific version required by the SQL Server ODBC driver is installed. This is to avoid components being overwritten. On CentOS, the command would typically be yum erase unixodbc or zypper remove unixodbc on SUSE; 5. Retrieve the specific v2.3.0 version of unixodbc required by the Microsoft ODBC Driver from ftp://ftp.unixodbc.org/pub/unixodbc/unixodbc-2.3.0.tar.gz and copy the downloaded file to a directory on the node. Do not unpack or untar the file at this stage. Note that it must be unixodbc v2.3.0, as any other version will not work; 6. Copy the previously downloaded ODBC Driver TAR file (msodbcsql-11.0.22x0.0.tar.gz) to a directory on the node, unpack it using the command tar xvfz msodbcsql- 11.0.22x0.0.tar.gz and then type cd msodbcsql-11.0.22x0.0 ; 7. Build the unixodbc v2.3.0 package by running./build_dm.sh as follows, replacing /root/unixodbc-2.3.0.tar.gz with the absolute path to the location of the unixodbc file downloaded at Step 5 above: node%./build_dm.sh --download-url=file:///root/unixodbc-2.3.0.tar.gz Build unixodbc 2.3.0 DriverManager script Copyright Microsoft Corp. In order to use the Microsoft ODBC Driver 11 for SQL Server on Linux, the unixodbc DriverManager must be installed on your computer. unixodbc <etc.> arising out of your use of the script. Enter 'YES' to have this script continue: YES Kognitio Limited Page 4

Verifying processor and operating system... OK Verifying wget is installed... OK Verifying tar is installed... OK Verifying make is installed... OK Downloading unixodbc 2.3.0 DriverManager... OK Unpacking unixodbc 2.3.0 DriverManager... OK Configuring unixodbc 2.3.0 DriverManager... OK Building unixodbc 2.3.0 DriverManager... OK Build of the unixodbc 2.3.0 DriverManager complete. Run the command 'cd /tmp/unixodbc.4869.19704.25969/unixodbc-2.3.0; make install' to install the driver manager. PLEASE NOTE THAT THIS WILL POTENTIALLY INSTALL THE NEW DRIVER MANAGER OVER ANY EXISTING UNIXODBC DRIVER MANAGER. IF YOU HAVE ANOTHER COPY OF UNIXODBC INSTALLED, THIS MAY POTENTIALLY OVERWRITE THAT COPY. 8. Run the commands listed at the end of the build in Step 7 above, e.g. cd /tmp/unixodbc.4869.19704.25969/unixodbc-2.3.0 and then type make install to install unixodbc; 9. Go back to the directory msodbcsql-11.0.22x0.0 and type./install.sh install to start the SQL Server ODBC Driver installation; 10. Read and accept the license terms, making sure to type YES in upper case at the appropriate point to install the driver: Enter YES to accept the license or anything else to terminate the installation: YES Checking for 64 bit Linux compatible OS... OK Checking required libs are installed... OK unixodbc utilities (odbc_config and odbcinst) installed... OK unixodbc Driver Manager version 2.3.0 installed... OK unixodbc Driver Manager configuration correct... OK* Microsoft ODBC Driver 11 for SQL Server already installed... NOT FOUND Microsoft ODBC Driver 11 for SQL Server files copied... OK Symbolic links for bcp and sqlcmd created... OK Microsoft ODBC Driver 11 for SQL Server registered... INSTALLED Install log created at /tmp/msodbcsql.5942.29815.14162/install.log. One or more steps may have an *. See README for more information regarding these steps. 11. The /etc/odbcinst.ini file should now contain something like this: [ODBC Driver 11 for SQL Server] Description=Microsoft ODBC Driver 11 for SQL Server Driver=/opt/microsoft/msodbcsql/lib64/libmsodbcsql-11.0.so.2270.0 Threading=1 UsageCount=1 12. Edit /etc/odbc.ini to add the details of the SQL Server database to be accessed remotely: [testsqlsrv] Driver=ODBC Driver 11 for SQL Server ; Must match driver name in odbcinst.ini file ; between the square brackets. Server=z.z.z.z[,<portno>] ; IP address of SQL Server database. ; If necessary add port number after a comma Database=AdventureWorks2008 13. Test the SQL Server ODBC connection using the unixodbc isql utility as follows: node% isql testsqlsrv test <password> Kognitio Limited Page 5

+---------------------------------------+ Connected! sql-statement help [tablename] quit +---------------------------------------+ SQL> select top 10 title,firstname,lastname from person.person; +---------+---------------------------------------------------+-------------------- -------------------------------+ title firstname lastname +---------+---------------------------------------------------+-------------------- -------------------------------+ Ken Sánchez Terri Duffy Roberto Tamburello Rob Walters Ms. Gail Erickson Mr. Jossef Goldberg Dylan Miller Diane Margheim Gigi Matthew Michael Raheem +---------+---------------------------------------------------+-------------------- -------------------------------+ SQLRowCount returns 0 10 rows fetched SQL> quit; Kognitio Limited Page 6

3. Kognitio ODBC External Connector Configuration 1. Ensure that Kognitio Analytical Platform version v8.01.00-rel131217 or later is installed on all nodes; 2. Ensure that the External Tables feature is enabled by adding the following lines to the Kognitio config file using wxviconf or equivalent: [boot options] external_tables=yes 3. Load the ODBC External Connector plugin: create module odbc; alter module odbc set mode active; 4. Create a connector to the specific SQL Server instance using the previously defined ODBC details: create connector sqlsrv source odbc target 'driver /usr/lib64/libodbc.so, connect "dsn=testsqlsrv;uid=test;pwd=<password>"'; 5. Create a Kognitio external table definition to connect to the required SQL Server table: create external table person from sqlsrv target 'query "select title,firstname,lastname from person.person"'; 6. Test the external table connection: >select top 10 * from person; title firstname lastname <null> Terri Duffy <null> Roberto Tamburello <null> Rob Walters Ms. Gail Erickson Mr. Jossef Goldberg <null> Dylan Miller <null> Diane Margheim <null> Gigi Matthew <null> Michael Raheem <null> Ken Sánchez Query 8 10 rows ---- 0:00.0 0:00.2 0:00.2 Kognitio Limited Page 7