BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
raj231
Obsidian | Level 7

Hi Can some one explain sas cache locator? Why it's called locator? Also explain data regions

1 ACCEPTED SOLUTION

Accepted Solutions
PaulHomes
Rhodochrosite | Level 12

Here are some exerts from the SAS documentation:

 

SAS® 9.4 Guide to Software Updates: Changes to the Middle Tier

A Cache Locator is installed and configured on the middle-tier machine. The Cache Locator is used by SAS Web Application Server to locate other SAS applications that use a distributed data cache for sharing information.

 

SAS® 9.4 Intelligence Platform: Middle-Tier Administration Guide: About the Cache Locator

The Cache Locator is used by applications on server-tier and middle-tier machines to locate other members and form a data cache. When SAS Web Application Server starts, it contacts one of the locators that is specified in the sas.cache.locators JVM option to initialize communication with the distributed cache. With that information, SAS Web Application Server instances form the cache that is needed to share run-time information.

 

A locator is also configured on the server tier to provide access to the data cache for stand-alone client applications like the SAS Web Infrastructure Platform Scheduling Services (wipschedbatch.bat).

 

SAS® 9.4 Intelligence Platform: Middle-Tier Administration Guide: Understanding the Middle-Tier Environment

the Cache Locator, which is used by SAS web applications to locate and connect to a distributed cache. The SAS web applications use the cache to maintain awareness of user sessions and to share application data.

 

There is also some info about it in Rob Collum's SAS Global Forum paper SAS415-2017 Twelve Cluster Technologies Available in SAS® 9.4:

The SAS Cache Locator is a specialized implementation of Pivotal GemFire. It provides service discovery functionality and informs new, connecting members (like the SAS Web Application Server) where other running members are located.

...

The members of a SAS Cache Locator cluster act as peers and provide failover support for each other. If one goes down, the other can continue doing all of the work.

...

For multi-machine deployments, the SAS Deployment Wizard will automatically deploy two SAS Cache Locators in a clustered arrangement. One is placed on the primary middle-tier host machine and the other on the primary server-tier host.

 

At a high level, it is a component that the SAS platform uses for caching application data when scaling/distributing components across many JVMs across many machines. That's about as much as I know ... and thus far all I've needed to know to administer the SAS platform. If you need more detailed information, than that available in the SAS documentation, then you could also contact SAS Technical Support. Please report back with anything else you discover 🙂

 

Also, the SAS Cache Locator is based on Pivotal GemFire, so you could also look up GemFire documentation for more general information about how it works and what it is used for (in general terms). SAS tech support may be able to give you more SAS specifics.

 

View solution in original post

4 REPLIES 4
PaulHomes
Rhodochrosite | Level 12

Is this question regarding for SAS 9.4 or SAS Viya?

 

If you haven't already seen it maybe start with the About the Cache Locator section in the SAS® 9.4 Intelligence Platform: Middle-Tier Administration Guide or the SAS Cache Locator and Cache Server section in SAS® Viya® 3.3 Administration: Infrastructure Servers.

raj231
Obsidian | Level 7

Cache locator is used to locate other members and form data cache. Now who are those other members and what is the use of data cache

PaulHomes
Rhodochrosite | Level 12

Here are some exerts from the SAS documentation:

 

SAS® 9.4 Guide to Software Updates: Changes to the Middle Tier

A Cache Locator is installed and configured on the middle-tier machine. The Cache Locator is used by SAS Web Application Server to locate other SAS applications that use a distributed data cache for sharing information.

 

SAS® 9.4 Intelligence Platform: Middle-Tier Administration Guide: About the Cache Locator

The Cache Locator is used by applications on server-tier and middle-tier machines to locate other members and form a data cache. When SAS Web Application Server starts, it contacts one of the locators that is specified in the sas.cache.locators JVM option to initialize communication with the distributed cache. With that information, SAS Web Application Server instances form the cache that is needed to share run-time information.

 

A locator is also configured on the server tier to provide access to the data cache for stand-alone client applications like the SAS Web Infrastructure Platform Scheduling Services (wipschedbatch.bat).

 

SAS® 9.4 Intelligence Platform: Middle-Tier Administration Guide: Understanding the Middle-Tier Environment

the Cache Locator, which is used by SAS web applications to locate and connect to a distributed cache. The SAS web applications use the cache to maintain awareness of user sessions and to share application data.

 

There is also some info about it in Rob Collum's SAS Global Forum paper SAS415-2017 Twelve Cluster Technologies Available in SAS® 9.4:

The SAS Cache Locator is a specialized implementation of Pivotal GemFire. It provides service discovery functionality and informs new, connecting members (like the SAS Web Application Server) where other running members are located.

...

The members of a SAS Cache Locator cluster act as peers and provide failover support for each other. If one goes down, the other can continue doing all of the work.

...

For multi-machine deployments, the SAS Deployment Wizard will automatically deploy two SAS Cache Locators in a clustered arrangement. One is placed on the primary middle-tier host machine and the other on the primary server-tier host.

 

At a high level, it is a component that the SAS platform uses for caching application data when scaling/distributing components across many JVMs across many machines. That's about as much as I know ... and thus far all I've needed to know to administer the SAS platform. If you need more detailed information, than that available in the SAS documentation, then you could also contact SAS Technical Support. Please report back with anything else you discover 🙂

 

Also, the SAS Cache Locator is based on Pivotal GemFire, so you could also look up GemFire documentation for more general information about how it works and what it is used for (in general terms). SAS tech support may be able to give you more SAS specifics.

 

raj231
Obsidian | Level 7

Thank you

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

CLI in SAS Viya

Learn how to install the SAS Viya CLI and a few commands you may find useful in this video by SAS’ Darrell Barton.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 4 replies
  • 6601 views
  • 5 likes
  • 2 in conversation