DCacheAdminMode

From T2B Wiki
Revision as of 12:28, 26 August 2015 by Maintenance script (talk | contribs) (Created page with " This wiki page is intended to help admins debugging dCache issues. === Tracking pnfs id and pool for a specific file === *Login to the admin console <pre> [root@maite...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This wiki page is intended to help admins debugging dCache issues.

Tracking pnfs id and pool for a specific file

  • Login to the admin console
[root@maite ~]# ssh -F /root/.ssh/dcache_admin_config admin@localhost

    dCache Admin (VII) (user=admin)

[maite.iihe.ac.be] (local) admin > 
  • Copy the file with dccp and check in PoolManager the status of the transfer. In our case, something is bad with pnfsid 000C00000000000000D4D6F8
[maite.iihe.ac.be] (local) admin > cd PoolManager
[maite.iihe.ac.be] (PoolManager) admin > rc ls
000C00000000000000D4D6F8@0.0.0.0/0.0.0.0-*/* m=9 r=1 [<unknown>] [Suspended (pool unavailable) 08.19 10:01:01] {0,}
  • Another way to know the pnfsid of a file is to run:
[maite.iihe.ac.be] (local) admin > pnfs map /pnfs/iihe/cms/ph/sc4/store/mc/2007/11/13/CSA07-tt0j_mT_70-alpgen-3545/0005/064A4D43-7DC3-DC11-B586-0030487C116E.root
000C00000000000000D4D6F8
  • Or yet another way, in PnfsManager
[maite.iihe.ac.be] (PnfsManager) admin > pnfsidof /pnfs/iihe/cms/ph/sc4/store/mc/2007/11/13/CSA07-tt0j_mT_70-alpgen-3545/0005/064A4D43-7DC3-DC11-B586-0030487C116E.root
000C00000000000000D4D6F8
  • In PnfsManager, using the pnfsid you can locate the pool that stores physically the file by running:
[maite.iihe.ac.be] (PnfsManager) admin > cacheinfoof 000C00000000000000D4D6F8
 behar5_1
  • The command cd will not work to leave go back to admin
..
  • Looking into each machine explicitly
[beharX.iihe.ac.be] > ls /storage/[1,2,3]/pool/data/0011000000000000032CC250

Setting the verbosity level of dCache

to increase the verbose level in the logs of dCache, go to /opt/d-cache/config/
In this directory, there are a number of files ending in .batch. There is one per service.
Open the file and adapt the printout level (default=2, increase to 5)
Then restart the associated dCache service.



Template:TracNotice