Learning about Informix and the Open Admin Tool (OAT)



Similar documents
Securing the OpenAdmin Tool for Informix web server with HTTPS

Installation Instruction STATISTICA Enterprise Small Business

OpenAdmin Tool for Informix (OAT) October 2012

STATISTICA VERSION 12 STATISTICA ENTERPRISE SMALL BUSINESS INSTALLATION INSTRUCTIONS

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

Informix Administration Overview

Installation Instruction STATISTICA Enterprise Server

How to Configure Informix Connect and ODBC

Mobile Labs Plugin for IBM Urban Code Deploy

Zend Server 4.0 Beta 2 Release Announcement What s new in Zend Server 4.0 Beta 2 Updates and Improvements Resolved Issues Installation Issues

Browser Client 2.0 Admin Guide

WHMCS LUXCLOUD MODULE

FortiClient SSL VPN Client User s Guide

Embarcadero Performance Center 2.7 Installation Guide

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

Active Directory Integration for Greentree

Working Folder Linkage Setup Guide

EVault Software. Course 361 Protecting Linux and UNIX with EVault

ilaw Installation Procedure

Getting an ipath server running on Linux

What Is Ad-Aware Update Server?

Dell Statistica Statistica Enterprise Installation Instructions

Online Backup Client User Manual

How to Install Applications (APK Files) on Your Android Phone

RecoveryVault Express Client User Manual

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

MarkLogic Server. Installation Guide for All Platforms. MarkLogic 8 February, Copyright 2015 MarkLogic Corporation. All rights reserved.

WA1826 Designing Cloud Computing Solutions. Classroom Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc. 1

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

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

WA1791 Designing and Developing Secure Web Services. Classroom Setup Guide. Web Age Solutions Inc. Web Age Solutions Inc. 1

Online Backup Linux Client User Manual

Reconfiguring VMware vsphere Update Manager

1. Product Information

Online Backup Client User Manual

Online Backup Client User Manual Linux

Installing SQL Express. For CribMaster 9.2 and Later

Desktop : Ubuntu Desktop, Ubuntu Desktop Server : RedHat EL 5, RedHat EL 6, Ubuntu Server, Ubuntu Server, CentOS 5, CentOS 6

WA2102 Web Application Programming with Java EE 6 - WebSphere RAD 8.5. Classroom Setup Guide. Web Age Solutions Inc. Web Age Solutions Inc.

INFORMIX - Data Director for Visual Basic. Version 3.5

Managing Software and Configurations

Expresso Quick Install

EOP ASSIST: A Software Application for K 12 Schools and School Districts Installation Manual

IIS, FTP Server and Windows

BioDiscovery Product Activation Group Floating Windows

freesshd SFTP Server on Windows

FileMaker Server 12. FileMaker Server Help

HOWTO: Set up a Vyatta device with ThreatSTOP in router mode

Server Installation/Upgrade Guide

Microsoft SQL 2008 / R2 Configuration Guide

Setting Up Scan to SMB on TaskALFA series MFP s.

W H I T E P A P E R. Best Practices for Building Virtual Appliances

vtiger CRM 4.2 Installation Guide for Linux OS

JAMF Software Server Installation Guide for Linux. Version 8.6

Introduction to Operating Systems

Table of Contents. CHAPTER 1 About This Guide CHAPTER 2 Introduction CHAPTER 3 Database Backup and Restoration... 15

1 Introduction FrontBase is a high performance, scalable, SQL 92 compliant relational database server created in the for universal deployment.

Installing and Configuring DB2 10, WebSphere Application Server v8 & Maximo Asset Management

Zend Server 5.0 Reference Manual

UBS KeyLink Quick reference WEB Installation Guide

STIDistrict Server Replacement

IDENTIKEY Server Windows Installation Guide 3.2

EVault for Data Protection Manager. Course 361 Protecting Linux and UNIX with EVault

WhatsUp Gold v16.3 Installation and Configuration Guide

Installation Troubleshooting Guide

WEB2CS INSTALLATION GUIDE

Web+Center Version 7.x Windows Quick Install Guide 2 Tech Free Version Rev March 7, 2012

SSH and Basic Commands

IBM SPSS Statistics Version 22. Concurrent License Administrator s Guide

PART 1 CONFIGURATION 1.1 Installing Dashboard Software Dashboardxxx.exe Administration Rights Prerequisite Wizard

Witango Application Server 6. Installation Guide for OS X

Signiant Agent installation

VERSION 9.02 INSTALLATION GUIDE.

Extending Remote Desktop for Large Installations. Distributed Package Installs

SETTING UP REMOTE ACCESS ON EYEMAX PC BASED DVR.

Centralized Mac Home Directories On Windows Servers: Using Windows To Serve The Mac

Portions of this product were created using LEADTOOLS LEAD Technologies, Inc. ALL RIGHTS RESERVED.

How to configure the TopCloudXL WHMCS plugin (version 2+) Update: Version: 2.2

Network Probe User Guide

WhatsUp Gold v16.1 Installation and Configuration Guide

Connection Broker Managing User Connections to Workstations, Blades, VDI, and More. Quick Start with Microsoft Hyper-V

How to install and use the File Sharing Outlook Plugin

Introduction. Installation of SE S AM E BARCODE virtual machine distribution. (Windows / Mac / Linux)

Millennium Drive. Installation Guide

Setting Up SSL on IIS6 for MEGA Advisor

User Manual. Onsight Management Suite Version 5.1. Another Innovation by Librestream

SAS 9.4 PC Files Server

CommandCenter Secure Gateway

STATISTICA VERSION 10 STATISTICA ENTERPRISE SERVER INSTALLATION INSTRUCTIONS

Bitrix Site Manager ASP.NET. Installation Guide

MAMP 3 User Guide! March 2014 (c) appsolute GmbH!

Introweb Remote Backup Client for Mac OS X User Manual. Version 3.20

Human Resources Installation Guide

IDENTIKEY Server Windows Installation Guide 3.1

NOC PS manual. Copyright Maxnet All rights reserved. Page 1/45 NOC-PS Manuel EN version 1.3

ThinPoint Quick Start Guide

VPN: Virtual Private Network Setup Instructions

How To Set Up Hopkins Wireless On Windows 7 On A Pc Or Mac Or Ipad (For A Laptop) On A Network Card (For Windows 7) On Your Computer Or Ipa (For Mac Or Mac) On An Ipa Or

User and Reference Manual

CycleServer Grid Engine Support Install Guide. version 1.25

Transcription:

Learning about Informix and the Open Admin Tool (OAT) With Tom Beebe Webcast on Feb 11, 2014 Starts at 2pm (EST)

What is it? OAT Open Admin Tool Open source, PHP based Free Allows you to monitor and manage many aspects of Informix instance(s) through a web browser Regularly being updated. Informix version 11.1 and later (some features are only for 11.7 and 12)

How do I get it? Three ways to get it Informix Virtual Appliance Install it as part of the engine or the CSDK Install it stand alone on a webserver running PHP The CSDK version is shipped with Linux Windows and Mac versions. (Some limitations) The stand alone should work with any OS running a webserver, PHP, and the necessary PHP modules

Stand Alone Webserver Needs to have PHP5 or later Required PHP Modules pdo_informix pdo_sqlite Soap Recommended PHP Modules Gd Zip Just unpack the tar or zip file on your server and point your web browser to the directory to start the install. (The webserver will need write access to several of the directories) The latest stand alone Community Edition version is 3.1.1 The latest CSDK version is 3.1.2 that includes some bug fixes and json support for IDS12xC2

Stand Alone INFORMIXDIR Your stand alone Webserver/PHP installation will need to be running with INFORMIXDIR set. Modify your webserver to add INFORMIXDIR to the environment and $INFORMIXDIR/bin to the PATH env. Note, the INFORMIXDIR binaries must match (32/64bit) the webserver. The OAT readme has a good description of how to set this.

Linux CLI Install Choose Product Features ----------------------- ENTER A COMMA_SEPARATED LIST OF NUMBERS REPRESENTING THE FEATURES YOU WOULD LIKE TO SELECT, OR DESELECT. TO VIEW A FEATURE'S DESCRIPTION, ENTER '?<NUMBER>'. PRESS <RETURN> WHEN YOU ARE DONE: 1- [ ] IBM Informix Client SDK 2- -[ ] IBM Informix Object Interface for C++ 3- -[ ] IBM Informix Object Interface for C++ Demos 4- -[ ] IBM Informix ESQL/C 5- -[ ] IBM Informix ESQL/C Demos 6- -[ ] 7.2 Application Compatibility Module 7- -[ ] IBM Informix LIBDMI for Client Applications 8- -[ ] IBM Informix ODBC Driver 9- -[ ] IBM Informix ODBC Driver Demos 10- -[ ] IBM Informix Common Database Utilities 11- [X] Global Language Support (GLS) 12- -[X] West European and Americas 13- -[X] East European and Cyrillic 14- -[X] Chinese 15- -[X] Japanese 16- -[X] Korean 17- -[X] Thai 18- [X] IBM Informix OpenAdmin Tool 19- -[X] IBM Informix Replication Plug-in for OpenAdmin Tool 20- -[X] IBM Informix Schema Manager Plug-in for OpenAdmin Tool 21- -[X] IBM Informix TimeSeries Plug-in for OpenAdmin Tool 22- -[X] IBM Informix Health Advisor Plug-in for OpenAdmin Tool 23- -[X] IBM Informix JSON Plug-in for OpenAdmin Tool Please choose the Features to be installed by this installer.: 1

Linux CLI Install =============================================================================== Host Name --------- Enter the host name for your machine. Host Name: (DEFAULT: ): webmail =============================================================================== Specify Apache Port Number -------------------------- Please specify the port number for the Apache webserver. Specify the port number for the Apache web server. Port Number (DEFAULT: 8080): =============================================================================== Security Features ----------------- With OAT password protection, only OAT administrators can add and edit connection groups and change OAT configurations. Other users can manage IBM Informix database servers, but they cannot modify connection groups and OAT configurations. Enable OAT Password Protection? (DEFAULT: yes): =============================================================================== OAT Administrator login setup ----------------------------- Enter the user name and password for accessing the OAT Admin pages. User name: (DEFAULT: admin): =============================================================================== Password:

Linux CLI Install =============================================================================== Installation Summary -------------------- Type 'back' to go to the previous step or 'quit' to cancel the installation. Please review the following before continuing: Product Name: IBM Informix Client SDK Install Folder: /opt/informixsdk Product Features: Global Language Support (GLS), West European and Americas, East European and Cyrillic, Chinese, Japanese, Korean, Thai, IBM Informix OpenAdmin Tool, IBM Informix Replication Plug-in for OpenAdmin Tool, IBM Informix Schema Manager Plug-in for OpenAdmin Tool, IBM Informix TimeSeries Plug-in for OpenAdmin Tool, IBM Informix Health Advisor Plug-in for OpenAdmin Tool, IBM Informix JSON Plug-in for OpenAdmin Tool Disk Space Information (for Installation Target): Required: 365,048,092 Bytes Available: 19,516,743,680 Bytes

Starting OAT CLI cd <CSDK_DIR>/OAT./StartApache Easy, right?

Getting it running Modern #./StartApache Linux /opt/informixsdk/oat/apache_2.4.2/bin/httpd: error while loading shared libraries: libpcre.so.0: cannot open shared object file: No such file or directory # ls -l /usr/lib64/libpcre.so.1 /usr/lib64/libpcre.so.1 -> libpcre.so.1.2.1

Wait, what? This is due to Apache being compiled directly against old versions of libraries However the symbols in newer versions of those libraries are still backwards compatible We can symlink the new version to where apache is looking for the old version

Steps # ln -s /usr/lib64/libpcre.so.1 /usr/lib64/libpcre.so.0 # ln -s /usr/lib64/libexpat.so.1 /usr/lib64/libexpat.so.0 Try it again, new error: httpd: Syntax error on line 126 of /opt/informixsdk/oat/apache_2.4.2/conf/httpd.conf: Cannot load /opt/informixsdk/oat/apache_2.4.2/modules/mod_ssl.so into server: libssl.so.6: cannot open shared object file: No such file or directory This is due to SSL being linked to a very old version of libssl that was on 5. The new version of the ssl libraries are openssl 1.0.x

Fix SSL ln -s /lib64/libssl.so.1.0.0 /lib64/libssl.so.6 ln -s /lib64/libcrypto.so.1.0.0 /lib64/libcrypto.so.6

LibPNG httpd: Syntax error on line 492 of /opt/informixsdk/oat/apache_2.4.2/conf/httpd.conf: Cannot load /opt/informixsdk/oat/php_5.4.4/libphp5.so into server: libpng12.so.0: cannot open shared object file: No such file or directory Now what? It is using an old version of libpng, the current version is 16. However Suse still does support the old version. Install the libpng12-0 package. Now run./startapache, it should come back cleanly.

RHEL 6 - Steps ln -s /lib64/libexpat.so.1.5.2 /lib64/libexpat.so.0 ln -s /usr/lib64/libssl.so.1.0.1e /usr/lib64/libssl.so.6 ln -s /usr/lib64/libcrypto.so.1.0.1e /usr/lib64/libcrypto.so.6

Installing IDS 12uCX If installing the 32bit version of the engine with OAT you may have problems if you have not installed the libraries first Some versions will bring up apache as part of the install process and will fail due to missing libraries Just check for the required libraries first, or install OAT with the CSDK separately

Error Log In IBM_Informix_Software_Bundle_Install_01_10_2014_13_33_36.log: Install Merge Module: Status: ERROR $BUILD_SOURCE$/module/OpenAdmin.iam.zip In OpenAdmin_Install_01_10_2014_13_34_12.log: Custom Action: com.ibm.oat.install.checkinstallstatus Status: ERROR Additional Notes: ERROR - class com.ibm.oat.install.checkinstallstatus NonfatalInstallException The Apache web server failed to install or to start. /opt/informix_1210uc2/oat/apache_2.4.2/bin/httpd: error while loading shared libraries: libexpat.so.0: cannot open shared object file: No such file or directory

Windows 64bit Install the ClientSDK, but wait, where is the option for OAT? As of 4.10xC2 IBM still only releases OAT in the 32bit CSDK package. This has been stated as a goal to get it included in the 64bit version but it has not happened yet.

Windows 64bit With 32bit CSDK Pull down the latest version of the SDK (TCx)

Windows Installing 32bit SDK On Windows 7/Vista: go to start > applications > accessories > right click on command window and 'run as administrator' On Windows 8/2012: In the 'Apps' menu go to the 'Windows System' section, right click on 'Command Prompt' and choose 'Run as administrator' In the shell: Set PATH=c:\windows\syswow64;%PATH% cd <path_to_extracted_csdk_installer> installclientsdk.exe Wait a few seconds, then install normally, make sure to use a different path then the 64bit csdk. (If installed)

Windows 32/64 In the installation features make sure 'IBM Informix OpenAdmin Tool' is selected You may wish to deselect the 'IBM Informix Client SDK' section if you already have a 64bit version installed. Note when testing this on 2012, it failed due to php requiring libraries from the CSDK portion. Options Port Number Where the apache server will listen for OAT Apache Service Name For use in the windows service list Host Name Hostname of the system, make sure it resolves for those that will be using the server OAT Password Protection Use this, otherwise anyone who can reach the webserver can modify the administration settings. Note you will need a reboot if CSDK is being installed for the first tme.

First Time Connection

Getting Started At the main screen you can either go to the Admin menu or enter the login details for a server manually. If you don't want to manually enter all of the connection information each time, set up a connection first. May be policies or security reasons why you would not be allowed to set up stored connections.

Groups and Connections Under manage connections in the admin menu you will see groups and connections Use a group if you want segmented sets of Informix instances to allow users to select from a series of instances Groups can be set to be read only to allow for monitoring without modification

Adding a Connection

Adding a Connection OAT Group The group for this connection to go in Informix Server SQLHosts entry name Host Name server name or IP Port Informix TCP port Username/Password That you wish to connect to Informix. Informix Protocol Standard IDSD Port Special Daemon that can be set up to allow OAT to start an offline instance. (optional) Environment variables Used if you need custom ones for this instance

Connecting Go to the 'Login' tab at the top. Choose the OAT group, enter the password and hit 'Get Servers' Select a server and hit 'Log In'

Security Concerns Go into <CSDK>/OAT/Apache_2.4.2/htdocs and remove phpinfo.php or edit so it looks like: //phpinfo(); If you want to password protect the entire OAT system, add a password limiting.htaccess file to the htdocs/openadmin directory. Never leave an OAT group without a password if there are connections defined.

OAT Homepage - http://www.openadmintool.org/ Links Mobile OAT - http://www.ibm.com/developerworks/data/library/techarticle/dm-1304informix/index.html Informix_PDO - http://pecl.php.net/package/pdo_informix Informix Virtual Appliance How-To - http://pic.dhe.ibm.com/infocenter/informix/v121/index.jsp?topic=%2fcom.ibm.virtapp.doc%2fids_va.htm Download the Virtual Appliance - https://www14.software.ibm.com/webapp/iwm/web/reg/download.do?source=swg-informixfpd&s_pkg=dl ER with OAT - http://www.ibm.com/developerworks/data/library/techarticle/dm-1003idsopenadmin/index.html Apache Password Protection - http://httpd.apache.org/docs/2.2/howto/auth.html#gettingitworking

Questions?

Upcoming Webcasts Getting started with PHP Series Mar 18 Getting up and running Installing PHP including PDO_Informix Starting basic command line applications Apr 22 Getting going with PHP Creating simple applications Introduction to PHP classes, functions and database access. May 20 What is a web form? Introduction to what writing web based code really is Using PHP to create simple and complex web based forms Jun 17 Pulling it together. Creating a full fledged application using PHP and Informix.

IIUG 2014 Conference April 27- May 1st 2014 Miami, Florida! http://www.iiug2014.org

Thank You Tom Beebe Advanced DataTools Corporation tom@advancedatatools.com For more information: http://www.advancedatatools.com 33