The SAS® Micro Analytic Service 2.5_M1 GemFire backup fails with "There are no members in the distributed system"


When you try to run the GemFire backup that is documented in SAS® Micro Analytic Service 2.5: Programming and Administration Guide, the following error occurs:

bin]$ ./gemfire backup /gemfireBackupFilesDirectory
Connecting to distributed system: mcast=/<ipaddress>:10334
ERROR: Operation "backup" failed because: There are no members in the distributed system.


Port 10334 is used in GemFire backup. However, if port 10334 is not the port that is used for multicast in your environment, you encounter this issue. To see which port your environment is using, look at the SAS-configuration-directory/Levn/Web/gemfire/instances/ins_41415/gemfire.log file and refer to the value for -Dgemfire.mcast-port.

As a workaround, complete these steps:

  1. Navigate to the folder where the GemFire instance is installed. In this case, it is: SAS-configuration-directory/Lev1/Web/gemfire/instances/ins_41415
  2. Find the GemFire locaters value from the gemfire.log in this folder. Here is an example: -Dgemfire.locators=<hostname>[41415}
  3. Run the GemFire command with the two JVM options using the -J option as shown below to run the back-up command:

 

[sas@TRCv193 ins_41415]$ ../../bin/gemfire -J-Dgemfire.mcast-port=0 -J-Dgemfire.locators=<hostname>[41415] backup /tmp/mybackup


Here is the correct output:

Connecting to distributed system: locators=<hostname>[41415]
The following disk stores were backed up:
        8f00cc41-33cd-4443-b598-78414fe31ca2 [<hostname>:<Config>/Lev#/Web/WebAppServer/SASServer13_1/logs]
        2f49fb80-f3a5-4a92-b854-d084b75f5f2a [<hostname>/Lev#/Web/gemfire/instances/ins_41415/ConfigDiskDir_]
Backup successful.