32
IBM Lotus Domino 7 Meets IBM DB2 IBM Lotus Domino 7 Meets IBM DB2 Andrew Pollack, President Andrew Pollack, President Northern Collaborative Northern Collaborative Technologies Technologies

IBM Lotus Domino 7 Meets IBM DB2

  • Upload
    teo

  • View
    48

  • Download
    2

Embed Size (px)

DESCRIPTION

IBM Lotus Domino 7 Meets IBM DB2. Andrew Pollack, President Northern Collaborative Technologies. Who am I?. Andrew Pollack Principal, Northern Collaborative Technologies Certified with Lotus Notes since version 2 IBM Lotus Beacon Award Finalist in 1999, Winner in 2003 - PowerPoint PPT Presentation

Citation preview

Page 1: IBM Lotus Domino 7 Meets IBM DB2

IBM Lotus Domino 7 Meets IBM DB2IBM Lotus Domino 7 Meets IBM DB2

Andrew Pollack, PresidentAndrew Pollack, PresidentNorthern Collaborative TechnologiesNorthern Collaborative Technologies

Page 2: IBM Lotus Domino 7 Meets IBM DB2

Who am I?Who am I?Andrew PollackAndrew Pollack

– Principal, Northern Collaborative TechnologiesPrincipal, Northern Collaborative Technologies– Certified with Lotus Notes since version 2Certified with Lotus Notes since version 2– IBM Lotus Beacon AwardIBM Lotus Beacon Award

Finalist in 1999, Winner in 2003Finalist in 1999, Winner in 2003

Author of NCT Search for Lotus DominoAuthor of NCT Search for Lotus Domino

Proud member of the The Penumbra GroupProud member of the The Penumbra Group

Firefighter – When not driving a keyboard, I drive the Firefighter – When not driving a keyboard, I drive the big red truckbig red truck

Page 3: IBM Lotus Domino 7 Meets IBM DB2

About this PresentationAbout this Presentation This is an exploration of specific features, its deep This is an exploration of specific features, its deep

and focused, not a general overviewand focused, not a general overview

Focus is on what’s Important about DB2 Integration Focus is on what’s Important about DB2 Integration with Domino 7with Domino 7– What IBM says is ImportantWhat IBM says is Important– What I think is importWhat I think is import

Created based on “Milestone 2”Created based on “Milestone 2”– Updates are likely, and will be postedUpdates are likely, and will be posted– BASED ON BETA – Things WILL changeBASED ON BETA – Things WILL change

I try to put the ‘meat’ on the slides, in this case, I try to put the ‘meat’ on the slides, in this case, the is a lot of demo as wellthe is a lot of demo as well

Page 4: IBM Lotus Domino 7 Meets IBM DB2

The Obligatory CommercialThe Obligatory Commercial

Most of the speakers at this conference are available to help you!

– That’s the real reason we do this– Real experts guarantee results

Catch up with me during the conference if you want expert help

Now, on with the show...Major Release

If this was TIVO I could

fast forward…

Page 5: IBM Lotus Domino 7 Meets IBM DB2

Why IBM want Domino and DB2 more closely coupledWhy IBM want Domino and DB2 more closely coupled

Customers are asking for it.Customers are asking for it.– Major investment in DB2 alreadyMajor investment in DB2 already– Prospect of a single data storage farmProspect of a single data storage farm

Leverage between products increases revenue and Leverage between products increases revenue and overall market shareoverall market share

In the future, performance and scaleIn the future, performance and scale– Domino 7 with DB2 8 is just a startDomino 7 with DB2 8 is just a start– DB2 is evolving toward more non traditional data DB2 is evolving toward more non traditional data

structures like XML and Rich Datastructures like XML and Rich Data– As the technology improves, scale and performance will As the technology improves, scale and performance will

eventually outstrip the limits of a local NSF file on diskeventually outstrip the limits of a local NSF file on disk

Page 6: IBM Lotus Domino 7 Meets IBM DB2

Why Developers want Domino and DB2 more closely coupledWhy Developers want Domino and DB2 more closely coupled It grants some long standing Domino programmer It grants some long standing Domino programmer

wish list itemswish list items

– Live Views of Relational DataLive Views of Relational Data

– Single Views with Data from Multiple DatabasesSingle Views with Data from Multiple Databases

– View indexes generated on the fly based on changing View indexes generated on the fly based on changing selection criteriaselection criteria

@Username@Username Current TimeCurrent Time Specific Keyword ChoiceSpecific Keyword Choice

Page 7: IBM Lotus Domino 7 Meets IBM DB2

What do you get with Lotus What do you get with Lotus Domino 7 DB2 IntegrationDomino 7 DB2 Integration

Store Domino Data within DB2Store Domino Data within DB2

Controlled Access to Specific Domino Data from DB2 Controlled Access to Specific Domino Data from DB2 ApplicationsApplications

Create a Notes view of DB2 DataCreate a Notes view of DB2 Data

Using DB2 to store your Lotus Domino database does Using DB2 to store your Lotus Domino database does not automatically make the data open to other DB2 not automatically make the data open to other DB2 applications!applications!

Page 8: IBM Lotus Domino 7 Meets IBM DB2

Storing Domino Data in DB2Storing Domino Data in DB2

For Beta 2, Requires DB2 on the Same BoxFor Beta 2, Requires DB2 on the Same Box Classic NSF or DB2NSF on a per database basisClassic NSF or DB2NSF on a per database basis Servers Only, clients continue to use NSF filesServers Only, clients continue to use NSF files Transparent to usersTransparent to users Mostly transparent to administratorsMostly transparent to administrators Using a DB2NSF Using a DB2NSF does notdoes not imply sharing data imply sharing data

Not presently being represented as a performance gainNot presently being represented as a performance gain

Page 9: IBM Lotus Domino 7 Meets IBM DB2

Give DB2 Access to Domino DataGive DB2 Access to Domino Data

Design Element called a “DB2 Access View” Design Element called a “DB2 Access View”

– Defines data in Domino as a Table to DB2Defines data in Domino as a Table to DB2

Not the same as a Notes ViewNot the same as a Notes View

No access from Notes Client No access from Notes Client – Exception: SQL Views see it as DB2 DataException: SQL Views see it as DB2 Data

Domino Security Is Fully EnforcedDomino Security Is Fully Enforced– Including Reader NamesIncluding Reader Names

Page 10: IBM Lotus Domino 7 Meets IBM DB2

Lotus Domino Security is Enforced within DB2Lotus Domino Security is Enforced within DB2 From the Administration Help File --From the Administration Help File --

Page 11: IBM Lotus Domino 7 Meets IBM DB2

Adding an Integrated Server to your Domain Adding an Integrated Server to your Domain

Lotus Domino 7 is 100% Backward Compatible with Lotus Domino 7 is 100% Backward Compatible with your existing Domino Domain!your existing Domino Domain!

1. Prepare a DB2 Database Instance for storing the 1. Prepare a DB2 Database Instance for storing the data. data.

– May already exist, or you may create a new oneMay already exist, or you may create a new one

– Detailed instructions in the Lotus Domino Administrator 7 Detailed instructions in the Lotus Domino Administrator 7 Help fileHelp file

– NOTE: For this current beta, DB2 must be on the same NOTE: For this current beta, DB2 must be on the same machinemachine

Page 12: IBM Lotus Domino 7 Meets IBM DB2

Adding an Integrated Server to your Domain (continued)Adding an Integrated Server to your Domain (continued)

2. Make sure you have transaction logging turned 2. Make sure you have transaction logging turned on. This is a requirement.on. This is a requirement.

3. Install the “Domino DB2 Access Server”3. Install the “Domino DB2 Access Server”

– Download available on the Domino 7 beta siteDownload available on the Domino 7 beta site– Required if you want to use DB2 Access ViewsRequired if you want to use DB2 Access Views– If you do not have it right, everything works except If you do not have it right, everything works except

nobody will be able to select data from your published nobody will be able to select data from your published DB2 Access Views via Notes or via DB2 Connect ClientDB2 Access Views via Notes or via DB2 Connect Client

– Updated Installation information in the release notes Updated Installation information in the release notes posted on the Domino 7 beta site!posted on the Domino 7 beta site!

Page 13: IBM Lotus Domino 7 Meets IBM DB2

Installing the DB2 Access ServerInstalling the DB2 Access Serveraka: DB2 UDF Serveraka: DB2 UDF Server

During the beta of Domino 7, installation paths and During the beta of Domino 7, installation paths and requirements are very rigid – do not stray from these requirements are very rigid – do not stray from these settingssettings

First, register a new Domino server using your First, register a new Domino server using your Domino 7 admin client.Domino 7 admin client.– Use a single word name for the serverUse a single word name for the server– Save the new ID with no password on the driveSave the new ID with no password on the drive

We’ll call ours “UDFdominoServer”We’ll call ours “UDFdominoServer”

Page 14: IBM Lotus Domino 7 Meets IBM DB2

Now run the install program for the DB2 Access ServerNow run the install program for the DB2 Access Server Make sure to shut down Domino and DB2 during this Make sure to shut down Domino and DB2 during this

installationinstallation Key Installation Locations (answers to prompts)Key Installation Locations (answers to prompts)

Directory name – this is where DB2 is installed, not where Directory name – this is where DB2 is installed, not where the db2 target data goes. the db2 target data goes.

Find the “program files\ibm\sqllib” directory, and add this Find the “program files\ibm\sqllib” directory, and add this installation to the “Functions” directory therein – even if you installation to the “Functions” directory therein – even if you have to create ithave to create it

Page 15: IBM Lotus Domino 7 Meets IBM DB2

Directories to use when installing DB2 Access ServerDirectories to use when installing DB2 Access Server

\lotus\domino\udfserver.id

\program files\ibm\sqllib\

Page 16: IBM Lotus Domino 7 Meets IBM DB2

Very specific settings in the Server Document!Very specific settings in the Server Document!

<- This is the udf id you made

<- Don’t change the schema name

You can decide this

< not used, in beta must be local

You can decide this

^ The full pathname to ndomudf.dll –including the file

Page 17: IBM Lotus Domino 7 Meets IBM DB2

Adding an Integrated Server to your Domain (continued)Adding an Integrated Server to your Domain (continued) 3. Run the wizard from the Admin client3. Run the wizard from the Admin client

Page 18: IBM Lotus Domino 7 Meets IBM DB2

Adding an Integrated Server to your Domain (still continued)Adding an Integrated Server to your Domain (still continued) The server will restart and you’re all done!The server will restart and you’re all done!

Page 19: IBM Lotus Domino 7 Meets IBM DB2

How databases will be createdHow databases will be created

Check your server document – you may want to Check your server document – you may want to change a setting here…change a setting here…

If you set this to “DB2” then all databases created will end up stored in DB2.

If you set this to “NSF” then all databases created will end up stored as NSF

Page 20: IBM Lotus Domino 7 Meets IBM DB2

You can move databases between the data storesYou can move databases between the data stores Adminp does the real work hereAdminp does the real work here

Page 21: IBM Lotus Domino 7 Meets IBM DB2

You can even move databases between storage locations in DB2You can even move databases between storage locations in DB2

Even create Even create new storage new storage containers containers within DB2 to within DB2 to place your place your databases (if databases (if you have you have access rights)access rights)

Page 22: IBM Lotus Domino 7 Meets IBM DB2

Now lets develop something!Now lets develop something!

If you’re playing the home game, its DEMO timeIf you’re playing the home game, its DEMO time

Page 23: IBM Lotus Domino 7 Meets IBM DB2

DB2 Integration in DesignerDB2 Integration in Designer

Two sides of the coinTwo sides of the coin

– Query ViewsQuery Views Data from DB2Data from DB2 Displayed in NotesDisplayed in Notes

– DB2 Access Views (DAVs)DB2 Access Views (DAVs) Data from DominoData from Domino Accessed in DB2Accessed in DB2 Obeys Domino SecurityObeys Domino Security

DB2Domino Data

Traditional RDB

applications

Access View

Query View

ODBC

Page 24: IBM Lotus Domino 7 Meets IBM DB2

Use a “Query View” to access DB2 DataUse a “Query View” to access DB2 Data

Data may be from a Domino DB2 Access ViewData may be from a Domino DB2 Access View– To open the note, you must include the noteid in the SQL To open the note, you must include the noteid in the SQL

select statementselect statement

Query can be dynamicQuery can be dynamic– Example: @Prompt() popup to determine view contentExample: @Prompt() popup to determine view content

Query can “Join” DB2 dataQuery can “Join” DB2 data– Join two Domino DB2 Access Views to see data from more Join two Domino DB2 Access Views to see data from more

than one Domino database in a single viewthan one Domino database in a single view

Page 25: IBM Lotus Domino 7 Meets IBM DB2

Defining a Query ViewDefining a Query View

Page 26: IBM Lotus Domino 7 Meets IBM DB2

Query Views – Data from DB2 displayed in NotesQuery Views – Data from DB2 displayed in Notes

No pre-built indexes in the NSFNo pre-built indexes in the NSF

– Possible storage and performance boost for databases that Possible storage and performance boost for databases that change frequentlychange frequently

Selection can be changed on the fly per userSelection can be changed on the fly per user

– Use @Prompt narrow selectionUse @Prompt narrow selection– Complex SQL can fit different kinds of data into the same Complex SQL can fit different kinds of data into the same

view designview design Does this make the Notes client a reporting tool?Does this make the Notes client a reporting tool?

– Finally, use @Username to select dataFinally, use @Username to select data

Page 27: IBM Lotus Domino 7 Meets IBM DB2

Use SQL right in the selection formulaUse SQL right in the selection formula

Page 28: IBM Lotus Domino 7 Meets IBM DB2

DB2 Access Views – Free the Domino DataDB2 Access Views – Free the Domino Data

Distinct Design elementDistinct Design element– not just a view typenot just a view type

Not visible in the client Not visible in the client – except through Query Viewsexcept through Query Views

Defines Lotus Notes “Information” in a Relational Data Defines Lotus Notes “Information” in a Relational Data modelmodel

Enforces Domino SecurityEnforces Domino Security

Page 29: IBM Lotus Domino 7 Meets IBM DB2

Creating a DB2 Access ViewCreating a DB2 Access View

Page 30: IBM Lotus Domino 7 Meets IBM DB2

Like Chocolate & Peanut Butter Like Chocolate & Peanut Butter

Or Beer and Pretzels -- They go well togetherOr Beer and Pretzels -- They go well together

– DAVs from two Notes databases can make up a single DAVs from two Notes databases can make up a single Query View – breaking the .NSF barrier!Query View – breaking the .NSF barrier!

If a valid NOTEID from a DAV is selected, the If a valid NOTEID from a DAV is selected, the referenced document can be opened from the viewreferenced document can be opened from the view

Page 31: IBM Lotus Domino 7 Meets IBM DB2

AADVISORDVISOR LIVELIVE Web Update Page Web Update Page

AdvisorEvents.com/CXX0411p.nsf/w/CXX0411udAdvisorEvents.com/CXX0411p.nsf/w/CXX0411ud

This session WILL have updatesThis session WILL have updates

Also available on my siteAlso available on my site

www.thenorth.comwww.thenorth.com

Major Release

I want to hear from you

[email protected]

www.thenorth.com/apblog

Got Questions?

Page 32: IBM Lotus Domino 7 Meets IBM DB2

Thank you!Thank you!

Please remember to fill out your evaluation.Please remember to fill out your evaluation.

I want to hear from you

[email protected]

www.thenorth.com/apblog