dbfrontiersquid@xxx.xxx
FRONTIER_USER=cgamboa FRONTIER_GROUP=usatlasBNL Squid cache server was installed on:
[cgamboa@gridui01 frontier-cache]$ pwd /data/frontier/frontier-cachethis directory holds the working directory and the cache (var) directory.
/data/frontier/frontier-cache/squid/var/cacheThe Fermilab script allows you to specify the not only the installation prefix previously shown but the network/netmask which would allowed to access the squid. For this testing exercise is define for
FRONTIER_NET_LOCAL='130.199.0.0/255.255.0.0'The amount of cache memory defined was 512MB and the amount of 65000MB The server is controlled manually trough the following commands The command to start the server is:
/data/frontier/frontier-cache/utils/bin/fn-local-squid.sh startand the command to stop the server is:
/data/frontier/frontier-cache/utils/bin/fn-local-squid.sh startA cron job can be used to rotate and prevent that the log files consume a lot of disk space Thus:
5 7 * * * /data/frontier/frontier-cache/utils/cron/daily.sh 2>&1 >/dev/nullCustomizing the Squid cache server to BNL needs The installation previously done is performed initially with the squid.conf file that came with the squid installation package previously designed at Fermilab. This configuration file would have to be change according the BNL requirements in terms of data load and network speed and access control list.
Please note that this site is a content mirror of the BNL USATLAS TWiki. To edit the content of this page, click the Edit this page button at the top of the page and log in with your BNL USATLAS account.