topology icon indicating copy to clipboard operation
topology copied to clipboard

Adding StashCache cache to JLab

Open wmoore28 opened this issue 3 years ago • 3 comments
trafficstars

wmoore28 avatar Feb 24 '22 18:02 wmoore28

Hi @wmoore28 , caches (and origins) need to have their DNs listed as well. What's the DN of the cache?

matyasselmeci avatar Feb 25 '22 00:02 matyasselmeci

Hi @wmoore28 do the cache and origin actually live on the same host? I'd be shocked if that works – we have an issue in the packaging where the origin and cache should actually conflict: https://opensciencegrid.atlassian.net/browse/SOFTWARE-4668

brianhlin avatar Apr 21 '22 18:04 brianhlin

Topology lookups for StashCache information (Authfile, scitokens.conf file) are done by using the FQDN as the key. Therefore you can't have multiple StashCache resources sharing an FQDN, even if they're of different types.

Accounting graphs are also keyed by FQDN, which would cause the stats for the origin and the cache to be show up added together.

I'm not sure what else would break but I don't think it is a good idea.

matyasselmeci avatar May 11 '22 01:05 matyasselmeci

This hasn't been merged in two years so I'm going to close it.

matyasselmeci avatar Sep 24 '24 17:09 matyasselmeci