Jump To Close Expand all Collapse all Table of contents Administration and Configuration Guide 1. Setting up Red Hat JBoss Data Grid Expand section "1. Setting up Red Hat JBoss Data Grid" Collapse section "1. Setting up Red Hat JBoss Data Grid" 1.1. Prerequisites 1.2. Steps to Set up Red Hat JBoss Data Grid I. Set Up JVM Memory Management Expand section "I. Set Up JVM Memory Management" Collapse section "I. Set Up JVM Memory Management" 2. Set Up Eviction Expand section "2. Set Up Eviction" Collapse section "2. Set Up Eviction" 2.1. About Eviction 2.2. Eviction Strategies Expand section "2.2. Eviction Strategies" Collapse section "2.2. Eviction Strategies" 2.2.1. LRU Eviction Algorithm Limitations 2.3. Using Eviction Expand section "2.3. Using Eviction" Collapse section "2.3. Using Eviction" 2.3.1. Initialize Eviction 2.3.2. Eviction Configuration Examples 2.3.3. Utilizing Memory Based Eviction 2.3.4. Eviction and Passivation 3. Set Up Expiration Expand section "3. Set Up Expiration" Collapse section "3. Set Up Expiration" 3.1. About Expiration 3.2. Expiration Operations 3.3. Eviction and Expiration Comparison 3.4. Cache Entry Expiration Behavior 3.5. Configure Expiration 3.6. Troubleshooting Expiration II. Monitor Your Cache Expand section "II. Monitor Your Cache" Collapse section "II. Monitor Your Cache" 4. Set Up Logging Expand section "4. Set Up Logging" Collapse section "4. Set Up Logging" 4.1. About Logging 4.2. Supported Application Logging Frameworks Expand section "4.2. Supported Application Logging Frameworks" Collapse section "4.2. Supported Application Logging Frameworks" 4.2.1. About JBoss Logging 4.2.2. JBoss Logging Features 4.3. Boot Logging Expand section "4.3. Boot Logging" Collapse section "4.3. Boot Logging" 4.3.1. Configure Boot Logging 4.3.2. Default Log File Locations 4.4. Logging Attributes Expand section "4.4. Logging Attributes" Collapse section "4.4. Logging Attributes" 4.4.1. About Log Levels 4.4.2. Supported Log Levels 4.4.3. About Log Categories 4.4.4. About the Root Logger 4.4.5. About Log Handlers 4.4.6. Log Handler Types 4.4.7. Selecting Log Handlers 4.4.8. About Log Formatters 4.5. Logging Sample Configurations Expand section "4.5. Logging Sample Configurations" Collapse section "4.5. Logging Sample Configurations" 4.5.1. Logging Sample Configuration Location 4.5.2. Sample XML Configuration for the Root Logger 4.5.3. Sample XML Configuration for a Log Category 4.5.4. Sample XML Configuration for a Console Log Handler 4.5.5. Sample XML Configuration for a File Log Handler 4.5.6. Sample XML Configuration for a Periodic Log Handler 4.5.7. Sample XML Configuration for a Size Log Handler 4.5.8. Sample XML Configuration for a Async Log Handler III. Set Up Cache Modes Expand section "III. Set Up Cache Modes" Collapse section "III. Set Up Cache Modes" 5. Cache Modes Expand section "5. Cache Modes" Collapse section "5. Cache Modes" 5.1. About Cache Containers 5.2. Local Mode Expand section "5.2. Local Mode" Collapse section "5.2. Local Mode" 5.2.1. Configure Local Mode 5.3. Clustered Modes Expand section "5.3. Clustered Modes" Collapse section "5.3. Clustered Modes" 5.3.1. Asynchronous and Synchronous Operations 5.3.2. About Asynchronous Communications 5.3.3. Cache Mode Troubleshooting 6. Set Up Distribution Mode Expand section "6. Set Up Distribution Mode" Collapse section "6. Set Up Distribution Mode" 6.1. About Distribution Mode 6.2. Distribution Mode's Consistent Hash Algorithm 6.3. Locating Entries in Distribution Mode 6.4. Return Values in Distribution Mode 6.5. Configure Distribution Mode 6.6. Synchronous and Asynchronous Distribution 7. Set Up Replication Mode Expand section "7. Set Up Replication Mode" Collapse section "7. Set Up Replication Mode" 7.1. About Replication Mode 7.2. Optimized Replication Mode Usage 7.3. Configure Replication Mode 7.4. Synchronous and Asynchronous Replication Expand section "7.4. Synchronous and Asynchronous Replication" Collapse section "7.4. Synchronous and Asynchronous Replication" 7.4.1. Troubleshooting Asynchronous Replication Behavior 7.5. The Replication Queue Expand section "7.5. The Replication Queue" Collapse section "7.5. The Replication Queue" 7.5.1. Replication Queue Usage 7.6. About Replication Guarantees 7.7. Replication Traffic on Internal Networks 8. Set Up Invalidation Mode Expand section "8. Set Up Invalidation Mode" Collapse section "8. Set Up Invalidation Mode" 8.1. About Invalidation Mode 8.2. Configure Invalidation Mode 8.3. Synchronous/Asynchronous Invalidation 8.4. The L1 Cache and Invalidation 9. State Transfer Expand section "9. State Transfer" Collapse section "9. State Transfer" 9.1. Non-Blocking State Transfer 9.2. Suppress State Transfer via JMX 9.3. The rebalancingEnabled Attribute IV. Enabling APIs Expand section "IV. Enabling APIs" Collapse section "IV. Enabling APIs" 10. Enabling APIs Declaratively Expand section "10. Enabling APIs Declaratively" Collapse section "10. Enabling APIs Declaratively" 10.1. Batching API 10.2. Grouping API 10.3. Externalizable API Expand section "10.3. Externalizable API" Collapse section "10.3. Externalizable API" 10.3.1. Register the Advanced Externalizer (Declaratively) 10.3.2. Custom Externalizer ID Values 11. Set Up and Configure the Infinispan Query API Expand section "11. Set Up and Configure the Infinispan Query API" Collapse section "11. Set Up and Configure the Infinispan Query API" 11.1. Set Up Infinispan Query Expand section "11.1. Set Up Infinispan Query" Collapse section "11.1. Set Up Infinispan Query" 11.1.1. Infinispan Query Dependencies in Library Mode 11.2. Indexing Modes Expand section "11.2. Indexing Modes" Collapse section "11.2. Indexing Modes" 11.2.1. Managing Indexes 11.2.2. Managing the Index in Local Mode 11.2.3. Managing the Index in Replicated Mode 11.2.4. Managing the Index in Distribution Mode 11.2.5. Managing the Index in Invalidation Mode 11.3. Directory Providers Expand section "11.3. Directory Providers" Collapse section "11.3. Directory Providers" 11.3.1. RAM Directory Provider 11.3.2. Filesystem Directory Provider 11.3.3. Infinispan Directory Provider 11.4. Configure Indexing Expand section "11.4. Configure Indexing" Collapse section "11.4. Configure Indexing" 11.4.1. Configure the Index in Remote Client-Server Mode 11.4.2. Rebuilding the Index 11.5. Tuning the Index Expand section "11.5. Tuning the Index" Collapse section "11.5. Tuning the Index" 11.5.1. Near-Realtime Index Manager 11.5.2. Tuning Infinispan Directory 11.5.3. Per-Index Configuration V. Remote Client-Server Mode Interfaces Expand section "V. Remote Client-Server Mode Interfaces" Collapse section "V. Remote Client-Server Mode Interfaces" 12. The REST Interface Expand section "12. The REST Interface" Collapse section "12. The REST Interface" 12.1. The REST Interface Connector Expand section "12.1. The REST Interface Connector" Collapse section "12.1. The REST Interface Connector" 12.1.1. Configure REST Connectors 13. The Memcached Interface Expand section "13. The Memcached Interface" Collapse section "13. The Memcached Interface" 13.1. About Memcached Servers 13.2. Memcached Statistics 13.3. The Memcached Interface Connector Expand section "13.3. The Memcached Interface Connector" Collapse section "13.3. The Memcached Interface Connector" 13.3.1. Configure Memcached Connectors 14. The Hot Rod Interface Expand section "14. The Hot Rod Interface" Collapse section "14. The Hot Rod Interface" 14.1. About Hot Rod 14.2. The Benefits of Using Hot Rod over Memcached 14.3. Hot Rod Hash Functions 14.4. The Hot Rod Interface Connector Expand section "14.4. The Hot Rod Interface Connector" Collapse section "14.4. The Hot Rod Interface Connector" 14.4.1. Configure Hot Rod Connectors VI. Set Up Locking for the Cache Expand section "VI. Set Up Locking for the Cache" Collapse section "VI. Set Up Locking for the Cache" 15. Locking Expand section "15. Locking" Collapse section "15. Locking" 15.1. Configure Locking (Remote Client-Server Mode) 15.2. Configure Locking (Library Mode) 15.3. Locking Types Expand section "15.3. Locking Types" Collapse section "15.3. Locking Types" 15.3.1. About Optimistic Locking 15.3.2. About Pessimistic Locking 15.3.3. Pessimistic Locking Types 15.3.4. Explicit Pessimistic Locking Example 15.3.5. Implicit Pessimistic Locking Example 15.3.6. Configure Locking Mode (Remote Client-Server Mode) 15.3.7. Configure Locking Mode (Library Mode) 15.4. Locking Operations Expand section "15.4. Locking Operations" Collapse section "15.4. Locking Operations" 15.4.1. About the LockManager 15.4.2. About Lock Acquisition 15.4.3. About Concurrency Levels 16. Set Up Lock Striping Expand section "16. Set Up Lock Striping" Collapse section "16. Set Up Lock Striping" 16.1. About Lock Striping 16.2. Configure Lock Striping (Remote Client-Server Mode) 16.3. Configure Lock Striping (Library Mode) 17. Set Up Isolation Levels Expand section "17. Set Up Isolation Levels" Collapse section "17. Set Up Isolation Levels" 17.1. About Isolation Levels 17.2. About READ_COMMITTED 17.3. About REPEATABLE_READ VII. Set Up and Configure a Cache Store Expand section "VII. Set Up and Configure a Cache Store" Collapse section "VII. Set Up and Configure a Cache Store" 18. Cache Stores Expand section "18. Cache Stores" Collapse section "18. Cache Stores" 18.1. Cache Loaders and Cache Writers 18.2. Cache Store Configuration Expand section "18.2. Cache Store Configuration" Collapse section "18.2. Cache Store Configuration" 18.2.1. Configuring the Cache Store 18.2.2. Configure the Cache Store using XML (Library Mode) 18.2.3. About SKIP_CACHE_LOAD Flag 18.2.4. About the SKIP_CACHE_STORE Flag 18.2.5. About the SKIP_SHARED_CACHE_STORE Flag 18.3. Shared Cache Stores Expand section "18.3. Shared Cache Stores" Collapse section "18.3. Shared Cache Stores" 18.3.1. Invalidation Mode and Shared Cache Stores 18.3.2. The Cache Store and Cache Passivation 18.3.3. Application Cachestore Registration 18.4. Connection Factories Expand section "18.4. Connection Factories" Collapse section "18.4. Connection Factories" 18.4.1. About ManagedConnectionFactory 18.4.2. About SimpleConnectionFactory 18.4.3. About PooledConnectionFactory 19. Cache Store Implementations Expand section "19. Cache Store Implementations" Collapse section "19. Cache Store Implementations" 19.1. Cache Store Comparison 19.2. Cache Store Configuration Details (Library Mode) 19.3. Cache Store Configuration Details (Remote Client-Server Mode) 19.4. Single File Cache Store Expand section "19.4. Single File Cache Store" Collapse section "19.4. Single File Cache Store" 19.4.1. Single File Store Configuration (Remote Client-Server Mode) 19.4.2. Single File Store Configuration (Library Mode) 19.4.3. Upgrade JBoss Data Grid Cache Stores 19.5. LevelDB Cache Store Expand section "19.5. LevelDB Cache Store" Collapse section "19.5. LevelDB Cache Store" 19.5.1. Configuring LevelDB Cache Store (Remote Client-Server Mode) 19.5.2. LevelDB Cache Store Sample XML Configuration (Library Mode) 19.5.3. Configure a LevelDB Cache Store Using JBoss Operations Network 19.6. JDBC Based Cache Stores Expand section "19.6. JDBC Based Cache Stores" Collapse section "19.6. JDBC Based Cache Stores" 19.6.1. JdbcBinaryStores 19.6.2. JdbcStringBasedStores 19.6.3. JdbcMixedStores 19.6.4. Cache Store Troubleshooting 19.7. The Remote Cache Store Expand section "19.7. The Remote Cache Store" Collapse section "19.7. The Remote Cache Store" 19.7.1. Remote Cache Store Configuration (Remote Client-Server Mode) 19.7.2. Remote Cache Store Configuration (Library Mode) 19.7.3. Define the Outbound Socket for the Remote Cache Store 19.8. JPA Cache Store Expand section "19.8. JPA Cache Store" Collapse section "19.8. JPA Cache Store" 19.8.1. JPA Cache Store Sample XML Configuration (Library Mode) 19.8.2. Storing Metadata in the Database 19.8.3. Deploying JPA Cache Stores in Various Containers 19.9. Cassandra Cache Store Expand section "19.9. Cassandra Cache Store" Collapse section "19.9. Cassandra Cache Store" 19.9.1. Enabling the Cassandra Cache Store 19.9.2. Cassandra Cache Store Sample XML Configuration (Remote Client-Server Mode) 19.9.3. Cassandra Cache Store Sample XML Configuration (Library Mode) 19.9.4. Cassandra Configuration Parameters 19.10. Custom Cache Stores Expand section "19.10. Custom Cache Stores" Collapse section "19.10. Custom Cache Stores" 19.10.1. Custom Cache Store Maven Archetype 19.10.2. Custom Cache Store Configuration (Remote Client-Server Mode) 19.10.3. Custom Cache Store Configuration (Library Mode) VIII. Set Up Passivation Expand section "VIII. Set Up Passivation" Collapse section "VIII. Set Up Passivation" 20. Activation and Passivation Modes Expand section "20. Activation and Passivation Modes" Collapse section "20. Activation and Passivation Modes" 20.1. Passivation Mode Benefits 20.2. Configure Passivation 20.3. Eviction and Passivation Expand section "20.3. Eviction and Passivation" Collapse section "20.3. Eviction and Passivation" 20.3.1. Eviction and Passivation Usage 20.3.2. Eviction Example when Passivation is Disabled 20.3.3. Eviction Example when Passivation is Enabled IX. Set Up Cache Writing Expand section "IX. Set Up Cache Writing" Collapse section "IX. Set Up Cache Writing" 21. Cache Writing Modes Expand section "21. Cache Writing Modes" Collapse section "21. Cache Writing Modes" 21.1. Write-Through Caching Expand section "21.1. Write-Through Caching" Collapse section "21.1. Write-Through Caching" 21.1.1. Write-Through Caching Benefits and Disadvantages 21.1.2. Write-Through Caching Configuration (Library Mode) 21.2. Write-Behind Caching Expand section "21.2. Write-Behind Caching" Collapse section "21.2. Write-Behind Caching" 21.2.1. About Unscheduled Write-Behind Strategy 21.2.2. Unscheduled Write-Behind Strategy Configuration (Remote Client-Server Mode) 21.2.3. Unscheduled Write-Behind Strategy Configuration (Library Mode) X. Monitor Caches and Cache Managers Expand section "X. Monitor Caches and Cache Managers" Collapse section "X. Monitor Caches and Cache Managers" 22. Set Up Java Management Extensions (JMX) Expand section "22. Set Up Java Management Extensions (JMX)" Collapse section "22. Set Up Java Management Extensions (JMX)" 22.1. About Java Management Extensions (JMX) 22.2. Using JMX with Red Hat JBoss Data Grid 22.3. JMX Statistic Levels 22.4. Enable JMX for Cache Instances 22.5. Enable JMX for CacheManagers 22.6. Disabling the CacheStore via JMX When Using Rolling Upgrades 22.7. Multiple JMX Domains 22.8. MBeans Expand section "22.8. MBeans" Collapse section "22.8. MBeans" 22.8.1. Understanding MBeans 22.8.2. Registering MBeans in Non-Default MBean Servers 23. Set Up JBoss Operations Network (JON) Expand section "23. Set Up JBoss Operations Network (JON)" Collapse section "23. Set Up JBoss Operations Network (JON)" 23.1. About JBoss Operations Network (JON) 23.2. Download JBoss Operations Network (JON) Expand section "23.2. Download JBoss Operations Network (JON)" Collapse section "23.2. Download JBoss Operations Network (JON)" 23.2.1. Prerequisites for Installing JBoss Operations Network (JON) 23.2.2. Download JBoss Operations Network 23.2.3. Remote JMX Port Values 23.2.4. Download JBoss Operations Network (JON) Plugin 23.3. JBoss Operations Network Server Installation 23.4. JBoss Operations Network Agent 23.5. JBoss Operations Network for Remote Client-Server Mode Expand section "23.5. JBoss Operations Network for Remote Client-Server Mode" Collapse section "23.5. JBoss Operations Network for Remote Client-Server Mode" 23.5.1. Installing the JBoss Operations Network Plug-in (Remote Client-Server Mode) 23.6. JBoss Operations Network Remote-Client Server Plugin Expand section "23.6. JBoss Operations Network Remote-Client Server Plugin" Collapse section "23.6. JBoss Operations Network Remote-Client Server Plugin" 23.6.1. JBoss Operations Network Plugin Metrics 23.6.2. JBoss Operations Network Plugin Operations 23.6.3. JBoss Operations Network Plugin Attributes 23.6.4. Create a New Cache Using JBoss Operations Network (JON) 23.7. JBoss Operations Network for Library Mode Expand section "23.7. JBoss Operations Network for Library Mode" Collapse section "23.7. JBoss Operations Network for Library Mode" 23.7.1. Installing the JBoss Operations Network Plug-in (Library Mode) 23.7.2. Monitoring Of JBoss Data Grid Instances in Library Mode 23.8. JBoss Operations Network Plug-in Quickstart 23.9. Other Management Tools and Operations Expand section "23.9. Other Management Tools and Operations" Collapse section "23.9. Other Management Tools and Operations" 23.9.1. Accessing Data via URLs 23.9.2. Limitations of Map Methods XI. Red Hat JBoss Data Grid Web Administration Expand section "XI. Red Hat JBoss Data Grid Web Administration" Collapse section "XI. Red Hat JBoss Data Grid Web Administration" 24. Red Hat JBoss Data Grid Administration Console Expand section "24. Red Hat JBoss Data Grid Administration Console" Collapse section "24. Red Hat JBoss Data Grid Administration Console" 24.1. About JBoss Data Grid Administration Console 24.2. Red Hat JBoss Data Grid Administration Console Prerequisites 24.3. Red Hat JBoss Data Grid Administration Console Getting Started Expand section "24.3. Red Hat JBoss Data Grid Administration Console Getting Started" Collapse section "24.3. Red Hat JBoss Data Grid Administration Console Getting Started" 24.3.1. Red Hat JBoss Data Grid Administration Console Getting Started 24.3.2. Downloading and Installing JBoss Data Grid Server 24.3.3. Adding Management User 24.3.4. Starting the JBoss Data Grid Server 24.3.5. Logging in the JBoss Data Grid Administration Console 24.4. Dashboard View Expand section "24.4. Dashboard View" Collapse section "24.4. Dashboard View" 24.4.1. Cache Containers View 24.4.2. Clusters View 24.4.3. Status Events View 24.5. Cache Administration Expand section "24.5. Cache Administration" Collapse section "24.5. Cache Administration" 24.5.1. Adding a New Cache 24.5.2. Editing Cache Configuration 24.5.3. Cache Statistics and Properties View 24.5.4. Enable and Disable Cache 24.5.5. Cache Flush and Clear 24.5.6. Server Tasks Execution 24.5.7. Server Tasks 24.6. Cache Container Configuration Expand section "24.6. Cache Container Configuration" Collapse section "24.6. Cache Container Configuration" 24.6.1. Defining Protocol Buffer Schema 24.6.2. Transport Setting 24.6.3. Defining Thread Pools 24.6.4. Adding New Security Role 24.6.5. Creating Cache Configuration Template 24.7. Cluster Administration Expand section "24.7. Cluster Administration" Collapse section "24.7. Cluster Administration" 24.7.1. Cluster Nodes View 24.7.2. Cluster Nodes Mismatch 24.7.3. Cluster Rebalancing 24.7.4. Cluster Partition Handling 24.7.5. Cluster Events 24.7.6. Adding Node 24.7.7. Node Statistics and Properties View 24.7.8. Node Performance Metrics View 24.7.9. Disabling a Node 24.7.10. Cluster Shutdown and Restart XII. Securing Data in Red Hat JBoss Data Grid Expand section "XII. Securing Data in Red Hat JBoss Data Grid" Collapse section "XII. Securing Data in Red Hat JBoss Data Grid" 25. Red Hat JBoss Data Grid Security: Authorization and Authentication Expand section "25. Red Hat JBoss Data Grid Security: Authorization and Authentication" Collapse section "25. Red Hat JBoss Data Grid Security: Authorization and Authentication" 25.1. Red Hat JBoss Data Grid Security: Authorization and Authentication 25.2. Permissions 25.3. Role Mapping 25.4. Configuring Authentication and Role Mapping using Login Modules 25.5. Configuring Red Hat JBoss Data Grid for Authorization 25.6. Authorization Using a SecurityManager 25.7. Security Manager in Java Expand section "25.7. Security Manager in Java" Collapse section "25.7. Security Manager in Java" 25.7.1. About the Java Security Manager 25.7.2. About Java Security Manager Policies 25.7.3. Write a Java Security Manager Policy 25.7.4. Run Red Hat JBoss Data Grid Server Within the Java Security Manager 25.8. Data Security for Remote Client Server Mode Expand section "25.8. Data Security for Remote Client Server Mode" Collapse section "25.8. Data Security for Remote Client Server Mode" 25.8.1. About Security Realms 25.8.2. Add a New Security Realm 25.8.3. Add a User to a Security Realm 25.8.4. Configuring Security Realms Declaratively 25.8.5. Loading Roles from LDAP for Authorization (Remote Client-Server Mode) 25.9. Securing Interfaces Expand section "25.9. Securing Interfaces" Collapse section "25.9. Securing Interfaces" 25.9.1. Hot Rod Interface Security 25.9.2. REST Interface Security 25.9.3. Memcached Interface Security 25.10. Active Directory Authentication (Non-Kerberos) 25.11. Active Directory Authentication Using Kerberos (GSSAPI) 25.12. The Security Audit Logger Expand section "25.12. The Security Audit Logger" Collapse section "25.12. The Security Audit Logger" 25.12.1. Configure the Security Audit Logger (Library Mode) 25.12.2. Configure the Security Audit Logger (Remote Client-Server Mode) 25.12.3. Custom Audit Loggers 26. Security for Cluster Traffic Expand section "26. Security for Cluster Traffic" Collapse section "26. Security for Cluster Traffic" 26.1. Node Authentication and Authorization (Remote Client-Server Mode) Expand section "26.1. Node Authentication and Authorization (Remote Client-Server Mode)" Collapse section "26.1. Node Authentication and Authorization (Remote Client-Server Mode)" 26.1.1. Configure Node Authentication for Cluster Security (DIGEST-MD5) 26.1.2. Configure Node Authentication for Cluster Security (GSSAPI/Kerberos) 26.2. Configure Node Security in Library Mode Expand section "26.2. Configure Node Security in Library Mode" Collapse section "26.2. Configure Node Security in Library Mode" 26.2.1. Simple Authorizing Callback Handler 26.2.2. Configure Node Authentication for Library Mode (DIGEST-MD5) 26.2.3. Configure Node Authentication for Library Mode (GSSAPI) 26.3. JGroups Encryption Expand section "26.3. JGroups Encryption" Collapse section "26.3. JGroups Encryption" 26.3.1. Configuring JGroups Encryption Protocols 26.3.2. SYM_ENCRYPT: Using a Key Store 26.3.3. ASYM_ENCRYPT: Configured with Algorithms and Key Sizes 26.3.4. JGroups Encryption Configuration Parameters XIII. Command Line Tools Expand section "XIII. Command Line Tools" Collapse section "XIII. Command Line Tools" 27. Red Hat JBoss Data Grid CLIs Expand section "27. Red Hat JBoss Data Grid CLIs" Collapse section "27. Red Hat JBoss Data Grid CLIs" 27.1. Red Hat JBoss Data Grid Library Mode CLI Expand section "27.1. Red Hat JBoss Data Grid Library Mode CLI" Collapse section "27.1. Red Hat JBoss Data Grid Library Mode CLI" 27.1.1. Start the Library Mode CLI (Server) 27.1.2. Start the Library Mode CLI (Client) 27.1.3. CLI Client Switches for the Command Line 27.1.4. Connect to the Application 27.2. Red Hat Data Grid Server CLI Expand section "27.2. Red Hat Data Grid Server CLI" Collapse section "27.2. Red Hat Data Grid Server CLI" 27.2.1. Start the Server Mode CLI 27.3. CLI Commands Expand section "27.3. CLI Commands" Collapse section "27.3. CLI Commands" 27.3.1. The abort Command 27.3.2. The begin Command 27.3.3. The cache Command 27.3.4. The clearcache Command 27.3.5. The commit Command 27.3.6. The container Command 27.3.7. The create Command 27.3.8. The deny Command 27.3.9. The disconnect Command 27.3.10. The encoding Command 27.3.11. The end Command 27.3.12. The evict Command 27.3.13. The get Command 27.3.14. The grant Command 27.3.15. The info Command 27.3.16. The locate Command 27.3.17. The put Command 27.3.18. The replace Command 27.3.19. The roles command 27.3.20. The rollback Command 27.3.21. The site Command 27.3.22. The start Command 27.3.23. The stats Command 27.3.24. The upgrade Command 27.3.25. The version Command XIV. Other Red Hat JBoss Data Grid Functions Expand section "XIV. Other Red Hat JBoss Data Grid Functions" Collapse section "XIV. Other Red Hat JBoss Data Grid Functions" 28. Set Up the L1 Cache Expand section "28. Set Up the L1 Cache" Collapse section "28. Set Up the L1 Cache" 28.1. About the L1 Cache 28.2. L1 Cache Configuration Expand section "28.2. L1 Cache Configuration" Collapse section "28.2. L1 Cache Configuration" 28.2.1. L1 Cache Configuration (Library Mode) 28.2.2. L1 Cache Configuration (Remote Client-Server Mode) 29. Set Up Transactions Expand section "29. Set Up Transactions" Collapse section "29. Set Up Transactions" 29.1. About Transactions Expand section "29.1. About Transactions" Collapse section "29.1. About Transactions" 29.1.1. About the Transaction Manager 29.1.2. XA Resources and Synchronizations 29.1.3. Optimistic and Pessimistic Transactions 29.1.4. Write Skew Checks 29.1.5. Transactions Spanning Multiple Cache Instances 29.2. Configure Transactions Expand section "29.2. Configure Transactions" Collapse section "29.2. Configure Transactions" 29.2.1. Configure Transactions (Library Mode) 29.2.2. Configure Transactions (Remote Client-Server Mode) 29.3. Transaction Recovery Expand section "29.3. Transaction Recovery" Collapse section "29.3. Transaction Recovery" 29.3.1. Transaction Recovery Process 29.3.2. Transaction Recovery Example 29.4. Deadlock Detection Expand section "29.4. Deadlock Detection" Collapse section "29.4. Deadlock Detection" 29.4.1. Enable Deadlock Detection 30. Configure JGroups Expand section "30. Configure JGroups" Collapse section "30. Configure JGroups" 30.1. Configure Red Hat JBoss Data Grid Interface Binding (Remote Client-Server Mode) Expand section "30.1. Configure Red Hat JBoss Data Grid Interface Binding (Remote Client-Server Mode)" Collapse section "30.1. Configure Red Hat JBoss Data Grid Interface Binding (Remote Client-Server Mode)" 30.1.1. Interfaces 30.1.2. Binding Sockets 30.1.3. Configure JGroups Socket Binding 30.2. Configure JGroups (Library Mode) Expand section "30.2. Configure JGroups (Library Mode)" Collapse section "30.2. Configure JGroups (Library Mode)" 30.2.1. JGroups Transport Protocols 30.2.2. Pre-Configured JGroups Files 30.3. Test Multicast Using JGroups Expand section "30.3. Test Multicast Using JGroups" Collapse section "30.3. Test Multicast Using JGroups" 30.3.1. Testing With Different Red Hat JBoss Data Grid Versions 30.3.2. Testing Multicast Using JGroups 31. Use Red Hat Data Grid with Amazon Web Services Expand section "31. Use Red Hat Data Grid with Amazon Web Services" Collapse section "31. Use Red Hat Data Grid with Amazon Web Services" 31.1. The S3_PING JGroups Discovery Protocol 31.2. S3_PING Configuration Options Expand section "31.2. S3_PING Configuration Options" Collapse section "31.2. S3_PING Configuration Options" 31.2.1. Using Private S3 Buckets 31.2.2. Using Pre-Signed URLs 31.2.3. Using Public S3 Buckets 31.3. Utilizing an Elastic IP Address 32. Use Red Hat JBoss Data Grid with Google Compute Engine Expand section "32. Use Red Hat JBoss Data Grid with Google Compute Engine" Collapse section "32. Use Red Hat JBoss Data Grid with Google Compute Engine" 32.1. The GOOGLE_PING Protocol 32.2. GOOGLE_PING Configuration Expand section "32.2. GOOGLE_PING Configuration" Collapse section "32.2. GOOGLE_PING Configuration" 32.2.1. Starting the Server in Google Compute Engine 32.3. Utilizing a Static IP Address 33. Integration with the Spring Framework Expand section "33. Integration with the Spring Framework" Collapse section "33. Integration with the Spring Framework" 33.1. Enabling Spring Cache Support Declaratively (Library Mode) 33.2. Enabling Spring Cache Support Declaratively (Remote Client-Server Mode) 34. High Availability Using Server Hinting Expand section "34. High Availability Using Server Hinting" Collapse section "34. High Availability Using Server Hinting" 34.1. Establishing Server Hinting with JGroups 34.2. Configure Server Hinting (Remote Client-Server Mode) 34.3. Configure Server Hinting (Library Mode) 35. Set Up Cross-Datacenter Replication Expand section "35. Set Up Cross-Datacenter Replication" Collapse section "35. Set Up Cross-Datacenter Replication" 35.1. Cross-Datacenter Replication Operations 35.2. Configure Cross-Datacenter Replication Expand section "35.2. Configure Cross-Datacenter Replication" Collapse section "35.2. Configure Cross-Datacenter Replication" 35.2.1. Configure Cross-Datacenter Replication (Remote Client-Server Mode) 35.2.2. Configure Cross-Data Replication (Library Mode) 35.3. Taking a Site Offline Expand section "35.3. Taking a Site Offline" Collapse section "35.3. Taking a Site Offline" 35.3.1. Taking a Site Offline 35.3.2. Taking a Site Offline via JBoss Operations Network (JON) 35.3.3. Taking a Site Offline via the CLI 35.3.4. Bring a Site Back Online 35.4. State Transfer Between Sites Expand section "35.4. State Transfer Between Sites" Collapse section "35.4. State Transfer Between Sites" 35.4.1. Active-Passive State Transfer 35.4.2. Active-Active State Transfer 35.4.3. State Transfer Configuration 35.5. Configure Multiple Site Masters Expand section "35.5. Configure Multiple Site Masters" Collapse section "35.5. Configure Multiple Site Masters" 35.5.1. Multiple Site Master Operations 35.5.2. Configure Multiple Site Masters (Remote Client-Server Mode) 35.5.3. Configure Multiple Site Masters (Library Mode) 36. Rolling Upgrades Expand section "36. Rolling Upgrades" Collapse section "36. Rolling Upgrades" 36.1. Rolling Upgrades Using Hot Rod 36.2. Rolling Upgrades Using REST 36.3. RollingUpgradeManager Operations 36.4. RemoteCacheStore Parameters for Rolling Upgrades Expand section "36.4. RemoteCacheStore Parameters for Rolling Upgrades" Collapse section "36.4. RemoteCacheStore Parameters for Rolling Upgrades" 36.4.1. rawValues and RemoteCacheStore 36.4.2. hotRodWrapping 37. Custom Interceptors Expand section "37. Custom Interceptors" Collapse section "37. Custom Interceptors" 37.1. Custom Interceptor Design 37.2. Adding Custom Interceptors Declaratively 38. Externalize Sessions Expand section "38. Externalize Sessions" Collapse section "38. Externalize Sessions" 38.1. Externalize HTTP Session from JBoss EAP to JBoss Data Grid 39. Data Interoperability Expand section "39. Data Interoperability" Collapse section "39. Data Interoperability" 39.1. Protocol Interoperability 40. Handling Network Partitions (Split Brain) Expand section "40. Handling Network Partitions (Split Brain)" Collapse section "40. Handling Network Partitions (Split Brain)" 40.1. Detecting and Recovering from a Split-Brain Problem 40.2. Split Brain Timing: Detecting a Split 40.3. Split Brain Timing: Recovering From a Split 40.4. Detecting and Recovering from Successive Crashed Nodes 40.5. Network Partition Recovery Examples Expand section "40.5. Network Partition Recovery Examples" Collapse section "40.5. Network Partition Recovery Examples" 40.5.1. Distributed 4-Node Cache Example With 3 Owners 40.5.2. Distributed 4-Node Cache Example With 2 Owners 40.5.3. Distributed 5-Node Cache Example With 3 Owners 40.5.4. Replicated 4-Node Cache Example With 4 Owners 40.5.5. Replicated 5-Node Cache Example With 5 Owners 40.5.6. Replicated 8-Node Cache Example With 8 Owners 40.6. Configure Partition Handling A. Recommended JGroups Values for JBoss Data Grid Expand section "A. Recommended JGroups Values for JBoss Data Grid" Collapse section "A. Recommended JGroups Values for JBoss Data Grid" A.1. Supported JGroups Protocols A.2. TCP Default and Recommended Values A.3. UDP Default and Recommended Values A.4. The TCPGOSSIP JGroups Protocol A.5. TCPGOSSIP Configuration Options A.6. JBoss Data Grid JGroups Configuration Files B. Connecting with JConsole Expand section "B. Connecting with JConsole" Collapse section "B. Connecting with JConsole" B.1. Connect to JDG via JConsole C. JMX MBeans in RedHat JBoss Data Grid Expand section "C. JMX MBeans in RedHat JBoss Data Grid" Collapse section "C. JMX MBeans in RedHat JBoss Data Grid" C.1. Activation C.2. Cache C.3. CacheContainerStats C.4. CacheLoader C.5. CacheManager C.6. CacheStore C.7. ClusterCacheStats C.8. DeadlockDetectingLockManager C.9. DistributionManager C.10. Interpreter C.11. Invalidation C.12. LockManager C.13. LocalTopologyManager C.14. MassIndexer C.15. Passivation C.16. RecoveryAdmin C.17. RollingUpgradeManager C.18. RpcManager C.19. StateTransferManager C.20. Statistics C.21. Transactions C.22. Transport C.23. XSiteAdmin D. Configuration Recommendations Expand section "D. Configuration Recommendations" Collapse section "D. Configuration Recommendations" D.1. Timeout Values E. Performance Recommendations Expand section "E. Performance Recommendations" Collapse section "E. Performance Recommendations" E.1. Concurrent Startup for Large Clusters F. References Expand section "F. References" Collapse section "F. References" F.1. About Consistency F.2. About Consistency Guarantee F.3. About JBoss Cache F.4. About RELAY2 F.5. About Return Values F.6. About Runnable Interfaces F.7. About Two Phase Commit (2PC) F.8. About Key-Value Pairs F.9. Requesting a Full Byte Array G. Revision History Legal Notice Settings Close Language: English 日本語 Language: English 日本語 Format: Multi-page Single-page PDF Format: Multi-page Single-page PDF Language and Page Formatting Options Language: English 日本語 Language: English 日本語 Format: Multi-page Single-page PDF Format: Multi-page Single-page PDF Part IX. Set Up Cache Writing Previous Next