Architecting, installing and maintaining your SAS environment

Sas cache locator

Accepted Solution Solved
Reply
Occasional Contributor
Posts: 12
Accepted Solution

Sas cache locator

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


Accepted Solutions
Solution
‎03-30-2018 02:12 PM
PROC Star
Posts: 464

Re: Sas cache locator

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 Smiley Happy

 

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


All Replies
PROC Star
Posts: 464

Re: Sas cache locator

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.

Occasional Contributor
Posts: 12

Re: Sas cache locator

Posted in reply to PaulHomes

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

Solution
‎03-30-2018 02:12 PM
PROC Star
Posts: 464

Re: Sas cache locator

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 Smiley Happy

 

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.

 

Occasional Contributor
Posts: 12

Re: Sas cache locator

Posted in reply to PaulHomes

Thank you

☑ This topic is solved.

Need further help from the community? Please ask a new question.

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