Configuring an Alternative Database for SAS Web Infrastructure Platform Services



Similar documents
PUBLIC Installation: SAP Mobile Platform Server for Linux

Database Configuration Guide

Documentum Business Process Analyzer and Business Activity Monitor Installation Guide for JBoss

AVALANCHE MC 5.3 AND DATABASE MANAGEMENT SYSTEMS

Installing The SysAidTM Server Locally

IGEL Universal Management. Installation Guide

Querying Databases Using the DB Query and JDBC Query Nodes

TIBCO Spotfire Server Migration. Migration Manual

STATISTICA VERSION 9 STATISTICA ENTERPRISE INSTALLATION INSTRUCTIONS FOR USE WITH TERMINAL SERVER

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

Install BA Server with Your Own BA Repository

How To Use The Listerv Maestro With A Different Database On A Different System (Oracle) On A New Computer (Orora)

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

AWS Schema Conversion Tool. User Guide Version 1.0

FileMaker 13. ODBC and JDBC Guide

Installation Instruction STATISTICA Enterprise Small Business

SAS 9.3 Foundation for Microsoft Windows

PowerSchool Student Information System

Creating IBM Cognos Controller Databases using Microsoft SQL Server

STATISTICA VERSION 12 STATISTICA ENTERPRISE SMALL BUSINESS INSTALLATION INSTRUCTIONS

Oracle Database Creation for Perceptive Process Design & Enterprise

Migrate Topaz databases from One Server to Another

MIGRATING TO AVALANCHE 5.0 WITH MS SQL SERVER

Configuring IBM WebSphere Application Server 6.1 to Support SAS 9.2 Web Applications

Upgrade Guide BES12. Version 12.1

Embarcadero Performance Center 2.7 Installation Guide

Implementing a SAS 9.3 Enterprise BI Server Deployment TS-811. in Microsoft Windows Operating Environments

SAS MDM 4.2. Administrator s Guide. SAS Documentation

AWS Schema Conversion Tool. User Guide Version 1.0

Automated Process Center Installation and Configuration Guide for UNIX

LAE 5.1. Windows Server Installation Guide. Version 1.0

SAS MDM 4.1. Administrator s Guide Second Edition. SAS Documentation

Instant Chime for IBM Sametime For IBM Websphere and IBM DB2 Installation Guide

Crystal Reports Installation Guide

SonicWALL Global Management System Installation Guide Entry Edition. Version 2.1

Moving the TRITON Reporting Databases

Secure Messaging Server Console... 2

FileMaker 12. ODBC and JDBC Guide

Implementing a SAS Metadata Server Configuration for Use with SAS Enterprise Guide

Installation Instruction STATISTICA Enterprise Server

Enterprise Manager. Version 6.2. Installation Guide

PAYMENTVAULT TM LONG TERM DATA STORAGE

StreamServe Persuasion SP4

PaperClip Audit System Installation Guide

Migrating the Domain Configuration Repository During an Upgrade

SAS 9.4 PC Files Server

Business Interaction Server. Configuration Guide Rev A

Installation and Configuration Guide for Windows and Linux

KPNS Database Setup Guide - SQL Server

CA Workload Automation Agent for Databases

FileMaker 11. ODBC and JDBC Guide

Technical Paper. Provisioning Systems and Other Ways to Share the Wealth of SAS

Installation: SAP Mobile Platform Server for Windows SAP Mobile Platform 3.0

Technical Paper. Defining an ODBC Library in SAS 9.2 Management Console Using Microsoft Windows NT Authentication

Reference Manual. IQ Administrator Pro. and. PostgreSQL Database Server Installation Guide

Deploying Business Objects Crystal Reports Server on IBM InfoSphere Balanced Warehouse C-Class Solution for Windows

Operating System Installation Guide

ChangeAuditor. Migration Guide CA-MG

Brekeke SIP Server Version 3 Using a Third-Party Database Tutorial Brekeke Software, Inc.

Setting up SQL Translation Framework OBE for Database 12cR1

Bitrix Site Manager ASP.NET. Installation Guide

SAS Activity-Based Management Server Software Release 6.0 for Windows

SETTING UP ACTIVE DIRECTORY (AD) ON WINDOWS 2008 FOR EROOM

StoreGrid Backup Server With MySQL As Backend Database:

Intellicus Enterprise Reporting and BI Platform

Database Assessment. Vulnerability Assessment Course

IUCLID 5 Guidance and Support

Setting up the Oracle Warehouse Builder Project. Topics. Overview. Purpose

Dell Statistica Statistica Enterprise Installation Instructions

Lucid Key Server v2 Installation Documentation.

Installation and Setup Guide 5.6.3

Business Intelligence Platform Installation Guide for Windows

Installing SQL Express. For CribMaster 9.2 and Later

PRiSM Security. Configuration and considerations

inforouter V8.0 Server Migration Guide.

Third-Party Software Support. Converting from SAS Table Server to a SQL Server Database

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

CA DataMinder. Database Guide. Release th Edition

DocuShare Installation Guide

Connecting LISTSERV to an Existing Database Management System (DBMS)

FileMaker 14. ODBC and JDBC Guide

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

System Requirements. SAS Regular Price Optimization 4.2. Server Tier. SAS Regular Price Optimization Long Jobs Server

Deploying Oracle Business Intelligence Publisher in J2EE Application Servers Release

System Administration Training Guide. S100 Installation and Site Management

INSTALLING AND MANAGING DATABASES WITH PRIMAVERA P6 PRO RELEASE 8.2

HR Onboarding Solution

Configuring and Monitoring Database Servers

BUSINESS OBJECTS EDGE

Microsoft SQL Server Guide. Best Practices and Backup Procedures

NetSupport DNA Configuration of Microsoft SQL Server Express

How to gain direct access to SQL Server at Garching via SSH

Installation, Configuration and Administration Guide

Chapter 2 Creating a Database

Windows Authentication on Microsoft SQL Server

Using Internet or Windows Explorer to Upload Your Site

INSTALLATION GUIDE. Snow License Manager Version 7.0 Release date Document date

Guide to Operating SAS IT Resource Management 3.5 without a Middle Tier

Transcription:

Configuration Guide Configuring an Alternative Database for SAS Web Infrastructure Platform Services By default, SAS Web Infrastructure Platform Services is configured to use SAS Framework Data Server. If you prefer, you can choose to use a third-party database. Here are the versions of the alternative databases for SAS Web Infrastructure Platform Services that were used for testing in SAS 9.3: Oracle 11g FP2 PostgreSQL 8.7 and 9.0 MySQL 5.0 and 5.5.11 IBM DB2 Version 9.7 FP2 Microsoft SQL Server 2008 If you prefer to use a third party vendor database instead of SAS Framework Data Server, then the database must be configured with the tables needed by SAS Web Infrastructure Platform Services. The JDBC connection information for the database must be provided to the SAS Deployment Wizard. The following information must be provided: MySQL Host name of the database server Port number of the database server or listener Database name or SID User ID and password Directory location of JDBC drivers for the database The SAS Deployment Wizard can create the tables that are needed by SAS Web Infrastructure Platform Services. Select the Automatically create tables and load data check box to use this feature. If you prefer to create the tables yourself, then clear the check box and submit the SQL statements after the wizard finishes. The SQL statements are located in the SAS-installationdirectory\SASWebInfrastructurePlatform\9.3\Config\Deployment\Data directory. The rest of this document describes database vendor specific information such as sample database and user creation commands, and JDBC URLs. Before running the SAS Deployment Wizard, you must have a user ID with permission to access and create tables. The following steps show sample steps for creating a user for MySQL: 1. Log on to MySQL as the root user. 2. Create a user account: create user sharedservices@'%' identified by 'password'; 3. Grant access to the database for the new account: grant all on sharedservices.* to sharedservices@'%'; Note: Do not create the database. The SAS Deployment Wizard issues the CREATE DATABASE statement when it runs. 1

You must also install the JDBC drivers from MySQL Connector/J on the machine that is hosting the Web application server. The SAS Deployment Wizard configures the Web application server with a JDBC data source that uses a URL that is similar to the following example: jdbc:mysql://host:3306/sharedservices that the user account can perform the query select 1 successfully before you start the SAS Oracle Database IBM DB2 Before running the SAS Deployment Wizard, you must have a database instance and user ID with permission to access and create tables. The following steps show sample steps for creating a database instance and user. 1. Create an Oracle instance. This can be done with the Database Configuration Assistant for Oracle database. When the wizard prompts you for the SID, enter sharedservices. Note: SAS strongly recommends that you use UTF 8 as the character encoding for the database. 2. Connect to the Oracle instance: sqlplus sys@sharedservices as sysdba 3. Create a user account: create user sharedservices identified by password default tablespace user temporary tablespace temp; 4. Grant access to the database for the new account: grant connect,resource to sharedservices; The Oracle Database JDBC drivers are located in ORACLE_HOME/product/version/ install/jdbc/lib. The SAS Deployment Wizard configures your Web application server with a JDBC data source that uses a URL that is similar to the following example: jdbc:oracle:thin:@host:1521:sharedservices that the user account can perform the query select 1 from dual successfully before you start the SAS Before running the SAS Deployment Wizard, you must have a database instance and user ID with permission to access and create tables. When the database is created, the table structure requires specific bufferpool sizes. The following steps show sample steps for creating a database instance. 1. Access the DB2 Command Line Processor. 2. Create a database: create database shareddb on /db2 alias shared pagesize 32 k 3. Connect to the database: connect to shared 2, 2012

4. Create a bufferpool and tablespace: create bufferpool shared_bp size 8192 pagesize 32 k create temporary tablespace sys_temp_shared pagesize 32 k managed by database using (file '/db2/shared/ts/shareddb/sys_temp.ts' 500m) autoresize yes bufferpool shared_bp create large tablespace shared1 pagesize 32 k managed by database using (file '/db2/shared/ts/shareddb/shared1.ts' 50m) autoresize yes bufferpool shared_bp create user temporary tablespace user_temp_shared pagesize 32 k managed by database using (file '/db2/shared/ts/shareddb/user_temp.ts' 500m) autoresize yes bufferpool shared_bp 5. Grant database administration authority: grant dbadm on database to user sharedservices Note: IBM DB2 uses operating system user IDs by default. Make sure that you identify a user ID that has an account on the operating system. The IBM DB2 JDBC drivers are located in DB2_HOME/java. The SAS Deployment Wizard configures your Web application server with a JDBC data source that uses a URL that is similar to the following example: jdbc:db2://host:50002/shared that the user account can perform the query select 1 from sysibm.sysdummy1 successfully before you start the SAS PostgreSQL SAS performed testing with version 8.7 and expects any version newer than 8.7 to operate correctly. SAS requires that you use the 9.0 or newer version of the Postgresql JDBC driver. Before running the SAS Deployment Wizard, you must have a database instance and user ID with permission to access and create tables. The following steps show sample steps for creating a database instance and user: 1. Log on to the system with the PostgreSQL user ID, and create a role: create role sharedservices LOGIN PASSWORD 'password'; 2. Create the database: createdb SharedServices owner sharedservices encoding 'UTF8' 3. Confirm that the listen_addresses parameter in the postgresql.conf file permits connections from hosts other than localhost, and that the pg_hba.conf file is configured to permit access from the machine that is hosting the Web application server. Your needs may differ from those described here. For more information about those configuration files and additional configuration options, see the PostgreSQL documentation. You must install the JDBC driver for PostgreSQL on the machine that is hosting the Web application server. The SAS Deployment Wizard configures the Web application server with a JDBC data source that uses a URL that is similar to the following example: jdbc:postgresql://host:5432/sharedservices 3 A, 2012

that the user account can perform the query select 1 successfully before you start the SAS Microsoft SQL Server SAS performed testing with SQL Server 2008. The following steps show sample steps for creating a database instance and user. 1. Use the SQL Server Installation Center to create a database instance. Configure it to use mixed mode authentication. 2. Use sqlcmd to log on to the instance with the sa account and create the sharedservices user: use master create login sharedservices with password = 'password' create user sharedservices for login sharedservices grant all to sharedservices Note: Do not create the database. The SAS Deployment Wizard issues the CREATE DATABASE statement when it runs. You must also install the JDBC drivers from Microsoft on the machine that is hosting the Web application server. The SAS Deployment Wizard configures the Web application server with a JDBC data source that uses a URL that is similar to the following example: jdbc:sqlserver://host:1433;databasename=sharedservices that the user account can use the master database and issue a CREATE DATABASE statement, as well as perform the query select 1. This command must run successfully before you start the SAS SAS provides the option to either automatically create and upgrade the database or for your database administrator (DBA) to perform that function manually. 1. If your database administrator (DBA) is ing to manage the schema creation and upgrade process manually, the ʹsharedservicesʹ user needs SELECT, INSERT, DELETE, and UPDATE permissions for the ʹSharedServicesʹ database. For example: grant SELECT on SharedServices to sharedservices grant INSERT on SharedServices to sharedservices grant DELETE on SharedServices to sharedservices grant UPDATE on SharedServices to sharedservices 2. If you want the SAS software to automatically create/update the database and limit the ʹsharedservicesʹ user access after initial creation, the user requires SELECT, INSERT, DELETE, UPDATE, ALTER TABLE, CREATE TABLE, CREATE INDEX, and DROP. For example: grant SELECT on SharedServices to sharedservices grant INSERT on SharedServices to sharedservices grant DELETE on SharedServices to sharedservices grant UPDATE on SharedServices to sharedservices (code continued) 4 August 27, 2012

grant ALTER TABLE on SharedServices to sharedservices grant CREATE TABLE on SharedServices to sharedservices grant CREATE INDEX on SharedServices to sharedservices grant DROP on SharedServices to sharedservices Because the SAS software is acting as the administrator in this case, it might require other permissions in the future. It might therefore be more straightforward to grant the user all permissions on that particular database. grant all on SharedServices to sharedservices Note that these grants to the SharedServices database need to occur after the Software Deployment Wizard process has created the database and tables in this method. SAS and all other SAS Institute product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. Other brand and product names are registered trademarks or trademarks of their respective companies. indicates USA registration. Copyright 2012 SAS Institute Inc., Cary, NC, USA. All rights reserved. 5 August 27, 2012