Preparing Memory Machine to Work with Hazelcast
To prepare for taking snapshots of the Hazelcast cluster, install Memory Machine and provide the Hazelcast credentials to all hosts in the cluster.
About this task
Repeat the following steps on every host in a Hazelcast cluster to prepare to capture a snapshot of the cluster.
Procedure
- Install Memory Machine on the host. See Memory Machine installation guide.
-
Start the mvcsnapd service:
# systemctl start mvcsnapd #
-
Configure the mvcsnapd service to start on system
boot:
# systemctl enable mvcsnapd
- Stop any application instances running in Memory Machine. See Stopping an Application Instance.
-
Restart the Memory Machine
MVMAS:
# systemctl restart mvmallocd #
-
In the mvm_cluster_snapshot_hazelcast.sh script, if the
hazelcast cluster hostnames cannot be resolved using DNS server lookup, declare
ip_host_map to define all the cluster host names. For
example:
declare -A ip_host_map=( ["0.0.0.1"]="example.memverge.com" ["10.0.1.100"] = "host-a.memverge.com" ["10.0.1.111"] = "host-b.memverge.com" )