WebSphere eXtreme Scale Best Practices for Operation and Management

Book description

This IBM® Redbooks® publication contains a summary of the leading practices for implementing and managing a WebSphere® eXtreme Scale installation. The information in this book is a result of years of experience that IBM has had in with production WebSphere eXtreme Scale implementations. The input was received from specialists, architects, and other practitioners who have participated in engagements around the world.

The book provides a brief introduction to WebSphere eXtreme Scale and an overview of the architecture. It then provides advice about topology design, capacity planning and tuning, grid configuration, ObjectGrid and backing map plug-ins, application performance tips, and operations and monitoring.

This book is written for a WebSphere eXtreme Scale-knowledgeable audience.

Please note that the additional material referenced in Appendix B is not available from IBM.

Table of contents

  1. Notices
    1. Trademarks
  2. Preface
    1. The team who wrote this book
    2. Now you can become a published author, too!
    3. Comments welcome
    4. Stay connected to IBM Redbooks
  3. Chapter 1: Introduction to WebSphere eXtreme Scale
    1. Benefits of using WebSphere eXtreme Scale
    2. Adoption of WebSphere eXtreme Scale
    3. Common usage patterns for WebSphere eXtreme Scale
      1. Side cache
      2. Inline cache
      3. Application state store
      4. Extreme transaction processing (XTP)
    4. The contents of this book
  4. Chapter 2: WebSphere eXtreme Scale architecture
    1. A grid from a user’s point of view
    2. Grid component overview
    3. A grid from WebSphere eXtreme Scale’s view
      1. Catalog service
      2. Shards
    4. Client grid access
    5. WebSphere eXtreme Scale internal components
      1. Session
      2. Map
      3. ObjectMap
      4. Tuples
      5. Backing maps
      6. Grid clients and backing maps
  5. Chapter 3: Topology and infrastructure
    1. Topology design options
      1. Understanding WebSphere eXtreme Scale topology
      2. Stand-alone vs. managed installations
      3. Local, embedded, and distributed grid topologies
      4. Multiple data center topologies: Zone vs. multi-master replication
    2. WebSphere eXtreme Scale distributed topology
      1. Catalog service placement
      2. Example
    3. Zone-based topology
      1. When to use zone-based topology
      2. Synchronous and asynchronous replication
      3. The placement of catalog servers
      4. Proximity-based routing
    4. Multi-master replication topology
      1. Topology options
      2. Performance and fault tolerance considerations
      3. Collision management considerations
      4. Testing the topology
    5. Port assignments and firewall rules
      1. Catalog service domain ports
      2. Container server ports
      3. Client configuration
      4. Multi-master replication ports
      5. SSL ports
      6. Summary
  6. Chapter 4: Capacity planning and tuning
    1. Planning for capacity
      1. Planning for catalog servers
      2. Planning for container servers: Building blocks
      3. What do we need to size when performing capacity planning
      4. Calculating the required memory for the data in the grid
      5. Determining the maximum heap size and physical memory per JVM
      6. Topology considerations for failure handling
      7. Determining the number of partitions
      8. Determining numInitialContainers
      9. Determining the number of CPUs
      10. An example of a WebSphere eXtreme Scale sizing exercise
    2. Tuning the JVM
      1. Selecting a JVM for performance
      2. Tuning for efficient garbage collection
      3. Increasing the ORB thread pool
      4. Thread count
      5. Sources and references
  7. Chapter 5: Grid configuration
    1. Configuration overview
      1. Server XML configuration
      2. Client XML configuration
      3. Server properties
      4. Client properties
      5. Externalizing the server XML configuration in WebSphere Application Server (1/2)
      6. Externalizing the server XML configuration in WebSphere Application Server (2/2)
      7. Duplicate server names in WebSphere Application Server
    2. Catalog service domain
      1. Configuring a catalog service domain in a WebSphere environment
    3. ObjectGrid plug-ins
      1. The TransactionCallback plug-in
      2. The ObjectGridEventListener plug-in
    4. BackingMap plug-ins
      1. Loaders: Choices and configurations (1/2)
      2. Loaders: Choices and configurations (2/2)
      3. OptimisticCallback plug-ins
      4. MapEventListener plug-ins
      5. Indexing plug-ins
  8. Chapter 6: Performance planning for application developers
    1. Copy mode method preferred practices
      1. COPY_ON_READ_AND_COMMIT mode
      2. COPY_ON_READ mode
      3. COPY_ON_WRITE mode
      4. NO_COPY mode
      5. COPY_TO_BYTES mode
    2. Evictor performance preferred practices
      1. Default (time-to-live) evictor
      2. Pluggable evictors with LFU and LRU properties
      3. Memory-based eviction
    3. Locking performance preferred practices
      1. Pessimistic locking strategy
      2. Optimistic locking strategy
      3. None locking strategy
      4. Lock semantics for lockStrategy=PESSIMISTIC, OPTMISTIC, and NONE
    4. Serialization performance
      1. A discussion of efficient serialization
      2. Implementing the Externalizable interface
      3. Using a custom ObjectTransformer implementation
    5. Query performance tuning
      1. Using parameters
      2. Using indexes
      3. Using pagination
      4. Returning primitive values instead of entities
      5. Query plan
      6. getPlan method
      7. Query plan trace
      8. Query plan examples
  9. Chapter 7: Operations and monitoring
    1. Starting and stopping WebSphere eXtreme Scale
      1. Starting and stopping catalog services
      2. Starting and stopping container servers
      3. Performing a full (cold) start of WebSphere eXtreme Scale
      4. Performing a partial start of container servers
      5. Performing a partial stop of catalog servers
      6. Performing a partial stop of container servers
      7. Performing a full stop of WebSphere eXtreme Scale
      8. What to do when a JVM is lost
    2. The placement service in WebSphere eXtreme Scale
      1. Where the placement service runs
      2. Quorum and the placement service
      3. When and how the placement service runs
    3. The xsadmin command-line tool
      1. Using xsadmin in an embedded environment
      2. Useful xsadmin commands
    4. Configuring failure detection
      1. Container failover detection
      2. Client failure detection
    5. Monitoring WebSphere eXtreme Scale
      1. Operating system monitoring
      2. Monitoring WebSphere eXtreme Scale logs
      3. WebSphere eXtreme Scale web console (1/2)
      4. WebSphere eXtreme Scale web console (2/2)
      5. Monitoring with Tivoli Performance Viewer
      6. Monitoring using a WebSphere eXtreme Scale ping client
      7. Additional monitoring tools
    6. Applying product updates
      1. Overview
      2. Procedures
  10. Appendix A: Sample code
    1. FastSerializabledKeyOrEntry_Externalizable.java (1/2)
    2. FastSerializabledKeyOrEntry_Externalizable.java (2/2)
  11. Appendix B: Additional material
    1. Locating the Web material
    2. Using the Web material
      1. Downloading and extracting the Web material
  12. Related publications
    1. IBM Redbooks
    2. Online resources
    3. Help from IBM
  13. Back cover

Product information

  • Title: WebSphere eXtreme Scale Best Practices for Operation and Management
  • Author(s): Ying Ding, Bertrand Fayn, Art Jolin, Hendrik Van Run, Carla Sadtler, Chunmo Son, Sukumar Subburaj, Tong Xie
  • Release date: August 2011
  • Publisher(s): IBM Redbooks
  • ISBN: None