Service Card for CVMFS

CVMFS is a package running on the WNs that needs a squid proxy to cache requests.

Definition

Currently, the host in which the squid for cvmfs is installed is cvmfs.lcg.cscs.ch and is a Sun server with:

  • Scientific Linux 6.2 x86_64
  • Squid 3.1.10 (squid-3.1.10-1.el6_2.1.x86_64)

Operations

Interesting information like how to deal with the service.

Client tools

Testing

Start/stop procedures

# service squid status
squid (pid  2268) is running...

Failover check

The WNs are configured to query both Squid servers in case of failure:

# cat default.local
#CVMFS_REPOSITORIES=atlas.cern.ch,atlas-condb.cern.ch,cms.cern.ch,lhcb.cern.ch,hone.cern.ch,grid.cern.ch
CVMFS_REPOSITORIES=atlas,atlas-condb,lhcb,hone,cms
CVMFS_HTTP_PROXY="http://cvmfs.lcg.cscs.ch:3128|http://ppcvmfs.lcg.cscs.ch:3128"
CVMFS_CACHE_BASE=/cvmfs_local
CVMFS_QUOTA_LIMIT=30000

Checking logs

Set up

Instructions on how to set up the service, like:

Dependencies (other services, mount points, ...)

Redundancy notes

Installation

Easy:

# yum install squid

Configuration ( /etc/squid/squid.conf) is managed by cfengine.

Upgrade

Monitoring

Instructions about monitoring the service

Nagios

Ganglia

Self Sanity / revival?

Other?

Manuals

External links to manuals

Issues

Information about issues found with this service, and how to deal with them.

Define a reasonable size of Squid disk cache

It is a good idea to set a reasonable value for the disk cache size being used by the Squid server run on CMVFS machines in order to avoid to fill up the whole disk or partition dedicated to it:

[root@cvmfs1:~]# vim /etc/squid/squid.conf
[...]

cache_dir aufs /squid_cache/squid 400000 16 256

[...]

In the example a disk cache size of 400GB has been defined along with the limit of 16 first-level directories and 256 second-level directories created under the Squid cache directory defined as second argument. Currently we manage this configuration file via CFEngine as usual.

Issue2

ServiceCardForm
Service name cvmfs
Machines this service is installed in cvmfs1,cvmfs
Is Grid service No
Depends on the following services

Expert Gianni Ricciardi
CM CfEngine
Provisioning Razor
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r4 - 2014-11-25 - MiguelGila
 
  • Edit
  • Attach
This site is powered by the TWiki collaboration platform Powered by Perl This site is powered by the TWiki collaboration platformCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback