Home
Traveler server load balancing
Contents
1. Traveler 9 0 1 High Availability Setup and Best Practice Speaker Wang Rui Si IBM ICS Software Engineer Agenda Lotus Notes Traveler 9 0 1 Overview and System Requirements Traveler Architecture Overview Highly Available HA Consideration 1 Load balancing 2 Failover System Requirement Deployment checklist for HA Initial infrastructure setup Setup for individual servers Best practices for HA Reference Overview Basic Traveler Architecture without HA Mail servers Traveler server Notes RPC E Mobile Devices HTTP S SS Authenticating proxy server Eiotus Domne data tareker ntsdb Incide in library Share sith Burn het f Traveler DB it tmp service propa tes A Derby database is implemented entirely in Java and it B serice properties stores the files that live in a directory of the same name as the database Overview HA architecture Traveler service pool Mail servers Administer any user Web Administration from any server Direct connect or through Notes RPC proxy load balancer Mobile Devices lt S Load Balancer IP Sprayer Recommend Sprayer is Highly Available if possible Single IP address Generally will be in DMZ Remote DB configuration Traveler services will DA perform smart load balance using JDBC te Recommend pool is behind RDBMS on corporate firewall DB2 SQL Recommend Highly Available D
2. www lotus com ldd dominowiki nsf dx Lotus Notes _ Traveler APAR listing Check list of the process to deploy a High Availability pool Configuring Traveler HA using DB2 40 Continued Setup for common configuration Configure IBM Notes Traveler to use the enterprise database Upgrade considerations for HA Notes Traveler Support Community Notes Traveler Performance Technote 41 IBM thi At Pe RSC DE oS FAX URL http www 01 ibm com software cn passportadvantage support htm On 2014 IBM Corporation
3. DB server E g travelerUtil db set url jdbc db2 TRVLDB2 in ibm com 50000 TRAVELER user db2Zadmin pw p ssword Utility validates the DB2 information and configures Lotus Notes Traveler to use the DB2 instance instead of derby database The credentials are encrypted and stored in the Lotus Traveler nsf Command Prompt E Lotus Domino dat uelerutilrtrauelerUtil db set uP jdbe sdb TEULDEZ inf bn con 50006 TRAUELER user dh2adnin pu pl e cubed Using JDBC gor E Lotus Do nino Traveler erst nope doc 4 Ja Chec king dat abase connection to jdbc dh Bz in bn com SARRAYT RAUELER Connection successful Database antiques tion settings hawe been saved Restart the ceruer for changes to take effect E Lotus Domino datantraucler ut 11 26 Continued e Configure Lotus Notes Traveler for enterprise DB2 database 6 To validate what you just configured use the travelerUtil db show command or the travelerUtil db check as shown below cn Command Prompt E Lotus Domino data trave lersut1ilitravelerUti1il db show Database Connection URL jdbe db2 T RULDB 2 1n 1bm com S M4A TRAUELER notes ini JDBC Driver Path EFL Lotus Domino rave ler Libsdh2 jcc4 jar DE username dh admin DE password BHEHHHEHHHEHHH E Lotus Domino data traue lersutil gt m cn Command Prompt E Lotus Domino datastraue lersutil gt travelertil db check Retrieving username and password From Traveler data
4. and higher level fixpacks DB2 Enterprise Workgroup Server Edition v10 1 and higher level fixpacks Domino and Traveler must be at Same major version ALWAYS recommend 64 bit Domino server Domino Can not upgrade Windows 2003 SUSE 10 or Redhat 5 systems Agenda Lotus Notes Traveler 9 0 1 Overview and System Requirements Traveler Architecture Overview Highly Available HA Consideration 1 Load balancing 2 Failover System Requirement Deployment checklist for HA Initial infrastructure setup Setup for individual servers Best practices for HA Reference Initial infrastructure setup Install a load balancer IP sprayer Install a DB2 Enterprise Workgroup Server Create the IBM Notes Traveler database Automatic Way Configure DB2 database for Traveler using the DB2 Configuration Wizard Manual Data Definition Language DDL Way Configure DB2 database for Traveler using DDL Note The recommended version is DB2 Enterprise Server Edition 10 1 Control Center tools such as wizards are discontinued since DB2 10 1 Initial infrastructure setup Install a load balancer IP sprayer Deploy the front end load balancer IP sprayer Update your firewall s or other network equipment to support the sprayer to server and server to database connections Note You only need to perform steps in Initial infrastructure setup once 20 Create Traveler database using the DB2 Configu
5. in HA pool is no longer responding crash hang the IP sprayer Load balancer will detect it and failover the request to other traveler servers If the traveler server in HA pool still can accept request but is extreme slow the traveler server will redirect the request to other servers in the pool IBM DB2 High Availability HADR If the primary DB2 server is responding but is extreme slow the primary DB2 server should failover requests to alternate server according to the failover algorithm configured inside DB2 If the primary DB2 server is no longer responding the traveler server will detect it and failover the request to alternate server utilize automatic client reroute in the travelerUtil db set command 15 Agenda Lotus Notes Traveler 9 0 1 Overview and System Requirements Traveler Architecture Overview Highly Available HA Consideration 1 Load balancing 2 Failover System Requirement Deployment checklist for HA Initial infrastructure setup Setup for individual servers Best practices for HA Reference Traveler 9 0 1 System Requirements for High Availability Minimum system requirements for IBM Notes Traveler 9 P sprayer support has been tested with but not limited to the following IBM Mobile Connect v6 1 5 Apache HTTP Server v2 2 22 WebSphere Edge Server v7 0 0 18 DB2 Enterprise Database Requirements DB2 Enterprise Workgroup Server Edition v9 7 fixpack 5
6. B configuration a Ue a Overview Planning network topology for HA Option one A direct connection solution Lotus Notes Traveler direct connection with HA via round robin DNS Lotus Notes Traveler High Availability Pool Addressed using a common Round Robin DNS Entry Port 1352 NRPC SQL or DB2 JDBC Port thd Enterprise Database S r erve SQL or DB2 with High Availability Internal Network a Ue a Option one A direct connection solution Lotus Notes Traveler direct connection with HA using an IP sprayer Lotus Domino Mail Lotus Notes Traveler Server High Availability Port 1352 NRPC Port 443 HTTPS IP Sprayers with High Availability SQL or DB2 JDBC Port Enterprise Database erver SQL or DB2 with High Availability Internal Network Option two A reverse proxy solution Lotus Notes Traveler reverse proxy connection with HA using a separate IP sprayer Port 443 HTTPS Authenticating Reverse Proxy with High Availability IP Sprayer with High Availability Lotus Notes Traveler High Availability Pool Internal Network Port 1352 NRPC SQL or DB2 JDBC Port Lotus Domino Mail rv Enterprise Database Server SQL or DB2 with High Availability Option two A reverse proxy solution Lotus Notes Traveler reverse proxy connection with HA using combined proxy and IP spraver Port 443 HTTPS C
7. Log location is local only set in notes ini All other log settings are global and should be set using tell commands tell traveler log level finest tell traveler log adduser finest username tell traveler log fields Log level is always finest during startup then switches to defined level log collect log clear systemdump and pmr commands all run locally use s to run on other servers tell traveler s systemdump tell traveler s pmr 12345 999 744 tell traveler s myserver myco log collect For complete list of options tell traveler log help 38 Agenda Lotus Notes Traveler 9 0 1 Overview and System Requirements Traveler Architecture Overview Highly Available HA Consideration 1 Load balancing 2 Failover System Requirement Deployment checklist for HA Initial infrastructure setup Setup for individual servers Best practices for HA a Reference 39 Reference IBM Redbooks IBM Notes Traveler hints and tips for a successful deployment http www 10 lotus com Idd dominowiki nst xpViewCategories xsp 7lookupName IBM 20Redbooks 20IBM 20 Notes 20 Traveler 20hints 20and 20tips 20tor 20a 20successful 20deployment Lotus Notes Traveler Product Documentation http www lotus com ldd dominowiki nst xpViewCategories xsp lookupName Product 20Documentat ion Lotus Traveler Support FAQ http www ibm com support docview wss uid swg21450615 Lotus Traveler Releases by Date http
8. ay not be required 31 Continued Set up and configure the enterprise database to be highly available Lotus Notes Traveler 9 included a limited entitlement to IBM DB2 Workgroup for Linux UNIX and Windows This limited entitlement is provided for customers who want to deploy a Lotus Notes Traveler High Availability server but do not already have a relational database management system The DB2 entitlement is to be used to support Lotus Notes Traveler and not for any other purpose For more information about DB2 installation configuration and high availability setup see the IBM Redbooks publications DB2 Deployment Guide High Availability and Disaster Recovery Options for DB2 on Linux UNIX and Windows 32 Continued Traveler use the highly available enterprise database A capability called Automatic Client Reroute is provided on traveler to support the use of IBM DB2 High Availability HADR For DB2 for Linux UNIX and Windows the JDBC URL to utilize automatic client reroute in the travelerUtil db set command would look like the following travelerUtil db set url jdbc db2 primaryDBbserver yourco com 50000 TRAVELER clientRerouteAlternateServerName alternateDBserver yourco com clientRerouteAlternat ePortNumber 50000 retrylntervalForClientReroute 10 maxRetriesForClientReroute 3 user db2admin pw passwoOrd 33 Continued Avoid network latency between servers Lotus Notes Traveler servers i
9. base Checking database connection to Jdbce db2 z7 TRULDEZ in 1bm caom S 0AAZTRAVELER Lonnection successful E Lotus Domino data traue ler util gt 2 7 Continued e Configure Lotus Notes Traveler for enterprise DB2 database 7 Start IBM Notes Traveler Note Traveler will automatically create the database schema and database objects needed during startup of the first traveler server existing users sync data will be transferred to HADR during start up of each traveler server 06 2012 08 37 57 PM 6 0 12 09 37 59 PM wg 12 09 38 11 PM 60 2 09 36 11 FM 1 0 12 08 38 47 PM 60 12 08 39 34 PM 106 2012 06 43 08 PM 0806 2012 09 50 49 PM 06 06 2012 08 51 55 PM 08 06 20 12 09 59 45 PM 0806 2012 10 03 45 PM 6406 2012 10 04 46 PM 06 06 2012 10 07 46 PM 12 10 08 46 PM 12 10 09 46 PM 10 10 46 FM 2 10 11 46 PM 2 10 12 46 PM 10 13 02 PM 06 2012 10 13 02 PM i 8062012 10 13 02 PM d 1062012 10 13 25 PM RESTART TASK HTTP 1062012 10 13 25 PM 10 13 32 PM 10 13 32 PM 10 13 35 PM 10 13 59 PM Lotus Traw ler Lotus Traveler Lotus Tra w ler Lotus Traw ler Lotus Traveler Lotus Traveler Lotus Traw ler Lotus Traveler Lotus Traveler Lotus Traveler Lotus Traveler Lotus Traveler Lotus Traveler Lotus Traveler Lotus Traveler Lotus Traveler Lotus Traveler Lotus Traveler Lotus Traveler Lotus Traveler Lotus Traveler Lotus Traveler Lotus Traveler Lot
10. erview Highly Available HA Consideration 1 Load balancing 2 Failover System Requirement Deployment checklist for HA Initial infrastructure setup Setup for individual servers Best practices for HA Reference 29 Best practices for HA The minimum configuration for a IBM Notes Traveler HA Pool is as follows Two Domino servers running IBM Notes Traveler One DB2 server or Microsoft SQL server One server running the IP sprayer load balancer Derby to Enterprise DB Migration IMPORTANT only add one server to the pool at a time First server creates the pool and establishes default settings On startup will migrate user data to enterprise db may take over an hour Allow data migration to complete before adding another server Use DNS or Proxy routing to prevent need for reconfigure of the device for a new access URL Can add 32 bit server to the pool to migrate data but should then retire the System 30 Continued The following setup considerations are optional but recommended 1 Set up the server pool to share configuration information 2 Setup and configure the enterprise database to be highly available 3 Setup and configure the front end sprayer to be highly available 4 Mail servers is recommended to be clustered Note There will be a performance impact to enabling secure sockets for server to server communications Depending upon your network configuration this step m
11. ministration functionality plus a few enhancements Can still access Lotus Traveler nsf with Admin Notes client in stand alone mode Web Admin only for HA mode will get this message accessing with Notes Admin client Lotus Notes Traveler Administration The selected wiew 1s obsolete for Lotus Hotes Traveler Lotus Motes Traveler administation has changed to an lt Pegqes spolication that can be accessed from s our browser via the link etraveler_serer namert otsTreweler nsi For more information about Lotus Motes Traveler and its Administration see domi l ous Woes reefer 36 Tell Commands in HA Environment User based commands are HA aware Commands such as show dump delete reset stopsync get routed to the users master monitor server Console messages will report which server the command was routed to Console output will be routed back to the server the command was issued User dump file will be generated on the Master Monitor server and not the server the command was issued Server based commands operate locally be default such as log collect pmr systemdump status etc Use s lt server gt option to route to a specific server For example tell traveler s myserver myco status tell traveler s pmr 12345 678 900 New HADR command for viewing servers in the pool New Available command to mark a system as unavailable useful for testing 3 Logging in HA Environment
12. n an HA pool should all be located on the same network If failover is configured for the database servers the database servers should be located within the same network preferably on the same switch In general the Lotus Notes Traveler HA pool and the database servers should be co located in the same data center or have lower latency higher speed network Avoid single points of failure Each component of the traveler HA topology use a dedicated server 34 Continued Size the servers in the HA pool such that there is spare capacity to handle failover rounded up devices a server capacity to an integer plus 1 more for fail over For example assume a server capacity of 2000 devices and a total population of 4000 devices A two server pool will not be adequate as one server cannot handle 4000 devices in the event the other server is taken offline Therefore to adequately handle the device load in the event of one server going offline three servers are required NOT necessary to upgrade the template of the Domino directory Potential issue is some Traveler settings may not be available if using Domino Policy documents from an older names nsf templates Defragment the stand alone database prior to migration For more information refer to Defragmenting the internal database for improved performance 35 Web Based Administration http s hostname Lotus Traveler nsf Supports all traditional ad
13. ombined Authenticating Reverse Proxy amp IP Sprayer with High Availability Lotus Notes Traveler High Availability Port 1352 NRPC DB2 JDBC Port SQL or Internal Network Lotus Domino Mail Enterprise Database Server SQL or DB2 with High Availability Option three A virtual private network solution Lotus Notes Traveler using a VPN connection with HA Lotus Domino Mail Server Lotus Notes Traveler High Availability Port 1352 NRPC VPN Server with High IP Sprayer Availability with High Availability SQL or DB2 JDBC Port Enterprise Database Server SQL or DB2 with High Availability Internal Network Agenda Lotus Notes Traveler 9 0 1 Overview and System Requirements Traveler Architecture Overview Highly Available HA Consideration 1 Load balancing 2 Failover System Requirement Deployment checklist for HA Initial infrastructure setup Setup for individual servers Best practices for HA Reference HA Consideration Load Balancing IP sprayer Load balancer When considering the function of network load balancing it is important to keep in mind that the Lotus Notes Traveler servers will be providing their own load balancing independent of what the front end IP sprayer Load balancer does The minimal requirements for an IP sprayer load balancer include gt Provides a single URL and supports the proxy of device req
14. ration Wizard To create DB2 database for traveler using the DB2 Configuration Wizard perform the following procedure 1 Launch the DB2 Control Center from System tray or Start menu 2 Select Create Database gt Standard 3 In the Create Database Wizard select the defaults for each attribute unless otherwise noted Fill in the Database name Create Database Wizard name Specify a name for your new database This wizard helps you create and tailor a new database To create a basic database type anew name select drive and click Finish IF you want to tailor the database to your requirements click Next to continus Task Overview Database name Traveler Restrict access to system catalogs Let DEZ manage my storage automatic storage C want to manage my storage manually Default bufferpool and table space page size ak 21 Continued 4 Change the Code Set dialog box to UTF 8 Create Database Wizard Specify the locale for this database The locale berritory and code set determines the set of characters your database uses It also determines how different character strings are compared Country Region default I Svele tag strings are sorted according bo the code set you specify C Identity Character strings are sorted according bo their hexadecimal value Eis os Character strings are sorted using the Compatibilty Encoding Scheme E Identity 16bit Foe UTF 16 8 Bit
15. specication CESU 8 Character strings are sorted using the Unicode Collation Algorthm 4 0 0 with normalization on UCA400 NO Character ghrian are carted ac ner LAON NO hur en he Reval fia q P 5 Click through the rest of the wizard and select Finish to create the IBM Notes Traveler database Note No tables need to be created in this database All of the tables will be created by the first Lotus Notes Traveler server to be added to the database 22 Agenda Lotus Notes Traveler 9 0 1 Overview and System Requirements Traveler Architecture Overview Highly Available HA Consideration 1 Load balancing 2 Failover System Requirement Deployment checklist for HA Initial infrastructure setup Setup for individual servers Best practices for HA Reference 23 Setup for individual servers Complete the following setup steps for each IBM Notes Traveler server to be added to the HA pool Install Domino server and validate its functionality All Domino servers in the HA pool should be in the same Domino domain Install Traveler and validate its functionality Configure Traveler to use the enterprise database server and validate its functionality Update the front end sprayer to include the new Traveler server in the load balancing sprayer configuration Update the external URL setting for the server to point to the front end sprayer Note This step is not required on each server if
16. uests to two or more Lotus Notes Traveler servers gt Round robin load balancing to spread the load evenly across the Lotus Domino HTTP tasks as desired gt The ability to detect when a Lotus Notes Traveler server is no longer responding to allow for failover gt Session affinity for a device session is not required but is recommended for efficiency A short timeout of less than 2 hours is recommended HA Consideration Load Balancing Traveler server load balancing gt Traveler load balancing terminology Availability index The Availability Index Al is simply the percent available to a server and is based on current CPU and memory usage The value is generally 0 100 but can be negative if the server is over loaded or has been classified as unavailable Master monitor The server responsible for processing user data Each user is assigned a master monitor the first time his ner device connects Master Monitor is changed as needed to maintain load balance For example If no device connects the master monitor assignment will expire after 24 hours Availability index bias A bias or weighting is used to improve performance when deciding which server should be the master monitor for a particular user The two types of bias are local server 10 and current master monitor 20 12 HA Consideration Load Balancing Traveler server load balancing The algorithm used to balance traffic across Lot
17. us Notes Traveler servers is For each request from the device the local server will determine the best server to handle the request by comparing the Als of each server The following table shows examples of Lotus Notes Traveler load balancing To prevent thrashing a user s master monitor can not be switched again for at least 10 minutes Server 1 Local Server Server 2 No bias Server 3 Master Load balance winner Bias 10 Monitor Bias 70 and master monitor CurrentAl Al Bias CurrentAl Al Bias CurrentAl Al Bias 90 100 90 90 90 110 Server 3 fQ 80 90 90 50 r Server 2 65 95 90 90 fQ 90 Server 1 13 HA Consideration Load Balancing Traveler server load balancing Notes ini parameters can be used to adjust the algorithm above It is recommended to only change these values in small increments and monitor the systems for performance changes In general the default values should be sufficient Setting NTS ROUTE BIND H OLD TIME NTS ROUTE LOCAL BIAS NTS ROUTE CURRE NT BIAS Default value 60000 milliseconds 10 Percent 0 Percent Description Minimum time required before a particular users master monitor can be moved once assigned Bias added to the local server s Al Bias added to the current master monitor servers Al HA Consideration Failover IP sprayer Load balancer with HA to failover when one server doesn t response Traveler server Failover f traveler server
18. us Traveler Ta Starting JVM with Maximum Memory 30 72M Server Starting Traveler will now transfer the existing users into the HADR Pool 0 954 Users Sync Data have been trans rred 16 954 Users Sync Data have been Tansfenred 123854 Lees Sync Dat have been tanstrred 293 054 Users Sync Data have been transferred THA T9154 sers Sync Dat have been transrred sers Sync Data have been transtrred 200 users remaining 0 users remaining 63 users remaining 18 users remaining T users remaining 3 users remaining 1 users remaining 1 users remaining Transier has completed successfully Traveler will now start in HADR mode Adding Client installation Files 8 5 3 2201205287100 to Database Adding Client Installation Files 8 5 3 2 2012052787100 to Database Adding Client installation Files 8 5 3 2201205287100 to Database Adding Client installation Files 8 12 7100 to Database Adding Client installation Files 8 5 3 2 201205267100 to Database Restarting HTTP Server for configuration changes C WindowsiT EMP inotes 0979 Bi wemi345 con HTTP Server Using Web Configuration View Lotus Traveler Server started JVM Java Virtual Machine initialized HTTP Server Java Virtual Machine kadad ser Wel engine initialization was successful KSP Command Manager initialized HTTP Server Started 28 Agenda Lotus Notes Traveler 9 0 1 Overview and System Requirements Traveler Architecture Ov
19. you enable common configuration for all IBM Notes Traveler servers in the pool 24 Configure Traveler to use the enterprise database server Configure Lotus Notes Traveler for enterprise DB2 database 1 Ensure that the Lotus Notes Traveler DB is created and available on the DB2 server We created the database in the previous steps 2 On the DB2 server locate the file db2jcc4 jar in lt db2_install_dir gt sqllib java 3 Copy the db2jcc4 jar from the DB2 server to the Lotus Notes Traveler server in the below directory lt domino gt Travelerilib e g E Lotus Domino Travelerilib 4 Open a command prompt cmd on the Lotus Notes Traveler server and change the directory to lt domino data gt traveleriutil e g E Lotus Domino Dataltraveleriutil et Command Prompt E s cd Lotus Dominodatastrave ler sut il E Lotus Domino data trauelersut il Note On Windows run travelerUtil commands as administrator amp on Linux run the commands as the root user 25 Continued Configure Lotus Notes Traveler for enterprise DB2 database 5 Run travelerUtil to configure Lotus Notes Traveler in the following format travelerUtil db set url jdbc db2 lt db2server hostname gt lt db port lt traveler db name gt user lt db2 admin id gt pw lt db2 password gt The URL for DB2 consists of Hostname of the DB2 server Port number of database instant Default port is 50000 Database name and user name password of
Download Pdf Manuals
Related Search
Related Contents
Owner`s Manual - Silverton Marine Corporation Muffle Furnace Manual MANUEL D`UTILISATION SD::425E SD::425S::E Gebrauchsanleitung Instructions for Use Mode d`emploi Insert - Cromakit Domo DO191A air conditioner KRAUS FVS-1810CH Installation Guide PF31006B Recherche d`information et indexation automatique Copyright © All rights reserved.
Failed to retrieve file