Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
cvmfs-virgo server and client setup | ||||||||
Line: 50 to 50 | ||||||||
# adduser virgo | ||||||||
Changed: | ||||||||
< < | # cvmfs_server mkfs virgo Owner of virgo. [root]: virgo | |||||||
> > | # cvmfs_server mkfs virgo.infn.it Owner of virgo.infn.it [root]: virgo | |||||||
Creating configuration files... done | ||||||||
Changed: | ||||||||
< < | Creating CernVM-FS master key for virgo. in /etc/cvmfs/keys/virgo..pub... done Creating self-signed certificate for virgo. in /etc/cvmfs/keys/virgo..crt... done | |||||||
> > | Creating CernVM-FS master key for virgo.infn.it in /etc/cvmfs/keys/virgo.infn.it.pub... done Creating self-signed certificate for virgo.infn.it in /etc/cvmfs/keys/virgo.infn.it.crt... done | |||||||
Create CernVM-FS Storage... done Create Initial Repository... done Mounting CernVM-FS Storage... done | ||||||||
Changed: | ||||||||
< < | Initial commit... New CernVM-FS repository for virgo. | |||||||
> > | Initial commit... New CernVM-FS repository for virgo.infn.it | |||||||
Before you can install anything, call `cvmfs_server transaction` to enable write access on your repository. Then install your | ||||||||
Changed: | ||||||||
< < | software in /cvmfs/virgo. as user virgo. | |||||||
> > | software in /cvmfs/virgo.infn.it as user virgo. | |||||||
Once you're happy, publish using `cvmfs_server publish` For client configuration, have a look at 'cvmfs_server info' | ||||||||
Line: 72 to 72 | ||||||||
# ls /cvmfs/ | ||||||||
Changed: | ||||||||
< < | virgo. | |||||||
> > | virgo.infn.it | |||||||
Software installation
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
# su - virgo -bash-3.2$ ls new_repository | ||||||||
Changed: | ||||||||
< < | -bash-3.2$ cat /cvmfs/virgo./helloworld.sh | |||||||
> > | -bash-3.2$ cat /cvmfs/virgo.infn.it/helloworld.sh | |||||||
#!/bin/sh echo "Welcome on cvmfs for virgo VO" | ||||||||
Changed: | ||||||||
< < | chmod +x /cvmfs/virgo./helloworld.sh | |||||||
> > | chmod +x /cvmfs/virgo.infn.it/helloworld.sh | |||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
# cvmfs_server publish Processing changes... | ||||||||
Changed: | ||||||||
< < | [add] /cvmfs/virgo./helloworld.sh | |||||||
> > | [add] /cvmfs/virgo.infn.it/helloworld.sh | |||||||
Waiting for upload of files before committing... Committing file catalogs... Exporting repository manifest | ||||||||
Changed: | ||||||||
< < | Signing /var/spool/cvmfs/virgo./tmp/manifest | |||||||
> > | Signing /var/spool/cvmfs/virgo.infn.it/tmp/manifest | |||||||
Remounting newly created repository revision | ||||||||
Line: 119 to 119 | ||||||||
cvmfs repository info# cvmfs_server info | ||||||||
Changed: | ||||||||
< < | Repository name: virgo. | |||||||
> > | Repository name: virgo.infn.it | |||||||
Created by CernVM-FS 2.1.10 Stratum1 Replication Allowed: no Whitelist is valid for another 29 days Client configuration: | ||||||||
Changed: | ||||||||
< < | Add virgo. to CVMFS_REPOSITORIES in /etc/cvmfs/default.local Create /etc/cvmfs/config.d/virgo..conf and set CVMFS_SERVER_URL=http://localhost/cvmfs/virgo. CVMFS_PUBLIC_KEY=/etc/cvmfs/keys/virgo..pub Copy /etc/cvmfs/keys/virgo..pub to the client | |||||||
> > | Add virgo.infn.it to CVMFS_REPOSITORIES in /etc/cvmfs/default.local Create /etc/cvmfs/config.d/virgo.infn.it.conf and set CVMFS_SERVER_URL=http://localhost/cvmfs/virgo.infn.it CVMFS_PUBLIC_KEY=/etc/cvmfs/keys/virgo.infn.it.pub Copy /etc/cvmfs/keys/virgo.infn.it.pub to the client | |||||||
Repository structure | ||||||||
Line: 151 to 151 | ||||||||
Client installation and setup
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
# yum install cvmfs-keys cvmfs cvmfs-init-scripts | ||||||||
Line: 160 to 160 | ||||||||
Starting CernVM-FS: [ OK ] # cat /etc/cvmfs/default.local | ||||||||
Changed: | ||||||||
< < | CVMFS_REPOSITORIES=virgo. | |||||||
> > | CVMFS_REPOSITORIES=virgo.infn.it | |||||||
# ll /etc/cvmfs/keys/ total 24 [...] | ||||||||
Changed: | ||||||||
< < | -r--r--r-- 1 root root 451 Sep 25 16:24 virgo..pub | |||||||
> > | -r--r--r-- 1 root root 451 Sep 25 16:24 virgo.infn.it.pub | |||||||
Changed: | ||||||||
< < | # cat /etc/cvmfs/config.d/virgo..conf CVMFS_SERVER_URL=http://cvmfs-virgo.cnaf.infn.it/cvmfs/virgo. CVMFS_PUBLIC_KEY=/etc/cvmfs/keys/virgo..pub | |||||||
> > | # cat /etc/cvmfs/config.d/virgo.infn.it.conf CVMFS_SERVER_URL=http://cvmfs-virgo.cnaf.infn.it/cvmfs/virgo.infn.it CVMFS_PUBLIC_KEY=/etc/cvmfs/keys/virgo.infn.it.pub | |||||||
CVMFS_HTTP_PROXY="http://squid01.cnaf.infn.it:3128|http://squid02.cnaf.infn.it:3128"![]() | ||||||||
Changed: | ||||||||
< < | Download the public key to (/etc/cvmfs/keys/virgo..pub ) from HERE | |||||||
> > | Download the public key to (/etc/cvmfs/keys/virgo.infn.it.pub ) from HERE | |||||||
# /etc/init.d/autofs restart | ||||||||
Line: 189 to 189 | ||||||||
cvmfs_config showconfig | ||||||||
Changed: | ||||||||
< < | # cvmfs_config showconfig virgo. CVMFS_REPOSITORY_NAME=virgo. | |||||||
> > | # cvmfs_config showconfig virgo.infn.it CVMFS_REPOSITORY_NAME=virgo.infn.it | |||||||
CVMFS_USER=cvmfs # from /etc/cvmfs/default.conf CVMFS_NFILES=65536 # from /etc/cvmfs/default.conf CVMFS_CACHE_BASE=/var/lib/cvmfs # from /etc/cvmfs/default.conf CVMFS_CACHE_DIR=/var/lib/cvmfs/shared # from CVMFS_MOUNT_DIR=/cvmfs # from /etc/cvmfs/default.conf CVMFS_QUOTA_LIMIT=4000 # from /etc/cvmfs/default.conf | ||||||||
Changed: | ||||||||
< < | CVMFS_SERVER_URL=http://cvmfs-virgo.cnaf.infn.it/cvmfsvirgo. # from /etc/cvmfs/config.d/virgo..conf | |||||||
> > | CVMFS_SERVER_URL=http://cvmfs-virgo.cnaf.infn.it/cvmfsvirgo. # from /etc/cvmfs/config.d/virgo.infn.it.conf | |||||||
CVMFS_DEBUGLOG= | ||||||||
Changed: | ||||||||
< < | CVMFS_HTTP_PROXY=http://squid01.cnaf.infn.it:3128|http://squid02.cnaf.infn.it:3128![]() | |||||||
> > | CVMFS_HTTP_PROXY=http://squid01.cnaf.infn.it:3128|http://squid02.cnaf.infn.it:3128![]() | |||||||
CERNVM_GRID_UI_VERSION= CVMFS_SYSLOG_LEVEL= CVMFS_SYSLOG_FACILITY= CVMFS_TRACEFILE= CVMFS_TIMEOUT=5 # from /etc/cvmfs/default.conf CVMFS_TIMEOUT_DIRECT=10 # from /etc/cvmfs/default.conf | ||||||||
Changed: | ||||||||
< < | CVMFS_PUBLIC_KEY=/etc/cvmfs/keys/virgo..pub # from /etc/cvmfs/config.d/virgo..conf | |||||||
> > | CVMFS_PUBLIC_KEY=/etc/cvmfs/keys/virgo.infn.it.pub # from /etc/cvmfs/config.d/virgo.infn.it.conf | |||||||
CVMFS_KEYS_DIR=/etc/cvmfs/keys # from /etc/cvmfs/default.conf CVMFS_MAX_TTL= CVMFS_RELOAD_SOCKETS=/var/run/cvmfs # from /etc/cvmfs/default.conf | ||||||||
Line: 214 to 214 | ||||||||
CVMFS_MEMCACHE_SIZE= CVMFS_KCACHE_TIMEOUT= CVMFS_ROOT_HASH= | ||||||||
Changed: | ||||||||
< < | CVMFS_REPOSITORIES=virgo. # from /etc/cvmfs/default.local | |||||||
> > | CVMFS_REPOSITORIES=virgo.infn.it # from /etc/cvmfs/default.local | |||||||
CVMFS_PROXY_RESET_AFTER=300 # from /etc/cvmfs/default.conf CVMFS_MAX_RETRIES=1 # from /etc/cvmfs/default.conf CVMFS_BACKOFF_INIT=2 # from /etc/cvmfs/default.conf | ||||||||
Line: 231 to 231 | ||||||||
Software check | ||||||||
Changed: | ||||||||
< < | # /cvmfs/virgo./helloworld.sh | |||||||
> > | # /cvmfs/virgo.infn.it/helloworld.sh | |||||||
Welcome on cvmfs for virgo VO | ||||||||
Line: 239 to 239 | ||||||||
# cvmfs_config stat | ||||||||
Changed: | ||||||||
< < | Running /usr/bin/cvmfs_config statvirgo.: | |||||||
> > | Running /usr/bin/cvmfs_config statvirgo.infn.it: | |||||||
VERSION PID UPTIME(M) MEM(K) REVISION EXPIRES(M) NOCATALOGS CACHEUSE(K) CACHEMAX(K) NOFDUSE NOFDMAX NOIOERR NOOPEN HITRATE(%) RX(K) SPEED(K/S) HOST PROXY ONLINE | ||||||||
Changed: | ||||||||
< < | 2.1.14.0 7349 2 23024 2 57 1 28 4096001 0 65024 0 2 50 3 n/a http://cvmfs-virgo.cnaf.infn.it/cvmfs/virgo![]() ![]() | |||||||
> > | 2.1.14.0 7349 2 23024 2 57 1 28 4096001 0 65024 0 2 50 3 n/a http://cvmfs-virgo.cnaf.infn.it/cvmfs/virgo.infn.it![]() ![]() | |||||||
Changed: | ||||||||
< < | -- PaoloVeronesi - 2013-12-03 | |||||||
> > | -- PaoloVeronesi - 2014-10-01 | |||||||
Changed: | ||||||||
< < |
| |||||||
> > |
|