37
® © 2009 IBM Corporation Virtualization with Informix Dynamic Server Kent Klaas and Yunming Wang

® © 2009 IBM Corporation Virtualization with Informix Dynamic Server Kent Klaas and Yunming Wang

Embed Size (px)

Citation preview

Page 1: ® © 2009 IBM Corporation Virtualization with Informix Dynamic Server Kent Klaas and Yunming Wang

®

© 2009 IBM Corporation

Virtualization with Informix Dynamic Server

Kent Klaas and Yunming Wang

Page 2: ® © 2009 IBM Corporation Virtualization with Informix Dynamic Server Kent Klaas and Yunming Wang

Agenda

Introduction to Virtualization

IDS and Virtualization

Introduction to the IDS Virtual Appliance

Demonstration of the IDS Virtual Appliance

Obtaining and Using the IDS Virtual Appliance

Assistance and Additional Resources

Questions and Answers

2

Page 3: ® © 2009 IBM Corporation Virtualization with Informix Dynamic Server Kent Klaas and Yunming Wang

Introduction to VirtualizationDefinition and Benefits

Virtualization– Technology enabling the ability to run multiple operating

systems and applications on the same hardware at the same time.

Benefits of Virtualization– Optimize IT Center Assets

• Enhance utilization while consolidating servers

– Reduce IT Center Costs• Lower utility and maintenance costs with fewer servers

– Increase availability and continuity• Enhance archive, recovery and migration activities

– Improve flexibility and agility• Enhance server allocation and provisioning

– Improve desktop management and security• Enhance desktop allocation and provisioning

3

Page 4: ® © 2009 IBM Corporation Virtualization with Informix Dynamic Server Kent Klaas and Yunming Wang

Introduction to VirtualizationVirtual Machine and Virtual Appliance

Virtual Machine– An isolated software container created by

virtualization containing all the hardware resources (cpu, memory, network and storage) which requires the installation of an operating system and required software stack.

Virtual Appliance– A unified offering of just enough operating system

and an application stack pre-installed, integrated and tested for a specific purpose or intent

4

Page 5: ® © 2009 IBM Corporation Virtualization with Informix Dynamic Server Kent Klaas and Yunming Wang

Introduction to VirtualizationDeployment Options

Desktop

– Deploy your virtual machines and virtual appliances to desktop environments to enhance desktop optimization and versatility using desktop virtualization products;

Enterprise

– Deploy your virtual machines and virtual appliances to consolidated server environments in your business to enhance IT center optimization, versatility and manageability using virtual infrastructure products;

Cloud

– Deploy your virtual machines and virtual appliances to emerging cloud computing environments to extend your IT center reach and simplify deployment and manageability;

5

Page 6: ® © 2009 IBM Corporation Virtualization with Informix Dynamic Server Kent Klaas and Yunming Wang

IDS and VirtualizationStatus and Deliverables

Status

– Extending Informix products and services to include virtualization support, leadership and partnerships

– Extending deployment to include desktop, in-house and cloud virtualization options

– Extending information and assistance to partners and customers considering or implementing virtualization

Deliverables

– Several editions and versions of the IDS Virtual Appliance developed, tested and available for VMware leveraging Novell’s SUSE 10 SP2

– Deployment availability across desktop, in-house virtualization environment supported for VMware Player, Workstation, Fusion and VI3

– Deployment for Cloud computing platforms

6

Page 7: ® © 2009 IBM Corporation Virtualization with Informix Dynamic Server Kent Klaas and Yunming Wang

Introduction to IDS VA

Purpose and Definition

Software Stack and Configuration

IDS Virtual Appliance Editions

Deployment Options

7IBM Confidential October 2008

Page 8: ® © 2009 IBM Corporation Virtualization with Informix Dynamic Server Kent Klaas and Yunming Wang

The IDS Virtual AppliancePurpose and Definition

8

VMware ® Infrastructureand Virtualization Tools

VM Configuration and ResourcesCPU – Memory – Network - Storage

Informix Dynamic Server Variety of Software Product and Utilities

SUSE ® Linux ® Enterprise Server 10 SP2SLES 10 SP2

The Informix Dynamic Server (IDS) Virtual Appliance combines a robust database server, application stack, operating system and hardware resources– Develop and deploy new applications– Create IDS demonstrations and presentations– Develop and test applications

Page 9: ® © 2009 IBM Corporation Virtualization with Informix Dynamic Server Kent Klaas and Yunming Wang

The IDS Virtual ApplianceApplication Layer

Informix Dynamic Server 11.50.xC3– Pre-Installed– Pre-Configured Instance and MACH11 Cluster– Pre-Tested– Ready to Run

Additional Informix and IBM Products– IBM Informix Client SDK 3.50.xC3

– IBM Informix JDBC Driver 3.50.xC3

– IBM Informix Spatial DataBlade 8.21.UC2

– IBM Informix Web DataBlade 4.13.UC3

– IBM Data Server Driver for JDBC/SQLJ

– IBM Data Server Driver for ODBC/CLI

– IBM OpenAdmin Tool for IDS 2.22

– IBM Data Studio 1.1.2

9

Informix Dynamic Server Variety of Software Product and Utilities

Page 10: ® © 2009 IBM Corporation Virtualization with Informix Dynamic Server Kent Klaas and Yunming Wang

The IDS Virtual ApplianceOperating System Layer

Base Operating System– Pre-Installed SUSE® Enterprise Server 10 SP2– Pre-Configured Devices and X Window Manager– Pre-Tested– Ready to Run

Additional Tools and Utilities– C and C++ Compilers (gcc 4.1.2)

– GNU gdb 6.6

– IBM JDK 1.5

– Firefox 2.0

10

SUSE ® Linux ® Enterprise Server 10 SP2SLES 10 SP2

Page 11: ® © 2009 IBM Corporation Virtualization with Informix Dynamic Server Kent Klaas and Yunming Wang

The IDS Virtual ApplianceVirtualization Layer

VMware® Infrastructure and Utilties– Embedded Software to Support Virtualization

VMware Tools package– Improves the graphical performance for different guest operating

systems.

– Enables integration between the guest and host.

11

VMware® Infrastructureand Virtualization Tools

Page 12: ® © 2009 IBM Corporation Virtualization with Informix Dynamic Server Kent Klaas and Yunming Wang

The IDS Virtual ApplianceVirtual Machine Resources

CPU– CPU time is not configurable for IDS va when running as a

desktop application

Memory– IDS va uses 768MB memory by default, but it can be configured

to use different amount of memory depending on the total size of physical RAM available on the system

Network– Two network adapters are configured:

• Host-only with a static IP address 192.168.179.100

• NAT for sharing the host’s IP address.

Storage

– 12 GB (maximum size) pre-configured and compressed virtual disk mounted as /.  

– 40 GB compressed virtual disk mounted as /data.

12

VM Configuration and ResourcesCPU – Memory – Network - Storage

Page 13: ® © 2009 IBM Corporation Virtualization with Informix Dynamic Server Kent Klaas and Yunming Wang

IDS Virtual Appliance Editions

13

Page 14: ® © 2009 IBM Corporation Virtualization with Informix Dynamic Server Kent Klaas and Yunming Wang

IDS Virtual Appliance Environments

14

Page 15: ® © 2009 IBM Corporation Virtualization with Informix Dynamic Server Kent Klaas and Yunming Wang

Demonstration of the IDS VA

Windows Desktop Demonstration of the IDS VA

– Downloading

– Installing

– Launching and Configuring

– Desktop Overview

• Welcome page of the IDS VA

• First Steps

• SQL Editor

• Data Studio

• Open Admin Tool

• Terminal

Amazon Compute Cloud Demonstration of the IDS VA

– Launching and Configuring

– Configuring and instance with SSH

– Utilizing Open Admin Tool

15IBM Confidential October 2008

Page 16: ® © 2009 IBM Corporation Virtualization with Informix Dynamic Server Kent Klaas and Yunming Wang

Downloading the IDS va installation image

The IDS va installation images are available at https://www14.software.ibm.com/webapp/iwm/web/reg/download.do?source=swg-informixfpd&S_PKG=dl

You will see the following IDS va installation images after you login with your IBM ID:

16IBM Confidential October 2008

Page 17: ® © 2009 IBM Corporation Virtualization with Informix Dynamic Server Kent Klaas and Yunming Wang

Installing the IDS virtual appliance (Windows)

Double clicking the executable file of the IDS virtual appliance to install the compressed VMware image into your working directory:

Enter your preferred directory name, for example, C:\VMware\IDS-appliances and click Install.

The VMware image will be installed under a subdirectory named “Base-IDS-Developer-Edition-vx.x.x”, where x.x.x is the version number, when the installation process is finished.

17IBM Confidential October 2008

Page 18: ® © 2009 IBM Corporation Virtualization with Informix Dynamic Server Kent Klaas and Yunming Wang

Launching the IDS virtual appliance

1. Double clicking the .vmx file from Windows Explorer or clicking the button from VMware Player or the button from VMware Workstation.

2. Powering it on from VMware Player or Workstation:

18IBM Confidential October 2008

Page 19: ® © 2009 IBM Corporation Virtualization with Informix Dynamic Server Kent Klaas and Yunming Wang

Configuring the IDS virtual appliance

Login as userid “root” with password “root”:

19IBM Confidential October 2008

After you read and accept all the license agreements, you will see the SLES desktop login screen. You can login as developer/developer or informix/informix from there.

Page 20: ® © 2009 IBM Corporation Virtualization with Informix Dynamic Server Kent Klaas and Yunming Wang

Demonstration of the IDS VA

Windows Desktop Demonstration of the IDS VA

– Downloading

– Installing

– Launching and Configuring

– Desktop Overview

• Welcome page of the IDS VA

• First Steps

• SQL Editor

• Data Studio

• Open Admin Tool

• Terminal

Amazon Compute Cloud Demonstration of the IDS VA

– Launching and Configuring

– Configuring and instance with SSH

– Utilizing Open Admin Tool

20IBM Confidential October 2008

Page 21: ® © 2009 IBM Corporation Virtualization with Informix Dynamic Server Kent Klaas and Yunming Wang

Obtaining and using IDS VA

FREE Download Location– https://www14.software.ibm.com/webapp/iwm/web/reg/download.do?source=swg-

informixfpd&S_PKG=dl– Requires IBM Internet ID and Password

Using the IDS Virtual Appliance– Start now with development and testing– Build Virtualization skills and experience– Leverage for demos, presentations and education– Enable your sales teams

21IBM Confidential October 2008

Page 22: ® © 2009 IBM Corporation Virtualization with Informix Dynamic Server Kent Klaas and Yunming Wang

Assistance and Additional Resources

Presenters

– Kent Klaas [email protected]

– Yunming Wang [email protected]

Web Sites

– www.vmware.com

– www.developerworks.com

– www.ibm.com

22

Page 23: ® © 2009 IBM Corporation Virtualization with Informix Dynamic Server Kent Klaas and Yunming Wang

Questions and Answers

Q & A

23

Page 24: ® © 2009 IBM Corporation Virtualization with Informix Dynamic Server Kent Klaas and Yunming Wang

Supporting Slides

24

Page 25: ® © 2009 IBM Corporation Virtualization with Informix Dynamic Server Kent Klaas and Yunming Wang

Installing the IDS virtual appliance (Windows)

Double clicking the executable file of the IDS virtual appliance to install the compressed VMware image into your working directory:

Enter your preferred directory name, for example, C:\VMware\IDS-appliances and click Install.

The VMware image will be installed under a subdirectory named “Base-IDS-Developer-Edition-vx.x.x”, where x.x.x is the version number.

25IBM Confidential October 2008

Page 26: ® © 2009 IBM Corporation Virtualization with Informix Dynamic Server Kent Klaas and Yunming Wang

Launching the IDS virtual appliance

Launching the IDS virtual appliance by double clicking the .vmx file from Windows Explorer or clicking the button from VMware Player:

Login as userid “root” with password “root”

After you read and accept all the license agreements, you will see the SLES desktop login screen. You can login as developer/developer or informix/informix from there.

26IBM Confidential October 2008

Page 27: ® © 2009 IBM Corporation Virtualization with Informix Dynamic Server Kent Klaas and Yunming Wang

Desktop of IDS VA

27IBM Confidential October 2008

Welcome page of IDS virtual appliance

IDS 11.50 First steps

Informix home page

IDS 11.50 Information Center

DBACCESS SQL Editor

Data Studio

Open Admin Tool for IDS

Terminal with IDS environment

Page 28: ® © 2009 IBM Corporation Virtualization with Informix Dynamic Server Kent Klaas and Yunming Wang

The Welcome page of IDS va

The welcome page of the virtual appliance is displayed at startup and is a good starting point for new IDS virtual appliance users. You can find detailed information about the IDS virtual appliance and useful links to other information sources:

28IBM Confidential October 2008

Page 29: ® © 2009 IBM Corporation Virtualization with Informix Dynamic Server Kent Klaas and Yunming Wang

First Steps

29IBM Confidential October 2008

In order to get started quickly with IDS 11.50 software development, a special folder (/opt/IBM/informix/FirstSteps) is provided that contains topic-specific subfolders:– IDS Detective Game – contains the game

that can be played to practice using SQL in IDS

– Java – contains a sample java program and tutorial about how to use Java with IDS

– PHP – contains a sample PHP program and tutorial about how to use PHP with IDS

– Data Studio – contains one lab that guides you through basic functionalities of Data Studio.

Page 30: ® © 2009 IBM Corporation Virtualization with Informix Dynamic Server Kent Klaas and Yunming Wang

DBACCESS SQL Editor

The dbaccess SQL Editor is a handy link to the IDS 11.50 dbaccess user interface for entering, executing, and debugging SQL statements and SPL routines:

30IBM Confidential October 2008

Page 31: ® © 2009 IBM Corporation Virtualization with Informix Dynamic Server Kent Klaas and Yunming Wang

IBM Data Studio

IBM Data Studio is an integrated data management and development environment for designing, developing, deploying, and managing data-driven applications. You can use either IBM Java Common Client or Informix JDBC driver with IDS 11.50.

31IBM Confidential October 2008

Page 32: ® © 2009 IBM Corporation Virtualization with Informix Dynamic Server Kent Klaas and Yunming Wang

Open Admin Tool

Open Admin Tool (OAT) is an open-source web-based administration tool for the IBM Informix Database Server V11 and above. It allows the administration and monitoring of local and remote IDS instances from a single administration console.

32IBM Confidential October 2008

Page 33: ® © 2009 IBM Corporation Virtualization with Informix Dynamic Server Kent Klaas and Yunming Wang

Terminal with IDS Environment setup

The IDS virtual appliance is pre-configured with the demo_on instance, which includes two demo databases:– stores demo database

– Idsgame database for IDS Detective Game (found in First Steps)

The demo_on instance is started or stopped automatically when the virtual appliance is started or stopped.

33IBM Confidential October 2008

You can manage the demo_on instance by running the following scripts as user “informix”:– . createDemo - re-creates the demo instance from scratch

– . removeDemo - deletes all database files associated with the demo instance.

– . startDemo - starts the demo instance.

– . stopDemo - stops the demo instance.

– . setDemo - sets the environment variables for the demo instanceNote, the above scripts don’t run in a C-shell.

Page 34: ® © 2009 IBM Corporation Virtualization with Informix Dynamic Server Kent Klaas and Yunming Wang

Demo of Using IDS va in Amazon EC2

Amazon Elastic Compute Cloud (Amazon EC2) presents a virtual computing environment. This demo will show you how the IDS va works as an Amazon EC2 AMI:– Launching an IDS va AMI instance– Configuring the IDS va AMI instance– Using OpenAdmin Tool on the IDS va AMI instance

34IBM Confidential October 2008

Page 35: ® © 2009 IBM Corporation Virtualization with Informix Dynamic Server Kent Klaas and Yunming Wang

35IBM Confidential October 2008

Launching an IDS va AMI instance

This demo will launch an IDS va AMI instance based one of the existing IDS va AMIs in Amazon EC2 previously created for this demo. You can find out more information about how to create an AMI image at Amazon EC2 wetsite.

There are two ways you can launch an IDS va AMI instance:

– Amazon AWS Management Console athttps://console.aws.amazon.com/

– Amazon Command Line Tools

This demo will use the Console for simplicity reason.

Page 36: ® © 2009 IBM Corporation Virtualization with Informix Dynamic Server Kent Klaas and Yunming Wang

36IBM Confidential October 2008

Configuring the IDS va AMI instance

Once the instance is running, it needs to be configured.

This demo will use putty.exe from a Windows machine to connect to the instance and configure the AMI instance.

Page 37: ® © 2009 IBM Corporation Virtualization with Informix Dynamic Server Kent Klaas and Yunming Wang

37IBM Confidential October 2008

Using OpenAdmin Tool on the AMI instance