connect2013 id506 hadr ideas for social business

39
© 2013 IBM Corporation ID506 High Availability and Disaster Recovery ideas for Social Business Luis Guirigay | Consulting Client Technical Professional IBM Collaboration Solutions | IBM [email protected] @lguiriga

Upload: luis-guirigay

Post on 14-Jun-2015

662 views

Category:

Technology


4 download

TRANSCRIPT

Page 1: Connect2013 id506 hadr ideas for social business

© 2013 IBM Corporation

ID506 High Availability and Disaster Recovery ideas for Social Business

Luis Guirigay | Consulting Client Technical ProfessionalIBM Collaboration Solutions | [email protected]@lguiriga

Page 2: Connect2013 id506 hadr ideas for social business

2 © 2013 IBM Corporation

Please note:

IBM’s statements regarding its plans, directions, and intent are subject to change or withdrawal without notice at IBM’s sole discretion.

Information regarding potential future products is intended to outline our general product direction and it should not be relied on in making a purchasing decision.

The information mentioned regarding potential future products is not a commitment, promise, or legal obligation to deliver any material, code or functionality. Information about potential future products may not be incorporated into any contract. The development, release, and timing of any future features or functionality described for our products remains at our sole discretion.

Performance is based on measurements and projections using standard IBM benchmarks in a controlled environment. The actual throughput or performance that any user will experience will vary depending upon many factors, including considerations such as the amount of multiprogramming in the user's job stream, the I/O configuration, the storage configuration, and the workload processed. Therefore, no assurance can be given that an individual user will achieve results similar to those stated here.

Page 3: Connect2013 id506 hadr ideas for social business

3 © 2013 IBM Corporation

Agenda

Introduction

Key Concepts

IBM Notes and Domino

Database Servers

IBM WAS ND

IBM Connections

* IBM Sametime

* Mobile

Page 4: Connect2013 id506 hadr ideas for social business

4 © 2013 IBM Corporation

Introduction

IT Architect with 14+ years working with IBM technologies , Public Speaker, IBM Certification Subject Matter Expert and IBM Certified Instructor

Health Checks, Support, Performance Tuning, Security, Upgrades, Deployments, Development, HADR

Published Author for developerWorks & Co-Author of the following IBM Redbooks● Implementing IBM Lotus Domino 7 for i5/OS● Preparing for and Tuning the SQL Query Engine on DB2 for i5/OS● Deploying IBM Workplace Collaboration Services on the IBM System i5 Platform

IBM Certified Developer● IBM Lotus Notes/Domino 5, 6, 7, 8, 8.5 and Lotus Workflow 3

IBM Certified Administrator● IBM Lotus Quickr 8.5 ● IBM Connections 2, 2.5, 3.x, 4● IBM Sametime 7.5, 8 and 8.5● IBM WebSphere Portal 6.0, 6.1, 7.0 and 8● IBM Lotus Notes/Domino 5, 6, 7, 8 and 8.5

Page 5: Connect2013 id506 hadr ideas for social business

5 © 2013 IBM Corporation

Key Concepts

Load Balancing● “…is a computer networking methodology to distribute workload across multiple computers or a

computer cluster….or other resources, to achieve optimal resource utilization, maximize throughput, minimize response time, and avoid overload”

High Availability● “…ability to continue processing and functioning for a certain period of time - normally a very

high percentage of time, for example 99.999%. …. Similarly, clustering and coupling applications between two or more systems can provide a highly available computing environment.”

Disaster Recovery ? *****● “…is an IT-focused plan/architecture designed to restore operability of the target systems,

applications, or computer facility at an alternate site after an emergency”

Sources:

http://www.redbooks.ibm.com/abstracts/tips0047.html

http://en.wikipedia.org/wiki/Load_balancing_(computing)

Page 6: Connect2013 id506 hadr ideas for social business

6 © 2013 IBM Corporation

Plan for the Best, Prepare for the Worst !

Business Issue Solution

Data Recovery Data Loss Data Redundancy● Replicas● Backups

Load Balancing Performance Resources Redundancy● Clusters● Server Farms

High Availability Service Downtime Systems Redundancy● Clusters● Server Farms

Disaster Recovery

Downtime of Business Operations

Systems and Site redundancy● Data centers on different locations

Page 7: Connect2013 id506 hadr ideas for social business

7 © 2013 IBM Corporation

Multi-layer architecture

Presentation layer● HTTP Servers, Caching Proxy

Logic layer● Application Server

Data layer● Database server

IBM Technote – Knowledge Connection for HTTP Server and WAS Plugin

http://www-01.ibm.com/support/docview.wss?uid=swg27021301

Page 8: Connect2013 id506 hadr ideas for social business

8 © 2013 IBM Corporation

IBM Lotus Notes/Domino and HADR

Page 9: Connect2013 id506 hadr ideas for social business

9 © 2013 IBM Corporation

IBM Lotus Notes and Domino (just a few tips)

In the Domino world it’s all about Clustering and Local/Managed Replicas● Using Clusters and Local/Managed Replicas is the ultimate 24/7● Run Cluster Analysis on a regular basis● Health Checks

Control Load Balancing using Server_Availability_Threshold=xx

Use a Private LAN for Cluster Replication

Enable multiple Cluster_Replicators=xx

DEBUG_EXCLUSIVE_REPLICATION=1 ● One DB at the time● Not good for HUB servers

Page 10: Connect2013 id506 hadr ideas for social business

10 © 2013 IBM Corporation

Deployment Idea #1: IBM Lotus Notes and Domino Mail Servers

Page 11: Connect2013 id506 hadr ideas for social business

11 © 2013 IBM Corporation

IBM DB2

Page 12: Connect2013 id506 hadr ideas for social business

12 © 2013 IBM Corporation

IBM DB2 – High Availability Disaster Recovery

Data is synchronized via Log Shipping Clients are rerouted using “Automatic Client Reroute” Synchronization modes

● SYNC (synchronous)● NEARSYNC (near synchronous)● ASYNC (asynchronous)● SUPERASYNC (super asynchronous)

http://pic.dhe.ibm.com/infocenter/db2luw/v10r1/topic/com.ibm.db2.luw.admin.ha.doc/doc/c0011724.html

Page 13: Connect2013 id506 hadr ideas for social business

13 © 2013 IBM Corporation

IBM DB2 Log Shipping and Mirroring

Log Mirroring ● It provides Data Redundancy● Data is duplicated● Please use a different disk controller

Log Shipping● It provides High Availability● If primary fails:

– The remaining logs are transferred over to the standby machine.

– The standby database rolls forward to the end of the logs and stops.

– The clients reconnect to the standby database and resume operations.

Page 14: Connect2013 id506 hadr ideas for social business

14 © 2013 IBM Corporation

IBM DB2 High Availability Feature

Enables integration between IBM® DB2 server and cluster managing software It provides infrastructure for enabling the database manager to communicate

with your cluster manager when instance configuration changes, such as stopping a database manager instance, require cluster changes

Supported clustering tools● IBM® PowerHA® SystemMirror for AIX®● Tivoli® System Automation for Linux● Microsoft Cluster Server, for Windows operating systems● Sun Cluster, or VERITAS Cluster Server, for the Solaris operating system● Multi-Computer/ServiceGuard, for Hewlett-Packard

Page 15: Connect2013 id506 hadr ideas for social business

15 © 2013 IBM Corporation

IBM DB2: Other HADR Options

DB2 Fault Monitor● UNIX based OS only (Linux, AIX)● It will restart the DB2 instance if it ends unexpectedly● Not compatible with high availability clustering products such as IBM PowerHA® SystemMirror

for AIX® or IBM Tivoli® System Automation for Multiplatforms (SA MP)

Automatic Client Reroute● It will establish a connection with

an alternate DB2 instance● Configured via Code or WAS ISC

Page 16: Connect2013 id506 hadr ideas for social business

16 © 2013 IBM Corporation

Deployment Idea #2: IBM DB2 HADR

Page 17: Connect2013 id506 hadr ideas for social business

17 © 2013 IBM Corporation

Microsoft SQL Server

Page 18: Connect2013 id506 hadr ideas for social business

18 © 2013 IBM Corporation

MS SQL Server - Failover clustering

Based on Windows Server failover clusters Provides High Availability at the Database Server Instance level Appears on the network as a single SQL Server instance on a single computer SQL Server Cluster will listen on virtual IP address for the cluster (not the

individual machines) All nodes are connected to a shared storage for SQL data

Page 19: Connect2013 id506 hadr ideas for social business

19 © 2013 IBM Corporation

MS SQL Server - Mirroring

Configured at the Database level 1:1 Failover 3 Modes of operation:

● High-safety

– Transaction is committed to mirrored server, then to the

principal

● High-performance mode

– Primary server doesn't wait for transaction to be committed to mirrored server

● High-safety mode with automatic failover

– Requires a 3rd server. The Witness server

– Failover is performed only if Witness and Mirrored

server remain connected to each other

Page 20: Connect2013 id506 hadr ideas for social business

20 © 2013 IBM Corporation

MS SQL Server: Log Shipping

Configured at the Database level 1:N Failover Supports limited read-only access to secondary databases (during the interval

between restore jobs) Related Jobs:

● Backup● Copy● Restore● Alert (With Optional Monitor Server)

Page 21: Connect2013 id506 hadr ideas for social business

21 © 2013 IBM Corporation

MS SQL Server - Replication

Configured at the Database level 1:N Failover Replication types

● Snapshot replication● Transactional replication● Merge replication

Replication models● Peer-to-peer● Central publisher● Central publisher with remote distributor● Central subscriber● Publishing subscriber

http://msdn.microsoft.com/en-us/library/ms152531(v=sql.105).aspx

http://msdn.microsoft.com/en-us/library/ms152567(v=sql.105).aspx

Page 22: Connect2013 id506 hadr ideas for social business

22 © 2013 IBM Corporation

Deployment Idea #3: MS SQL Server (MS Cluster and Mirroring)

Hosted in ATL

Page 23: Connect2013 id506 hadr ideas for social business

23 © 2013 IBM Corporation

Understanding WebSphere Application server

Page 24: Connect2013 id506 hadr ideas for social business

24 © 2013 IBM Corporation

WebSphere Application Server 101

Deployment Manager: a server that manages operations for a logical group or cell of other servers

Cell: A group of managed processes that are federated to the same deployment manager and can include high-availability core groups

Node Agent: an administrative agent that manages all application servers on a node and represents the node in the management cell

Node: a logical grouping of managed servers Profile: an instance of a WebSphere Application Server configuration

Remember…Multiple Nodes in a Cell don't necessarily represent High Availability (Eg: Sametime 8.5)

Page 25: Connect2013 id506 hadr ideas for social business

25 © 2013 IBM Corporation

WebSphere Application Server – A graphical experience

Page 26: Connect2013 id506 hadr ideas for social business

26 © 2013 IBM Corporation

WebSphere Clustering

Vertical Clustering: Multiple clustered application servers running inside the same node. Local Redundancy Maximize system resources utilization (powerful machines) Not supported by IBM Connections 4

Horizontal Clustering: Multiple clustered applications running a different nodes. Workload Balancing High Availability

Page 27: Connect2013 id506 hadr ideas for social business

27 © 2013 IBM Corporation

IBM Connections and HADR

Page 28: Connect2013 id506 hadr ideas for social business

28 © 2013 IBM Corporation

Quick Test

Difference between Vertical Cluster and Horizontal Cluster ?

Which SQL HADR option is the recommended for IBM Connections?

Page 29: Connect2013 id506 hadr ideas for social business

29 © 2013 IBM Corporation

IBM Connections and HADR

You can install Connections as:● Small Deployment● Medium Deployment● Large Deployment

It supports:● DB2● MS SQL● Oracle (For this one talk to your DBA)

Now that your understand DB HADR and WebSphere Clustering solutions it should be pretty easy to architect and deploy….

Page 30: Connect2013 id506 hadr ideas for social business

30 © 2013 IBM Corporation

Creating an IBM Connections Cluster

It is already created during installation with 1 node

Then... Install WAS Network Deployment – Application Server Only Copy JDBC files to Secondary node (same path as Primary Node) Shared content folders are available from secondary node Add Secondary Node to the Deployment Manager

● AddNode.sh/bat

Via ISC (aka WAS Web Console) - Create new cluster member and select secondary node

Via ISC - Add Ports and FQHN/IP to new server Via ISC - Sync Nodes Enable IBM HTTP Server to connect to secondary node

Page 31: Connect2013 id506 hadr ideas for social business

31 © 2013 IBM Corporation

Deployment Idea # 4: IBM Connections and HADR (Medium Deployment)

Page 32: Connect2013 id506 hadr ideas for social business

32 © 2013 IBM Corporation

IBM Sametime and HADR

Page 33: Connect2013 id506 hadr ideas for social business

33 © 2013 IBM Corporation

Deployment Idea # 5: IBM Sametime & HADR (Large Deployment)

Page 34: Connect2013 id506 hadr ideas for social business

34 © 2013 IBM Corporation

Mobile Solutions

Page 35: Connect2013 id506 hadr ideas for social business

35 © 2013 IBM Corporation

Deployment Idea # 6: IBM Traveler

Lot of sessions about Traveler

Page 36: Connect2013 id506 hadr ideas for social business

36 © 2013 IBM Corporation

Deployment Idea # 7: BES 5.x and HADR – A custom solution

Page 37: Connect2013 id506 hadr ideas for social business

37 © 2013 IBM Corporation

Thanks !Follow me: @lguiriga

about.me/lguiriga

Page 38: Connect2013 id506 hadr ideas for social business

38 © 2013 IBM Corporation

References

WebSphere Application Server V7: Concepts, Planning and Design

https://www.redbooks.ibm.com/Redbooks.nsf/RedbookAbstracts/sg247708.html

Understanding HTTP plug-in failover in a clustered environment

http://www-01.ibm.com/support/docview.wss?uid=swg21219808

High Availability and Disaster Recovery Options for DB2 on Linux, UNIX, and Windows

http://www.redbooks.ibm.com/abstracts/sg247363.html

Setting up a remote client to manage an established DB2 UDB HADR database pair from DB2 Control Center

http://www-01.ibm.com/support/docview.wss?uid=swg21249422

DB2 HADR Best Practices

http://www.ibm.com/developerworks/data/bestpractices/hadr/

Licensing distributed DB2 9.7 servers in a high availability (HA) environment

http://www.ibm.com/developerworks/data/library/techarticle/dm-0909db2halicensing/

Page 39: Connect2013 id506 hadr ideas for social business

39 © 2013 IBM Corporation

Legal disclaimer

© IBM Corporation 2013. All Rights Reserved.

The information contained in this publication is provided for informational purposes only. While efforts were made to verify the completeness and accuracy of the information contained in this publication, it is provided AS IS without warranty of any kind, express or implied. In addition, this information is based on IBM’s current product plans and strategy, which are subject to change by IBM without notice. IBM shall not be responsible for any damages arising out of the use of, or otherwise related to, this publication or any other materials. Nothing contained in this publication is intended to, nor shall have the effect of, creating any warranties or representations from IBM or its suppliers or licensors, or altering the terms and conditions of the applicable license agreement governing the use of IBM software.

References in this presentation to IBM products, programs, or services do not imply that they will be available in all countries in which IBM operates. Product release dates and/or capabilities referenced in this presentation may change at any time at IBM’s sole discretion based on market opportunities or other factors, and are not intended to be a commitment to future product or feature availability in any way. Nothing contained in these materials is intended to, nor shall have the effect of, stating or implying that any activities undertaken by you will result in any specific sales, revenue growth or other results.

Performance is based on measurements and projections using standard IBM benchmarks in a controlled environment. The actual throughput or performance that any user will experience will vary depending upon many factors, including considerations such as the amount of multiprogramming in the user's job stream, the I/O configuration, the storage configuration, and the workload processed. Therefore, no assurance can be given that an individual user will achieve results similar to those stated here.

All customer examples described are presented as illustrations of how those customers have used IBM products and the results they may have achieved. Actual environmental costs and performance characteristics may vary by customer.

Adobe, the Adobe logo, PostScript, and the PostScript logo are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States, and/or other countries.

Java and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both.

Microsoft and Windows are trademarks of Microsoft Corporation in the United States, other countries, or both.

Intel, Intel Centrino, Celeron, Intel Xeon, Intel SpeedStep, Itanium, and Pentium are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countries.

UNIX is a registered trademark of The Open Group in the United States and other countries.

Linux is a registered trademark of Linus Torvalds in the United States, other countries, or both. Other company, product, or service names may be trademarks or service marks of others.

All references to [insert fictitious company name] refer to a fictitious company and are used for illustration purposes only.