The document discusses IBM Lotus Traveler High Availability in three sentences:
IBM Lotus Traveler 8.5.3 Upgrade Pack 1 introduces high availability functionality that allows Traveler servers to be run in a pooled configuration sharing a backend SQL database for storage. This provides load balancing and failover capabilities. The document reviews the requirements, installation, and administration of the high availability functionality.
DevEX - reference for building teams, processes, and platforms
#dd12 IBM Lotus Traveler High Availability in a nutshell
1. IBM Lotus Traveler High Availability in a nutshell
Dominopoint Days 2012, Milano
René Winkelmeyer
midpoints GmbH
2. About me
midpoints GmbH
http://www.midpoints.de
IBM Advanced Business Partner
IBM Design Partner for Domino Next
IBM Mobile Design Partner
Apple Enterprise Developer & MDM Program
Services
• Notes / Domino Consulting
• E-Mail Management
• App Development (IBM Connections, RCP,
XPages, mobile)
René Winkelmeyer We mobilize Notes
Senior Consultant • Lotus Traveler planning & deployment
• mobile app development
• Domino based iOS Device Management
• Domino based “Dropbox” for Notes and iOS
OpenNTF Contributor and OpenNTF Director
• File Navigator: http://filenavigator.openntf.org
3. About me
• Skype
muenzpraeger
• Twitter
muenzpraeger
• LinkedIn
muenzpraeger
• Facebook
muenzpraeger
• Slideshare
muenzpraeger
• G+
www.winkelmeyer.com/+
• Web
René Winkelmeyer http://blog.winkelmeyer.com
Senior Consultant http://www.midpoints.de
• Mail
mail@winkelmeyer.com
rene.winkelmeyer@midpoints.de
4. Beta disclaimer
The IBM Lotus Traveler 8.5.3 Beta releases
are displayed and/or demonstrated with
permission from IBM Corporation.
The screen images, features and functions of
such beta releases are preliminary, not yet
committed for delivery to customers and
subject to change by IBM without notice.
4
5. Agenda
What will I talk about?
- Lotus Traveler 8.5.3 and prior – where do we come
from?
- Lotus Traveler 8.5.3 Upgrade Pack 1 in general
- High Availability and Loadbalancing
- High Availability installation and adminstration
- Considerations for and if using High Availability
5
7. Lotus Traveler 8.5.3 and prior
– where do we come from?
§ January 2008 - Traveler 8.0.1 for Windows Mobile
§ January 2009 - Traveler 8.5 for Nokia S60 and Windows Mobile
§ October 2009 - Traveler 8.5.1 for Apple iPhone/iPod, Nokia, Windows Mobile
§ January 2010 - Traveler 8.5.1 FixPack 1
Companion App & iOS attendee calendar support
§ June 2010 - Traveler 8.5.1 for iPad
§ July 2010 - Traveler 8.5.1 for iPhone4 (iOS4x)
§ August 2010 - Traveler 8.5.2 for Apple/Nokia/Windows Mobile
§ December 2010 - Traveler for Android (8.5.2.1 FixPack release)
§ October 2011 – Traveler 8.5.3
§ March 2012 – Traveler 8.5.3 FP2
§ June 2012 – Traveler High Availability
7
8. Lotus Traveler 8.5.3 and prior
– where do we come from?
Domino Mail
SSL Notes
Domino Mail
Traveler
Server
Domino Mail
Server topology – Traveler in own DMZ
8
9. Lotus Traveler 8.5.3 and prior
– where do we come from?
Domino Mail
SSL SSL Notes
Secure Reverse Domino Mail
Traveler
Proxy Server
Domino Mail
Server topology – Reverse Proxy and Traveler, each in own DMZ
9
10. Lotus Traveler components (today)
HTTP Traveler Traveler
SSL TASK Servlet Task Notes Benutzer
Benutzer
Mail-DB
Benutzer
Mail-DB
Domino Mail-DB
and HTTP Profile
security Doc
Derby ntsclcache
SQL-DB Cluster
/ntsdb Info
Domino
Directory
Server Traveler
LotusTraveler
Config Policy
Settings
Default
Settings Domino
Directory
notes.ini NTSconfig.xml
Traveler Server Domino Mail
10
11. High Availability as per today (and maybe in
the future)
§ Traveler supports mail file clusters (info is stored in dedicated
ntsclcache.nsf)
§ But is doesn’t support “real” high availability. There are several
workarounds:
§ Run Traveler on a high available virtual machine platform (but
please, without snapshots)
§ Run a dedicated, ready-configured hot-stand-by system
§ Quickly install Domino and Traveler from the ground up ;-)
11
13. Lotus Traveler 8.5.3 Upgrade Pack 1
§ What’s an “Upgrade Pack”?
§ An “Upgrade Pack” is a new IBM way (besides major/minor
releases, FP’s and HP’s) to deliver additional functionality.
§ Why an “Upgrade Pack”?
§ It’s a way to roll out major new functionality outside a major
release.
§ It contains a lot more than “only” high availability…
13
14. Lotus Traveler 8.5.3 Upgrade Pack 1
- Contents (excerpt)
§ High availability
§ Scaling with “Traveler-Server-Pooling”
§ Support for a single server URL
§ Client version management
§ XPages administration interface
§ Additional Android settings
§ Additional filter settings
14
15. Lotus Traveler 8.5.3 Upgrade Pack 1
- Requirements
§ Domino 8.5.3 (Windows bzw. Linux)
§ 64bit is a requirement when running High Availability!
§ IBM Lotus Domino 8.5.3 Upgrade Pack 1 (which is included in the
Traveler installation image and will be installed automatically if not
present)
§ IBM DB2 or Microsoft SQL 2008 Server (if you want to use High
Availability)
§ An IBM DB2 entitlement is contained free of charge for this. But
the Traveler servers need to be licensed as Enterprise servers!
15
16. Lotus Traveler 8.5.3 Upgrade Pack 1
- change of configuration settings location
§ All configuration parameters will move from the NTSConfig.xml to the
notes.ini.
§ Benefit: update installation won’t overwrite configuration changes.
Please use – as a best practice – server configuration documents.
§ Old (NTSConfig.xml)
<COMPONENT COMPONENT_TYPE="TrueSyncServer">
<PROPERTY NAME=”Lookup_Min_Length" VALUE=3 />
§ New (notes.ini)
NTS_LOOKUP_MIN_LENGTH=3
16
17. Lotus Traveler 8.5.3 Upgrade Pack 1
- change of Traveler URI
§ The Traveler URI will change
§ Old: https://traveler.midpoints.de/servlet/traveler
§ New: https://traveler.midpoints.de/traveler
§ The installation automatically creates a HTTP redirect from “/servlet/
traveler” to “/traveler”, so that existing connections still will work.
§ If you run Mobile Device Management => consider to change the
URI.
17
18. Lotus Traveler 8.5.3 Upgrade Pack 1
- managing sent mails
§ New configuration setting “NTS_SENDMAIL_SAVE_OPTIONS” which
defines if sent mails should be stored in the mail file.
§ user (== default)
sent mail will be saved if defined in the mail files calendar profile
§ never
As the value says…sent mail won’t be saved
§ always
Again as the value says…sent mail will always be saved
§ noatt
Very cool => attachments won’t be saved, can be i. e. combined
with “always” (NTS_SENDMAIL_SAVE_OPTIONS=always,noatt)
18
19. Lotus Traveler 8.5.3 Upgrade Pack 1
- managing the outbox server
§ As per today mails are sent via the users mail server. Those servers
often don‘t run an AntiVirus solution. That may result in insecure mail
(from the mobile devices).
§ The new configuration setting „NTS_OUTBOX_SERVERS“ allows to
define the mail servers (failover like) which will be used for sending
outgoing mail.
§ NTS_OUTBOX_SERVERS=Gateway1/srv/midpoints, Gateway2/
srv/midpoints
19
20. Lotus Traveler 8.5.3 Upgrade Pack 1
- extended Notes doc link handling
§ Notes doc links are now converted into HTTP links (as you know it
from iNotes).
§ Restrictions
§ The target server must be reachable via HTTP.
§ The target application should be web enabled.
20
21. Lotus Traveler 8.5.3 Upgrade Pack 1
- web based administration interface (I)
§ With this release IBM introduces the administration from a „classic“
Notes usage to a XPage based administration interface (for
standalone and HA servers).
§ The „classic“ Notes interface should be considered as
deprecated.
§ Now you can administrate your Traveler environment from
everywhere...
§ ...but watch out! The administrators shouldn‘t have weak HTTP
passwords!
21
22. Lotus Traveler 8.5.3 Upgrade Pack 1
- web based administration interface (II)
22
23. Lotus Traveler 8.5.3 Upgrade Pack 1
- web based administration interface (III)
23
24. Lotus Traveler 8.5.3 Upgrade Pack 1
- web based administration interface (IV)
24
26. Lotus Traveler 8.5.3 Upgrade Pack 1
- web based administration interface (VI)
26
27. Lotus Traveler 8.5.3 Upgrade Pack 1
- Client Download Manager (I)
§ The new Client Download Manager allows a dedicated management of
Lotus Traveler mobile clients based on operating system and version
number.
§ The installation files are now stored in a NSF! That allows to use the
same clients for multiple servers.
§ The installation files are saved from the NSF onto the local file system
(for HTTP download). The files are located within „<dominodata>/
domino/html/travelerclients“.
§ A file change in the NSF automatically changes the file on the file
system. 27
29. Lotus Traveler 8.5.3 Upgrade Pack 1
- Client Download Manager (III)
§ Updating / new installation of Traveler automatically updates the clients
and assigns them as default.
§ That‘s not applicable for HA – there the default assignment happens
after all servers have been updated.
§ You‘re able to assign different clients to different users/groups, i .e.
for testing purposes.
29
34. Lotus Traveler 8.5.3 Upgrade Pack 1
- High Availability and Loadbalancing
SQL
Traveler
8.5.3
UP1
Domino Mail
34
35. Lotus Traveler 8.5.3 Upgrade Pack 1
- different run modes
§ Run Traveler standalone (as you know it)
§ LotusTraveler.nsf
§ Local Derby database per Traveler server
§ Run Traveler high available (HA)
§ Traveler-“Pool”
§ Remote SQL database server
35
36. Lotus Traveler 8.5.3 Upgrade Pack 1
- High Availability and Loadbalancing
§ If you want to use HA, you‘ll have to implement a SQL system for
storing the data (which replaces the local Derby database as a
storage).
§ Currently supported enterprise relational database systems
(additional RDBMS being considered for a future release):
§ IBM DB2 Server
§ Microsoft SQL Server
36
38. Lotus Traveler 8.5.3 Upgrade Pack 1
- Load Balancer / Reverse Proxy
§ A load balancer is a hard- or software appliance, which allows high
available networking connections.
§ Virtual IP address for multiple backend servers (i. e. Cisco Local
Director, IBM Websphere Edge Server)
§ A (secure == https) Reverse Proxy serves as authentication and
redirection frontend.
§ Sends requests from the same connection to the same backend
system.
§ Systems could be Lotus Mobile Connect (my preferred choice),
IBM Tivoli Access Manager, F5 Big-IP, Apache Pound...
38
39. Lotus Traveler 8.5.3 Upgrade Pack 1
- Traveler service pools
§ Traveler servers are „pooled“ in HA
§ All members of the pool use the same backend SQL database.
§ Each server in the pool can manage each user.
§ Every member serves HTTP requests.
39
40. Lotus Traveler 8.5.3 Upgrade Pack 1
- Traveler service pools
§ The requested Traveler server may serve the current request or
delegate it to another member in the service pool.
§ A delegations depends on several factors, i. e. which server is
currently monitoring the users mail database or how server usage is.
§ All servers are communicating within the pool on TCP port 50125 for
determining that. The communication could be encrypted (optional).
40
41. Lotus Traveler 8.5.3 Upgrade Pack 1
- High Availability installation and administration
SQL
Traveler
8.5.3
UP1
Domino Mail
41
42. Lotus Traveler 8.5.3 Upgrade Pack 1
- High Availability installation steps
§ It‘s so easy...it‘s Traveler.
§ Run the standard Traveler installation
§ Validate the installation
§ Create the SQL database on the SQL server (IBM DB2 is used here)
§ Create the table structure and the permissions for the SQL database
§ Add the first Traveler server to High Availability (initiates the service
pool)
§ (optional) Add additional Traveler servers to the existing service pool
42
43. Lotus Traveler 8.5.3 Upgrade Pack 1
- High Availability installation (I)
§ Run the standard Traveler installation
§ Like in previous releases. Creates a ready standalone Traveler
server which uses the local Derby database.
NTS_TEMPLATE_INSTALL=1
NTS_CLIENT_UPDATE=FULL
NTS_AUTO_CONFIG=true
NTS_AUTOSTART_HTTP=true
NTS_DBCONNECTIONURL=jdbc:derby:ntsdb;create=true
NTS_ENABLE_WEB_CLIENT_INSTALL=true
NTS_64_BIT=true
NTS_NEW_INSTALL=true
NTS_INSTALLATION_TYPE=ON_PREMISE
NTS_SET_EXTERNAL_URL=https://travelerha.midpoints.net/traveler
NTS_SERVER_LANG=en
43
NTS_BUILD=8.5.3.100 Upgrade Pack 1 Build 201205011719
44. Lotus Traveler 8.5.3 Upgrade Pack 1
- High Availability installation (III)
§ Validate the installation
§ It‘s quite simple. Just start the Domino with Traveler and take a
look at the version.
§ Additionally: Traveler 8.5.3 UP1 uses – new in this release – the
built-in OSGi servlet container and no longer the old Domino
servlet engine.
You can check the installation on the console.
> tell http osgi diag com.lotus.sync.traveler.admin
[122C:0002-13C4] 05.06.2012 14:26:45 update@../../../../data/domin
applications/eclipse/plugins/com.lotus.sync.traveler.admin.jar [159]
[122C:0002-13C4] 05.06.2012 14:26:45 No unresolved constraints.
44
45. Lotus Traveler 8.5.3 Upgrade Pack 1
- High Availability installation (IV)
§ Create the SQL database on the SQL server (IBM DB2 is used here,
you need to do it once)
§ Traveler allows to create the database scheme automatically.
That‘s the preferred way. Otherwise you may setup it manually
per SQL script (DDL).
§ You can configure it using the notes.ini parameter
NTS_AUTO_DBSCHEMA=false/true
45
46. Lotus Traveler 8.5.3 Upgrade Pack 1
- High Availability installation (V)
§ AUTOMATIC: create the new SQL database using the DB2 cc.
Traveler populates it automagically at startup.
46
47. Lotus Traveler 8.5.3 Upgrade Pack 1
- High Availability installation (VI)
§ MANUAL: create the new SQL database per script.
Traveler populates it automagically at startup.
§ Extract <dominodata>/traveler/cfg/db/TravelerSQL.zip
§ Goto the sub directory DB2
§ Change the db2cmd script if needed
§ Execute
db2cmd –c –w –i db2 –tvf createDb.sql -o –r createDb.out
§ Execute
db2cmd –c –w –i db2 –tvf appGrants.sql -o –r appGrants.out
47
48. Lotus Traveler 8.5.3 Upgrade Pack 1
- High Availability installation (VII)
§ Add the first Traveler server to High Availability
§ Copy the JDBC driver
from: <db2_install_dir>/sqllib/java/db2jcc4.jar
to: <domino>/traveler/lib
§ Open a shell and goto <dominodata>/traveler/util
§ Execute the travelerUtil tool
travelerutil db set url=jdbc:db2://db2.midpoints.net:50000/traveler
user=db2admin pw=passw0rd
§ The credentials will be saved encrypted whithin the
LotusTraveler.nsf.
48
49. Lotus Traveler 8.5.3 Upgrade Pack 1
- High Availability installation (VIII)
§ Start the Domino server. Done!
49
50. Lotus Traveler 8.5.3 Upgrade Pack 1
- High Availability administration (I)
§ You can issue console commands on any Traveler server for any
Traveler server.
§ A Traveler server could be deactivated for user acces.
§ You can bind users to a specific Traveler instance.
50
51. Lotus Traveler 8.5.3 Upgrade Pack 1
- High Availability administration (II)
§ tell traveler bind options
§ Binds a user to a specific server. This will disable failover for this
user.
§ Tell traveler HADR show
§ Shows the state of all servers in the pool.
51
52. Lotus Traveler 8.5.3 Upgrade Pack 1
- High Availability administration (III)
§ tell traveler users
§ Shows all users of the specific server.
§ tell traveler available <on/off>
§ Enables/disables pool participation of this server. No new users
will be added if a server is disabled (but existing users are still
connected).
52
53. Lotus Traveler 8.5.3 Upgrade Pack 1
- High Availability administration (IV)
§ Most console commands have been extended with an additiona option:
§ –s <serverName> executes the command on the specified server
§ –s * executes the command on the pool
§ –s *- executes the command on the pool, excluding
the local server
§ Example: tell traveler –s * status
53
54. Lotus Traveler 8.5.3 Upgrade Pack 1
- Considerations for and if using High Availability
54
55. Lotus Traveler 8.5.3 Upgrade Pack 1
- Considerations for and if using High Availability
§ Easy scaling based on your needs.
§ High Availability (as the name says ;-)) – no Traveler outage for your
users
§ Single servers could be migrated without affecting the mobile sync
of any user
55
56. Lotus Traveler 8.5.3 Upgrade Pack 1
- Considerations for and if using High Availability
§ You‘ll need additional infrastructure: the ease of just having a
Traveler server is gone.
§ Additional load balancer / reverse proxy needs to be setup – and
to be maintained.
§ Additional SQL database server cluster. Mostly you‘ll have some
of them. If not: do you have somebody who has experience in
this area?
§ Currently only IBM DB2 and Microsoft SQL 2008 supported.
56
57. Lotus Traveler 8.5.3 Upgrade Pack 1
- Considerations for and if using High Availability
§ Running HA on different data centers (maybe in different locations/
countries/continents) is not really a good idea.
§ Think about latencies...the Traveler service pool always
communicates internally.
§ And the SQL database cluster has to...yes, you‘re right, to
cluster. Think here about latencies, too.
57
58. Grazie agli sponsor per aver reso possibile i
Dominopoint Days 2012!
Main Sponsor
Vad sponsor
Platinum sponsor
Gold sponsor
58