Changing the member time-out setting for the SAS® 9.4 Cache Locator and Pivotal GemFire members


This article describes how to set the member time-out parameter for the SAS Cache distribution.

Specify the Java virtual machine (JVM) parameter -Dgemfire.member-timeout in each installed instance of the member components, as described in the following tables. Valid values are in the range of 1000 to 600000 milliseconds.  

Replace the italicized values with appropriate values for your deployment. 

Microsoft Windows Updates for Adjusting the Member Time-Out Value

Component

File Location and Property Examples

Cache Locator

In the wrapper.conf file that resides in the SAS-configuration-directory\Web\gemfire\instances\ins_port\ directory, add the following line:

wrapper.java.additional.7=-Dgemfire.member-timeout=120000

Note: The value for N in wrapper.java.additional.N might vary, depending on your configuration. Just choose the next sequential number. In the example above, the previous parameter is wrapper.java.additional.6.

SAS® Web Application Server

In the wrapper.conf file that resides in SAS-configuration-directory\Web\WebAppServer\SASServern_m\conf\, add the following line:

wrapper.java.additional.48=-Dgemfire.member-timeout=120000

Note: The value for N in wrapper.java.additional.N might vary, depending on your configuration. Just choose the next sequential number. In the example above, the previous parameter is wrapper.java.additional.47.

In the setenv.bat file that resides in SAS-configuration-directory\Web\WebAppServer\SASServern_m\bin\, add the following JVM option:

set JVM_OPTS="... -Dgemfire.member-timeout=120000"

SAS Distributed In-Process Scheduler Job Runner

In the wrapper.conf file that resides in SAS-configuration-directory\Web\Applications\SASWIPSchedulingServices9.4\dip\, add the following JVM option:

wrapper.java.additional.5=...-Dgemfire.member-timeout=120000

Note: The value for N in wrapper.java.additional.N might vary, depending on your configuration. Just choose the next sequential number. In the example above, the previous parameter is wrapper.java.additional.4.

SAS Web Infrastructure Platform Scheduling Services

In the serverTrigger.ini file that resides SAS-configuration-directory\Web\Applications\SASWIPSchedulingServices9.4\, add the following line:

JavaArgs_16=-Dgemfire.member-timeout=120000

Note: The value for N in JavaArgs_N might vary, depending on your configuration. Just choose the next sequential number. In the example above, the previous parameter is JavaArgs_15.

Report Output Generation Tool (for SAS® Web Report Studio)

In the outputgen.ini file that resides in SASHOME\SASBIReportServices\4.4\, add the following line:

JavaArgs_16=-Dgemfire.member-timeout=120000

Note: The value for N in JavaArgs_N might vary, depending on your configuration. Just choose the next sequential number. In the example above, the previous parameter is JavaArgs_15.

UNIX Updates for Adjusting the Member Time-Out Value

Component

File Location and Property Examples

Cache Locator

In the gemfire-start-locator-sas.sh file that resides in SAS-configuration-directory/Web/gemfire/instances/ins_port/, update the Java arguments, as follows:

JAVA_ARGS="... -Dgemfire.member-timeout=120000"

SAS Web Application Server

In the sentenv.sh file that resides in SAS-configuration-directory/Web/WebAppServer/SASServern_m/bin/, update the Java arguments, as follows:

JVM_OPTS="... -Dgemfire.member-timeout=120000"

SAS Distributed In-Process Scheduler Job Runner

In the DIPJobRunner.sh file that resides in SAS-configuration-directory/Web/Applications/SASWIPSchedulingServices9.4/dip/, add the following line in the section JVM DIP Jobrunner specific VM properties:

PROPS="$PROPS -Dgemfire.member-timeout=120000"

SAS Web Infrastructure Platform Scheduling Services

In the serviceTrigger.ini file that resides in SAS-configuration-directory/Web/Applications/SASWIPSchedulingServices9.4/, add the following line:

JavaArgs_16=-Dgemfire.member-timeout=120000

Note: The value for N in JavaArgs_N might vary, depending on your configuration. Just choose the next sequential number. In the example above, the previous parameter is JavaArgs_15.

Report Output Generation Tool (for SAS Web Report Studio)

In the outputgen.ini file that resides in SASHOME/SASBIReportServices/4.4/, add the following line:

JavaArgs_16=-Dgemfire.member-timeout=120000

Note: The value for N in JavaArgs_N might vary, depending on your configuration. Just choose the next sequential number. In the example above, the previous parameter is JavaArgs_15.