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

  1. Install Memory Machine on the host. See Installing MemVerge Memory Machine.
  2. Start the mvcsnapd service:
    # systemctl start mvcsnapd
    #
  3. Configure the mvcsnapd service to start on system boot:
    # systemctl enable mvcsnapd
  4. Stop any application instances running in Memory Machine. See Stopping an Application Instance.
  5. Restart the Memory Machine MVMAS:
    # systemctl restart mvmallocd
    #
  6. 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"
    )

What to do next

Configure the Hazelcast cluster to work with Memory Machine. See Preparing Hazelcast to Work with Memory Machine.