Update HA cache configurations to latest blueprint
Closes #31029 Signed-off-by: Ryan Emerson <remerson@redhat.com>
This commit is contained in:
parent
3ab2446074
commit
c0a51b94ea
2 changed files with 181 additions and 87 deletions
|
@ -179,18 +179,24 @@ spec:
|
|||
mode: "SYNC"
|
||||
owners: "2"
|
||||
statistics: "true"
|
||||
remoteTimeout: 5000
|
||||
remoteTimeout: "5000"
|
||||
encoding:
|
||||
media-type: "application/x-protostream"
|
||||
locking:
|
||||
acquireTimeout: 4000
|
||||
acquireTimeout: "4000"
|
||||
transaction:
|
||||
mode: "NON_XA"
|
||||
locking: "PESSIMISTIC"
|
||||
stateTransfer:
|
||||
chunkSize: 16
|
||||
chunkSize: "16"
|
||||
backups:
|
||||
site-b: # <2>
|
||||
backup:
|
||||
strategy: "SYNC" # <3>
|
||||
timeout: 4500
|
||||
timeout: "4500"
|
||||
failurePolicy: "FAIL"
|
||||
stateTransfer:
|
||||
chunkSize: 16
|
||||
chunkSize: "16"
|
||||
# end::infinispan-cache-actionTokens[]
|
||||
---
|
||||
# Source: ispn-helm/templates/infinispan.yaml
|
||||
|
@ -208,18 +214,24 @@ spec:
|
|||
mode: "SYNC"
|
||||
owners: "2"
|
||||
statistics: "true"
|
||||
remoteTimeout: 5000
|
||||
remoteTimeout: "5000"
|
||||
encoding:
|
||||
media-type: "application/x-protostream"
|
||||
locking:
|
||||
acquireTimeout: 4000
|
||||
acquireTimeout: "4000"
|
||||
transaction:
|
||||
mode: "NON_XA"
|
||||
locking: "PESSIMISTIC"
|
||||
stateTransfer:
|
||||
chunkSize: 16
|
||||
chunkSize: "16"
|
||||
backups:
|
||||
site-b: # <1>
|
||||
backup:
|
||||
strategy: "SYNC" # <2>
|
||||
timeout: 4500
|
||||
timeout: "4500"
|
||||
failurePolicy: "FAIL"
|
||||
stateTransfer:
|
||||
chunkSize: 16
|
||||
chunkSize: "16"
|
||||
# end::infinispan-cache-authenticationSessions[]
|
||||
---
|
||||
# Source: ispn-helm/templates/infinispan.yaml
|
||||
|
@ -237,18 +249,24 @@ spec:
|
|||
mode: "SYNC"
|
||||
owners: "2"
|
||||
statistics: "true"
|
||||
remoteTimeout: 5000
|
||||
remoteTimeout: "5000"
|
||||
encoding:
|
||||
media-type: "application/x-protostream"
|
||||
locking:
|
||||
acquireTimeout: 4000
|
||||
acquireTimeout: "4000"
|
||||
transaction:
|
||||
mode: "NON_XA"
|
||||
locking: "PESSIMISTIC"
|
||||
stateTransfer:
|
||||
chunkSize: 16
|
||||
chunkSize: "16"
|
||||
backups:
|
||||
site-b: # <1>
|
||||
backup:
|
||||
strategy: "SYNC" # <2>
|
||||
timeout: 4500
|
||||
timeout: "4500"
|
||||
failurePolicy: "FAIL"
|
||||
stateTransfer:
|
||||
chunkSize: 16
|
||||
chunkSize: "16"
|
||||
# end::infinispan-cache-clientSessions[]
|
||||
---
|
||||
# Source: ispn-helm/templates/infinispan.yaml
|
||||
|
@ -266,18 +284,24 @@ spec:
|
|||
mode: "SYNC"
|
||||
owners: "2"
|
||||
statistics: "true"
|
||||
remoteTimeout: 5000
|
||||
remoteTimeout: "5000"
|
||||
encoding:
|
||||
media-type: "application/x-protostream"
|
||||
locking:
|
||||
acquireTimeout: 4000
|
||||
acquireTimeout: "4000"
|
||||
transaction:
|
||||
mode: "NON_XA"
|
||||
locking: "PESSIMISTIC"
|
||||
stateTransfer:
|
||||
chunkSize: 16
|
||||
chunkSize: "16"
|
||||
backups:
|
||||
site-b: # <2>
|
||||
site-b: # <1>
|
||||
backup:
|
||||
strategy: "SYNC" # <3>
|
||||
timeout: 4500
|
||||
strategy: "SYNC" # <2>
|
||||
timeout: "4500"
|
||||
failurePolicy: "FAIL"
|
||||
stateTransfer:
|
||||
chunkSize: 16
|
||||
chunkSize: "16"
|
||||
# end::infinispan-cache-loginFailures[]
|
||||
---
|
||||
# Source: ispn-helm/templates/infinispan.yaml
|
||||
|
@ -295,18 +319,24 @@ spec:
|
|||
mode: "SYNC"
|
||||
owners: "2"
|
||||
statistics: "true"
|
||||
remoteTimeout: 5000
|
||||
remoteTimeout: "5000"
|
||||
encoding:
|
||||
media-type: "application/x-protostream"
|
||||
locking:
|
||||
acquireTimeout: 4000
|
||||
acquireTimeout: "4000"
|
||||
transaction:
|
||||
mode: "NON_XA"
|
||||
locking: "PESSIMISTIC"
|
||||
stateTransfer:
|
||||
chunkSize: 16
|
||||
chunkSize: "16"
|
||||
backups:
|
||||
site-b: # <1>
|
||||
backup:
|
||||
strategy: "SYNC" # <2>
|
||||
timeout: 4500
|
||||
timeout: "4500"
|
||||
failurePolicy: "FAIL"
|
||||
stateTransfer:
|
||||
chunkSize: 16
|
||||
chunkSize: "16"
|
||||
# end::infinispan-cache-offlineClientSessions[]
|
||||
---
|
||||
# Source: ispn-helm/templates/infinispan.yaml
|
||||
|
@ -322,20 +352,26 @@ spec:
|
|||
template: |-
|
||||
distributedCache:
|
||||
mode: "SYNC"
|
||||
owners: "2"
|
||||
owners: "1" # <1>
|
||||
statistics: "true"
|
||||
remoteTimeout: 5000
|
||||
remoteTimeout: "5000"
|
||||
encoding:
|
||||
media-type: "application/x-protostream"
|
||||
locking:
|
||||
acquireTimeout: 4000
|
||||
acquireTimeout: "4000"
|
||||
transaction:
|
||||
mode: "NON_XA"
|
||||
locking: "PESSIMISTIC"
|
||||
stateTransfer:
|
||||
chunkSize: 16
|
||||
chunkSize: "16"
|
||||
backups:
|
||||
site-b: # <1>
|
||||
site-b: # <2>
|
||||
backup:
|
||||
strategy: "SYNC" # <2>
|
||||
timeout: 4500
|
||||
strategy: "SYNC" # <3>
|
||||
timeout: "4500"
|
||||
failurePolicy: "FAIL"
|
||||
stateTransfer:
|
||||
chunkSize: 16
|
||||
chunkSize: "16"
|
||||
# end::infinispan-cache-offlineSessions[]
|
||||
---
|
||||
# Source: ispn-helm/templates/infinispan.yaml
|
||||
|
@ -353,20 +389,26 @@ spec:
|
|||
mode: "SYNC"
|
||||
owners: "1" # <1>
|
||||
statistics: "true"
|
||||
remoteTimeout: 5000
|
||||
remoteTimeout: "5000"
|
||||
encoding:
|
||||
media-type: "application/x-protostream"
|
||||
locking:
|
||||
acquireTimeout: 4000
|
||||
acquireTimeout: "4000"
|
||||
transaction:
|
||||
mode: "NON_XA"
|
||||
locking: "PESSIMISTIC"
|
||||
stateTransfer:
|
||||
chunkSize: 16
|
||||
chunkSize: "16"
|
||||
memory:
|
||||
maxCount: 10000 # <2>
|
||||
backups:
|
||||
site-b: # <3>
|
||||
backup:
|
||||
strategy: "SYNC" # <4>
|
||||
timeout: 13000
|
||||
timeout: "4500"
|
||||
failurePolicy: "FAIL"
|
||||
stateTransfer:
|
||||
chunkSize: 16
|
||||
chunkSize: "16"
|
||||
# end::infinispan-cache-sessions[]
|
||||
---
|
||||
# Source: ispn-helm/templates/infinispan.yaml
|
||||
|
@ -384,18 +426,24 @@ spec:
|
|||
mode: "SYNC"
|
||||
owners: "2"
|
||||
statistics: "true"
|
||||
remoteTimeout: 5000
|
||||
remoteTimeout: "5000"
|
||||
encoding:
|
||||
media-type: "application/x-protostream"
|
||||
locking:
|
||||
acquireTimeout: 4000
|
||||
acquireTimeout: "4000"
|
||||
transaction:
|
||||
mode: "NON_XA"
|
||||
locking: "PESSIMISTIC"
|
||||
stateTransfer:
|
||||
chunkSize: 16
|
||||
chunkSize: "16"
|
||||
backups:
|
||||
site-b: # <2>
|
||||
backup:
|
||||
strategy: "SYNC" # <3>
|
||||
timeout: 4500
|
||||
timeout: "4500"
|
||||
failurePolicy: "FAIL"
|
||||
stateTransfer:
|
||||
chunkSize: 16
|
||||
chunkSize: "16"
|
||||
# end::infinispan-cache-work[]
|
||||
---
|
||||
# Source: ispn-helm/templates/infinispan.yaml
|
||||
|
|
|
@ -138,18 +138,24 @@ spec:
|
|||
mode: "SYNC"
|
||||
owners: "2"
|
||||
statistics: "true"
|
||||
remoteTimeout: 5000
|
||||
remoteTimeout: "5000"
|
||||
encoding:
|
||||
media-type: "application/x-protostream"
|
||||
locking:
|
||||
acquireTimeout: 4000
|
||||
acquireTimeout: "4000"
|
||||
transaction:
|
||||
mode: "NON_XA"
|
||||
locking: "PESSIMISTIC"
|
||||
stateTransfer:
|
||||
chunkSize: 16
|
||||
chunkSize: "16"
|
||||
backups:
|
||||
site-a: # <2>
|
||||
backup:
|
||||
strategy: "SYNC" # <3>
|
||||
timeout: 4500
|
||||
timeout: "4500"
|
||||
failurePolicy: "FAIL"
|
||||
stateTransfer:
|
||||
chunkSize: 16
|
||||
chunkSize: "16"
|
||||
# end::infinispan-cache-actionTokens[]
|
||||
---
|
||||
# Source: ispn-helm/templates/infinispan.yaml
|
||||
|
@ -167,18 +173,24 @@ spec:
|
|||
mode: "SYNC"
|
||||
owners: "2"
|
||||
statistics: "true"
|
||||
remoteTimeout: 5000
|
||||
remoteTimeout: "5000"
|
||||
encoding:
|
||||
media-type: "application/x-protostream"
|
||||
locking:
|
||||
acquireTimeout: 4000
|
||||
acquireTimeout: "4000"
|
||||
transaction:
|
||||
mode: "NON_XA"
|
||||
locking: "PESSIMISTIC"
|
||||
stateTransfer:
|
||||
chunkSize: 16
|
||||
chunkSize: "16"
|
||||
backups:
|
||||
site-a: # <1>
|
||||
backup:
|
||||
strategy: "SYNC" # <2>
|
||||
timeout: 4500
|
||||
timeout: "4500"
|
||||
failurePolicy: "FAIL"
|
||||
stateTransfer:
|
||||
chunkSize: 16
|
||||
chunkSize: "16"
|
||||
# end::infinispan-cache-authenticationSessions[]
|
||||
---
|
||||
# Source: ispn-helm/templates/infinispan.yaml
|
||||
|
@ -196,18 +208,24 @@ spec:
|
|||
mode: "SYNC"
|
||||
owners: "2"
|
||||
statistics: "true"
|
||||
remoteTimeout: 5000
|
||||
remoteTimeout: "5000"
|
||||
encoding:
|
||||
media-type: "application/x-protostream"
|
||||
locking:
|
||||
acquireTimeout: 4000
|
||||
acquireTimeout: "4000"
|
||||
transaction:
|
||||
mode: "NON_XA"
|
||||
locking: "PESSIMISTIC"
|
||||
stateTransfer:
|
||||
chunkSize: 16
|
||||
chunkSize: "16"
|
||||
backups:
|
||||
site-a: # <1>
|
||||
backup:
|
||||
strategy: "SYNC" # <2>
|
||||
timeout: 4500
|
||||
timeout: "4500"
|
||||
failurePolicy: "FAIL"
|
||||
stateTransfer:
|
||||
chunkSize: 16
|
||||
chunkSize: "16"
|
||||
# end::infinispan-cache-clientSessions[]
|
||||
---
|
||||
# Source: ispn-helm/templates/infinispan.yaml
|
||||
|
@ -225,18 +243,24 @@ spec:
|
|||
mode: "SYNC"
|
||||
owners: "2"
|
||||
statistics: "true"
|
||||
remoteTimeout: 5000
|
||||
remoteTimeout: "5000"
|
||||
encoding:
|
||||
media-type: "application/x-protostream"
|
||||
locking:
|
||||
acquireTimeout: 4000
|
||||
acquireTimeout: "4000"
|
||||
transaction:
|
||||
mode: "NON_XA"
|
||||
locking: "PESSIMISTIC"
|
||||
stateTransfer:
|
||||
chunkSize: 16
|
||||
chunkSize: "16"
|
||||
backups:
|
||||
site-a: # <2>
|
||||
backup:
|
||||
strategy: "SYNC" # <3>
|
||||
timeout: 4500
|
||||
timeout: "4500"
|
||||
failurePolicy: "FAIL"
|
||||
stateTransfer:
|
||||
chunkSize: 16
|
||||
chunkSize: "16"
|
||||
# end::infinispan-cache-loginFailures[]
|
||||
---
|
||||
# Source: ispn-helm/templates/infinispan.yaml
|
||||
|
@ -254,18 +278,24 @@ spec:
|
|||
mode: "SYNC"
|
||||
owners: "2"
|
||||
statistics: "true"
|
||||
remoteTimeout: 5000
|
||||
remoteTimeout: "5000"
|
||||
encoding:
|
||||
media-type: "application/x-protostream"
|
||||
locking:
|
||||
acquireTimeout: 4000
|
||||
acquireTimeout: "4000"
|
||||
transaction:
|
||||
mode: "NON_XA"
|
||||
locking: "PESSIMISTIC"
|
||||
stateTransfer:
|
||||
chunkSize: 16
|
||||
chunkSize: "16"
|
||||
backups:
|
||||
site-a: # <1>
|
||||
backup:
|
||||
strategy: "SYNC" # <2>
|
||||
timeout: 4500
|
||||
timeout: "4500"
|
||||
failurePolicy: "FAIL"
|
||||
stateTransfer:
|
||||
chunkSize: 16
|
||||
chunkSize: "16"
|
||||
# end::infinispan-cache-offlineClientSessions[]
|
||||
---
|
||||
# Source: ispn-helm/templates/infinispan.yaml
|
||||
|
@ -283,18 +313,24 @@ spec:
|
|||
mode: "SYNC"
|
||||
owners: "2"
|
||||
statistics: "true"
|
||||
remoteTimeout: 5000
|
||||
remoteTimeout: "5000"
|
||||
encoding:
|
||||
media-type: "application/x-protostream"
|
||||
locking:
|
||||
acquireTimeout: 4000
|
||||
acquireTimeout: "4000"
|
||||
transaction:
|
||||
mode: "NON_XA"
|
||||
locking: "PESSIMISTIC"
|
||||
stateTransfer:
|
||||
chunkSize: 16
|
||||
chunkSize: "16"
|
||||
backups:
|
||||
site-a: # <1>
|
||||
backup:
|
||||
strategy: "SYNC" # <2>
|
||||
timeout: 4500
|
||||
timeout: "4500"
|
||||
failurePolicy: "FAIL"
|
||||
stateTransfer:
|
||||
chunkSize: 16
|
||||
chunkSize: "16"
|
||||
# end::infinispan-cache-offlineSessions[]
|
||||
---
|
||||
# Source: ispn-helm/templates/infinispan.yaml
|
||||
|
@ -312,20 +348,24 @@ spec:
|
|||
mode: "SYNC"
|
||||
owners: "1" # <1>
|
||||
statistics: "true"
|
||||
remoteTimeout: 5000
|
||||
remoteTimeout: "5000"
|
||||
encoding:
|
||||
media-type: "application/x-protostream"
|
||||
locking:
|
||||
acquireTimeout: 4000
|
||||
acquireTimeout: "4000"
|
||||
transaction:
|
||||
mode: "NON_XA"
|
||||
locking: "PESSIMISTIC"
|
||||
stateTransfer:
|
||||
chunkSize: 16
|
||||
memory:
|
||||
maxCount: 10000 # <2>
|
||||
chunkSize: "16"
|
||||
backups:
|
||||
site-a: # <3>
|
||||
backup:
|
||||
strategy: "SYNC" # <4>
|
||||
timeout: 13000
|
||||
timeout: "4500"
|
||||
failurePolicy: "FAIL"
|
||||
stateTransfer:
|
||||
chunkSize: 16
|
||||
chunkSize: "16"
|
||||
# end::infinispan-cache-sessions[]
|
||||
---
|
||||
# Source: ispn-helm/templates/infinispan.yaml
|
||||
|
@ -343,18 +383,24 @@ spec:
|
|||
mode: "SYNC"
|
||||
owners: "2"
|
||||
statistics: "true"
|
||||
remoteTimeout: 5000
|
||||
remoteTimeout: "5000"
|
||||
encoding:
|
||||
media-type: "application/x-protostream"
|
||||
locking:
|
||||
acquireTimeout: 4000
|
||||
acquireTimeout: "4000"
|
||||
transaction:
|
||||
mode: "NON_XA"
|
||||
locking: "PESSIMISTIC"
|
||||
stateTransfer:
|
||||
chunkSize: 16
|
||||
chunkSize: "16"
|
||||
backups:
|
||||
site-a: # <2>
|
||||
backup:
|
||||
strategy: "SYNC" # <3>
|
||||
timeout: 4500
|
||||
timeout: "4500"
|
||||
failurePolicy: "FAIL"
|
||||
stateTransfer:
|
||||
chunkSize: 16
|
||||
chunkSize: "16"
|
||||
# end::infinispan-cache-work[]
|
||||
---
|
||||
# Source: ispn-helm/templates/infinispan.yaml
|
||||
|
|
Loading…
Reference in a new issue