Skip to main content
Tungsten Clustering

Upgrading or Updating your JVM

When upgrading your JVM version or installation, care should be taken as changing the JVM will momentarily remove and replace required libraries and components which may upset the operation of Tungsten Cluster while the upgrade or update takes place.

For this reason, JVM updates or changes must be treated as an OS upgrade or event, requiring a Primary switch and controlled stopping/shunning of services during the update process.

A sample sequence for this in a 3-node cluster is described below:

StepDescriptionCommandhost1host2host3
1Initial statePrimaryReplicaReplica
2Shun Replica host2datasource host2 shunPrimaryShunnedReplica
3Stop all services on host2.stopallPrimaryStoppedReplica
4Update the JVMPrimaryStoppedReplica
5Start all services on host2 Replica.startallPrimaryShunnedReplica
6Recover Replica backdatasource host2 recoverPrimaryReplicaReplica
7Ensure the Replica (host2) has caught uplsPrimaryReplicaReplica
8Shun Replica host3datasource host3 shunPrimaryReplicaShunned
9Stop all services on host3.stopallPrimaryReplicaStopped
10Update the JVMPrimaryReplicaStopped
11Start all services on host3 Replica.startallPrimaryReplicaShunned
12Recover Replica backdatasource host3 recoverPrimaryReplicaReplica
13Ensure the Replica (host3) has caught uplsPrimaryReplicaReplica
14Switch Primary to host2switch to host2ReplicaPrimaryReplica
15Shun host1datasource host1 shunShunnedPrimaryReplica
16Stop all services on host1.stopallStoppedPrimaryReplica
17Update the JVMStoppedPrimaryReplica
18Start all services on host1 Replica.startallShunnedPrimaryReplica
19Recover host1 backdatasource host1 recoverReplicaPrimaryReplica
20Ensure the Replica (host1) has caught uplsReplicaPrimaryReplica
21Switch Primary back to host1switch to host1PrimaryReplicaReplica