<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://pwiki.pic.es/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Mcaubet</id>
	<title>Public PIC Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://pwiki.pic.es/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Mcaubet"/>
	<link rel="alternate" type="text/html" href="https://pwiki.pic.es/index.php?title=Special:Contributions/Mcaubet"/>
	<updated>2026-05-02T09:05:47Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.14</generator>
	<entry>
		<id>https://pwiki.pic.es/index.php?title=DCACHE_CHECK_POOL_METADATA&amp;diff=231</id>
		<title>DCACHE CHECK POOL METADATA</title>
		<link rel="alternate" type="text/html" href="https://pwiki.pic.es/index.php?title=DCACHE_CHECK_POOL_METADATA&amp;diff=231"/>
		<updated>2017-10-06T13:29:56Z</updated>

		<summary type="html">&lt;p&gt;Mcaubet: /* Special thanks */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= For the MoD =&lt;br /&gt;
* Open a ticket to incidents@support.pic.es with the alarm. &lt;br /&gt;
* This alarm only affects the duration of the pool start up, nothing has to be done until the next working day where this can be fixed by dCache Administrators.&lt;br /&gt;
* Same information as [[DCACHE CHECK POOL BTREE MEMORY]] as both alarms are strictly related.&lt;br /&gt;
&lt;br /&gt;
= For the Admin =&lt;br /&gt;
&lt;br /&gt;
* Berkely DB should be tunned according to the number of meta files that a pool contains. If this not correctly adapted, pool start up will may need several hours to be fully available. Gerd explained how to tune up a pool according to this number. Below I show a modified explanation of what he said, adapting the explanation to the ATLAS pools.&lt;br /&gt;
&lt;br /&gt;
* The default je.log.fileCacheSize is 100. This could be increased by creating a file je.properties and adding the 'je.log.fileCacheSize=100'.&lt;br /&gt;
&lt;br /&gt;
* Also, other relevant settings are:&lt;br /&gt;
&lt;br /&gt;
 je.maxMemory=&lt;br /&gt;
 je.maxMemoryPercent=20&lt;br /&gt;
&lt;br /&gt;
* These are equivalent. The former sets the number of bytes used for the btree cache, while the latter defines it as a percentage of the max heap size. E.g. if dcache.java.memory.heap is set to 2048m, then 410 MB is used for the btree cache.&lt;br /&gt;
&lt;br /&gt;
* The question is then how to determine a good size for the cache. There are some hidden utilities you can use to do this.&lt;br /&gt;
&lt;br /&gt;
* Below I show an example for dc042_1:&lt;br /&gt;
&lt;br /&gt;
 [root@dc042 meta]# java -cp  /usr/share/dcache/classes/je-*.jar com.sleepycat.je.util.DbPrintLog -h . -S&lt;br /&gt;
 &amp;lt;DbPrintLog&amp;gt;&lt;br /&gt;
 Log statistics:&lt;br /&gt;
                 type               total         provisional               total                 min                 max                 avg             entries&lt;br /&gt;
                                    count               count               bytes               bytes               bytes               bytes         as % of log&lt;br /&gt;
                MapLN               1,324                   0          12,617,573                  76              11,985               9,529                 0.3&lt;br /&gt;
               NameLN                   4                   0                 141                  31                  38                  35                   0&lt;br /&gt;
        FileSummaryLN             231,140                   0          55,644,337                  24              49,701                 240                 1.4&lt;br /&gt;
                   IN              84,083               1,080         296,942,059                  45               5,709               3,531                 7.7&lt;br /&gt;
                  BIN             114,865             114,865         377,569,148                  44               6,675               3,287                 9.8&lt;br /&gt;
               DbTree                 318                   0           1,034,997               2,680               4,136               3,254                   0&lt;br /&gt;
               Commit           3,376,012                   0         114,784,408                  34                  34                  34                   3&lt;br /&gt;
            CkptStart                 158                   0               4,899                  30                  33                  31                   0&lt;br /&gt;
              CkptEnd                 226                   0              22,560                  67                 186                  99                   0&lt;br /&gt;
                Trace               2,506                   0             525,597                  48                 402                 209                   0&lt;br /&gt;
           FileHeader                 385                   0              14,630                  38                  38                  38                   0&lt;br /&gt;
            DEL_LN_TX             748,055                   0          51,409,527                  57                  69                  68                 1.3&lt;br /&gt;
            INS_LN_TX             619,747                   0         192,298,301                  96               1,443                 310                   5&lt;br /&gt;
            UPD_LN_TX           2,008,226                   0         398,854,718                  32               1,919                 198                10.4&lt;br /&gt;
               UPD_LN           6,636,173                   0       1,997,042,458                  18               1,819                 300                51.9&lt;br /&gt;
          NewBINDelta             720,540             720,540         348,480,254                  55               1,782                 483                 9.1&lt;br /&gt;
            key bytes          10,012,201                             387,254,450                   1                  61                  38              (10.1)&lt;br /&gt;
           data bytes           9,264,146                           2,036,632,128                   1               1,848                 219              (52.9)&lt;br /&gt;
 &lt;br /&gt;
 Total bytes in portion of log read: 3,847,245,607&lt;br /&gt;
 Total number of entries: 14,543,762&lt;br /&gt;
 &lt;br /&gt;
 Per checkpoint interval info:&lt;br /&gt;
                lnTxn                  ln            mapLNTxn               mapLN          end to end        end to start        start to end         maxLNReplay             ckptEnd&lt;br /&gt;
                  273              63,082                   0                  10          30,455,407       3,857,456,063                   0              63,355   0x1f2f/0x6f2ef&lt;br /&gt;
                5,168             130,892                   0                  24          39,782,369       3,827,000,656                   0             136,060   0x226b/0x3a0d0&lt;br /&gt;
               27,098             132,905                   0                  15          50,120,541          16,509,395          33,611,146             160,003   0x252c/0x577ad&lt;br /&gt;
                  128              32,773                   0                   3           9,904,160       3,737,097,746                   0             134,154   0x254c/0x4014d&lt;br /&gt;
                   82              31,341                   0                  12          10,576,583       3,727,193,586                   0              31,423   0x2567/0xccd94&lt;br /&gt;
                    0                  72                   0                   4             711,899              51,780             660,119                  72   0x2567/0x17aa6f&lt;br /&gt;
               36,445              61,509                   0                   0          28,499,838       3,715,905,104                   0              97,954   0x25e5/0xc66d&lt;br /&gt;
                    2                 108                   0                   6           1,564,919              56,871           1,508,048                 110   0x25e5/0x18a764&lt;br /&gt;
               10,732              50,299                   0                   5          18,877,564       3,685,840,347                   0              61,055   0x2678/0x786e0&lt;br /&gt;
                   33                 190                   0                   6           1,627,301              94,279           1,533,022                 223   0x2678/0x205b85&lt;br /&gt;
                8,277              84,136                   0                   3          28,217,133          17,808,699          10,408,434              92,434   0x26be/0x52732&lt;br /&gt;
                5,401              25,394                   0                   7           9,824,151       3,637,118,349                   0              61,029   0x26cf/0x27849&lt;br /&gt;
               49,026              92,572                   0                   3          41,592,807       3,627,294,198                   0             141,598   0x2747/0x1ac630&lt;br /&gt;
                    2                  46                   0                   6             357,170              45,107             312,063                  48   0x2747/0x203962&lt;br /&gt;
               20,496              39,154                   0                   3          18,591,447       3,585,344,221                   0              59,654   0x27db/0xabb39&lt;br /&gt;
                    0                 154                   0                   6           1,187,463              83,676           1,103,787                 154   0x27db/0x1cd9c0&lt;br /&gt;
               17,107              49,468                   0                   3          18,905,722       3,565,565,311                   0              66,583   0x285c/0xc273a&lt;br /&gt;
                   58                   0                   0                   6             392,501              62,920             329,581                  58   0x285c/0x12246f&lt;br /&gt;
              113,890             201,969                   0                  17          79,488,418       3,546,267,088                   0             315,874   0x28ed/0xa5611&lt;br /&gt;
               22,147              98,579                   0                   8          40,657,515          36,319,235           4,338,280             120,726   0x2952/0x145e7c&lt;br /&gt;
                    0                 122                   0                   6           1,296,043              70,361           1,225,682              28,367   0x2952/0x282527&lt;br /&gt;
               19,570              65,944                   0                   5          27,570,660          25,251,492           2,319,168              85,520   0x2962/0x3138b&lt;br /&gt;
               37,714              28,889                   0                   3          21,505,514          19,337,884           2,167,630              66,613   0x297d/0x1a0c75&lt;br /&gt;
                    3                 332                   0                   6           2,437,155             124,630           2,312,525                 479   0x297d/0x3f3c98&lt;br /&gt;
               41,458              62,406                   0                   3          26,385,897       3,373,311,783                   0             103,904   0x29c7/0x81701&lt;br /&gt;
                    0                  46                   0                   6           1,404,642              46,045           1,358,597                  46   0x29c7/0x1d85e3&lt;br /&gt;
               41,443              87,747                   0                   3          39,909,271          14,624,816          25,284,455             129,198   0x29fb/0x1c237a&lt;br /&gt;
                    0                 123                   0                   5           1,185,318              68,652           1,116,666              79,470   0x29fb/0x2e39a0&lt;br /&gt;
                9,199              12,698                   0                   4           9,927,451       3,304,426,655                   0              21,899   0x2a00/0x2d1e3b&lt;br /&gt;
                    8                   0                   0                   5             118,374              35,364              83,010                   8   0x2a00/0x2eeca1&lt;br /&gt;
              122,697              96,787                   0                   3          66,966,017       3,294,380,830                   0             219,488   0x2a44/0xa122&lt;br /&gt;
               53,436              12,002                   0                   3          21,830,901       3,227,414,813                   0              65,438   0x2a53/0x1c9117&lt;br /&gt;
                   20                 167                   0                   6           1,308,679              85,964           1,222,715                 187   0x2a53/0x30891e&lt;br /&gt;
               18,552              38,805                   0                   6          17,501,977       3,204,275,233                   0              57,381   0x2a58/0xa6b37&lt;br /&gt;
                    9                 105                   0                   4             678,297              87,871             590,426                 114   0x2a58/0x14c4d0&lt;br /&gt;
               25,434              36,231                   0                  10          19,064,711       3,186,094,959                   0              61,675   0x2a5e/0x67f57&lt;br /&gt;
                   15                 159                   0                   6           1,467,746              83,228           1,384,518                 174   0x2a5e/0x1ce4b9&lt;br /&gt;
               12,236              14,099                   0                   3           8,375,785       3,165,562,502                   0              26,358   0x2a63/0x41c22&lt;br /&gt;
                    6                 184                   0                   6           1,058,988              89,948             969,040                 190   0x2a63/0x1444ce&lt;br /&gt;
               71,844              24,018                   0                   3          29,188,061          27,937,328           1,250,733              95,870   0x2aac/0x7e12b&lt;br /&gt;
                9,407              25,608                   0                   7          11,016,096       3,126,939,668                   0              35,029   0x2aba/0x17624b&lt;br /&gt;
                   20                 110                   0                   6             748,510              82,108             666,402                 130   0x2aba/0x22ce29&lt;br /&gt;
               64,997              49,072                   0                  15          27,822,548          27,438,951             383,597             114,142   0x2af3/0x1947d&lt;br /&gt;
               10,534              23,197                   0                   6          12,103,837       3,087,352,514                   0              33,737   0x2b01/0x21ae9a&lt;br /&gt;
                  122                   0                   0                  32             879,716             489,740             389,976                 122   0x2b01/0x2f1afe&lt;br /&gt;
               60,029             128,431                   0                  24          58,556,679          56,338,979           2,217,700             188,485   0x2b3c/0x191505&lt;br /&gt;
                   15                  52                   0                   6             530,374              53,795             476,579                 231   0x2b3c/0x212ccb&lt;br /&gt;
               48,799              11,045                   0                   4          18,178,427          17,837,860             340,567              59,855   0x2b41/0x56146&lt;br /&gt;
               45,998              29,564                   0                   3          20,154,236       2,997,103,481                   0              75,573   0x2b52/0x7bbc2&lt;br /&gt;
               39,570              60,757                   0                  15          30,273,541       2,976,949,245                   0             100,327   0x2b8e/0xbe847&lt;br /&gt;
               31,631              33,780                   0                  13          22,348,448          16,815,306           5,533,142              65,411   0x2bad/0x2fbde7&lt;br /&gt;
               16,831              40,178                   0                   5          20,571,223       2,924,327,256                   0              57,047   0x2bc6/0x38753e&lt;br /&gt;
                4,292              18,826                   0                   8           8,363,076       2,903,756,033                   0              23,118   0x2be9/0x1f7b02&lt;br /&gt;
                    0                 254                   0                   6           2,043,974             119,900           1,924,074                 254   0x2be9/0x3eab48&lt;br /&gt;
                   30              19,902                   0                   4           7,727,051       2,893,348,983                   0              19,954   0x2c00/0x1bfc93&lt;br /&gt;
               27,984              75,433                   0                  32          29,896,927       2,885,621,932                   0             103,417   0x2c13/0x1a69f2&lt;br /&gt;
               40,477              36,001                   0                  10          19,737,838          17,591,303           2,146,535              76,478   0x2c2a/0x1669e0&lt;br /&gt;
                    2                   2                   0                   4             194,668              36,808             157,860                  10   0x2c2a/0x19624c&lt;br /&gt;
               29,246              68,367                   0                   3          31,325,183       2,835,792,499                   0              97,615   0x2c4c/0x2d9acb&lt;br /&gt;
                    0                  26                   0                   5           1,118,302              27,604           1,090,698                  26   0x2c4c/0x3eab29&lt;br /&gt;
                    4              19,763                   0                   3           7,562,665       2,803,349,014                   0              19,775   0x2c53/0x197a52&lt;br /&gt;
                   26                 194                   0                   6           1,436,963             103,803           1,333,160                 220   0x2c53/0x2f6775&lt;br /&gt;
                6,255              14,988                   0                   8           9,972,102       2,794,349,386                   0              21,292   0x2c5f/0x2efa7b&lt;br /&gt;
               39,212              18,305                   0                   5          18,591,243       2,784,377,284                   0              57,517   0x2c8f/0x197b86&lt;br /&gt;
                    0                  41                   0                   6           1,495,215             121,720           1,373,495                  41   0x2c8f/0x304c35&lt;br /&gt;
                  347              23,340                   0                   3           7,036,643       2,764,290,826                   0              23,697   0x2c95/0x31498&lt;br /&gt;
               23,408               9,116                   0                   3          10,098,528       2,757,254,183                   0              32,524   0x2ca4/0x49578&lt;br /&gt;
               45,631              27,183                   0                   3          19,972,142       2,747,155,655                   0              72,814   0x2cad/0x428a6&lt;br /&gt;
                    0                   0                   0                   1             963,802                  69             963,733                   0   0x2cad/0x12dd80&lt;br /&gt;
                  276              19,066                   0                   4          10,705,056           5,926,693           4,778,363              19,342   0x2cc4/0x1d9fa0&lt;br /&gt;
                    0              25,292                   0                   2          10,568,825           7,122,257           3,446,568              25,292   0x2ccf/0x264d99&lt;br /&gt;
                  722              25,106                   0                   3           9,376,076       2,704,945,830                   0              26,568   0x2cd3/0x1cc865&lt;br /&gt;
                   15                  96                   0                   6             601,987              65,907             536,080                 111   0x2cd3/0x25f7e8&lt;br /&gt;
               50,662              51,942                   0                   4          29,283,798       2,694,967,767                   0             102,611   0x2d20/0x1b0a3e&lt;br /&gt;
               18,486              16,140                   0                   4          12,291,893       2,665,683,969                   0              34,626   0x2d3a/0x3e02f3&lt;br /&gt;
               67,481             104,443                   0                   5          48,233,597          15,261,303          32,972,294             171,924   0x2d79/0x230ef0&lt;br /&gt;
               19,276              34,062                   0                   3          18,103,592       2,605,158,479                   0             171,476   0x2deb/0x61f18&lt;br /&gt;
                    0                 225                   0                   6             607,824              37,538             570,286                 225   0x2deb/0xf6568&lt;br /&gt;
               14,038              14,130                   0                   3          13,699,081       2,586,447,063                   0              28,385   0x2e21/0x47d6f1&lt;br /&gt;
                4,147              13,212                   0                   3           5,363,836       2,572,747,982                   0              17,359   0x2e40/0x118ed&lt;br /&gt;
                    0                   0                   0                   4             133,826              37,921              95,905                   0   0x2e40/0x323af&lt;br /&gt;
               31,744              33,396                   0                   3          22,247,625       2,567,250,320                   0              65,140   0x2e45/0x256f78&lt;br /&gt;
                    9                   0                   0                   6             290,601              55,855             234,746                   9   0x2e45/0x29dea1&lt;br /&gt;
                   16              25,020                   0                   4          10,475,420       2,544,712,094                   0              25,039   0x2e5b/0x311fbd&lt;br /&gt;
                1,682              19,008                   0                   3           8,507,134       2,534,236,674                   0              20,690   0x2e5f/0x1a583b&lt;br /&gt;
                   12                   0                   0                   6             354,107              41,047             313,060                  12   0x2e5f/0x1fbf76&lt;br /&gt;
                6,849              54,863                   0                   3          20,176,980       2,525,375,433                   0              61,719   0x2e7d/0x2272ca&lt;br /&gt;
               30,012              67,588                   0                   5          28,465,075          27,606,214             858,861              97,600   0x2eb6/0xb06fd&lt;br /&gt;
               14,048              16,912                   0                   2           9,587,676       2,476,733,378                   0              66,881   0x2ee1/0x4bc59&lt;br /&gt;
               15,183              12,704                   0                   6          11,270,153           6,834,792           4,435,361              27,887   0x2ef4/0x181de2&lt;br /&gt;
               23,012              39,873                   0                   7          18,610,316       2,455,875,549                   0              62,948   0x2f1a/0x2e96e&lt;br /&gt;
               25,472              49,151                   0                   6          22,681,935       2,437,265,233                   0              74,623   0x2f5a/0x2bd5bd&lt;br /&gt;
                1,031              60,319                   0                   6          20,425,359       2,414,583,298                   0              61,350   0x2f66/0x32534c&lt;br /&gt;
               48,185              83,225                   0                   4          42,656,335          28,813,330          13,843,005             131,410   0x2f9d/0x5adb9b&lt;br /&gt;
               16,859              32,139                   0                   3          18,804,637          12,310,056           6,494,581              74,600   0x2fa3/0x489e38&lt;br /&gt;
               29,050              79,391                   0                   8          47,784,742          37,879,192           9,905,550             108,511   0x300a/0x26d0de&lt;br /&gt;
                   32              38,306                   0                   6          19,991,849          14,244,764           5,747,085             117,588   0x3026/0x26b107&lt;br /&gt;
                    0                  37                   0                   6             345,851              39,476             306,375              25,114   0x3026/0x2bf802&lt;br /&gt;
               17,725              34,199                   0                   3          19,155,357       2,264,574,525                   0              51,955   0x303f/0x1f149f&lt;br /&gt;
                1,379              23,909                   0                   6          10,787,679       2,245,419,168                   0              25,288   0x304f/0x2b197e&lt;br /&gt;
                    3                  12                   0                   5             297,677              34,135             263,542                  15   0x304f/0x2fa44b&lt;br /&gt;
               17,968              47,908                   0                   2          17,014,500       2,234,333,812                   0              65,891   0x306c/0x2162f&lt;br /&gt;
               45,151              19,691                   0                   3          20,592,703          18,998,392           1,594,311              64,842   0x3071/0xb216e&lt;br /&gt;
               18,246              13,219                   0                   3          14,900,440       2,196,726,609                   0              31,514   0x308d/0x55e7c6&lt;br /&gt;
                   26              12,008                   0                   5           7,554,365           4,234,132           3,320,233              12,034   0x30a1/0x309683&lt;br /&gt;
               35,556              69,762                   0                  20          31,161,221       2,174,271,804                   0             105,338   0x30c2/0x424e88&lt;br /&gt;
               33,203             114,692                   0                   5          49,168,609          43,804,782           5,363,827             147,895   0x30fd/0x359ee9&lt;br /&gt;
                  182              19,563                   0                   7          10,363,229       2,093,941,974                   0              87,398   0x310c/0x3b29c6&lt;br /&gt;
                   14              19,817                   0                   4           9,355,037           4,743,642           4,611,395              19,831   0x3110/0x315263&lt;br /&gt;
                   46              37,708                   0                   8          20,678,814          10,884,622           9,794,192              41,674   0x315c/0x3bae01&lt;br /&gt;
                   88                 279                   0                   5             761,100              44,429             716,671               3,390   0x315c/0x474b0d&lt;br /&gt;
               40,709              61,572                   0                   4          26,837,961       2,052,783,794                   0             102,607   0x3189/0x170b56&lt;br /&gt;
                   42                   0                   0                   6             814,957              77,642             737,315                  42   0x3189/0x237ac3&lt;br /&gt;
               69,126             107,504                   0                   5          52,094,116          47,372,898           4,721,218             176,645   0x31b8/0x436ee7&lt;br /&gt;
                   46                   0                   0                   5             393,197              51,476             341,721              82,129   0x31b8/0x496ed4&lt;br /&gt;
               48,348             117,823                   0                   3          48,879,763          41,965,088           6,914,675             166,196   0x3201/0x3856e7&lt;br /&gt;
               16,349              39,063                   0                   7          17,875,388          14,606,658           3,268,730              62,982   0x3208/0x17eba3&lt;br /&gt;
                  105                   0                   0                   6           3,394,912              60,919           3,333,993               2,571   0x3208/0x4bb903&lt;br /&gt;
                  217              17,310                   0                   7           5,776,110       1,902,493,500                   0              17,617   0x3210/0xb4571&lt;br /&gt;
               36,657              27,268                   0                   7          22,160,771           4,617,088          17,543,683              63,925   0x3224/0x2c3df4&lt;br /&gt;
               24,153              42,022                   0                   1          22,019,603       1,874,556,619                   0             114,113   0x3235/0x4b0f07&lt;br /&gt;
                   16              18,174                   0                   7           7,706,321       1,852,537,016                   0              18,190   0x324e/0x280f58&lt;br /&gt;
                  120              24,379                   0                   7          10,458,169       1,844,830,695                   0              24,499   0x3266/0x2f0d11&lt;br /&gt;
               14,236              34,916                   0                   3          17,998,326          12,723,415           5,274,911              49,152   0x327b/0x108207&lt;br /&gt;
                   79                   0                   0                   5             673,666              37,699             635,967               2,808   0x327b/0x1ac989&lt;br /&gt;
                6,624              22,958                   0                   3          11,999,224       1,815,700,534                   0              29,650   0x3290/0x394b01&lt;br /&gt;
               19,965              40,810                   0                   8          17,269,398       1,803,701,310                   0              60,775   0x32a7/0xfa097&lt;br /&gt;
                7,517              58,175                   0                   5          21,772,528       1,786,431,912                   0              65,692   0x32de/0x2aac87&lt;br /&gt;
                9,415              18,600                   0                   6          10,786,946       1,764,659,384                   0              28,015   0x32e1/0x36ae89&lt;br /&gt;
                   51                   0                   0                   6             622,591              52,177             570,414                  51   0x32e1/0x402e88&lt;br /&gt;
               30,139              66,899                   0                   4          30,497,693       1,753,249,847                   0              97,065   0x3315/0x47c6a5&lt;br /&gt;
                    6              41,284                   0                   1          16,342,999          12,394,744           3,948,255              41,290   0x3320/0xff97c&lt;br /&gt;
               21,091              17,059                   0                   6          11,525,646       1,706,409,155                   0              38,984   0x332b/0x27410a&lt;br /&gt;
                    0                  94                   0                   4             892,946              34,897             858,049                  94   0x332b/0x34e11c&lt;br /&gt;
                    3              52,035                   0                   3          18,160,444       1,693,990,563                   0              52,132   0x336d/0x18cf58&lt;br /&gt;
                   58              27,035                   0                   6           8,947,956       1,675,830,119                   0              27,093   0x3376/0x8c1cc&lt;br /&gt;
                    3                  66                   0                   4             501,044              49,007             452,037                  69   0x3376/0x106700&lt;br /&gt;
               27,134              44,130                   0                   4          22,994,532       1,666,381,119                   0              71,330   0x339f/0x3e1864&lt;br /&gt;
                    0                 108                   0                   4             439,894              35,044             404,850                 108   0x339f/0x44ceba&lt;br /&gt;
                   17              51,506                   0                   3          20,284,195       1,642,946,693                   0              51,631   0x33a6/0x4924dd&lt;br /&gt;
                   28              16,826                   0                   2           9,954,053       1,622,662,498                   0              16,854   0x33b6/0x487162&lt;br /&gt;
                2,079              43,231                   0                   2          20,850,856          13,682,453           7,168,403              45,310   0x33d2/0x556d0a&lt;br /&gt;
                    2              30,027                   0                   3          14,418,091           8,924,719           5,493,372              30,743   0x33d9/0x40b5&lt;br /&gt;
                    0               1,157                   0                   6           5,510,215             155,394           5,354,821               3,103   0x33d9/0x5454fc&lt;br /&gt;
               31,517              31,808                   0                   3          18,110,480       1,571,929,283                   0              64,085   0x33ee/0x37800c&lt;br /&gt;
               30,598              27,193                   0                   4          18,121,300          12,201,650           5,919,650              57,791   0x3402/0x1ad560&lt;br /&gt;
               38,905              34,440                   0                   4          18,443,706          15,100,893           3,342,813              78,249   0x340c/0x3161a&lt;br /&gt;
               51,887              95,209                   0                   4          40,262,214          29,791,799          10,470,415             152,283   0x343b/0x71660&lt;br /&gt;
                    1              28,686                   0                   7          10,081,465       1,476,991,583                   0             142,625   0x344c/0x85499&lt;br /&gt;
               28,401              13,707                   0                   3          10,169,877       1,466,910,118                   0              42,108   0x3457/0xaec2e&lt;br /&gt;
                    5              16,531                   0                   6          14,562,193           4,402,715          10,159,478              16,536   0x345b/0x50893f&lt;br /&gt;
                    0              15,920                   0                   7           9,514,322       1,442,178,048                   0              19,604   0x3460/0x492011&lt;br /&gt;
                    4              16,264                   0                   6          10,131,895       1,432,663,726                   0              16,268   0x3465/0x4b2348&lt;br /&gt;
               30,231              28,986                   0                   4          18,938,103          14,093,138           4,844,965              59,217   0x347c/0x3aef3f&lt;br /&gt;
                   14                   0                   0                   5             512,006              34,432             477,574                 120   0x347c/0x42bf45&lt;br /&gt;
               20,678              38,294                   0                   3          17,101,301       1,403,081,722                   0              58,975   0x3497/0x16843a&lt;br /&gt;
                9,869              25,099                   0                   5          12,548,707       1,385,980,421                   0              34,968   0x34b3/0x3d681d&lt;br /&gt;
               36,465              60,605                   0                   5          26,361,794          24,558,695           1,803,099              97,070   0x34d6/0x5e45f&lt;br /&gt;
                   36              23,345                   0                   3           9,621,974           6,699,792           2,922,182              23,911   0x34d9/0x1fb5&lt;br /&gt;
               25,436              49,579                   0                   7          20,880,498          18,608,524           2,271,974              75,850   0x34df/0xd8f27&lt;br /&gt;
                   32               1,485                   0                   6           4,197,555             413,166           3,784,389               1,535   0x34df/0x4d9bda&lt;br /&gt;
               31,535              59,968                   0                   5          25,248,912          24,728,797             520,115              91,849   0x3512/0x51cea&lt;br /&gt;
                1,601              24,378                   0                   6          10,268,411           8,200,696           2,067,715              26,160   0x351b/0x93565&lt;br /&gt;
               14,147              23,162                   0                   8          11,300,331       1,276,852,570                   0              37,400   0x3525/0x1d0cd0&lt;br /&gt;
               14,204              20,662                   0                   3          13,299,117       1,265,552,239                   0              34,866   0x3532/0x4f63fd&lt;br /&gt;
               17,514              24,728                   0                   3          16,797,576          12,513,187           4,284,389              42,242   0x3553/0x1e8685&lt;br /&gt;
                7,303              46,343                   0                   7          23,094,370          14,762,461           8,331,909              54,344   0x3580/0x4dbde7&lt;br /&gt;
               45,620              41,812                   0                   7          27,514,220          21,511,990           6,002,230              90,879   0x359c/0x27cfd3&lt;br /&gt;
               16,861              12,552                   0                   3           9,619,073       1,184,846,956                   0             104,424   0x35a0/0x21ffd4&lt;br /&gt;
                    0                 271                   0                   6           3,731,928              93,043           3,638,885                 271   0x35a0/0x5af1ac&lt;br /&gt;
               30,860              48,187                   0                   7          26,338,978          24,109,627           2,229,351              79,097   0x35ab/0x2314ce&lt;br /&gt;
               39,031              24,255                   0                   4          20,202,284       1,145,156,977                   0              63,301   0x35c4/0x262afa&lt;br /&gt;
                2,576              46,002                   0                   6          19,184,048           5,580,647          13,603,401              48,578   0x35dc/0x19b7aa&lt;br /&gt;
                    2                   0                   0                   6             174,028              33,089             140,939              31,536   0x35dc/0x1c5f76&lt;br /&gt;
              111,528              77,161                   0                   7          62,341,581          50,549,489          11,792,092             188,690   0x360c/0x401a43&lt;br /&gt;
               28,697              25,910                   0                   6          18,246,350          13,855,848           4,390,502              56,636   0x3618/0x255811&lt;br /&gt;
                4,335              12,127                   0                   6           9,004,926           5,130,460           3,874,466              18,985   0x3621/0x16290f&lt;br /&gt;
               18,413               8,607                   0                   5           8,878,516           7,701,363           1,177,153              27,027   0x3626/0x50c43&lt;br /&gt;
                    0               2,910                   0                   6           6,228,723             848,601           5,380,122               2,910   0x3626/0x641736&lt;br /&gt;
               28,784              22,689                   0                   3          21,119,867          14,626,185           6,493,682              52,178   0x362a/0x752db1&lt;br /&gt;
               41,676              62,528                   0                   4          34,112,988          29,303,765           4,809,223             105,238   0x363e/0x1b598d&lt;br /&gt;
                   17                 735                   0                   5          12,521,216              31,105          12,490,111               1,300   0x3643/0x41d20d&lt;br /&gt;
                7,802              34,494                   0                   7          33,127,169           7,514,191          25,612,978              43,003   0x3659/0x71898e&lt;br /&gt;
                    0               8,734                   0                   5           3,377,408         900,015,281                   0              25,130   0x365c/0xc7c0e&lt;br /&gt;
                  114               9,858                   0                   7          15,782,161             650,578          15,131,583               9,972   0x365f/0x64b69f&lt;br /&gt;
                    1              11,516                   0                   7           5,378,418         880,855,712                   0              19,548   0x3664/0x1e3191&lt;br /&gt;
                    7              22,005                   0                   7           8,922,863           6,691,187           2,231,676              22,012   0x3668/0xdc200&lt;br /&gt;
                   13              13,409                   0                   6          15,952,421             360,887          15,591,534              14,391   0x3671/0x6895a5&lt;br /&gt;
                1,749               8,568                   0                   3           3,660,457         850,602,010                   0              22,698   0x3676/0x7d9ce&lt;br /&gt;
                5,390              10,146                   0                   6          14,882,555           1,855,609          13,026,946              15,536   0x3688/0x525a49&lt;br /&gt;
               10,230               9,513                   0                   5           4,816,061         832,058,998                   0              28,465   0x3691/0x34086&lt;br /&gt;
               14,698              31,907                   0                   7          41,080,361          36,925,183           4,155,178              46,605   0x36aa/0x13bcaf&lt;br /&gt;
                    2               1,755                   0                   6           4,666,159             345,619           4,320,540              47,630   0x36aa/0x5aefde&lt;br /&gt;
               25,935              30,385                   0                   5          38,398,767         781,496,417                   0              57,119   0x36c5/0x42810d&lt;br /&gt;
                9,478              14,696                   0                   7          21,102,013         743,097,650                   0              24,174   0x36e1/0x5351ca&lt;br /&gt;
                   65              12,746                   0                   6           5,610,587           3,858,013           1,752,574              12,811   0x36ed/0x1057a5&lt;br /&gt;
                5,806               9,341                   0                   6          10,353,968           2,690,013           7,663,955              15,343   0x36fc/0x15be55&lt;br /&gt;
                    5                   0                   0                   6           4,894,393              33,744           4,860,649               5,931   0x36fc/0x606d0e&lt;br /&gt;
               28,754              58,230                   0                  18          28,401,618         701,136,689                   0              86,988   0x3708/0x480960&lt;br /&gt;
                    0              15,897                   0                   6          10,890,931           3,098,266           7,792,665              15,897   0x370a/0x55a193&lt;br /&gt;
                  126              10,927                   0                   6          26,068,972           2,214,107          23,854,865              16,100   0x372d/0x19a5ff&lt;br /&gt;
                9,837              16,155                   0                   6          11,096,409           6,346,816           4,749,593              29,696   0x3732/0x2a60d8&lt;br /&gt;
                  128              15,250                   0                   6           8,591,606           3,747,801           4,843,805              16,046   0x3734/0x14e34e&lt;br /&gt;
                  123              28,336                   0                   6          16,047,724           5,161,792          10,885,932              31,737   0x3736/0x712b3a&lt;br /&gt;
                   24               8,534                   0                   5           3,423,605           1,552,888           1,870,717              19,982   0x3740/0xcd22f&lt;br /&gt;
                  533                   0                   0                   6          20,325,930             275,776          20,050,154               3,884   0x3742/0x11cb59&lt;br /&gt;
                    0                   0                   0                   4              72,242              36,230              36,012                   0   0x3742/0x12e58b&lt;br /&gt;
               26,449              16,768                   0                   3          20,777,536         576,217,652                   0              43,217   0x3756/0x1ec2cb&lt;br /&gt;
               11,493              23,349                   0                   3          21,836,979          13,435,005           8,401,974              34,842   0x375c/0x3aca7e&lt;br /&gt;
                  309              32,239                   0                   6          17,558,766           9,588,731           7,970,035              56,790   0x3761/0x158a6c&lt;br /&gt;
                   12              26,562                   0                   7          12,407,639           6,425,279           5,982,360              27,257   0x3779/0x3a4743&lt;br /&gt;
                6,845              41,908                   0                   7          33,072,537          22,775,381          10,297,156              51,339   0x379b/0x69295c&lt;br /&gt;
                6,778              29,990                   0                   6          25,664,453          17,110,934           8,553,519              41,294   0x37a8/0x2701a1&lt;br /&gt;
                    5              16,509                   0                   9          19,648,397           8,979,547          10,668,850              44,387   0x37ae/0x21a42e&lt;br /&gt;
              116,569             137,423                   0                  12         129,250,694          72,386,145          56,864,549             267,033   0x37e2/0x163534&lt;br /&gt;
                   13              17,546                   0                   6          28,042,727              34,685          28,008,042             187,464   0x37e7/0x90ee1b&lt;br /&gt;
               33,326              30,872                   0                   6          43,125,925           9,805,827          33,320,098              81,756   0x37ec/0x280a40&lt;br /&gt;
                    3               5,332                   0                   5          19,873,538              37,653          19,835,885              30,103   0x37ef/0x261c42&lt;br /&gt;
                   17               2,306                   0                   6          19,166,423             244,987          18,921,436               7,657   0x37f1/0x196419&lt;br /&gt;
               10,753              20,277                   0                   6          40,648,779          11,079,498          29,569,281              32,618   0x37f6/0x234a64&lt;br /&gt;
                   10              22,876                   0                   6          18,391,375             164,634          18,226,741              49,034   0x37f8/0xabeb3&lt;br /&gt;
                   30              34,377                   0                   7          32,006,385           1,775,081          30,231,304              56,545   0x37fb/0x295c24&lt;br /&gt;
                    4              23,090                   0                   7          38,624,657           2,288,459          36,336,198              52,101   0x37ff/0x145fb5&lt;br /&gt;
                    6               8,689                   0                   6          27,108,848             949,959          26,158,889              24,449   0x3801/0x80d8a5&lt;br /&gt;
                    6               5,117                   0                   7          18,644,436              55,620          18,588,816              11,221   0x3803/0x6c2979&lt;br /&gt;
                  837                   0                   0                   6           6,661,670             288,422           6,373,248               5,956   0x3804/0x39391f&lt;br /&gt;
                5,863               6,917                   0                   0           3,705,888           3,705,888                   0              12,780   0x3804/0x71c53f&lt;br /&gt;
 &amp;lt;/DbPrintLog&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* This prints some statistics about the database. In particular the two rows called key bytes and data bytes are relevant. For the following step you need the values from the avg column - i.e. 38 and 219 in this case. You also need the value of “Total number of entries” (14543762 in this case). Now we take those values and put them into this command:&lt;br /&gt;
&lt;br /&gt;
 [root@dc042 meta]# java -cp  /usr/share/dcache/classes/je-*.jar com.sleepycat.je.util.DbCacheSize -records 14543762 -key 38 -data 219&lt;br /&gt;
 &lt;br /&gt;
 === Environment Cache Overhead ===&lt;br /&gt;
 &lt;br /&gt;
 3,157,213 minimum bytes&lt;br /&gt;
 &lt;br /&gt;
 To account for JE daemon operation and record locks,&lt;br /&gt;
 a significantly larger amount is needed in practice.&lt;br /&gt;
 &lt;br /&gt;
 === Database Cache Size ===&lt;br /&gt;
 &lt;br /&gt;
    Number of Bytes  Description&lt;br /&gt;
    ---------------  -----------&lt;br /&gt;
      1,195,759,832  Internal nodes only&lt;br /&gt;
      5,124,232,392  Internal nodes and leaf nodes&lt;br /&gt;
&lt;br /&gt;
* For further information see the DbCacheSize javadoc.&lt;br /&gt;
&lt;br /&gt;
* For this pool it tells us that we need a bit above 1195 MB to keep all the internal btree nodes cached. Oracle’s recommendation is that if the database is updated often, the cache is at least big enough to contain the internal nodes. Obviously you want to make it a bit bigger to leave room for it to grow. One could take this and configure the cache using the je.maxMemory setting. If the size is lower than the 20% of the max heap size you already use, then you don’t need to do anything (I do not suggest lowering it further).&lt;br /&gt;
&lt;br /&gt;
* Since this pool has 6000m of JAVA heap max space, it means that 20% = 1200MB, which is exactly cache for Internal btree nodes. So we will not touch this.&lt;br /&gt;
&lt;br /&gt;
* There is one caveat though: If you increase the cache size, less free space is left on the heap. If the pool is pushed to the limit, this may actually slow down the pool as garbage collection overhead increases. You need to ensure that enough space is left in addition to the cache (possibly by increasing the max heap size). An alternative to adjusting je.maxMemory is of course to adjust the max heap size. If you make it large enough so that 20% is enough to cache the internal btree nodes, then all is well. This may however mean you assign significantly more memory to the pool than it really needs. Yeah, there are lots of things to consider.&lt;br /&gt;
&lt;br /&gt;
* A little bonus: There is also this command:&lt;br /&gt;
&lt;br /&gt;
 [root@dc042 meta]#  java -cp  /usr/share/dcache/classes/je-*.jar com.sleepycat.je.util.DbSpace -h .&lt;br /&gt;
   File    Size (KB)  % Used&lt;br /&gt;
 --------  ---------  ------&lt;br /&gt;
 00001857       9765      41&lt;br /&gt;
 00001f2a       9765      43&lt;br /&gt;
 00001f2f       9765      39&lt;br /&gt;
 00001f72       9765      44&lt;br /&gt;
 0000216d       9765      40&lt;br /&gt;
 000021cb       9765      40&lt;br /&gt;
 0000226b       9765      45&lt;br /&gt;
 000022e8       9763      38&lt;br /&gt;
 000022fa       9765      39&lt;br /&gt;
 00002390       9765      38&lt;br /&gt;
 0000241d       9765      49&lt;br /&gt;
 0000252c       9765      51&lt;br /&gt;
 0000254c       9765      47&lt;br /&gt;
 00002567       9765      39&lt;br /&gt;
 000025b7       9765      42&lt;br /&gt;
 000025db       9765      42&lt;br /&gt;
 000025e5       9765      56&lt;br /&gt;
 0000265f       9765      39&lt;br /&gt;
 00002678       9765      61&lt;br /&gt;
 0000268d       9762      48&lt;br /&gt;
 00002692       9765      74&lt;br /&gt;
 000026be       9765      48&lt;br /&gt;
 000026cf       9765      40&lt;br /&gt;
 00002700       9765      41&lt;br /&gt;
 00002706       9765      38&lt;br /&gt;
 00002718       9765      56&lt;br /&gt;
 00002747       9765      44&lt;br /&gt;
 0000274d       9765      48&lt;br /&gt;
 000027db       9765      62&lt;br /&gt;
 00002855       9765      39&lt;br /&gt;
 0000285c       9765      39&lt;br /&gt;
 00002882       9765      41&lt;br /&gt;
 0000289d       9765      54&lt;br /&gt;
 000028ba       9765      52&lt;br /&gt;
 000028c1       9765      53&lt;br /&gt;
 000028d0       9765      41&lt;br /&gt;
 000028d7       9765      41&lt;br /&gt;
 000028e7       9765      39&lt;br /&gt;
 000028ed       9765      39&lt;br /&gt;
 00002926       9765      39&lt;br /&gt;
 0000292b       9765      43&lt;br /&gt;
 00002945       9765      41&lt;br /&gt;
 00002952       9765      41&lt;br /&gt;
 00002958       9765      62&lt;br /&gt;
 00002959       9764      38&lt;br /&gt;
 00002962       9765      53&lt;br /&gt;
 00002963       9765      47&lt;br /&gt;
 0000297d       9765      51&lt;br /&gt;
 0000297e       9765      41&lt;br /&gt;
 000029b3       9765      45&lt;br /&gt;
 000029c7       9765      56&lt;br /&gt;
 000029ce       9765      42&lt;br /&gt;
 000029d3       9765      43&lt;br /&gt;
 000029d9       9765      54&lt;br /&gt;
 000029fb       9765      42&lt;br /&gt;
 00002a00       9765      54&lt;br /&gt;
 00002a01       9765      39&lt;br /&gt;
 00002a06       9765      39&lt;br /&gt;
 00002a20       9765      45&lt;br /&gt;
 00002a26       9765      61&lt;br /&gt;
 00002a2b       9765      69&lt;br /&gt;
 00002a30       9765      65&lt;br /&gt;
 00002a44       9765      46&lt;br /&gt;
 00002a4f       9765      50&lt;br /&gt;
 00002a53       9765      64&lt;br /&gt;
 00002a54       9765      47&lt;br /&gt;
 00002a58       9765      66&lt;br /&gt;
 00002a59       9765      43&lt;br /&gt;
 00002a5e       9765      56&lt;br /&gt;
 00002a63       9765      44&lt;br /&gt;
 00002a69       9765      47&lt;br /&gt;
 00002a8f       9765      39&lt;br /&gt;
 00002aac       9765      54&lt;br /&gt;
 00002aba       9765      42&lt;br /&gt;
 00002abb       9765      44&lt;br /&gt;
 00002ae0       9763      38&lt;br /&gt;
 00002af3       9765      45&lt;br /&gt;
 00002b01       9765      41&lt;br /&gt;
 00002b08       9765      65&lt;br /&gt;
 00002b0e       9765      41&lt;br /&gt;
 00002b24       9765      45&lt;br /&gt;
 00002b28       9765      61&lt;br /&gt;
 00002b29       9765      41&lt;br /&gt;
 00002b3c       9765      40&lt;br /&gt;
 00002b3d       9765      40&lt;br /&gt;
 00002b41       9765      47&lt;br /&gt;
 00002b4c       9765      46&lt;br /&gt;
 00002b52       9765      57&lt;br /&gt;
 00002b64       9765      38&lt;br /&gt;
 00002b87       9765      38&lt;br /&gt;
 00002b8e       9765      47&lt;br /&gt;
 00002b8f       9760      38&lt;br /&gt;
 00002bad       9765      42&lt;br /&gt;
 00002bbf       9765      44&lt;br /&gt;
 00002bc6       9765      38&lt;br /&gt;
 00002be9       9765      47&lt;br /&gt;
 00002c00       9765      42&lt;br /&gt;
 00002c06       9765      69&lt;br /&gt;
 00002c0c       9765      55&lt;br /&gt;
 00002c13       9765      38&lt;br /&gt;
 00002c14       9765      38&lt;br /&gt;
 00002c2a       9765      41&lt;br /&gt;
 00002c2b       9765      41&lt;br /&gt;
 00002c30       9765      54&lt;br /&gt;
 00002c4c       9765      39&lt;br /&gt;
 00002c53       9765      45&lt;br /&gt;
 00002c5f       9765      44&lt;br /&gt;
 00002c7c       9765      38&lt;br /&gt;
 00002c8f       9765      49&lt;br /&gt;
 00002c95       9765      38&lt;br /&gt;
 00002ca4       9764      50&lt;br /&gt;
 00002ca9       9765      42&lt;br /&gt;
 00002cad       9763      41&lt;br /&gt;
 00002cc4       9765      39&lt;br /&gt;
 00002ccf       9765      43&lt;br /&gt;
 00002cd3       9765      45&lt;br /&gt;
 00002cf3       9765      48&lt;br /&gt;
 00002d19       9765      38&lt;br /&gt;
 00002d20       9765      38&lt;br /&gt;
 00002d3a       9765      40&lt;br /&gt;
 00002d3b       9765      41&lt;br /&gt;
 00002d41       9765      43&lt;br /&gt;
 00002d51       9765      39&lt;br /&gt;
 00002d59       9765      40&lt;br /&gt;
 00002d79       9765      62&lt;br /&gt;
 00002d8f       9765      39&lt;br /&gt;
 00002deb       9765      40&lt;br /&gt;
 00002e21       9765      39&lt;br /&gt;
 00002e40       9765      41&lt;br /&gt;
 00002e41       9765      45&lt;br /&gt;
 00002e45       9765      40&lt;br /&gt;
 00002e5b       9765      58&lt;br /&gt;
 00002e5f       9765      49&lt;br /&gt;
 00002e60       9765      67&lt;br /&gt;
 00002e7d       9765      48&lt;br /&gt;
 00002e95       9765      38&lt;br /&gt;
 00002eb1       9762      57&lt;br /&gt;
 00002eb6       9765      53&lt;br /&gt;
 00002ee1       9765      38&lt;br /&gt;
 00002ef4       9763      43&lt;br /&gt;
 00002ef8       9765      41&lt;br /&gt;
 00002f1a       9765      53&lt;br /&gt;
 00002f25       9765      65&lt;br /&gt;
 00002f5a       9765      52&lt;br /&gt;
 00002f5f       9765      63&lt;br /&gt;
 00002f66       9765      41&lt;br /&gt;
 00002f71       9765      42&lt;br /&gt;
 00002f79       9765      61&lt;br /&gt;
 00002f87       9765      49&lt;br /&gt;
 00002f9d       9765      41&lt;br /&gt;
 00002f9e       9765      42&lt;br /&gt;
 00002fa3       9765      38&lt;br /&gt;
 00002fa4       9765      46&lt;br /&gt;
 00002fb1       9762      55&lt;br /&gt;
 00002fc1       9765      41&lt;br /&gt;
 00002fde       9765      38&lt;br /&gt;
 0000300a       9765      43&lt;br /&gt;
 0000300e       9762      47&lt;br /&gt;
 00003026       9765      55&lt;br /&gt;
 00003027       9765      57&lt;br /&gt;
 0000303f       9765      63&lt;br /&gt;
 0000304f       9765      48&lt;br /&gt;
 00003056       9765      44&lt;br /&gt;
 0000306c       9765      48&lt;br /&gt;
 0000306d       9765      42&lt;br /&gt;
 00003071       9765      45&lt;br /&gt;
 0000308d       9765      39&lt;br /&gt;
 000030a1       9765      54&lt;br /&gt;
 000030a5       9765      51&lt;br /&gt;
 000030ab       9765      60&lt;br /&gt;
 000030c2       9765      46&lt;br /&gt;
 000030d5       9765      43&lt;br /&gt;
 000030dd       9765      38&lt;br /&gt;
 000030e3       9765      57&lt;br /&gt;
 000030e4       9765      55&lt;br /&gt;
 000030fd       9765      48&lt;br /&gt;
 0000310c       9764      42&lt;br /&gt;
 00003110       9765      46&lt;br /&gt;
 00003119       9765      47&lt;br /&gt;
 0000315c       9765      48&lt;br /&gt;
 0000315d       9765      54&lt;br /&gt;
 00003185       9765      56&lt;br /&gt;
 00003189       9765      52&lt;br /&gt;
 0000318a       9765      58&lt;br /&gt;
 0000319a       9765      46&lt;br /&gt;
 0000319f       9764      39&lt;br /&gt;
 000031b5       9764      53&lt;br /&gt;
 000031b8       9765      40&lt;br /&gt;
 000031b9       9765      74&lt;br /&gt;
 000031e2       9765      65&lt;br /&gt;
 000031fa       9765      58&lt;br /&gt;
 000031fb       9765      52&lt;br /&gt;
 00003201       9765      50&lt;br /&gt;
 00003202       9764      44&lt;br /&gt;
 00003208       9765      42&lt;br /&gt;
 00003210       9763      40&lt;br /&gt;
 00003218       9765      40&lt;br /&gt;
 00003224       9765      51&lt;br /&gt;
 00003229       9765      48&lt;br /&gt;
 00003235       9765      40&lt;br /&gt;
 0000324e       9765      46&lt;br /&gt;
 00003266       9765      41&lt;br /&gt;
 0000326c       9764      47&lt;br /&gt;
 0000327b       9765      55&lt;br /&gt;
 00003290       9765      48&lt;br /&gt;
 00003294       9765      56&lt;br /&gt;
 000032a7       9765      69&lt;br /&gt;
 000032ad       9765      62&lt;br /&gt;
 000032de       9765      47&lt;br /&gt;
 000032e1       9765      46&lt;br /&gt;
 000032e2       9765      71&lt;br /&gt;
 000032e9       9765      45&lt;br /&gt;
 00003315       9765      42&lt;br /&gt;
 00003316       9764      54&lt;br /&gt;
 00003320       9765      43&lt;br /&gt;
 0000332b       9765      52&lt;br /&gt;
 0000332c       9765      76&lt;br /&gt;
 0000336d       9765      69&lt;br /&gt;
 00003376       9765      72&lt;br /&gt;
 00003377       9765      46&lt;br /&gt;
 0000339f       9765      43&lt;br /&gt;
 000033a0       9765      75&lt;br /&gt;
 000033a6       9765      46&lt;br /&gt;
 000033b6       9765      40&lt;br /&gt;
 000033c0       9764      72&lt;br /&gt;
 000033d2       9765      38&lt;br /&gt;
 000033d3       9764      45&lt;br /&gt;
 000033d9       9765      42&lt;br /&gt;
 000033da       9765      44&lt;br /&gt;
 000033ee       9765      41&lt;br /&gt;
 000033fb       9764      38&lt;br /&gt;
 00003402       9765      42&lt;br /&gt;
 00003403       9765      53&lt;br /&gt;
 0000340c       9765      76&lt;br /&gt;
 00003428       9765      67&lt;br /&gt;
 00003431       9765      51&lt;br /&gt;
 00003436       9765      88&lt;br /&gt;
 0000343b       9765      85&lt;br /&gt;
 0000344c       9765      48&lt;br /&gt;
 00003457       9765      46&lt;br /&gt;
 0000345b       9765      46&lt;br /&gt;
 00003460       9765      50&lt;br /&gt;
 00003465       9765      45&lt;br /&gt;
 00003466       9762      40&lt;br /&gt;
 0000347c       9765      54&lt;br /&gt;
 0000347d       9765      61&lt;br /&gt;
 00003497       9765      63&lt;br /&gt;
 000034b3       9765      64&lt;br /&gt;
 000034bd       9765      54&lt;br /&gt;
 000034c9       9764      71&lt;br /&gt;
 000034d6       9765      65&lt;br /&gt;
 000034d9       9765      86&lt;br /&gt;
 000034da       9765      46&lt;br /&gt;
 000034df       9765      51&lt;br /&gt;
 000034e0       9764      60&lt;br /&gt;
 00003504       9762      80&lt;br /&gt;
 00003512       9761      76&lt;br /&gt;
 0000351b       9765      65&lt;br /&gt;
 00003525       9765      59&lt;br /&gt;
 00003532       9765      52&lt;br /&gt;
 00003540       9764      43&lt;br /&gt;
 00003553       9765      80&lt;br /&gt;
 00003558       9765      54&lt;br /&gt;
 00003580       9762      49&lt;br /&gt;
 00003586       9765      41&lt;br /&gt;
 00003587       9763      50&lt;br /&gt;
 0000359c       9765      40&lt;br /&gt;
 000035a0       9765      46&lt;br /&gt;
 000035a1       9765      37&lt;br /&gt;
 000035a6       9765      96&lt;br /&gt;
 000035ab       9765      52&lt;br /&gt;
 000035ac       9765      39&lt;br /&gt;
 000035c4       9765      61&lt;br /&gt;
 000035d0       9765      89&lt;br /&gt;
 000035dc       9765      74&lt;br /&gt;
 000035dd       9765      43&lt;br /&gt;
 000035f1       9765      43&lt;br /&gt;
 000035fd       9765      37&lt;br /&gt;
 00003604       9765      47&lt;br /&gt;
 00003609       9764      40&lt;br /&gt;
 0000360c       9765      59&lt;br /&gt;
 0000360d       9765      37&lt;br /&gt;
 00003618       9763      42&lt;br /&gt;
 00003621       9765      42&lt;br /&gt;
 00003626       9765      42&lt;br /&gt;
 00003627       9765      41&lt;br /&gt;
 0000362a       9765      38&lt;br /&gt;
 0000362b       9765      73&lt;br /&gt;
 00003630       9765      68&lt;br /&gt;
 00003631       9764      42&lt;br /&gt;
 0000363e       9763      39&lt;br /&gt;
 00003643       9765      43&lt;br /&gt;
 00003646       9765      38&lt;br /&gt;
 0000364c       9762      40&lt;br /&gt;
 00003659       9765      47&lt;br /&gt;
 0000365c       9764      44&lt;br /&gt;
 0000365f       9765      45&lt;br /&gt;
 00003664       9765      69&lt;br /&gt;
 00003668       9764      37&lt;br /&gt;
 00003671       9765      43&lt;br /&gt;
 00003676       9765      39&lt;br /&gt;
 00003688       9765      37&lt;br /&gt;
 00003691       9765      48&lt;br /&gt;
 00003692       9764      37&lt;br /&gt;
 00003695       9762      38&lt;br /&gt;
 000036a3       9764      50&lt;br /&gt;
 000036aa       9765      47&lt;br /&gt;
 000036ab       9765      49&lt;br /&gt;
 000036c2       9765      64&lt;br /&gt;
 000036c3       9764      57&lt;br /&gt;
 000036c5       9765      40&lt;br /&gt;
 000036da       9764      40&lt;br /&gt;
 000036e1       9765      43&lt;br /&gt;
 000036ed       9762      39&lt;br /&gt;
 000036fc       9765      41&lt;br /&gt;
 000036fd       9765      59&lt;br /&gt;
 00003701       9764      85&lt;br /&gt;
 00003708       9765      43&lt;br /&gt;
 0000370a       9763      49&lt;br /&gt;
 00003728       9762      41&lt;br /&gt;
 0000372a       9763      55&lt;br /&gt;
 0000372d       9765      51&lt;br /&gt;
 00003732       9763      48&lt;br /&gt;
 00003734       9765      60&lt;br /&gt;
 00003736       9765      42&lt;br /&gt;
 00003740       9765      48&lt;br /&gt;
 00003741       9765      39&lt;br /&gt;
 00003742       9765      38&lt;br /&gt;
 00003749       9764      40&lt;br /&gt;
 00003756       9763      39&lt;br /&gt;
 00003758       9762      46&lt;br /&gt;
 0000375c       9765      67&lt;br /&gt;
 0000375d       9765      37&lt;br /&gt;
 00003761       9765      63&lt;br /&gt;
 00003779       9765      55&lt;br /&gt;
 00003785       9765      43&lt;br /&gt;
 00003798       9763      60&lt;br /&gt;
 0000379b       9765      41&lt;br /&gt;
 0000379e       9765      37&lt;br /&gt;
 000037a5       9764      39&lt;br /&gt;
 000037a8       9764      48&lt;br /&gt;
 000037ab       9765      38&lt;br /&gt;
 000037ae       9765      54&lt;br /&gt;
 000037b3       9764      42&lt;br /&gt;
 000037b6       9761      36&lt;br /&gt;
 000037be       9763      46&lt;br /&gt;
 000037c1       9765      69&lt;br /&gt;
 000037c3       9765      36&lt;br /&gt;
 000037c4       9764      37&lt;br /&gt;
 000037ce       9762      50&lt;br /&gt;
 000037d1       9761      45&lt;br /&gt;
 000037d3       9765      45&lt;br /&gt;
 000037dd       9765      45&lt;br /&gt;
 000037df       9765      50&lt;br /&gt;
 000037e0       9763      39&lt;br /&gt;
 000037e2       9765      13&lt;br /&gt;
 000037e3       9763      18&lt;br /&gt;
 000037e7       9765      49&lt;br /&gt;
 000037e8       9763      41&lt;br /&gt;
 000037e9       9765      42&lt;br /&gt;
 000037ea       9763      40&lt;br /&gt;
 000037eb       9765      39&lt;br /&gt;
 000037ec       9761      39&lt;br /&gt;
 000037ed       9763      41&lt;br /&gt;
 000037ef       9763      36&lt;br /&gt;
 000037f0       9764      36&lt;br /&gt;
 000037f1       9764      39&lt;br /&gt;
 000037f3       9765      41&lt;br /&gt;
 000037f4       9761      53&lt;br /&gt;
 000037f5       9765      36&lt;br /&gt;
 000037f6       9765      54&lt;br /&gt;
 000037f7       9763      53&lt;br /&gt;
 000037f8       9765      63&lt;br /&gt;
 000037f9       9765      60&lt;br /&gt;
 000037fa       9765      70&lt;br /&gt;
 000037fb       9765      76&lt;br /&gt;
 000037fc       9765      72&lt;br /&gt;
 000037fd       9765      73&lt;br /&gt;
 000037fe       9765      83&lt;br /&gt;
 000037ff       9765      87&lt;br /&gt;
 00003800       9765      89&lt;br /&gt;
 00003801       9762      86&lt;br /&gt;
 00003802       9763      88&lt;br /&gt;
 00003803       9764      90&lt;br /&gt;
 00003804       8110      76&lt;br /&gt;
  TOTALS     3757891      49&lt;br /&gt;
&lt;br /&gt;
* It will tell you for each of the database files (the log segments) how big it is and what the utilization is. The Berkeley DB will try to keep the total utilization above 50%, but for a small pool like this one it cannot do it. I figure that you may find this interesting to know after reading about utilization above.&lt;br /&gt;
&lt;br /&gt;
* The log segment size and the utilization goal can be adjusted too, but I cannot give any sound advice on whether that’s a good idea and how to determine good values.&lt;br /&gt;
&lt;br /&gt;
* All of the above is only relevant if you use the Berkeley DB backend for pools.&lt;br /&gt;
&lt;br /&gt;
== Special thanks ==&lt;br /&gt;
* This documentation has been deployed thanks to Gerd Behrmann, you can find more in at: https://gist.github.com/gbehrmann/df1abbe45c03356eff2e&lt;br /&gt;
* Read more about this at: &lt;br /&gt;
:* https://backstage.forgerock.com/knowledge/kb/book/b74223337/a49979000&lt;br /&gt;
:* http://docs.oracle.com/cd/E17277_02/html/java/com/sleepycat/je/EnvironmentConfig.html&lt;/div&gt;</summary>
		<author><name>Mcaubet</name></author>
	</entry>
	<entry>
		<id>https://pwiki.pic.es/index.php?title=DCACHE_CHECK_POOL_BTREE_MEMORY&amp;diff=230</id>
		<title>DCACHE CHECK POOL BTREE MEMORY</title>
		<link rel="alternate" type="text/html" href="https://pwiki.pic.es/index.php?title=DCACHE_CHECK_POOL_BTREE_MEMORY&amp;diff=230"/>
		<updated>2017-10-06T13:29:43Z</updated>

		<summary type="html">&lt;p&gt;Mcaubet: /* Special thanks */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= For the MoD =&lt;br /&gt;
* Open a ticket to incidents@support.pic.es with the alarm. &lt;br /&gt;
* This alarm only affects the duration of the pool start up, nothing has to be done until the next working day where this can be fixed by dCache Administrators.&lt;br /&gt;
* Same information as [[DCACHE CHECK POOL METADATA]] as both alarms are strictly related.&lt;br /&gt;
&lt;br /&gt;
= For the Admin =&lt;br /&gt;
&lt;br /&gt;
* Berkely DB should be tunned according to the number of meta files that a pool contains. If this not correctly adapted, pool start up will may need several hours to be fully available. Gerd explained how to tune up a pool according to this number. Below I show a modified explanation of what he said, adapting the explanation to the ATLAS pools.&lt;br /&gt;
&lt;br /&gt;
* The default je.log.fileCacheSize is 100. This could be increased by creating a file je.properties and adding the 'je.log.fileCacheSize=100'.&lt;br /&gt;
&lt;br /&gt;
* Also, other relevant settings are:&lt;br /&gt;
&lt;br /&gt;
 je.maxMemory=&lt;br /&gt;
 je.maxMemoryPercent=20&lt;br /&gt;
&lt;br /&gt;
* These are equivalent. The former sets the number of bytes used for the btree cache, while the latter defines it as a percentage of the max heap size. E.g. if dcache.java.memory.heap is set to 2048m, then 410 MB is used for the btree cache.&lt;br /&gt;
&lt;br /&gt;
* The question is then how to determine a good size for the cache. There are some hidden utilities you can use to do this.&lt;br /&gt;
&lt;br /&gt;
* Below I show an example for dc042_1:&lt;br /&gt;
&lt;br /&gt;
 [root@dc042 meta]# java -cp  /usr/share/dcache/classes/je-6.3.8.jar com.sleepycat.je.util.DbPrintLog -h . -S&lt;br /&gt;
 &amp;lt;DbPrintLog&amp;gt;&lt;br /&gt;
 Log statistics:&lt;br /&gt;
                 type               total         provisional               total                 min                 max                 avg             entries&lt;br /&gt;
                                    count               count               bytes               bytes               bytes               bytes         as % of log&lt;br /&gt;
                MapLN               1,324                   0          12,617,573                  76              11,985               9,529                 0.3&lt;br /&gt;
               NameLN                   4                   0                 141                  31                  38                  35                   0&lt;br /&gt;
        FileSummaryLN             231,140                   0          55,644,337                  24              49,701                 240                 1.4&lt;br /&gt;
                   IN              84,083               1,080         296,942,059                  45               5,709               3,531                 7.7&lt;br /&gt;
                  BIN             114,865             114,865         377,569,148                  44               6,675               3,287                 9.8&lt;br /&gt;
               DbTree                 318                   0           1,034,997               2,680               4,136               3,254                   0&lt;br /&gt;
               Commit           3,376,012                   0         114,784,408                  34                  34                  34                   3&lt;br /&gt;
            CkptStart                 158                   0               4,899                  30                  33                  31                   0&lt;br /&gt;
              CkptEnd                 226                   0              22,560                  67                 186                  99                   0&lt;br /&gt;
                Trace               2,506                   0             525,597                  48                 402                 209                   0&lt;br /&gt;
           FileHeader                 385                   0              14,630                  38                  38                  38                   0&lt;br /&gt;
            DEL_LN_TX             748,055                   0          51,409,527                  57                  69                  68                 1.3&lt;br /&gt;
            INS_LN_TX             619,747                   0         192,298,301                  96               1,443                 310                   5&lt;br /&gt;
            UPD_LN_TX           2,008,226                   0         398,854,718                  32               1,919                 198                10.4&lt;br /&gt;
               UPD_LN           6,636,173                   0       1,997,042,458                  18               1,819                 300                51.9&lt;br /&gt;
          NewBINDelta             720,540             720,540         348,480,254                  55               1,782                 483                 9.1&lt;br /&gt;
            key bytes          10,012,201                             387,254,450                   1                  61                  38              (10.1)&lt;br /&gt;
           data bytes           9,264,146                           2,036,632,128                   1               1,848                 219              (52.9)&lt;br /&gt;
 &lt;br /&gt;
 Total bytes in portion of log read: 3,847,245,607&lt;br /&gt;
 Total number of entries: 14,543,762&lt;br /&gt;
 &lt;br /&gt;
 Per checkpoint interval info:&lt;br /&gt;
                lnTxn                  ln            mapLNTxn               mapLN          end to end        end to start        start to end         maxLNReplay             ckptEnd&lt;br /&gt;
                  273              63,082                   0                  10          30,455,407       3,857,456,063                   0              63,355   0x1f2f/0x6f2ef&lt;br /&gt;
                5,168             130,892                   0                  24          39,782,369       3,827,000,656                   0             136,060   0x226b/0x3a0d0&lt;br /&gt;
               27,098             132,905                   0                  15          50,120,541          16,509,395          33,611,146             160,003   0x252c/0x577ad&lt;br /&gt;
                  128              32,773                   0                   3           9,904,160       3,737,097,746                   0             134,154   0x254c/0x4014d&lt;br /&gt;
                   82              31,341                   0                  12          10,576,583       3,727,193,586                   0              31,423   0x2567/0xccd94&lt;br /&gt;
                    0                  72                   0                   4             711,899              51,780             660,119                  72   0x2567/0x17aa6f&lt;br /&gt;
               36,445              61,509                   0                   0          28,499,838       3,715,905,104                   0              97,954   0x25e5/0xc66d&lt;br /&gt;
                    2                 108                   0                   6           1,564,919              56,871           1,508,048                 110   0x25e5/0x18a764&lt;br /&gt;
               10,732              50,299                   0                   5          18,877,564       3,685,840,347                   0              61,055   0x2678/0x786e0&lt;br /&gt;
                   33                 190                   0                   6           1,627,301              94,279           1,533,022                 223   0x2678/0x205b85&lt;br /&gt;
                8,277              84,136                   0                   3          28,217,133          17,808,699          10,408,434              92,434   0x26be/0x52732&lt;br /&gt;
                5,401              25,394                   0                   7           9,824,151       3,637,118,349                   0              61,029   0x26cf/0x27849&lt;br /&gt;
               49,026              92,572                   0                   3          41,592,807       3,627,294,198                   0             141,598   0x2747/0x1ac630&lt;br /&gt;
                    2                  46                   0                   6             357,170              45,107             312,063                  48   0x2747/0x203962&lt;br /&gt;
               20,496              39,154                   0                   3          18,591,447       3,585,344,221                   0              59,654   0x27db/0xabb39&lt;br /&gt;
                    0                 154                   0                   6           1,187,463              83,676           1,103,787                 154   0x27db/0x1cd9c0&lt;br /&gt;
               17,107              49,468                   0                   3          18,905,722       3,565,565,311                   0              66,583   0x285c/0xc273a&lt;br /&gt;
                   58                   0                   0                   6             392,501              62,920             329,581                  58   0x285c/0x12246f&lt;br /&gt;
              113,890             201,969                   0                  17          79,488,418       3,546,267,088                   0             315,874   0x28ed/0xa5611&lt;br /&gt;
               22,147              98,579                   0                   8          40,657,515          36,319,235           4,338,280             120,726   0x2952/0x145e7c&lt;br /&gt;
                    0                 122                   0                   6           1,296,043              70,361           1,225,682              28,367   0x2952/0x282527&lt;br /&gt;
               19,570              65,944                   0                   5          27,570,660          25,251,492           2,319,168              85,520   0x2962/0x3138b&lt;br /&gt;
               37,714              28,889                   0                   3          21,505,514          19,337,884           2,167,630              66,613   0x297d/0x1a0c75&lt;br /&gt;
                    3                 332                   0                   6           2,437,155             124,630           2,312,525                 479   0x297d/0x3f3c98&lt;br /&gt;
               41,458              62,406                   0                   3          26,385,897       3,373,311,783                   0             103,904   0x29c7/0x81701&lt;br /&gt;
                    0                  46                   0                   6           1,404,642              46,045           1,358,597                  46   0x29c7/0x1d85e3&lt;br /&gt;
               41,443              87,747                   0                   3          39,909,271          14,624,816          25,284,455             129,198   0x29fb/0x1c237a&lt;br /&gt;
                    0                 123                   0                   5           1,185,318              68,652           1,116,666              79,470   0x29fb/0x2e39a0&lt;br /&gt;
                9,199              12,698                   0                   4           9,927,451       3,304,426,655                   0              21,899   0x2a00/0x2d1e3b&lt;br /&gt;
                    8                   0                   0                   5             118,374              35,364              83,010                   8   0x2a00/0x2eeca1&lt;br /&gt;
              122,697              96,787                   0                   3          66,966,017       3,294,380,830                   0             219,488   0x2a44/0xa122&lt;br /&gt;
               53,436              12,002                   0                   3          21,830,901       3,227,414,813                   0              65,438   0x2a53/0x1c9117&lt;br /&gt;
                   20                 167                   0                   6           1,308,679              85,964           1,222,715                 187   0x2a53/0x30891e&lt;br /&gt;
               18,552              38,805                   0                   6          17,501,977       3,204,275,233                   0              57,381   0x2a58/0xa6b37&lt;br /&gt;
                    9                 105                   0                   4             678,297              87,871             590,426                 114   0x2a58/0x14c4d0&lt;br /&gt;
               25,434              36,231                   0                  10          19,064,711       3,186,094,959                   0              61,675   0x2a5e/0x67f57&lt;br /&gt;
                   15                 159                   0                   6           1,467,746              83,228           1,384,518                 174   0x2a5e/0x1ce4b9&lt;br /&gt;
               12,236              14,099                   0                   3           8,375,785       3,165,562,502                   0              26,358   0x2a63/0x41c22&lt;br /&gt;
                    6                 184                   0                   6           1,058,988              89,948             969,040                 190   0x2a63/0x1444ce&lt;br /&gt;
               71,844              24,018                   0                   3          29,188,061          27,937,328           1,250,733              95,870   0x2aac/0x7e12b&lt;br /&gt;
                9,407              25,608                   0                   7          11,016,096       3,126,939,668                   0              35,029   0x2aba/0x17624b&lt;br /&gt;
                   20                 110                   0                   6             748,510              82,108             666,402                 130   0x2aba/0x22ce29&lt;br /&gt;
               64,997              49,072                   0                  15          27,822,548          27,438,951             383,597             114,142   0x2af3/0x1947d&lt;br /&gt;
               10,534              23,197                   0                   6          12,103,837       3,087,352,514                   0              33,737   0x2b01/0x21ae9a&lt;br /&gt;
                  122                   0                   0                  32             879,716             489,740             389,976                 122   0x2b01/0x2f1afe&lt;br /&gt;
               60,029             128,431                   0                  24          58,556,679          56,338,979           2,217,700             188,485   0x2b3c/0x191505&lt;br /&gt;
                   15                  52                   0                   6             530,374              53,795             476,579                 231   0x2b3c/0x212ccb&lt;br /&gt;
               48,799              11,045                   0                   4          18,178,427          17,837,860             340,567              59,855   0x2b41/0x56146&lt;br /&gt;
               45,998              29,564                   0                   3          20,154,236       2,997,103,481                   0              75,573   0x2b52/0x7bbc2&lt;br /&gt;
               39,570              60,757                   0                  15          30,273,541       2,976,949,245                   0             100,327   0x2b8e/0xbe847&lt;br /&gt;
               31,631              33,780                   0                  13          22,348,448          16,815,306           5,533,142              65,411   0x2bad/0x2fbde7&lt;br /&gt;
               16,831              40,178                   0                   5          20,571,223       2,924,327,256                   0              57,047   0x2bc6/0x38753e&lt;br /&gt;
                4,292              18,826                   0                   8           8,363,076       2,903,756,033                   0              23,118   0x2be9/0x1f7b02&lt;br /&gt;
                    0                 254                   0                   6           2,043,974             119,900           1,924,074                 254   0x2be9/0x3eab48&lt;br /&gt;
                   30              19,902                   0                   4           7,727,051       2,893,348,983                   0              19,954   0x2c00/0x1bfc93&lt;br /&gt;
               27,984              75,433                   0                  32          29,896,927       2,885,621,932                   0             103,417   0x2c13/0x1a69f2&lt;br /&gt;
               40,477              36,001                   0                  10          19,737,838          17,591,303           2,146,535              76,478   0x2c2a/0x1669e0&lt;br /&gt;
                    2                   2                   0                   4             194,668              36,808             157,860                  10   0x2c2a/0x19624c&lt;br /&gt;
               29,246              68,367                   0                   3          31,325,183       2,835,792,499                   0              97,615   0x2c4c/0x2d9acb&lt;br /&gt;
                    0                  26                   0                   5           1,118,302              27,604           1,090,698                  26   0x2c4c/0x3eab29&lt;br /&gt;
                    4              19,763                   0                   3           7,562,665       2,803,349,014                   0              19,775   0x2c53/0x197a52&lt;br /&gt;
                   26                 194                   0                   6           1,436,963             103,803           1,333,160                 220   0x2c53/0x2f6775&lt;br /&gt;
                6,255              14,988                   0                   8           9,972,102       2,794,349,386                   0              21,292   0x2c5f/0x2efa7b&lt;br /&gt;
               39,212              18,305                   0                   5          18,591,243       2,784,377,284                   0              57,517   0x2c8f/0x197b86&lt;br /&gt;
                    0                  41                   0                   6           1,495,215             121,720           1,373,495                  41   0x2c8f/0x304c35&lt;br /&gt;
                  347              23,340                   0                   3           7,036,643       2,764,290,826                   0              23,697   0x2c95/0x31498&lt;br /&gt;
               23,408               9,116                   0                   3          10,098,528       2,757,254,183                   0              32,524   0x2ca4/0x49578&lt;br /&gt;
               45,631              27,183                   0                   3          19,972,142       2,747,155,655                   0              72,814   0x2cad/0x428a6&lt;br /&gt;
                    0                   0                   0                   1             963,802                  69             963,733                   0   0x2cad/0x12dd80&lt;br /&gt;
                  276              19,066                   0                   4          10,705,056           5,926,693           4,778,363              19,342   0x2cc4/0x1d9fa0&lt;br /&gt;
                    0              25,292                   0                   2          10,568,825           7,122,257           3,446,568              25,292   0x2ccf/0x264d99&lt;br /&gt;
                  722              25,106                   0                   3           9,376,076       2,704,945,830                   0              26,568   0x2cd3/0x1cc865&lt;br /&gt;
                   15                  96                   0                   6             601,987              65,907             536,080                 111   0x2cd3/0x25f7e8&lt;br /&gt;
               50,662              51,942                   0                   4          29,283,798       2,694,967,767                   0             102,611   0x2d20/0x1b0a3e&lt;br /&gt;
               18,486              16,140                   0                   4          12,291,893       2,665,683,969                   0              34,626   0x2d3a/0x3e02f3&lt;br /&gt;
               67,481             104,443                   0                   5          48,233,597          15,261,303          32,972,294             171,924   0x2d79/0x230ef0&lt;br /&gt;
               19,276              34,062                   0                   3          18,103,592       2,605,158,479                   0             171,476   0x2deb/0x61f18&lt;br /&gt;
                    0                 225                   0                   6             607,824              37,538             570,286                 225   0x2deb/0xf6568&lt;br /&gt;
               14,038              14,130                   0                   3          13,699,081       2,586,447,063                   0              28,385   0x2e21/0x47d6f1&lt;br /&gt;
                4,147              13,212                   0                   3           5,363,836       2,572,747,982                   0              17,359   0x2e40/0x118ed&lt;br /&gt;
                    0                   0                   0                   4             133,826              37,921              95,905                   0   0x2e40/0x323af&lt;br /&gt;
               31,744              33,396                   0                   3          22,247,625       2,567,250,320                   0              65,140   0x2e45/0x256f78&lt;br /&gt;
                    9                   0                   0                   6             290,601              55,855             234,746                   9   0x2e45/0x29dea1&lt;br /&gt;
                   16              25,020                   0                   4          10,475,420       2,544,712,094                   0              25,039   0x2e5b/0x311fbd&lt;br /&gt;
                1,682              19,008                   0                   3           8,507,134       2,534,236,674                   0              20,690   0x2e5f/0x1a583b&lt;br /&gt;
                   12                   0                   0                   6             354,107              41,047             313,060                  12   0x2e5f/0x1fbf76&lt;br /&gt;
                6,849              54,863                   0                   3          20,176,980       2,525,375,433                   0              61,719   0x2e7d/0x2272ca&lt;br /&gt;
               30,012              67,588                   0                   5          28,465,075          27,606,214             858,861              97,600   0x2eb6/0xb06fd&lt;br /&gt;
               14,048              16,912                   0                   2           9,587,676       2,476,733,378                   0              66,881   0x2ee1/0x4bc59&lt;br /&gt;
               15,183              12,704                   0                   6          11,270,153           6,834,792           4,435,361              27,887   0x2ef4/0x181de2&lt;br /&gt;
               23,012              39,873                   0                   7          18,610,316       2,455,875,549                   0              62,948   0x2f1a/0x2e96e&lt;br /&gt;
               25,472              49,151                   0                   6          22,681,935       2,437,265,233                   0              74,623   0x2f5a/0x2bd5bd&lt;br /&gt;
                1,031              60,319                   0                   6          20,425,359       2,414,583,298                   0              61,350   0x2f66/0x32534c&lt;br /&gt;
               48,185              83,225                   0                   4          42,656,335          28,813,330          13,843,005             131,410   0x2f9d/0x5adb9b&lt;br /&gt;
               16,859              32,139                   0                   3          18,804,637          12,310,056           6,494,581              74,600   0x2fa3/0x489e38&lt;br /&gt;
               29,050              79,391                   0                   8          47,784,742          37,879,192           9,905,550             108,511   0x300a/0x26d0de&lt;br /&gt;
                   32              38,306                   0                   6          19,991,849          14,244,764           5,747,085             117,588   0x3026/0x26b107&lt;br /&gt;
                    0                  37                   0                   6             345,851              39,476             306,375              25,114   0x3026/0x2bf802&lt;br /&gt;
               17,725              34,199                   0                   3          19,155,357       2,264,574,525                   0              51,955   0x303f/0x1f149f&lt;br /&gt;
                1,379              23,909                   0                   6          10,787,679       2,245,419,168                   0              25,288   0x304f/0x2b197e&lt;br /&gt;
                    3                  12                   0                   5             297,677              34,135             263,542                  15   0x304f/0x2fa44b&lt;br /&gt;
               17,968              47,908                   0                   2          17,014,500       2,234,333,812                   0              65,891   0x306c/0x2162f&lt;br /&gt;
               45,151              19,691                   0                   3          20,592,703          18,998,392           1,594,311              64,842   0x3071/0xb216e&lt;br /&gt;
               18,246              13,219                   0                   3          14,900,440       2,196,726,609                   0              31,514   0x308d/0x55e7c6&lt;br /&gt;
                   26              12,008                   0                   5           7,554,365           4,234,132           3,320,233              12,034   0x30a1/0x309683&lt;br /&gt;
               35,556              69,762                   0                  20          31,161,221       2,174,271,804                   0             105,338   0x30c2/0x424e88&lt;br /&gt;
               33,203             114,692                   0                   5          49,168,609          43,804,782           5,363,827             147,895   0x30fd/0x359ee9&lt;br /&gt;
                  182              19,563                   0                   7          10,363,229       2,093,941,974                   0              87,398   0x310c/0x3b29c6&lt;br /&gt;
                   14              19,817                   0                   4           9,355,037           4,743,642           4,611,395              19,831   0x3110/0x315263&lt;br /&gt;
                   46              37,708                   0                   8          20,678,814          10,884,622           9,794,192              41,674   0x315c/0x3bae01&lt;br /&gt;
                   88                 279                   0                   5             761,100              44,429             716,671               3,390   0x315c/0x474b0d&lt;br /&gt;
               40,709              61,572                   0                   4          26,837,961       2,052,783,794                   0             102,607   0x3189/0x170b56&lt;br /&gt;
                   42                   0                   0                   6             814,957              77,642             737,315                  42   0x3189/0x237ac3&lt;br /&gt;
               69,126             107,504                   0                   5          52,094,116          47,372,898           4,721,218             176,645   0x31b8/0x436ee7&lt;br /&gt;
                   46                   0                   0                   5             393,197              51,476             341,721              82,129   0x31b8/0x496ed4&lt;br /&gt;
               48,348             117,823                   0                   3          48,879,763          41,965,088           6,914,675             166,196   0x3201/0x3856e7&lt;br /&gt;
               16,349              39,063                   0                   7          17,875,388          14,606,658           3,268,730              62,982   0x3208/0x17eba3&lt;br /&gt;
                  105                   0                   0                   6           3,394,912              60,919           3,333,993               2,571   0x3208/0x4bb903&lt;br /&gt;
                  217              17,310                   0                   7           5,776,110       1,902,493,500                   0              17,617   0x3210/0xb4571&lt;br /&gt;
               36,657              27,268                   0                   7          22,160,771           4,617,088          17,543,683              63,925   0x3224/0x2c3df4&lt;br /&gt;
               24,153              42,022                   0                   1          22,019,603       1,874,556,619                   0             114,113   0x3235/0x4b0f07&lt;br /&gt;
                   16              18,174                   0                   7           7,706,321       1,852,537,016                   0              18,190   0x324e/0x280f58&lt;br /&gt;
                  120              24,379                   0                   7          10,458,169       1,844,830,695                   0              24,499   0x3266/0x2f0d11&lt;br /&gt;
               14,236              34,916                   0                   3          17,998,326          12,723,415           5,274,911              49,152   0x327b/0x108207&lt;br /&gt;
                   79                   0                   0                   5             673,666              37,699             635,967               2,808   0x327b/0x1ac989&lt;br /&gt;
                6,624              22,958                   0                   3          11,999,224       1,815,700,534                   0              29,650   0x3290/0x394b01&lt;br /&gt;
               19,965              40,810                   0                   8          17,269,398       1,803,701,310                   0              60,775   0x32a7/0xfa097&lt;br /&gt;
                7,517              58,175                   0                   5          21,772,528       1,786,431,912                   0              65,692   0x32de/0x2aac87&lt;br /&gt;
                9,415              18,600                   0                   6          10,786,946       1,764,659,384                   0              28,015   0x32e1/0x36ae89&lt;br /&gt;
                   51                   0                   0                   6             622,591              52,177             570,414                  51   0x32e1/0x402e88&lt;br /&gt;
               30,139              66,899                   0                   4          30,497,693       1,753,249,847                   0              97,065   0x3315/0x47c6a5&lt;br /&gt;
                    6              41,284                   0                   1          16,342,999          12,394,744           3,948,255              41,290   0x3320/0xff97c&lt;br /&gt;
               21,091              17,059                   0                   6          11,525,646       1,706,409,155                   0              38,984   0x332b/0x27410a&lt;br /&gt;
                    0                  94                   0                   4             892,946              34,897             858,049                  94   0x332b/0x34e11c&lt;br /&gt;
                    3              52,035                   0                   3          18,160,444       1,693,990,563                   0              52,132   0x336d/0x18cf58&lt;br /&gt;
                   58              27,035                   0                   6           8,947,956       1,675,830,119                   0              27,093   0x3376/0x8c1cc&lt;br /&gt;
                    3                  66                   0                   4             501,044              49,007             452,037                  69   0x3376/0x106700&lt;br /&gt;
               27,134              44,130                   0                   4          22,994,532       1,666,381,119                   0              71,330   0x339f/0x3e1864&lt;br /&gt;
                    0                 108                   0                   4             439,894              35,044             404,850                 108   0x339f/0x44ceba&lt;br /&gt;
                   17              51,506                   0                   3          20,284,195       1,642,946,693                   0              51,631   0x33a6/0x4924dd&lt;br /&gt;
                   28              16,826                   0                   2           9,954,053       1,622,662,498                   0              16,854   0x33b6/0x487162&lt;br /&gt;
                2,079              43,231                   0                   2          20,850,856          13,682,453           7,168,403              45,310   0x33d2/0x556d0a&lt;br /&gt;
                    2              30,027                   0                   3          14,418,091           8,924,719           5,493,372              30,743   0x33d9/0x40b5&lt;br /&gt;
                    0               1,157                   0                   6           5,510,215             155,394           5,354,821               3,103   0x33d9/0x5454fc&lt;br /&gt;
               31,517              31,808                   0                   3          18,110,480       1,571,929,283                   0              64,085   0x33ee/0x37800c&lt;br /&gt;
               30,598              27,193                   0                   4          18,121,300          12,201,650           5,919,650              57,791   0x3402/0x1ad560&lt;br /&gt;
               38,905              34,440                   0                   4          18,443,706          15,100,893           3,342,813              78,249   0x340c/0x3161a&lt;br /&gt;
               51,887              95,209                   0                   4          40,262,214          29,791,799          10,470,415             152,283   0x343b/0x71660&lt;br /&gt;
                    1              28,686                   0                   7          10,081,465       1,476,991,583                   0             142,625   0x344c/0x85499&lt;br /&gt;
               28,401              13,707                   0                   3          10,169,877       1,466,910,118                   0              42,108   0x3457/0xaec2e&lt;br /&gt;
                    5              16,531                   0                   6          14,562,193           4,402,715          10,159,478              16,536   0x345b/0x50893f&lt;br /&gt;
                    0              15,920                   0                   7           9,514,322       1,442,178,048                   0              19,604   0x3460/0x492011&lt;br /&gt;
                    4              16,264                   0                   6          10,131,895       1,432,663,726                   0              16,268   0x3465/0x4b2348&lt;br /&gt;
               30,231              28,986                   0                   4          18,938,103          14,093,138           4,844,965              59,217   0x347c/0x3aef3f&lt;br /&gt;
                   14                   0                   0                   5             512,006              34,432             477,574                 120   0x347c/0x42bf45&lt;br /&gt;
               20,678              38,294                   0                   3          17,101,301       1,403,081,722                   0              58,975   0x3497/0x16843a&lt;br /&gt;
                9,869              25,099                   0                   5          12,548,707       1,385,980,421                   0              34,968   0x34b3/0x3d681d&lt;br /&gt;
               36,465              60,605                   0                   5          26,361,794          24,558,695           1,803,099              97,070   0x34d6/0x5e45f&lt;br /&gt;
                   36              23,345                   0                   3           9,621,974           6,699,792           2,922,182              23,911   0x34d9/0x1fb5&lt;br /&gt;
               25,436              49,579                   0                   7          20,880,498          18,608,524           2,271,974              75,850   0x34df/0xd8f27&lt;br /&gt;
                   32               1,485                   0                   6           4,197,555             413,166           3,784,389               1,535   0x34df/0x4d9bda&lt;br /&gt;
               31,535              59,968                   0                   5          25,248,912          24,728,797             520,115              91,849   0x3512/0x51cea&lt;br /&gt;
                1,601              24,378                   0                   6          10,268,411           8,200,696           2,067,715              26,160   0x351b/0x93565&lt;br /&gt;
               14,147              23,162                   0                   8          11,300,331       1,276,852,570                   0              37,400   0x3525/0x1d0cd0&lt;br /&gt;
               14,204              20,662                   0                   3          13,299,117       1,265,552,239                   0              34,866   0x3532/0x4f63fd&lt;br /&gt;
               17,514              24,728                   0                   3          16,797,576          12,513,187           4,284,389              42,242   0x3553/0x1e8685&lt;br /&gt;
                7,303              46,343                   0                   7          23,094,370          14,762,461           8,331,909              54,344   0x3580/0x4dbde7&lt;br /&gt;
               45,620              41,812                   0                   7          27,514,220          21,511,990           6,002,230              90,879   0x359c/0x27cfd3&lt;br /&gt;
               16,861              12,552                   0                   3           9,619,073       1,184,846,956                   0             104,424   0x35a0/0x21ffd4&lt;br /&gt;
                    0                 271                   0                   6           3,731,928              93,043           3,638,885                 271   0x35a0/0x5af1ac&lt;br /&gt;
               30,860              48,187                   0                   7          26,338,978          24,109,627           2,229,351              79,097   0x35ab/0x2314ce&lt;br /&gt;
               39,031              24,255                   0                   4          20,202,284       1,145,156,977                   0              63,301   0x35c4/0x262afa&lt;br /&gt;
                2,576              46,002                   0                   6          19,184,048           5,580,647          13,603,401              48,578   0x35dc/0x19b7aa&lt;br /&gt;
                    2                   0                   0                   6             174,028              33,089             140,939              31,536   0x35dc/0x1c5f76&lt;br /&gt;
              111,528              77,161                   0                   7          62,341,581          50,549,489          11,792,092             188,690   0x360c/0x401a43&lt;br /&gt;
               28,697              25,910                   0                   6          18,246,350          13,855,848           4,390,502              56,636   0x3618/0x255811&lt;br /&gt;
                4,335              12,127                   0                   6           9,004,926           5,130,460           3,874,466              18,985   0x3621/0x16290f&lt;br /&gt;
               18,413               8,607                   0                   5           8,878,516           7,701,363           1,177,153              27,027   0x3626/0x50c43&lt;br /&gt;
                    0               2,910                   0                   6           6,228,723             848,601           5,380,122               2,910   0x3626/0x641736&lt;br /&gt;
               28,784              22,689                   0                   3          21,119,867          14,626,185           6,493,682              52,178   0x362a/0x752db1&lt;br /&gt;
               41,676              62,528                   0                   4          34,112,988          29,303,765           4,809,223             105,238   0x363e/0x1b598d&lt;br /&gt;
                   17                 735                   0                   5          12,521,216              31,105          12,490,111               1,300   0x3643/0x41d20d&lt;br /&gt;
                7,802              34,494                   0                   7          33,127,169           7,514,191          25,612,978              43,003   0x3659/0x71898e&lt;br /&gt;
                    0               8,734                   0                   5           3,377,408         900,015,281                   0              25,130   0x365c/0xc7c0e&lt;br /&gt;
                  114               9,858                   0                   7          15,782,161             650,578          15,131,583               9,972   0x365f/0x64b69f&lt;br /&gt;
                    1              11,516                   0                   7           5,378,418         880,855,712                   0              19,548   0x3664/0x1e3191&lt;br /&gt;
                    7              22,005                   0                   7           8,922,863           6,691,187           2,231,676              22,012   0x3668/0xdc200&lt;br /&gt;
                   13              13,409                   0                   6          15,952,421             360,887          15,591,534              14,391   0x3671/0x6895a5&lt;br /&gt;
                1,749               8,568                   0                   3           3,660,457         850,602,010                   0              22,698   0x3676/0x7d9ce&lt;br /&gt;
                5,390              10,146                   0                   6          14,882,555           1,855,609          13,026,946              15,536   0x3688/0x525a49&lt;br /&gt;
               10,230               9,513                   0                   5           4,816,061         832,058,998                   0              28,465   0x3691/0x34086&lt;br /&gt;
               14,698              31,907                   0                   7          41,080,361          36,925,183           4,155,178              46,605   0x36aa/0x13bcaf&lt;br /&gt;
                    2               1,755                   0                   6           4,666,159             345,619           4,320,540              47,630   0x36aa/0x5aefde&lt;br /&gt;
               25,935              30,385                   0                   5          38,398,767         781,496,417                   0              57,119   0x36c5/0x42810d&lt;br /&gt;
                9,478              14,696                   0                   7          21,102,013         743,097,650                   0              24,174   0x36e1/0x5351ca&lt;br /&gt;
                   65              12,746                   0                   6           5,610,587           3,858,013           1,752,574              12,811   0x36ed/0x1057a5&lt;br /&gt;
                5,806               9,341                   0                   6          10,353,968           2,690,013           7,663,955              15,343   0x36fc/0x15be55&lt;br /&gt;
                    5                   0                   0                   6           4,894,393              33,744           4,860,649               5,931   0x36fc/0x606d0e&lt;br /&gt;
               28,754              58,230                   0                  18          28,401,618         701,136,689                   0              86,988   0x3708/0x480960&lt;br /&gt;
                    0              15,897                   0                   6          10,890,931           3,098,266           7,792,665              15,897   0x370a/0x55a193&lt;br /&gt;
                  126              10,927                   0                   6          26,068,972           2,214,107          23,854,865              16,100   0x372d/0x19a5ff&lt;br /&gt;
                9,837              16,155                   0                   6          11,096,409           6,346,816           4,749,593              29,696   0x3732/0x2a60d8&lt;br /&gt;
                  128              15,250                   0                   6           8,591,606           3,747,801           4,843,805              16,046   0x3734/0x14e34e&lt;br /&gt;
                  123              28,336                   0                   6          16,047,724           5,161,792          10,885,932              31,737   0x3736/0x712b3a&lt;br /&gt;
                   24               8,534                   0                   5           3,423,605           1,552,888           1,870,717              19,982   0x3740/0xcd22f&lt;br /&gt;
                  533                   0                   0                   6          20,325,930             275,776          20,050,154               3,884   0x3742/0x11cb59&lt;br /&gt;
                    0                   0                   0                   4              72,242              36,230              36,012                   0   0x3742/0x12e58b&lt;br /&gt;
               26,449              16,768                   0                   3          20,777,536         576,217,652                   0              43,217   0x3756/0x1ec2cb&lt;br /&gt;
               11,493              23,349                   0                   3          21,836,979          13,435,005           8,401,974              34,842   0x375c/0x3aca7e&lt;br /&gt;
                  309              32,239                   0                   6          17,558,766           9,588,731           7,970,035              56,790   0x3761/0x158a6c&lt;br /&gt;
                   12              26,562                   0                   7          12,407,639           6,425,279           5,982,360              27,257   0x3779/0x3a4743&lt;br /&gt;
                6,845              41,908                   0                   7          33,072,537          22,775,381          10,297,156              51,339   0x379b/0x69295c&lt;br /&gt;
                6,778              29,990                   0                   6          25,664,453          17,110,934           8,553,519              41,294   0x37a8/0x2701a1&lt;br /&gt;
                    5              16,509                   0                   9          19,648,397           8,979,547          10,668,850              44,387   0x37ae/0x21a42e&lt;br /&gt;
              116,569             137,423                   0                  12         129,250,694          72,386,145          56,864,549             267,033   0x37e2/0x163534&lt;br /&gt;
                   13              17,546                   0                   6          28,042,727              34,685          28,008,042             187,464   0x37e7/0x90ee1b&lt;br /&gt;
               33,326              30,872                   0                   6          43,125,925           9,805,827          33,320,098              81,756   0x37ec/0x280a40&lt;br /&gt;
                    3               5,332                   0                   5          19,873,538              37,653          19,835,885              30,103   0x37ef/0x261c42&lt;br /&gt;
                   17               2,306                   0                   6          19,166,423             244,987          18,921,436               7,657   0x37f1/0x196419&lt;br /&gt;
               10,753              20,277                   0                   6          40,648,779          11,079,498          29,569,281              32,618   0x37f6/0x234a64&lt;br /&gt;
                   10              22,876                   0                   6          18,391,375             164,634          18,226,741              49,034   0x37f8/0xabeb3&lt;br /&gt;
                   30              34,377                   0                   7          32,006,385           1,775,081          30,231,304              56,545   0x37fb/0x295c24&lt;br /&gt;
                    4              23,090                   0                   7          38,624,657           2,288,459          36,336,198              52,101   0x37ff/0x145fb5&lt;br /&gt;
                    6               8,689                   0                   6          27,108,848             949,959          26,158,889              24,449   0x3801/0x80d8a5&lt;br /&gt;
                    6               5,117                   0                   7          18,644,436              55,620          18,588,816              11,221   0x3803/0x6c2979&lt;br /&gt;
                  837                   0                   0                   6           6,661,670             288,422           6,373,248               5,956   0x3804/0x39391f&lt;br /&gt;
                5,863               6,917                   0                   0           3,705,888           3,705,888                   0              12,780   0x3804/0x71c53f&lt;br /&gt;
 &amp;lt;/DbPrintLog&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* This prints some statistics about the database. In particular the two rows called key bytes and data bytes are relevant. For the following step you need the values from the avg column - i.e. 38 and 219 in this case. You also need the value of “Total number of entries” (14543762 in this case). Now we take those values and put them into this command:&lt;br /&gt;
&lt;br /&gt;
 [root@dc042 meta]# java -cp  /usr/share/dcache/classes/je-*.jar com.sleepycat.je.util.DbCacheSize -records 14543762 -key 38 -data 219&lt;br /&gt;
 &lt;br /&gt;
 === Environment Cache Overhead ===&lt;br /&gt;
 &lt;br /&gt;
 3,157,213 minimum bytes&lt;br /&gt;
 &lt;br /&gt;
 To account for JE daemon operation and record locks,&lt;br /&gt;
 a significantly larger amount is needed in practice.&lt;br /&gt;
 &lt;br /&gt;
 === Database Cache Size ===&lt;br /&gt;
 &lt;br /&gt;
    Number of Bytes  Description&lt;br /&gt;
    ---------------  -----------&lt;br /&gt;
      1,195,759,832  Internal nodes only&lt;br /&gt;
      5,124,232,392  Internal nodes and leaf nodes&lt;br /&gt;
&lt;br /&gt;
* For further information see the DbCacheSize javadoc.&lt;br /&gt;
&lt;br /&gt;
* For this pool it tells us that we need a bit above 1195 MB to keep all the internal btree nodes cached. Oracle’s recommendation is that if the database is updated often, the cache is at least big enough to contain the internal nodes. Obviously you want to make it a bit bigger to leave room for it to grow. One could take this and configure the cache using the je.maxMemory setting. If the size is lower than the 20% of the max heap size you already use, then you don’t need to do anything (I do not suggest lowering it further).&lt;br /&gt;
&lt;br /&gt;
* Since this pool has 6000m of JAVA heap max space, it means that 20% = 1200MB, which is exactly cache for Internal btree nodes. So we will not touch this.&lt;br /&gt;
&lt;br /&gt;
* There is one caveat though: If you increase the cache size, less free space is left on the heap. If the pool is pushed to the limit, this may actually slow down the pool as garbage collection overhead increases. You need to ensure that enough space is left in addition to the cache (possibly by increasing the max heap size). An alternative to adjusting je.maxMemory is of course to adjust the max heap size. If you make it large enough so that 20% is enough to cache the internal btree nodes, then all is well. This may however mean you assign significantly more memory to the pool than it really needs. Yeah, there are lots of things to consider.&lt;br /&gt;
&lt;br /&gt;
* A little bonus: There is also this command:&lt;br /&gt;
&lt;br /&gt;
 [root@dc042 meta]#  java -cp  /usr/share/dcache/classes/je-*.jar com.sleepycat.je.util.DbSpace -h .&lt;br /&gt;
   File    Size (KB)  % Used&lt;br /&gt;
 --------  ---------  ------&lt;br /&gt;
 00001857       9765      41&lt;br /&gt;
 00001f2a       9765      43&lt;br /&gt;
 00001f2f       9765      39&lt;br /&gt;
 00001f72       9765      44&lt;br /&gt;
 0000216d       9765      40&lt;br /&gt;
 000021cb       9765      40&lt;br /&gt;
 0000226b       9765      45&lt;br /&gt;
 000022e8       9763      38&lt;br /&gt;
 000022fa       9765      39&lt;br /&gt;
 00002390       9765      38&lt;br /&gt;
 0000241d       9765      49&lt;br /&gt;
 0000252c       9765      51&lt;br /&gt;
 0000254c       9765      47&lt;br /&gt;
 00002567       9765      39&lt;br /&gt;
 000025b7       9765      42&lt;br /&gt;
 000025db       9765      42&lt;br /&gt;
 000025e5       9765      56&lt;br /&gt;
 0000265f       9765      39&lt;br /&gt;
 00002678       9765      61&lt;br /&gt;
 0000268d       9762      48&lt;br /&gt;
 00002692       9765      74&lt;br /&gt;
 000026be       9765      48&lt;br /&gt;
 000026cf       9765      40&lt;br /&gt;
 00002700       9765      41&lt;br /&gt;
 00002706       9765      38&lt;br /&gt;
 00002718       9765      56&lt;br /&gt;
 00002747       9765      44&lt;br /&gt;
 0000274d       9765      48&lt;br /&gt;
 000027db       9765      62&lt;br /&gt;
 00002855       9765      39&lt;br /&gt;
 0000285c       9765      39&lt;br /&gt;
 00002882       9765      41&lt;br /&gt;
 0000289d       9765      54&lt;br /&gt;
 000028ba       9765      52&lt;br /&gt;
 000028c1       9765      53&lt;br /&gt;
 000028d0       9765      41&lt;br /&gt;
 000028d7       9765      41&lt;br /&gt;
 000028e7       9765      39&lt;br /&gt;
 000028ed       9765      39&lt;br /&gt;
 00002926       9765      39&lt;br /&gt;
 0000292b       9765      43&lt;br /&gt;
 00002945       9765      41&lt;br /&gt;
 00002952       9765      41&lt;br /&gt;
 00002958       9765      62&lt;br /&gt;
 00002959       9764      38&lt;br /&gt;
 00002962       9765      53&lt;br /&gt;
 00002963       9765      47&lt;br /&gt;
 0000297d       9765      51&lt;br /&gt;
 0000297e       9765      41&lt;br /&gt;
 000029b3       9765      45&lt;br /&gt;
 000029c7       9765      56&lt;br /&gt;
 000029ce       9765      42&lt;br /&gt;
 000029d3       9765      43&lt;br /&gt;
 000029d9       9765      54&lt;br /&gt;
 000029fb       9765      42&lt;br /&gt;
 00002a00       9765      54&lt;br /&gt;
 00002a01       9765      39&lt;br /&gt;
 00002a06       9765      39&lt;br /&gt;
 00002a20       9765      45&lt;br /&gt;
 00002a26       9765      61&lt;br /&gt;
 00002a2b       9765      69&lt;br /&gt;
 00002a30       9765      65&lt;br /&gt;
 00002a44       9765      46&lt;br /&gt;
 00002a4f       9765      50&lt;br /&gt;
 00002a53       9765      64&lt;br /&gt;
 00002a54       9765      47&lt;br /&gt;
 00002a58       9765      66&lt;br /&gt;
 00002a59       9765      43&lt;br /&gt;
 00002a5e       9765      56&lt;br /&gt;
 00002a63       9765      44&lt;br /&gt;
 00002a69       9765      47&lt;br /&gt;
 00002a8f       9765      39&lt;br /&gt;
 00002aac       9765      54&lt;br /&gt;
 00002aba       9765      42&lt;br /&gt;
 00002abb       9765      44&lt;br /&gt;
 00002ae0       9763      38&lt;br /&gt;
 00002af3       9765      45&lt;br /&gt;
 00002b01       9765      41&lt;br /&gt;
 00002b08       9765      65&lt;br /&gt;
 00002b0e       9765      41&lt;br /&gt;
 00002b24       9765      45&lt;br /&gt;
 00002b28       9765      61&lt;br /&gt;
 00002b29       9765      41&lt;br /&gt;
 00002b3c       9765      40&lt;br /&gt;
 00002b3d       9765      40&lt;br /&gt;
 00002b41       9765      47&lt;br /&gt;
 00002b4c       9765      46&lt;br /&gt;
 00002b52       9765      57&lt;br /&gt;
 00002b64       9765      38&lt;br /&gt;
 00002b87       9765      38&lt;br /&gt;
 00002b8e       9765      47&lt;br /&gt;
 00002b8f       9760      38&lt;br /&gt;
 00002bad       9765      42&lt;br /&gt;
 00002bbf       9765      44&lt;br /&gt;
 00002bc6       9765      38&lt;br /&gt;
 00002be9       9765      47&lt;br /&gt;
 00002c00       9765      42&lt;br /&gt;
 00002c06       9765      69&lt;br /&gt;
 00002c0c       9765      55&lt;br /&gt;
 00002c13       9765      38&lt;br /&gt;
 00002c14       9765      38&lt;br /&gt;
 00002c2a       9765      41&lt;br /&gt;
 00002c2b       9765      41&lt;br /&gt;
 00002c30       9765      54&lt;br /&gt;
 00002c4c       9765      39&lt;br /&gt;
 00002c53       9765      45&lt;br /&gt;
 00002c5f       9765      44&lt;br /&gt;
 00002c7c       9765      38&lt;br /&gt;
 00002c8f       9765      49&lt;br /&gt;
 00002c95       9765      38&lt;br /&gt;
 00002ca4       9764      50&lt;br /&gt;
 00002ca9       9765      42&lt;br /&gt;
 00002cad       9763      41&lt;br /&gt;
 00002cc4       9765      39&lt;br /&gt;
 00002ccf       9765      43&lt;br /&gt;
 00002cd3       9765      45&lt;br /&gt;
 00002cf3       9765      48&lt;br /&gt;
 00002d19       9765      38&lt;br /&gt;
 00002d20       9765      38&lt;br /&gt;
 00002d3a       9765      40&lt;br /&gt;
 00002d3b       9765      41&lt;br /&gt;
 00002d41       9765      43&lt;br /&gt;
 00002d51       9765      39&lt;br /&gt;
 00002d59       9765      40&lt;br /&gt;
 00002d79       9765      62&lt;br /&gt;
 00002d8f       9765      39&lt;br /&gt;
 00002deb       9765      40&lt;br /&gt;
 00002e21       9765      39&lt;br /&gt;
 00002e40       9765      41&lt;br /&gt;
 00002e41       9765      45&lt;br /&gt;
 00002e45       9765      40&lt;br /&gt;
 00002e5b       9765      58&lt;br /&gt;
 00002e5f       9765      49&lt;br /&gt;
 00002e60       9765      67&lt;br /&gt;
 00002e7d       9765      48&lt;br /&gt;
 00002e95       9765      38&lt;br /&gt;
 00002eb1       9762      57&lt;br /&gt;
 00002eb6       9765      53&lt;br /&gt;
 00002ee1       9765      38&lt;br /&gt;
 00002ef4       9763      43&lt;br /&gt;
 00002ef8       9765      41&lt;br /&gt;
 00002f1a       9765      53&lt;br /&gt;
 00002f25       9765      65&lt;br /&gt;
 00002f5a       9765      52&lt;br /&gt;
 00002f5f       9765      63&lt;br /&gt;
 00002f66       9765      41&lt;br /&gt;
 00002f71       9765      42&lt;br /&gt;
 00002f79       9765      61&lt;br /&gt;
 00002f87       9765      49&lt;br /&gt;
 00002f9d       9765      41&lt;br /&gt;
 00002f9e       9765      42&lt;br /&gt;
 00002fa3       9765      38&lt;br /&gt;
 00002fa4       9765      46&lt;br /&gt;
 00002fb1       9762      55&lt;br /&gt;
 00002fc1       9765      41&lt;br /&gt;
 00002fde       9765      38&lt;br /&gt;
 0000300a       9765      43&lt;br /&gt;
 0000300e       9762      47&lt;br /&gt;
 00003026       9765      55&lt;br /&gt;
 00003027       9765      57&lt;br /&gt;
 0000303f       9765      63&lt;br /&gt;
 0000304f       9765      48&lt;br /&gt;
 00003056       9765      44&lt;br /&gt;
 0000306c       9765      48&lt;br /&gt;
 0000306d       9765      42&lt;br /&gt;
 00003071       9765      45&lt;br /&gt;
 0000308d       9765      39&lt;br /&gt;
 000030a1       9765      54&lt;br /&gt;
 000030a5       9765      51&lt;br /&gt;
 000030ab       9765      60&lt;br /&gt;
 000030c2       9765      46&lt;br /&gt;
 000030d5       9765      43&lt;br /&gt;
 000030dd       9765      38&lt;br /&gt;
 000030e3       9765      57&lt;br /&gt;
 000030e4       9765      55&lt;br /&gt;
 000030fd       9765      48&lt;br /&gt;
 0000310c       9764      42&lt;br /&gt;
 00003110       9765      46&lt;br /&gt;
 00003119       9765      47&lt;br /&gt;
 0000315c       9765      48&lt;br /&gt;
 0000315d       9765      54&lt;br /&gt;
 00003185       9765      56&lt;br /&gt;
 00003189       9765      52&lt;br /&gt;
 0000318a       9765      58&lt;br /&gt;
 0000319a       9765      46&lt;br /&gt;
 0000319f       9764      39&lt;br /&gt;
 000031b5       9764      53&lt;br /&gt;
 000031b8       9765      40&lt;br /&gt;
 000031b9       9765      74&lt;br /&gt;
 000031e2       9765      65&lt;br /&gt;
 000031fa       9765      58&lt;br /&gt;
 000031fb       9765      52&lt;br /&gt;
 00003201       9765      50&lt;br /&gt;
 00003202       9764      44&lt;br /&gt;
 00003208       9765      42&lt;br /&gt;
 00003210       9763      40&lt;br /&gt;
 00003218       9765      40&lt;br /&gt;
 00003224       9765      51&lt;br /&gt;
 00003229       9765      48&lt;br /&gt;
 00003235       9765      40&lt;br /&gt;
 0000324e       9765      46&lt;br /&gt;
 00003266       9765      41&lt;br /&gt;
 0000326c       9764      47&lt;br /&gt;
 0000327b       9765      55&lt;br /&gt;
 00003290       9765      48&lt;br /&gt;
 00003294       9765      56&lt;br /&gt;
 000032a7       9765      69&lt;br /&gt;
 000032ad       9765      62&lt;br /&gt;
 000032de       9765      47&lt;br /&gt;
 000032e1       9765      46&lt;br /&gt;
 000032e2       9765      71&lt;br /&gt;
 000032e9       9765      45&lt;br /&gt;
 00003315       9765      42&lt;br /&gt;
 00003316       9764      54&lt;br /&gt;
 00003320       9765      43&lt;br /&gt;
 0000332b       9765      52&lt;br /&gt;
 0000332c       9765      76&lt;br /&gt;
 0000336d       9765      69&lt;br /&gt;
 00003376       9765      72&lt;br /&gt;
 00003377       9765      46&lt;br /&gt;
 0000339f       9765      43&lt;br /&gt;
 000033a0       9765      75&lt;br /&gt;
 000033a6       9765      46&lt;br /&gt;
 000033b6       9765      40&lt;br /&gt;
 000033c0       9764      72&lt;br /&gt;
 000033d2       9765      38&lt;br /&gt;
 000033d3       9764      45&lt;br /&gt;
 000033d9       9765      42&lt;br /&gt;
 000033da       9765      44&lt;br /&gt;
 000033ee       9765      41&lt;br /&gt;
 000033fb       9764      38&lt;br /&gt;
 00003402       9765      42&lt;br /&gt;
 00003403       9765      53&lt;br /&gt;
 0000340c       9765      76&lt;br /&gt;
 00003428       9765      67&lt;br /&gt;
 00003431       9765      51&lt;br /&gt;
 00003436       9765      88&lt;br /&gt;
 0000343b       9765      85&lt;br /&gt;
 0000344c       9765      48&lt;br /&gt;
 00003457       9765      46&lt;br /&gt;
 0000345b       9765      46&lt;br /&gt;
 00003460       9765      50&lt;br /&gt;
 00003465       9765      45&lt;br /&gt;
 00003466       9762      40&lt;br /&gt;
 0000347c       9765      54&lt;br /&gt;
 0000347d       9765      61&lt;br /&gt;
 00003497       9765      63&lt;br /&gt;
 000034b3       9765      64&lt;br /&gt;
 000034bd       9765      54&lt;br /&gt;
 000034c9       9764      71&lt;br /&gt;
 000034d6       9765      65&lt;br /&gt;
 000034d9       9765      86&lt;br /&gt;
 000034da       9765      46&lt;br /&gt;
 000034df       9765      51&lt;br /&gt;
 000034e0       9764      60&lt;br /&gt;
 00003504       9762      80&lt;br /&gt;
 00003512       9761      76&lt;br /&gt;
 0000351b       9765      65&lt;br /&gt;
 00003525       9765      59&lt;br /&gt;
 00003532       9765      52&lt;br /&gt;
 00003540       9764      43&lt;br /&gt;
 00003553       9765      80&lt;br /&gt;
 00003558       9765      54&lt;br /&gt;
 00003580       9762      49&lt;br /&gt;
 00003586       9765      41&lt;br /&gt;
 00003587       9763      50&lt;br /&gt;
 0000359c       9765      40&lt;br /&gt;
 000035a0       9765      46&lt;br /&gt;
 000035a1       9765      37&lt;br /&gt;
 000035a6       9765      96&lt;br /&gt;
 000035ab       9765      52&lt;br /&gt;
 000035ac       9765      39&lt;br /&gt;
 000035c4       9765      61&lt;br /&gt;
 000035d0       9765      89&lt;br /&gt;
 000035dc       9765      74&lt;br /&gt;
 000035dd       9765      43&lt;br /&gt;
 000035f1       9765      43&lt;br /&gt;
 000035fd       9765      37&lt;br /&gt;
 00003604       9765      47&lt;br /&gt;
 00003609       9764      40&lt;br /&gt;
 0000360c       9765      59&lt;br /&gt;
 0000360d       9765      37&lt;br /&gt;
 00003618       9763      42&lt;br /&gt;
 00003621       9765      42&lt;br /&gt;
 00003626       9765      42&lt;br /&gt;
 00003627       9765      41&lt;br /&gt;
 0000362a       9765      38&lt;br /&gt;
 0000362b       9765      73&lt;br /&gt;
 00003630       9765      68&lt;br /&gt;
 00003631       9764      42&lt;br /&gt;
 0000363e       9763      39&lt;br /&gt;
 00003643       9765      43&lt;br /&gt;
 00003646       9765      38&lt;br /&gt;
 0000364c       9762      40&lt;br /&gt;
 00003659       9765      47&lt;br /&gt;
 0000365c       9764      44&lt;br /&gt;
 0000365f       9765      45&lt;br /&gt;
 00003664       9765      69&lt;br /&gt;
 00003668       9764      37&lt;br /&gt;
 00003671       9765      43&lt;br /&gt;
 00003676       9765      39&lt;br /&gt;
 00003688       9765      37&lt;br /&gt;
 00003691       9765      48&lt;br /&gt;
 00003692       9764      37&lt;br /&gt;
 00003695       9762      38&lt;br /&gt;
 000036a3       9764      50&lt;br /&gt;
 000036aa       9765      47&lt;br /&gt;
 000036ab       9765      49&lt;br /&gt;
 000036c2       9765      64&lt;br /&gt;
 000036c3       9764      57&lt;br /&gt;
 000036c5       9765      40&lt;br /&gt;
 000036da       9764      40&lt;br /&gt;
 000036e1       9765      43&lt;br /&gt;
 000036ed       9762      39&lt;br /&gt;
 000036fc       9765      41&lt;br /&gt;
 000036fd       9765      59&lt;br /&gt;
 00003701       9764      85&lt;br /&gt;
 00003708       9765      43&lt;br /&gt;
 0000370a       9763      49&lt;br /&gt;
 00003728       9762      41&lt;br /&gt;
 0000372a       9763      55&lt;br /&gt;
 0000372d       9765      51&lt;br /&gt;
 00003732       9763      48&lt;br /&gt;
 00003734       9765      60&lt;br /&gt;
 00003736       9765      42&lt;br /&gt;
 00003740       9765      48&lt;br /&gt;
 00003741       9765      39&lt;br /&gt;
 00003742       9765      38&lt;br /&gt;
 00003749       9764      40&lt;br /&gt;
 00003756       9763      39&lt;br /&gt;
 00003758       9762      46&lt;br /&gt;
 0000375c       9765      67&lt;br /&gt;
 0000375d       9765      37&lt;br /&gt;
 00003761       9765      63&lt;br /&gt;
 00003779       9765      55&lt;br /&gt;
 00003785       9765      43&lt;br /&gt;
 00003798       9763      60&lt;br /&gt;
 0000379b       9765      41&lt;br /&gt;
 0000379e       9765      37&lt;br /&gt;
 000037a5       9764      39&lt;br /&gt;
 000037a8       9764      48&lt;br /&gt;
 000037ab       9765      38&lt;br /&gt;
 000037ae       9765      54&lt;br /&gt;
 000037b3       9764      42&lt;br /&gt;
 000037b6       9761      36&lt;br /&gt;
 000037be       9763      46&lt;br /&gt;
 000037c1       9765      69&lt;br /&gt;
 000037c3       9765      36&lt;br /&gt;
 000037c4       9764      37&lt;br /&gt;
 000037ce       9762      50&lt;br /&gt;
 000037d1       9761      45&lt;br /&gt;
 000037d3       9765      45&lt;br /&gt;
 000037dd       9765      45&lt;br /&gt;
 000037df       9765      50&lt;br /&gt;
 000037e0       9763      39&lt;br /&gt;
 000037e2       9765      13&lt;br /&gt;
 000037e3       9763      18&lt;br /&gt;
 000037e7       9765      49&lt;br /&gt;
 000037e8       9763      41&lt;br /&gt;
 000037e9       9765      42&lt;br /&gt;
 000037ea       9763      40&lt;br /&gt;
 000037eb       9765      39&lt;br /&gt;
 000037ec       9761      39&lt;br /&gt;
 000037ed       9763      41&lt;br /&gt;
 000037ef       9763      36&lt;br /&gt;
 000037f0       9764      36&lt;br /&gt;
 000037f1       9764      39&lt;br /&gt;
 000037f3       9765      41&lt;br /&gt;
 000037f4       9761      53&lt;br /&gt;
 000037f5       9765      36&lt;br /&gt;
 000037f6       9765      54&lt;br /&gt;
 000037f7       9763      53&lt;br /&gt;
 000037f8       9765      63&lt;br /&gt;
 000037f9       9765      60&lt;br /&gt;
 000037fa       9765      70&lt;br /&gt;
 000037fb       9765      76&lt;br /&gt;
 000037fc       9765      72&lt;br /&gt;
 000037fd       9765      73&lt;br /&gt;
 000037fe       9765      83&lt;br /&gt;
 000037ff       9765      87&lt;br /&gt;
 00003800       9765      89&lt;br /&gt;
 00003801       9762      86&lt;br /&gt;
 00003802       9763      88&lt;br /&gt;
 00003803       9764      90&lt;br /&gt;
 00003804       8110      76&lt;br /&gt;
  TOTALS     3757891      49&lt;br /&gt;
&lt;br /&gt;
* It will tell you for each of the database files (the log segments) how big it is and what the utilization is. The Berkeley DB will try to keep the total utilization above 50%, but for a small pool like this one it cannot do it. I figure that you may find this interesting to know after reading about utilization above.&lt;br /&gt;
&lt;br /&gt;
* The log segment size and the utilization goal can be adjusted too, but I cannot give any sound advice on whether that’s a good idea and how to determine good values.&lt;br /&gt;
&lt;br /&gt;
* All of the above is only relevant if you use the Berkeley DB backend for pools.&lt;br /&gt;
&lt;br /&gt;
== Special thanks ==&lt;br /&gt;
* This documentation has been deployed thanks to Gerd Behrmann, you can find more in at: https://gist.github.com/gbehrmann/df1abbe45c03356eff2e&lt;br /&gt;
* Read more about this at: &lt;br /&gt;
:* https://backstage.forgerock.com/knowledge/kb/book/b74223337/a49979000&lt;br /&gt;
:* http://docs.oracle.com/cd/E17277_02/html/java/com/sleepycat/je/EnvironmentConfig.html&lt;/div&gt;</summary>
		<author><name>Mcaubet</name></author>
	</entry>
	<entry>
		<id>https://pwiki.pic.es/index.php?title=DCACHE_CHECK_POOL_METADATA&amp;diff=229</id>
		<title>DCACHE CHECK POOL METADATA</title>
		<link rel="alternate" type="text/html" href="https://pwiki.pic.es/index.php?title=DCACHE_CHECK_POOL_METADATA&amp;diff=229"/>
		<updated>2017-10-06T08:38:13Z</updated>

		<summary type="html">&lt;p&gt;Mcaubet: /* Special thanks */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= For the MoD =&lt;br /&gt;
* Open a ticket to incidents@support.pic.es with the alarm. &lt;br /&gt;
* This alarm only affects the duration of the pool start up, nothing has to be done until the next working day where this can be fixed by dCache Administrators.&lt;br /&gt;
* Same information as [[DCACHE CHECK POOL BTREE MEMORY]] as both alarms are strictly related.&lt;br /&gt;
&lt;br /&gt;
= For the Admin =&lt;br /&gt;
&lt;br /&gt;
* Berkely DB should be tunned according to the number of meta files that a pool contains. If this not correctly adapted, pool start up will may need several hours to be fully available. Gerd explained how to tune up a pool according to this number. Below I show a modified explanation of what he said, adapting the explanation to the ATLAS pools.&lt;br /&gt;
&lt;br /&gt;
* The default je.log.fileCacheSize is 100. This could be increased by creating a file je.properties and adding the 'je.log.fileCacheSize=100'.&lt;br /&gt;
&lt;br /&gt;
* Also, other relevant settings are:&lt;br /&gt;
&lt;br /&gt;
 je.maxMemory=&lt;br /&gt;
 je.maxMemoryPercent=20&lt;br /&gt;
&lt;br /&gt;
* These are equivalent. The former sets the number of bytes used for the btree cache, while the latter defines it as a percentage of the max heap size. E.g. if dcache.java.memory.heap is set to 2048m, then 410 MB is used for the btree cache.&lt;br /&gt;
&lt;br /&gt;
* The question is then how to determine a good size for the cache. There are some hidden utilities you can use to do this.&lt;br /&gt;
&lt;br /&gt;
* Below I show an example for dc042_1:&lt;br /&gt;
&lt;br /&gt;
 [root@dc042 meta]# java -cp  /usr/share/dcache/classes/je-*.jar com.sleepycat.je.util.DbPrintLog -h . -S&lt;br /&gt;
 &amp;lt;DbPrintLog&amp;gt;&lt;br /&gt;
 Log statistics:&lt;br /&gt;
                 type               total         provisional               total                 min                 max                 avg             entries&lt;br /&gt;
                                    count               count               bytes               bytes               bytes               bytes         as % of log&lt;br /&gt;
                MapLN               1,324                   0          12,617,573                  76              11,985               9,529                 0.3&lt;br /&gt;
               NameLN                   4                   0                 141                  31                  38                  35                   0&lt;br /&gt;
        FileSummaryLN             231,140                   0          55,644,337                  24              49,701                 240                 1.4&lt;br /&gt;
                   IN              84,083               1,080         296,942,059                  45               5,709               3,531                 7.7&lt;br /&gt;
                  BIN             114,865             114,865         377,569,148                  44               6,675               3,287                 9.8&lt;br /&gt;
               DbTree                 318                   0           1,034,997               2,680               4,136               3,254                   0&lt;br /&gt;
               Commit           3,376,012                   0         114,784,408                  34                  34                  34                   3&lt;br /&gt;
            CkptStart                 158                   0               4,899                  30                  33                  31                   0&lt;br /&gt;
              CkptEnd                 226                   0              22,560                  67                 186                  99                   0&lt;br /&gt;
                Trace               2,506                   0             525,597                  48                 402                 209                   0&lt;br /&gt;
           FileHeader                 385                   0              14,630                  38                  38                  38                   0&lt;br /&gt;
            DEL_LN_TX             748,055                   0          51,409,527                  57                  69                  68                 1.3&lt;br /&gt;
            INS_LN_TX             619,747                   0         192,298,301                  96               1,443                 310                   5&lt;br /&gt;
            UPD_LN_TX           2,008,226                   0         398,854,718                  32               1,919                 198                10.4&lt;br /&gt;
               UPD_LN           6,636,173                   0       1,997,042,458                  18               1,819                 300                51.9&lt;br /&gt;
          NewBINDelta             720,540             720,540         348,480,254                  55               1,782                 483                 9.1&lt;br /&gt;
            key bytes          10,012,201                             387,254,450                   1                  61                  38              (10.1)&lt;br /&gt;
           data bytes           9,264,146                           2,036,632,128                   1               1,848                 219              (52.9)&lt;br /&gt;
 &lt;br /&gt;
 Total bytes in portion of log read: 3,847,245,607&lt;br /&gt;
 Total number of entries: 14,543,762&lt;br /&gt;
 &lt;br /&gt;
 Per checkpoint interval info:&lt;br /&gt;
                lnTxn                  ln            mapLNTxn               mapLN          end to end        end to start        start to end         maxLNReplay             ckptEnd&lt;br /&gt;
                  273              63,082                   0                  10          30,455,407       3,857,456,063                   0              63,355   0x1f2f/0x6f2ef&lt;br /&gt;
                5,168             130,892                   0                  24          39,782,369       3,827,000,656                   0             136,060   0x226b/0x3a0d0&lt;br /&gt;
               27,098             132,905                   0                  15          50,120,541          16,509,395          33,611,146             160,003   0x252c/0x577ad&lt;br /&gt;
                  128              32,773                   0                   3           9,904,160       3,737,097,746                   0             134,154   0x254c/0x4014d&lt;br /&gt;
                   82              31,341                   0                  12          10,576,583       3,727,193,586                   0              31,423   0x2567/0xccd94&lt;br /&gt;
                    0                  72                   0                   4             711,899              51,780             660,119                  72   0x2567/0x17aa6f&lt;br /&gt;
               36,445              61,509                   0                   0          28,499,838       3,715,905,104                   0              97,954   0x25e5/0xc66d&lt;br /&gt;
                    2                 108                   0                   6           1,564,919              56,871           1,508,048                 110   0x25e5/0x18a764&lt;br /&gt;
               10,732              50,299                   0                   5          18,877,564       3,685,840,347                   0              61,055   0x2678/0x786e0&lt;br /&gt;
                   33                 190                   0                   6           1,627,301              94,279           1,533,022                 223   0x2678/0x205b85&lt;br /&gt;
                8,277              84,136                   0                   3          28,217,133          17,808,699          10,408,434              92,434   0x26be/0x52732&lt;br /&gt;
                5,401              25,394                   0                   7           9,824,151       3,637,118,349                   0              61,029   0x26cf/0x27849&lt;br /&gt;
               49,026              92,572                   0                   3          41,592,807       3,627,294,198                   0             141,598   0x2747/0x1ac630&lt;br /&gt;
                    2                  46                   0                   6             357,170              45,107             312,063                  48   0x2747/0x203962&lt;br /&gt;
               20,496              39,154                   0                   3          18,591,447       3,585,344,221                   0              59,654   0x27db/0xabb39&lt;br /&gt;
                    0                 154                   0                   6           1,187,463              83,676           1,103,787                 154   0x27db/0x1cd9c0&lt;br /&gt;
               17,107              49,468                   0                   3          18,905,722       3,565,565,311                   0              66,583   0x285c/0xc273a&lt;br /&gt;
                   58                   0                   0                   6             392,501              62,920             329,581                  58   0x285c/0x12246f&lt;br /&gt;
              113,890             201,969                   0                  17          79,488,418       3,546,267,088                   0             315,874   0x28ed/0xa5611&lt;br /&gt;
               22,147              98,579                   0                   8          40,657,515          36,319,235           4,338,280             120,726   0x2952/0x145e7c&lt;br /&gt;
                    0                 122                   0                   6           1,296,043              70,361           1,225,682              28,367   0x2952/0x282527&lt;br /&gt;
               19,570              65,944                   0                   5          27,570,660          25,251,492           2,319,168              85,520   0x2962/0x3138b&lt;br /&gt;
               37,714              28,889                   0                   3          21,505,514          19,337,884           2,167,630              66,613   0x297d/0x1a0c75&lt;br /&gt;
                    3                 332                   0                   6           2,437,155             124,630           2,312,525                 479   0x297d/0x3f3c98&lt;br /&gt;
               41,458              62,406                   0                   3          26,385,897       3,373,311,783                   0             103,904   0x29c7/0x81701&lt;br /&gt;
                    0                  46                   0                   6           1,404,642              46,045           1,358,597                  46   0x29c7/0x1d85e3&lt;br /&gt;
               41,443              87,747                   0                   3          39,909,271          14,624,816          25,284,455             129,198   0x29fb/0x1c237a&lt;br /&gt;
                    0                 123                   0                   5           1,185,318              68,652           1,116,666              79,470   0x29fb/0x2e39a0&lt;br /&gt;
                9,199              12,698                   0                   4           9,927,451       3,304,426,655                   0              21,899   0x2a00/0x2d1e3b&lt;br /&gt;
                    8                   0                   0                   5             118,374              35,364              83,010                   8   0x2a00/0x2eeca1&lt;br /&gt;
              122,697              96,787                   0                   3          66,966,017       3,294,380,830                   0             219,488   0x2a44/0xa122&lt;br /&gt;
               53,436              12,002                   0                   3          21,830,901       3,227,414,813                   0              65,438   0x2a53/0x1c9117&lt;br /&gt;
                   20                 167                   0                   6           1,308,679              85,964           1,222,715                 187   0x2a53/0x30891e&lt;br /&gt;
               18,552              38,805                   0                   6          17,501,977       3,204,275,233                   0              57,381   0x2a58/0xa6b37&lt;br /&gt;
                    9                 105                   0                   4             678,297              87,871             590,426                 114   0x2a58/0x14c4d0&lt;br /&gt;
               25,434              36,231                   0                  10          19,064,711       3,186,094,959                   0              61,675   0x2a5e/0x67f57&lt;br /&gt;
                   15                 159                   0                   6           1,467,746              83,228           1,384,518                 174   0x2a5e/0x1ce4b9&lt;br /&gt;
               12,236              14,099                   0                   3           8,375,785       3,165,562,502                   0              26,358   0x2a63/0x41c22&lt;br /&gt;
                    6                 184                   0                   6           1,058,988              89,948             969,040                 190   0x2a63/0x1444ce&lt;br /&gt;
               71,844              24,018                   0                   3          29,188,061          27,937,328           1,250,733              95,870   0x2aac/0x7e12b&lt;br /&gt;
                9,407              25,608                   0                   7          11,016,096       3,126,939,668                   0              35,029   0x2aba/0x17624b&lt;br /&gt;
                   20                 110                   0                   6             748,510              82,108             666,402                 130   0x2aba/0x22ce29&lt;br /&gt;
               64,997              49,072                   0                  15          27,822,548          27,438,951             383,597             114,142   0x2af3/0x1947d&lt;br /&gt;
               10,534              23,197                   0                   6          12,103,837       3,087,352,514                   0              33,737   0x2b01/0x21ae9a&lt;br /&gt;
                  122                   0                   0                  32             879,716             489,740             389,976                 122   0x2b01/0x2f1afe&lt;br /&gt;
               60,029             128,431                   0                  24          58,556,679          56,338,979           2,217,700             188,485   0x2b3c/0x191505&lt;br /&gt;
                   15                  52                   0                   6             530,374              53,795             476,579                 231   0x2b3c/0x212ccb&lt;br /&gt;
               48,799              11,045                   0                   4          18,178,427          17,837,860             340,567              59,855   0x2b41/0x56146&lt;br /&gt;
               45,998              29,564                   0                   3          20,154,236       2,997,103,481                   0              75,573   0x2b52/0x7bbc2&lt;br /&gt;
               39,570              60,757                   0                  15          30,273,541       2,976,949,245                   0             100,327   0x2b8e/0xbe847&lt;br /&gt;
               31,631              33,780                   0                  13          22,348,448          16,815,306           5,533,142              65,411   0x2bad/0x2fbde7&lt;br /&gt;
               16,831              40,178                   0                   5          20,571,223       2,924,327,256                   0              57,047   0x2bc6/0x38753e&lt;br /&gt;
                4,292              18,826                   0                   8           8,363,076       2,903,756,033                   0              23,118   0x2be9/0x1f7b02&lt;br /&gt;
                    0                 254                   0                   6           2,043,974             119,900           1,924,074                 254   0x2be9/0x3eab48&lt;br /&gt;
                   30              19,902                   0                   4           7,727,051       2,893,348,983                   0              19,954   0x2c00/0x1bfc93&lt;br /&gt;
               27,984              75,433                   0                  32          29,896,927       2,885,621,932                   0             103,417   0x2c13/0x1a69f2&lt;br /&gt;
               40,477              36,001                   0                  10          19,737,838          17,591,303           2,146,535              76,478   0x2c2a/0x1669e0&lt;br /&gt;
                    2                   2                   0                   4             194,668              36,808             157,860                  10   0x2c2a/0x19624c&lt;br /&gt;
               29,246              68,367                   0                   3          31,325,183       2,835,792,499                   0              97,615   0x2c4c/0x2d9acb&lt;br /&gt;
                    0                  26                   0                   5           1,118,302              27,604           1,090,698                  26   0x2c4c/0x3eab29&lt;br /&gt;
                    4              19,763                   0                   3           7,562,665       2,803,349,014                   0              19,775   0x2c53/0x197a52&lt;br /&gt;
                   26                 194                   0                   6           1,436,963             103,803           1,333,160                 220   0x2c53/0x2f6775&lt;br /&gt;
                6,255              14,988                   0                   8           9,972,102       2,794,349,386                   0              21,292   0x2c5f/0x2efa7b&lt;br /&gt;
               39,212              18,305                   0                   5          18,591,243       2,784,377,284                   0              57,517   0x2c8f/0x197b86&lt;br /&gt;
                    0                  41                   0                   6           1,495,215             121,720           1,373,495                  41   0x2c8f/0x304c35&lt;br /&gt;
                  347              23,340                   0                   3           7,036,643       2,764,290,826                   0              23,697   0x2c95/0x31498&lt;br /&gt;
               23,408               9,116                   0                   3          10,098,528       2,757,254,183                   0              32,524   0x2ca4/0x49578&lt;br /&gt;
               45,631              27,183                   0                   3          19,972,142       2,747,155,655                   0              72,814   0x2cad/0x428a6&lt;br /&gt;
                    0                   0                   0                   1             963,802                  69             963,733                   0   0x2cad/0x12dd80&lt;br /&gt;
                  276              19,066                   0                   4          10,705,056           5,926,693           4,778,363              19,342   0x2cc4/0x1d9fa0&lt;br /&gt;
                    0              25,292                   0                   2          10,568,825           7,122,257           3,446,568              25,292   0x2ccf/0x264d99&lt;br /&gt;
                  722              25,106                   0                   3           9,376,076       2,704,945,830                   0              26,568   0x2cd3/0x1cc865&lt;br /&gt;
                   15                  96                   0                   6             601,987              65,907             536,080                 111   0x2cd3/0x25f7e8&lt;br /&gt;
               50,662              51,942                   0                   4          29,283,798       2,694,967,767                   0             102,611   0x2d20/0x1b0a3e&lt;br /&gt;
               18,486              16,140                   0                   4          12,291,893       2,665,683,969                   0              34,626   0x2d3a/0x3e02f3&lt;br /&gt;
               67,481             104,443                   0                   5          48,233,597          15,261,303          32,972,294             171,924   0x2d79/0x230ef0&lt;br /&gt;
               19,276              34,062                   0                   3          18,103,592       2,605,158,479                   0             171,476   0x2deb/0x61f18&lt;br /&gt;
                    0                 225                   0                   6             607,824              37,538             570,286                 225   0x2deb/0xf6568&lt;br /&gt;
               14,038              14,130                   0                   3          13,699,081       2,586,447,063                   0              28,385   0x2e21/0x47d6f1&lt;br /&gt;
                4,147              13,212                   0                   3           5,363,836       2,572,747,982                   0              17,359   0x2e40/0x118ed&lt;br /&gt;
                    0                   0                   0                   4             133,826              37,921              95,905                   0   0x2e40/0x323af&lt;br /&gt;
               31,744              33,396                   0                   3          22,247,625       2,567,250,320                   0              65,140   0x2e45/0x256f78&lt;br /&gt;
                    9                   0                   0                   6             290,601              55,855             234,746                   9   0x2e45/0x29dea1&lt;br /&gt;
                   16              25,020                   0                   4          10,475,420       2,544,712,094                   0              25,039   0x2e5b/0x311fbd&lt;br /&gt;
                1,682              19,008                   0                   3           8,507,134       2,534,236,674                   0              20,690   0x2e5f/0x1a583b&lt;br /&gt;
                   12                   0                   0                   6             354,107              41,047             313,060                  12   0x2e5f/0x1fbf76&lt;br /&gt;
                6,849              54,863                   0                   3          20,176,980       2,525,375,433                   0              61,719   0x2e7d/0x2272ca&lt;br /&gt;
               30,012              67,588                   0                   5          28,465,075          27,606,214             858,861              97,600   0x2eb6/0xb06fd&lt;br /&gt;
               14,048              16,912                   0                   2           9,587,676       2,476,733,378                   0              66,881   0x2ee1/0x4bc59&lt;br /&gt;
               15,183              12,704                   0                   6          11,270,153           6,834,792           4,435,361              27,887   0x2ef4/0x181de2&lt;br /&gt;
               23,012              39,873                   0                   7          18,610,316       2,455,875,549                   0              62,948   0x2f1a/0x2e96e&lt;br /&gt;
               25,472              49,151                   0                   6          22,681,935       2,437,265,233                   0              74,623   0x2f5a/0x2bd5bd&lt;br /&gt;
                1,031              60,319                   0                   6          20,425,359       2,414,583,298                   0              61,350   0x2f66/0x32534c&lt;br /&gt;
               48,185              83,225                   0                   4          42,656,335          28,813,330          13,843,005             131,410   0x2f9d/0x5adb9b&lt;br /&gt;
               16,859              32,139                   0                   3          18,804,637          12,310,056           6,494,581              74,600   0x2fa3/0x489e38&lt;br /&gt;
               29,050              79,391                   0                   8          47,784,742          37,879,192           9,905,550             108,511   0x300a/0x26d0de&lt;br /&gt;
                   32              38,306                   0                   6          19,991,849          14,244,764           5,747,085             117,588   0x3026/0x26b107&lt;br /&gt;
                    0                  37                   0                   6             345,851              39,476             306,375              25,114   0x3026/0x2bf802&lt;br /&gt;
               17,725              34,199                   0                   3          19,155,357       2,264,574,525                   0              51,955   0x303f/0x1f149f&lt;br /&gt;
                1,379              23,909                   0                   6          10,787,679       2,245,419,168                   0              25,288   0x304f/0x2b197e&lt;br /&gt;
                    3                  12                   0                   5             297,677              34,135             263,542                  15   0x304f/0x2fa44b&lt;br /&gt;
               17,968              47,908                   0                   2          17,014,500       2,234,333,812                   0              65,891   0x306c/0x2162f&lt;br /&gt;
               45,151              19,691                   0                   3          20,592,703          18,998,392           1,594,311              64,842   0x3071/0xb216e&lt;br /&gt;
               18,246              13,219                   0                   3          14,900,440       2,196,726,609                   0              31,514   0x308d/0x55e7c6&lt;br /&gt;
                   26              12,008                   0                   5           7,554,365           4,234,132           3,320,233              12,034   0x30a1/0x309683&lt;br /&gt;
               35,556              69,762                   0                  20          31,161,221       2,174,271,804                   0             105,338   0x30c2/0x424e88&lt;br /&gt;
               33,203             114,692                   0                   5          49,168,609          43,804,782           5,363,827             147,895   0x30fd/0x359ee9&lt;br /&gt;
                  182              19,563                   0                   7          10,363,229       2,093,941,974                   0              87,398   0x310c/0x3b29c6&lt;br /&gt;
                   14              19,817                   0                   4           9,355,037           4,743,642           4,611,395              19,831   0x3110/0x315263&lt;br /&gt;
                   46              37,708                   0                   8          20,678,814          10,884,622           9,794,192              41,674   0x315c/0x3bae01&lt;br /&gt;
                   88                 279                   0                   5             761,100              44,429             716,671               3,390   0x315c/0x474b0d&lt;br /&gt;
               40,709              61,572                   0                   4          26,837,961       2,052,783,794                   0             102,607   0x3189/0x170b56&lt;br /&gt;
                   42                   0                   0                   6             814,957              77,642             737,315                  42   0x3189/0x237ac3&lt;br /&gt;
               69,126             107,504                   0                   5          52,094,116          47,372,898           4,721,218             176,645   0x31b8/0x436ee7&lt;br /&gt;
                   46                   0                   0                   5             393,197              51,476             341,721              82,129   0x31b8/0x496ed4&lt;br /&gt;
               48,348             117,823                   0                   3          48,879,763          41,965,088           6,914,675             166,196   0x3201/0x3856e7&lt;br /&gt;
               16,349              39,063                   0                   7          17,875,388          14,606,658           3,268,730              62,982   0x3208/0x17eba3&lt;br /&gt;
                  105                   0                   0                   6           3,394,912              60,919           3,333,993               2,571   0x3208/0x4bb903&lt;br /&gt;
                  217              17,310                   0                   7           5,776,110       1,902,493,500                   0              17,617   0x3210/0xb4571&lt;br /&gt;
               36,657              27,268                   0                   7          22,160,771           4,617,088          17,543,683              63,925   0x3224/0x2c3df4&lt;br /&gt;
               24,153              42,022                   0                   1          22,019,603       1,874,556,619                   0             114,113   0x3235/0x4b0f07&lt;br /&gt;
                   16              18,174                   0                   7           7,706,321       1,852,537,016                   0              18,190   0x324e/0x280f58&lt;br /&gt;
                  120              24,379                   0                   7          10,458,169       1,844,830,695                   0              24,499   0x3266/0x2f0d11&lt;br /&gt;
               14,236              34,916                   0                   3          17,998,326          12,723,415           5,274,911              49,152   0x327b/0x108207&lt;br /&gt;
                   79                   0                   0                   5             673,666              37,699             635,967               2,808   0x327b/0x1ac989&lt;br /&gt;
                6,624              22,958                   0                   3          11,999,224       1,815,700,534                   0              29,650   0x3290/0x394b01&lt;br /&gt;
               19,965              40,810                   0                   8          17,269,398       1,803,701,310                   0              60,775   0x32a7/0xfa097&lt;br /&gt;
                7,517              58,175                   0                   5          21,772,528       1,786,431,912                   0              65,692   0x32de/0x2aac87&lt;br /&gt;
                9,415              18,600                   0                   6          10,786,946       1,764,659,384                   0              28,015   0x32e1/0x36ae89&lt;br /&gt;
                   51                   0                   0                   6             622,591              52,177             570,414                  51   0x32e1/0x402e88&lt;br /&gt;
               30,139              66,899                   0                   4          30,497,693       1,753,249,847                   0              97,065   0x3315/0x47c6a5&lt;br /&gt;
                    6              41,284                   0                   1          16,342,999          12,394,744           3,948,255              41,290   0x3320/0xff97c&lt;br /&gt;
               21,091              17,059                   0                   6          11,525,646       1,706,409,155                   0              38,984   0x332b/0x27410a&lt;br /&gt;
                    0                  94                   0                   4             892,946              34,897             858,049                  94   0x332b/0x34e11c&lt;br /&gt;
                    3              52,035                   0                   3          18,160,444       1,693,990,563                   0              52,132   0x336d/0x18cf58&lt;br /&gt;
                   58              27,035                   0                   6           8,947,956       1,675,830,119                   0              27,093   0x3376/0x8c1cc&lt;br /&gt;
                    3                  66                   0                   4             501,044              49,007             452,037                  69   0x3376/0x106700&lt;br /&gt;
               27,134              44,130                   0                   4          22,994,532       1,666,381,119                   0              71,330   0x339f/0x3e1864&lt;br /&gt;
                    0                 108                   0                   4             439,894              35,044             404,850                 108   0x339f/0x44ceba&lt;br /&gt;
                   17              51,506                   0                   3          20,284,195       1,642,946,693                   0              51,631   0x33a6/0x4924dd&lt;br /&gt;
                   28              16,826                   0                   2           9,954,053       1,622,662,498                   0              16,854   0x33b6/0x487162&lt;br /&gt;
                2,079              43,231                   0                   2          20,850,856          13,682,453           7,168,403              45,310   0x33d2/0x556d0a&lt;br /&gt;
                    2              30,027                   0                   3          14,418,091           8,924,719           5,493,372              30,743   0x33d9/0x40b5&lt;br /&gt;
                    0               1,157                   0                   6           5,510,215             155,394           5,354,821               3,103   0x33d9/0x5454fc&lt;br /&gt;
               31,517              31,808                   0                   3          18,110,480       1,571,929,283                   0              64,085   0x33ee/0x37800c&lt;br /&gt;
               30,598              27,193                   0                   4          18,121,300          12,201,650           5,919,650              57,791   0x3402/0x1ad560&lt;br /&gt;
               38,905              34,440                   0                   4          18,443,706          15,100,893           3,342,813              78,249   0x340c/0x3161a&lt;br /&gt;
               51,887              95,209                   0                   4          40,262,214          29,791,799          10,470,415             152,283   0x343b/0x71660&lt;br /&gt;
                    1              28,686                   0                   7          10,081,465       1,476,991,583                   0             142,625   0x344c/0x85499&lt;br /&gt;
               28,401              13,707                   0                   3          10,169,877       1,466,910,118                   0              42,108   0x3457/0xaec2e&lt;br /&gt;
                    5              16,531                   0                   6          14,562,193           4,402,715          10,159,478              16,536   0x345b/0x50893f&lt;br /&gt;
                    0              15,920                   0                   7           9,514,322       1,442,178,048                   0              19,604   0x3460/0x492011&lt;br /&gt;
                    4              16,264                   0                   6          10,131,895       1,432,663,726                   0              16,268   0x3465/0x4b2348&lt;br /&gt;
               30,231              28,986                   0                   4          18,938,103          14,093,138           4,844,965              59,217   0x347c/0x3aef3f&lt;br /&gt;
                   14                   0                   0                   5             512,006              34,432             477,574                 120   0x347c/0x42bf45&lt;br /&gt;
               20,678              38,294                   0                   3          17,101,301       1,403,081,722                   0              58,975   0x3497/0x16843a&lt;br /&gt;
                9,869              25,099                   0                   5          12,548,707       1,385,980,421                   0              34,968   0x34b3/0x3d681d&lt;br /&gt;
               36,465              60,605                   0                   5          26,361,794          24,558,695           1,803,099              97,070   0x34d6/0x5e45f&lt;br /&gt;
                   36              23,345                   0                   3           9,621,974           6,699,792           2,922,182              23,911   0x34d9/0x1fb5&lt;br /&gt;
               25,436              49,579                   0                   7          20,880,498          18,608,524           2,271,974              75,850   0x34df/0xd8f27&lt;br /&gt;
                   32               1,485                   0                   6           4,197,555             413,166           3,784,389               1,535   0x34df/0x4d9bda&lt;br /&gt;
               31,535              59,968                   0                   5          25,248,912          24,728,797             520,115              91,849   0x3512/0x51cea&lt;br /&gt;
                1,601              24,378                   0                   6          10,268,411           8,200,696           2,067,715              26,160   0x351b/0x93565&lt;br /&gt;
               14,147              23,162                   0                   8          11,300,331       1,276,852,570                   0              37,400   0x3525/0x1d0cd0&lt;br /&gt;
               14,204              20,662                   0                   3          13,299,117       1,265,552,239                   0              34,866   0x3532/0x4f63fd&lt;br /&gt;
               17,514              24,728                   0                   3          16,797,576          12,513,187           4,284,389              42,242   0x3553/0x1e8685&lt;br /&gt;
                7,303              46,343                   0                   7          23,094,370          14,762,461           8,331,909              54,344   0x3580/0x4dbde7&lt;br /&gt;
               45,620              41,812                   0                   7          27,514,220          21,511,990           6,002,230              90,879   0x359c/0x27cfd3&lt;br /&gt;
               16,861              12,552                   0                   3           9,619,073       1,184,846,956                   0             104,424   0x35a0/0x21ffd4&lt;br /&gt;
                    0                 271                   0                   6           3,731,928              93,043           3,638,885                 271   0x35a0/0x5af1ac&lt;br /&gt;
               30,860              48,187                   0                   7          26,338,978          24,109,627           2,229,351              79,097   0x35ab/0x2314ce&lt;br /&gt;
               39,031              24,255                   0                   4          20,202,284       1,145,156,977                   0              63,301   0x35c4/0x262afa&lt;br /&gt;
                2,576              46,002                   0                   6          19,184,048           5,580,647          13,603,401              48,578   0x35dc/0x19b7aa&lt;br /&gt;
                    2                   0                   0                   6             174,028              33,089             140,939              31,536   0x35dc/0x1c5f76&lt;br /&gt;
              111,528              77,161                   0                   7          62,341,581          50,549,489          11,792,092             188,690   0x360c/0x401a43&lt;br /&gt;
               28,697              25,910                   0                   6          18,246,350          13,855,848           4,390,502              56,636   0x3618/0x255811&lt;br /&gt;
                4,335              12,127                   0                   6           9,004,926           5,130,460           3,874,466              18,985   0x3621/0x16290f&lt;br /&gt;
               18,413               8,607                   0                   5           8,878,516           7,701,363           1,177,153              27,027   0x3626/0x50c43&lt;br /&gt;
                    0               2,910                   0                   6           6,228,723             848,601           5,380,122               2,910   0x3626/0x641736&lt;br /&gt;
               28,784              22,689                   0                   3          21,119,867          14,626,185           6,493,682              52,178   0x362a/0x752db1&lt;br /&gt;
               41,676              62,528                   0                   4          34,112,988          29,303,765           4,809,223             105,238   0x363e/0x1b598d&lt;br /&gt;
                   17                 735                   0                   5          12,521,216              31,105          12,490,111               1,300   0x3643/0x41d20d&lt;br /&gt;
                7,802              34,494                   0                   7          33,127,169           7,514,191          25,612,978              43,003   0x3659/0x71898e&lt;br /&gt;
                    0               8,734                   0                   5           3,377,408         900,015,281                   0              25,130   0x365c/0xc7c0e&lt;br /&gt;
                  114               9,858                   0                   7          15,782,161             650,578          15,131,583               9,972   0x365f/0x64b69f&lt;br /&gt;
                    1              11,516                   0                   7           5,378,418         880,855,712                   0              19,548   0x3664/0x1e3191&lt;br /&gt;
                    7              22,005                   0                   7           8,922,863           6,691,187           2,231,676              22,012   0x3668/0xdc200&lt;br /&gt;
                   13              13,409                   0                   6          15,952,421             360,887          15,591,534              14,391   0x3671/0x6895a5&lt;br /&gt;
                1,749               8,568                   0                   3           3,660,457         850,602,010                   0              22,698   0x3676/0x7d9ce&lt;br /&gt;
                5,390              10,146                   0                   6          14,882,555           1,855,609          13,026,946              15,536   0x3688/0x525a49&lt;br /&gt;
               10,230               9,513                   0                   5           4,816,061         832,058,998                   0              28,465   0x3691/0x34086&lt;br /&gt;
               14,698              31,907                   0                   7          41,080,361          36,925,183           4,155,178              46,605   0x36aa/0x13bcaf&lt;br /&gt;
                    2               1,755                   0                   6           4,666,159             345,619           4,320,540              47,630   0x36aa/0x5aefde&lt;br /&gt;
               25,935              30,385                   0                   5          38,398,767         781,496,417                   0              57,119   0x36c5/0x42810d&lt;br /&gt;
                9,478              14,696                   0                   7          21,102,013         743,097,650                   0              24,174   0x36e1/0x5351ca&lt;br /&gt;
                   65              12,746                   0                   6           5,610,587           3,858,013           1,752,574              12,811   0x36ed/0x1057a5&lt;br /&gt;
                5,806               9,341                   0                   6          10,353,968           2,690,013           7,663,955              15,343   0x36fc/0x15be55&lt;br /&gt;
                    5                   0                   0                   6           4,894,393              33,744           4,860,649               5,931   0x36fc/0x606d0e&lt;br /&gt;
               28,754              58,230                   0                  18          28,401,618         701,136,689                   0              86,988   0x3708/0x480960&lt;br /&gt;
                    0              15,897                   0                   6          10,890,931           3,098,266           7,792,665              15,897   0x370a/0x55a193&lt;br /&gt;
                  126              10,927                   0                   6          26,068,972           2,214,107          23,854,865              16,100   0x372d/0x19a5ff&lt;br /&gt;
                9,837              16,155                   0                   6          11,096,409           6,346,816           4,749,593              29,696   0x3732/0x2a60d8&lt;br /&gt;
                  128              15,250                   0                   6           8,591,606           3,747,801           4,843,805              16,046   0x3734/0x14e34e&lt;br /&gt;
                  123              28,336                   0                   6          16,047,724           5,161,792          10,885,932              31,737   0x3736/0x712b3a&lt;br /&gt;
                   24               8,534                   0                   5           3,423,605           1,552,888           1,870,717              19,982   0x3740/0xcd22f&lt;br /&gt;
                  533                   0                   0                   6          20,325,930             275,776          20,050,154               3,884   0x3742/0x11cb59&lt;br /&gt;
                    0                   0                   0                   4              72,242              36,230              36,012                   0   0x3742/0x12e58b&lt;br /&gt;
               26,449              16,768                   0                   3          20,777,536         576,217,652                   0              43,217   0x3756/0x1ec2cb&lt;br /&gt;
               11,493              23,349                   0                   3          21,836,979          13,435,005           8,401,974              34,842   0x375c/0x3aca7e&lt;br /&gt;
                  309              32,239                   0                   6          17,558,766           9,588,731           7,970,035              56,790   0x3761/0x158a6c&lt;br /&gt;
                   12              26,562                   0                   7          12,407,639           6,425,279           5,982,360              27,257   0x3779/0x3a4743&lt;br /&gt;
                6,845              41,908                   0                   7          33,072,537          22,775,381          10,297,156              51,339   0x379b/0x69295c&lt;br /&gt;
                6,778              29,990                   0                   6          25,664,453          17,110,934           8,553,519              41,294   0x37a8/0x2701a1&lt;br /&gt;
                    5              16,509                   0                   9          19,648,397           8,979,547          10,668,850              44,387   0x37ae/0x21a42e&lt;br /&gt;
              116,569             137,423                   0                  12         129,250,694          72,386,145          56,864,549             267,033   0x37e2/0x163534&lt;br /&gt;
                   13              17,546                   0                   6          28,042,727              34,685          28,008,042             187,464   0x37e7/0x90ee1b&lt;br /&gt;
               33,326              30,872                   0                   6          43,125,925           9,805,827          33,320,098              81,756   0x37ec/0x280a40&lt;br /&gt;
                    3               5,332                   0                   5          19,873,538              37,653          19,835,885              30,103   0x37ef/0x261c42&lt;br /&gt;
                   17               2,306                   0                   6          19,166,423             244,987          18,921,436               7,657   0x37f1/0x196419&lt;br /&gt;
               10,753              20,277                   0                   6          40,648,779          11,079,498          29,569,281              32,618   0x37f6/0x234a64&lt;br /&gt;
                   10              22,876                   0                   6          18,391,375             164,634          18,226,741              49,034   0x37f8/0xabeb3&lt;br /&gt;
                   30              34,377                   0                   7          32,006,385           1,775,081          30,231,304              56,545   0x37fb/0x295c24&lt;br /&gt;
                    4              23,090                   0                   7          38,624,657           2,288,459          36,336,198              52,101   0x37ff/0x145fb5&lt;br /&gt;
                    6               8,689                   0                   6          27,108,848             949,959          26,158,889              24,449   0x3801/0x80d8a5&lt;br /&gt;
                    6               5,117                   0                   7          18,644,436              55,620          18,588,816              11,221   0x3803/0x6c2979&lt;br /&gt;
                  837                   0                   0                   6           6,661,670             288,422           6,373,248               5,956   0x3804/0x39391f&lt;br /&gt;
                5,863               6,917                   0                   0           3,705,888           3,705,888                   0              12,780   0x3804/0x71c53f&lt;br /&gt;
 &amp;lt;/DbPrintLog&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* This prints some statistics about the database. In particular the two rows called key bytes and data bytes are relevant. For the following step you need the values from the avg column - i.e. 38 and 219 in this case. You also need the value of “Total number of entries” (14543762 in this case). Now we take those values and put them into this command:&lt;br /&gt;
&lt;br /&gt;
 [root@dc042 meta]# java -cp  /usr/share/dcache/classes/je-*.jar com.sleepycat.je.util.DbCacheSize -records 14543762 -key 38 -data 219&lt;br /&gt;
 &lt;br /&gt;
 === Environment Cache Overhead ===&lt;br /&gt;
 &lt;br /&gt;
 3,157,213 minimum bytes&lt;br /&gt;
 &lt;br /&gt;
 To account for JE daemon operation and record locks,&lt;br /&gt;
 a significantly larger amount is needed in practice.&lt;br /&gt;
 &lt;br /&gt;
 === Database Cache Size ===&lt;br /&gt;
 &lt;br /&gt;
    Number of Bytes  Description&lt;br /&gt;
    ---------------  -----------&lt;br /&gt;
      1,195,759,832  Internal nodes only&lt;br /&gt;
      5,124,232,392  Internal nodes and leaf nodes&lt;br /&gt;
&lt;br /&gt;
* For further information see the DbCacheSize javadoc.&lt;br /&gt;
&lt;br /&gt;
* For this pool it tells us that we need a bit above 1195 MB to keep all the internal btree nodes cached. Oracle’s recommendation is that if the database is updated often, the cache is at least big enough to contain the internal nodes. Obviously you want to make it a bit bigger to leave room for it to grow. One could take this and configure the cache using the je.maxMemory setting. If the size is lower than the 20% of the max heap size you already use, then you don’t need to do anything (I do not suggest lowering it further).&lt;br /&gt;
&lt;br /&gt;
* Since this pool has 6000m of JAVA heap max space, it means that 20% = 1200MB, which is exactly cache for Internal btree nodes. So we will not touch this.&lt;br /&gt;
&lt;br /&gt;
* There is one caveat though: If you increase the cache size, less free space is left on the heap. If the pool is pushed to the limit, this may actually slow down the pool as garbage collection overhead increases. You need to ensure that enough space is left in addition to the cache (possibly by increasing the max heap size). An alternative to adjusting je.maxMemory is of course to adjust the max heap size. If you make it large enough so that 20% is enough to cache the internal btree nodes, then all is well. This may however mean you assign significantly more memory to the pool than it really needs. Yeah, there are lots of things to consider.&lt;br /&gt;
&lt;br /&gt;
* A little bonus: There is also this command:&lt;br /&gt;
&lt;br /&gt;
 [root@dc042 meta]#  java -cp  /usr/share/dcache/classes/je-*.jar com.sleepycat.je.util.DbSpace -h .&lt;br /&gt;
   File    Size (KB)  % Used&lt;br /&gt;
 --------  ---------  ------&lt;br /&gt;
 00001857       9765      41&lt;br /&gt;
 00001f2a       9765      43&lt;br /&gt;
 00001f2f       9765      39&lt;br /&gt;
 00001f72       9765      44&lt;br /&gt;
 0000216d       9765      40&lt;br /&gt;
 000021cb       9765      40&lt;br /&gt;
 0000226b       9765      45&lt;br /&gt;
 000022e8       9763      38&lt;br /&gt;
 000022fa       9765      39&lt;br /&gt;
 00002390       9765      38&lt;br /&gt;
 0000241d       9765      49&lt;br /&gt;
 0000252c       9765      51&lt;br /&gt;
 0000254c       9765      47&lt;br /&gt;
 00002567       9765      39&lt;br /&gt;
 000025b7       9765      42&lt;br /&gt;
 000025db       9765      42&lt;br /&gt;
 000025e5       9765      56&lt;br /&gt;
 0000265f       9765      39&lt;br /&gt;
 00002678       9765      61&lt;br /&gt;
 0000268d       9762      48&lt;br /&gt;
 00002692       9765      74&lt;br /&gt;
 000026be       9765      48&lt;br /&gt;
 000026cf       9765      40&lt;br /&gt;
 00002700       9765      41&lt;br /&gt;
 00002706       9765      38&lt;br /&gt;
 00002718       9765      56&lt;br /&gt;
 00002747       9765      44&lt;br /&gt;
 0000274d       9765      48&lt;br /&gt;
 000027db       9765      62&lt;br /&gt;
 00002855       9765      39&lt;br /&gt;
 0000285c       9765      39&lt;br /&gt;
 00002882       9765      41&lt;br /&gt;
 0000289d       9765      54&lt;br /&gt;
 000028ba       9765      52&lt;br /&gt;
 000028c1       9765      53&lt;br /&gt;
 000028d0       9765      41&lt;br /&gt;
 000028d7       9765      41&lt;br /&gt;
 000028e7       9765      39&lt;br /&gt;
 000028ed       9765      39&lt;br /&gt;
 00002926       9765      39&lt;br /&gt;
 0000292b       9765      43&lt;br /&gt;
 00002945       9765      41&lt;br /&gt;
 00002952       9765      41&lt;br /&gt;
 00002958       9765      62&lt;br /&gt;
 00002959       9764      38&lt;br /&gt;
 00002962       9765      53&lt;br /&gt;
 00002963       9765      47&lt;br /&gt;
 0000297d       9765      51&lt;br /&gt;
 0000297e       9765      41&lt;br /&gt;
 000029b3       9765      45&lt;br /&gt;
 000029c7       9765      56&lt;br /&gt;
 000029ce       9765      42&lt;br /&gt;
 000029d3       9765      43&lt;br /&gt;
 000029d9       9765      54&lt;br /&gt;
 000029fb       9765      42&lt;br /&gt;
 00002a00       9765      54&lt;br /&gt;
 00002a01       9765      39&lt;br /&gt;
 00002a06       9765      39&lt;br /&gt;
 00002a20       9765      45&lt;br /&gt;
 00002a26       9765      61&lt;br /&gt;
 00002a2b       9765      69&lt;br /&gt;
 00002a30       9765      65&lt;br /&gt;
 00002a44       9765      46&lt;br /&gt;
 00002a4f       9765      50&lt;br /&gt;
 00002a53       9765      64&lt;br /&gt;
 00002a54       9765      47&lt;br /&gt;
 00002a58       9765      66&lt;br /&gt;
 00002a59       9765      43&lt;br /&gt;
 00002a5e       9765      56&lt;br /&gt;
 00002a63       9765      44&lt;br /&gt;
 00002a69       9765      47&lt;br /&gt;
 00002a8f       9765      39&lt;br /&gt;
 00002aac       9765      54&lt;br /&gt;
 00002aba       9765      42&lt;br /&gt;
 00002abb       9765      44&lt;br /&gt;
 00002ae0       9763      38&lt;br /&gt;
 00002af3       9765      45&lt;br /&gt;
 00002b01       9765      41&lt;br /&gt;
 00002b08       9765      65&lt;br /&gt;
 00002b0e       9765      41&lt;br /&gt;
 00002b24       9765      45&lt;br /&gt;
 00002b28       9765      61&lt;br /&gt;
 00002b29       9765      41&lt;br /&gt;
 00002b3c       9765      40&lt;br /&gt;
 00002b3d       9765      40&lt;br /&gt;
 00002b41       9765      47&lt;br /&gt;
 00002b4c       9765      46&lt;br /&gt;
 00002b52       9765      57&lt;br /&gt;
 00002b64       9765      38&lt;br /&gt;
 00002b87       9765      38&lt;br /&gt;
 00002b8e       9765      47&lt;br /&gt;
 00002b8f       9760      38&lt;br /&gt;
 00002bad       9765      42&lt;br /&gt;
 00002bbf       9765      44&lt;br /&gt;
 00002bc6       9765      38&lt;br /&gt;
 00002be9       9765      47&lt;br /&gt;
 00002c00       9765      42&lt;br /&gt;
 00002c06       9765      69&lt;br /&gt;
 00002c0c       9765      55&lt;br /&gt;
 00002c13       9765      38&lt;br /&gt;
 00002c14       9765      38&lt;br /&gt;
 00002c2a       9765      41&lt;br /&gt;
 00002c2b       9765      41&lt;br /&gt;
 00002c30       9765      54&lt;br /&gt;
 00002c4c       9765      39&lt;br /&gt;
 00002c53       9765      45&lt;br /&gt;
 00002c5f       9765      44&lt;br /&gt;
 00002c7c       9765      38&lt;br /&gt;
 00002c8f       9765      49&lt;br /&gt;
 00002c95       9765      38&lt;br /&gt;
 00002ca4       9764      50&lt;br /&gt;
 00002ca9       9765      42&lt;br /&gt;
 00002cad       9763      41&lt;br /&gt;
 00002cc4       9765      39&lt;br /&gt;
 00002ccf       9765      43&lt;br /&gt;
 00002cd3       9765      45&lt;br /&gt;
 00002cf3       9765      48&lt;br /&gt;
 00002d19       9765      38&lt;br /&gt;
 00002d20       9765      38&lt;br /&gt;
 00002d3a       9765      40&lt;br /&gt;
 00002d3b       9765      41&lt;br /&gt;
 00002d41       9765      43&lt;br /&gt;
 00002d51       9765      39&lt;br /&gt;
 00002d59       9765      40&lt;br /&gt;
 00002d79       9765      62&lt;br /&gt;
 00002d8f       9765      39&lt;br /&gt;
 00002deb       9765      40&lt;br /&gt;
 00002e21       9765      39&lt;br /&gt;
 00002e40       9765      41&lt;br /&gt;
 00002e41       9765      45&lt;br /&gt;
 00002e45       9765      40&lt;br /&gt;
 00002e5b       9765      58&lt;br /&gt;
 00002e5f       9765      49&lt;br /&gt;
 00002e60       9765      67&lt;br /&gt;
 00002e7d       9765      48&lt;br /&gt;
 00002e95       9765      38&lt;br /&gt;
 00002eb1       9762      57&lt;br /&gt;
 00002eb6       9765      53&lt;br /&gt;
 00002ee1       9765      38&lt;br /&gt;
 00002ef4       9763      43&lt;br /&gt;
 00002ef8       9765      41&lt;br /&gt;
 00002f1a       9765      53&lt;br /&gt;
 00002f25       9765      65&lt;br /&gt;
 00002f5a       9765      52&lt;br /&gt;
 00002f5f       9765      63&lt;br /&gt;
 00002f66       9765      41&lt;br /&gt;
 00002f71       9765      42&lt;br /&gt;
 00002f79       9765      61&lt;br /&gt;
 00002f87       9765      49&lt;br /&gt;
 00002f9d       9765      41&lt;br /&gt;
 00002f9e       9765      42&lt;br /&gt;
 00002fa3       9765      38&lt;br /&gt;
 00002fa4       9765      46&lt;br /&gt;
 00002fb1       9762      55&lt;br /&gt;
 00002fc1       9765      41&lt;br /&gt;
 00002fde       9765      38&lt;br /&gt;
 0000300a       9765      43&lt;br /&gt;
 0000300e       9762      47&lt;br /&gt;
 00003026       9765      55&lt;br /&gt;
 00003027       9765      57&lt;br /&gt;
 0000303f       9765      63&lt;br /&gt;
 0000304f       9765      48&lt;br /&gt;
 00003056       9765      44&lt;br /&gt;
 0000306c       9765      48&lt;br /&gt;
 0000306d       9765      42&lt;br /&gt;
 00003071       9765      45&lt;br /&gt;
 0000308d       9765      39&lt;br /&gt;
 000030a1       9765      54&lt;br /&gt;
 000030a5       9765      51&lt;br /&gt;
 000030ab       9765      60&lt;br /&gt;
 000030c2       9765      46&lt;br /&gt;
 000030d5       9765      43&lt;br /&gt;
 000030dd       9765      38&lt;br /&gt;
 000030e3       9765      57&lt;br /&gt;
 000030e4       9765      55&lt;br /&gt;
 000030fd       9765      48&lt;br /&gt;
 0000310c       9764      42&lt;br /&gt;
 00003110       9765      46&lt;br /&gt;
 00003119       9765      47&lt;br /&gt;
 0000315c       9765      48&lt;br /&gt;
 0000315d       9765      54&lt;br /&gt;
 00003185       9765      56&lt;br /&gt;
 00003189       9765      52&lt;br /&gt;
 0000318a       9765      58&lt;br /&gt;
 0000319a       9765      46&lt;br /&gt;
 0000319f       9764      39&lt;br /&gt;
 000031b5       9764      53&lt;br /&gt;
 000031b8       9765      40&lt;br /&gt;
 000031b9       9765      74&lt;br /&gt;
 000031e2       9765      65&lt;br /&gt;
 000031fa       9765      58&lt;br /&gt;
 000031fb       9765      52&lt;br /&gt;
 00003201       9765      50&lt;br /&gt;
 00003202       9764      44&lt;br /&gt;
 00003208       9765      42&lt;br /&gt;
 00003210       9763      40&lt;br /&gt;
 00003218       9765      40&lt;br /&gt;
 00003224       9765      51&lt;br /&gt;
 00003229       9765      48&lt;br /&gt;
 00003235       9765      40&lt;br /&gt;
 0000324e       9765      46&lt;br /&gt;
 00003266       9765      41&lt;br /&gt;
 0000326c       9764      47&lt;br /&gt;
 0000327b       9765      55&lt;br /&gt;
 00003290       9765      48&lt;br /&gt;
 00003294       9765      56&lt;br /&gt;
 000032a7       9765      69&lt;br /&gt;
 000032ad       9765      62&lt;br /&gt;
 000032de       9765      47&lt;br /&gt;
 000032e1       9765      46&lt;br /&gt;
 000032e2       9765      71&lt;br /&gt;
 000032e9       9765      45&lt;br /&gt;
 00003315       9765      42&lt;br /&gt;
 00003316       9764      54&lt;br /&gt;
 00003320       9765      43&lt;br /&gt;
 0000332b       9765      52&lt;br /&gt;
 0000332c       9765      76&lt;br /&gt;
 0000336d       9765      69&lt;br /&gt;
 00003376       9765      72&lt;br /&gt;
 00003377       9765      46&lt;br /&gt;
 0000339f       9765      43&lt;br /&gt;
 000033a0       9765      75&lt;br /&gt;
 000033a6       9765      46&lt;br /&gt;
 000033b6       9765      40&lt;br /&gt;
 000033c0       9764      72&lt;br /&gt;
 000033d2       9765      38&lt;br /&gt;
 000033d3       9764      45&lt;br /&gt;
 000033d9       9765      42&lt;br /&gt;
 000033da       9765      44&lt;br /&gt;
 000033ee       9765      41&lt;br /&gt;
 000033fb       9764      38&lt;br /&gt;
 00003402       9765      42&lt;br /&gt;
 00003403       9765      53&lt;br /&gt;
 0000340c       9765      76&lt;br /&gt;
 00003428       9765      67&lt;br /&gt;
 00003431       9765      51&lt;br /&gt;
 00003436       9765      88&lt;br /&gt;
 0000343b       9765      85&lt;br /&gt;
 0000344c       9765      48&lt;br /&gt;
 00003457       9765      46&lt;br /&gt;
 0000345b       9765      46&lt;br /&gt;
 00003460       9765      50&lt;br /&gt;
 00003465       9765      45&lt;br /&gt;
 00003466       9762      40&lt;br /&gt;
 0000347c       9765      54&lt;br /&gt;
 0000347d       9765      61&lt;br /&gt;
 00003497       9765      63&lt;br /&gt;
 000034b3       9765      64&lt;br /&gt;
 000034bd       9765      54&lt;br /&gt;
 000034c9       9764      71&lt;br /&gt;
 000034d6       9765      65&lt;br /&gt;
 000034d9       9765      86&lt;br /&gt;
 000034da       9765      46&lt;br /&gt;
 000034df       9765      51&lt;br /&gt;
 000034e0       9764      60&lt;br /&gt;
 00003504       9762      80&lt;br /&gt;
 00003512       9761      76&lt;br /&gt;
 0000351b       9765      65&lt;br /&gt;
 00003525       9765      59&lt;br /&gt;
 00003532       9765      52&lt;br /&gt;
 00003540       9764      43&lt;br /&gt;
 00003553       9765      80&lt;br /&gt;
 00003558       9765      54&lt;br /&gt;
 00003580       9762      49&lt;br /&gt;
 00003586       9765      41&lt;br /&gt;
 00003587       9763      50&lt;br /&gt;
 0000359c       9765      40&lt;br /&gt;
 000035a0       9765      46&lt;br /&gt;
 000035a1       9765      37&lt;br /&gt;
 000035a6       9765      96&lt;br /&gt;
 000035ab       9765      52&lt;br /&gt;
 000035ac       9765      39&lt;br /&gt;
 000035c4       9765      61&lt;br /&gt;
 000035d0       9765      89&lt;br /&gt;
 000035dc       9765      74&lt;br /&gt;
 000035dd       9765      43&lt;br /&gt;
 000035f1       9765      43&lt;br /&gt;
 000035fd       9765      37&lt;br /&gt;
 00003604       9765      47&lt;br /&gt;
 00003609       9764      40&lt;br /&gt;
 0000360c       9765      59&lt;br /&gt;
 0000360d       9765      37&lt;br /&gt;
 00003618       9763      42&lt;br /&gt;
 00003621       9765      42&lt;br /&gt;
 00003626       9765      42&lt;br /&gt;
 00003627       9765      41&lt;br /&gt;
 0000362a       9765      38&lt;br /&gt;
 0000362b       9765      73&lt;br /&gt;
 00003630       9765      68&lt;br /&gt;
 00003631       9764      42&lt;br /&gt;
 0000363e       9763      39&lt;br /&gt;
 00003643       9765      43&lt;br /&gt;
 00003646       9765      38&lt;br /&gt;
 0000364c       9762      40&lt;br /&gt;
 00003659       9765      47&lt;br /&gt;
 0000365c       9764      44&lt;br /&gt;
 0000365f       9765      45&lt;br /&gt;
 00003664       9765      69&lt;br /&gt;
 00003668       9764      37&lt;br /&gt;
 00003671       9765      43&lt;br /&gt;
 00003676       9765      39&lt;br /&gt;
 00003688       9765      37&lt;br /&gt;
 00003691       9765      48&lt;br /&gt;
 00003692       9764      37&lt;br /&gt;
 00003695       9762      38&lt;br /&gt;
 000036a3       9764      50&lt;br /&gt;
 000036aa       9765      47&lt;br /&gt;
 000036ab       9765      49&lt;br /&gt;
 000036c2       9765      64&lt;br /&gt;
 000036c3       9764      57&lt;br /&gt;
 000036c5       9765      40&lt;br /&gt;
 000036da       9764      40&lt;br /&gt;
 000036e1       9765      43&lt;br /&gt;
 000036ed       9762      39&lt;br /&gt;
 000036fc       9765      41&lt;br /&gt;
 000036fd       9765      59&lt;br /&gt;
 00003701       9764      85&lt;br /&gt;
 00003708       9765      43&lt;br /&gt;
 0000370a       9763      49&lt;br /&gt;
 00003728       9762      41&lt;br /&gt;
 0000372a       9763      55&lt;br /&gt;
 0000372d       9765      51&lt;br /&gt;
 00003732       9763      48&lt;br /&gt;
 00003734       9765      60&lt;br /&gt;
 00003736       9765      42&lt;br /&gt;
 00003740       9765      48&lt;br /&gt;
 00003741       9765      39&lt;br /&gt;
 00003742       9765      38&lt;br /&gt;
 00003749       9764      40&lt;br /&gt;
 00003756       9763      39&lt;br /&gt;
 00003758       9762      46&lt;br /&gt;
 0000375c       9765      67&lt;br /&gt;
 0000375d       9765      37&lt;br /&gt;
 00003761       9765      63&lt;br /&gt;
 00003779       9765      55&lt;br /&gt;
 00003785       9765      43&lt;br /&gt;
 00003798       9763      60&lt;br /&gt;
 0000379b       9765      41&lt;br /&gt;
 0000379e       9765      37&lt;br /&gt;
 000037a5       9764      39&lt;br /&gt;
 000037a8       9764      48&lt;br /&gt;
 000037ab       9765      38&lt;br /&gt;
 000037ae       9765      54&lt;br /&gt;
 000037b3       9764      42&lt;br /&gt;
 000037b6       9761      36&lt;br /&gt;
 000037be       9763      46&lt;br /&gt;
 000037c1       9765      69&lt;br /&gt;
 000037c3       9765      36&lt;br /&gt;
 000037c4       9764      37&lt;br /&gt;
 000037ce       9762      50&lt;br /&gt;
 000037d1       9761      45&lt;br /&gt;
 000037d3       9765      45&lt;br /&gt;
 000037dd       9765      45&lt;br /&gt;
 000037df       9765      50&lt;br /&gt;
 000037e0       9763      39&lt;br /&gt;
 000037e2       9765      13&lt;br /&gt;
 000037e3       9763      18&lt;br /&gt;
 000037e7       9765      49&lt;br /&gt;
 000037e8       9763      41&lt;br /&gt;
 000037e9       9765      42&lt;br /&gt;
 000037ea       9763      40&lt;br /&gt;
 000037eb       9765      39&lt;br /&gt;
 000037ec       9761      39&lt;br /&gt;
 000037ed       9763      41&lt;br /&gt;
 000037ef       9763      36&lt;br /&gt;
 000037f0       9764      36&lt;br /&gt;
 000037f1       9764      39&lt;br /&gt;
 000037f3       9765      41&lt;br /&gt;
 000037f4       9761      53&lt;br /&gt;
 000037f5       9765      36&lt;br /&gt;
 000037f6       9765      54&lt;br /&gt;
 000037f7       9763      53&lt;br /&gt;
 000037f8       9765      63&lt;br /&gt;
 000037f9       9765      60&lt;br /&gt;
 000037fa       9765      70&lt;br /&gt;
 000037fb       9765      76&lt;br /&gt;
 000037fc       9765      72&lt;br /&gt;
 000037fd       9765      73&lt;br /&gt;
 000037fe       9765      83&lt;br /&gt;
 000037ff       9765      87&lt;br /&gt;
 00003800       9765      89&lt;br /&gt;
 00003801       9762      86&lt;br /&gt;
 00003802       9763      88&lt;br /&gt;
 00003803       9764      90&lt;br /&gt;
 00003804       8110      76&lt;br /&gt;
  TOTALS     3757891      49&lt;br /&gt;
&lt;br /&gt;
* It will tell you for each of the database files (the log segments) how big it is and what the utilization is. The Berkeley DB will try to keep the total utilization above 50%, but for a small pool like this one it cannot do it. I figure that you may find this interesting to know after reading about utilization above.&lt;br /&gt;
&lt;br /&gt;
* The log segment size and the utilization goal can be adjusted too, but I cannot give any sound advice on whether that’s a good idea and how to determine good values.&lt;br /&gt;
&lt;br /&gt;
* All of the above is only relevant if you use the Berkeley DB backend for pools.&lt;br /&gt;
&lt;br /&gt;
== Special thanks ==&lt;br /&gt;
* This documentation has been deployed thanks to Gerd Behrmann, you can find more in at: https://gist.github.com/gbehrmann/df1abbe45c03356eff2e&lt;br /&gt;
* Read more about this at: https://backstage.forgerock.com/knowledge/kb/book/b74223337/a49979000&lt;/div&gt;</summary>
		<author><name>Mcaubet</name></author>
	</entry>
	<entry>
		<id>https://pwiki.pic.es/index.php?title=DCACHE_CHECK_POOL_BTREE_MEMORY&amp;diff=228</id>
		<title>DCACHE CHECK POOL BTREE MEMORY</title>
		<link rel="alternate" type="text/html" href="https://pwiki.pic.es/index.php?title=DCACHE_CHECK_POOL_BTREE_MEMORY&amp;diff=228"/>
		<updated>2017-10-06T08:38:06Z</updated>

		<summary type="html">&lt;p&gt;Mcaubet: /* Special thanks */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= For the MoD =&lt;br /&gt;
* Open a ticket to incidents@support.pic.es with the alarm. &lt;br /&gt;
* This alarm only affects the duration of the pool start up, nothing has to be done until the next working day where this can be fixed by dCache Administrators.&lt;br /&gt;
* Same information as [[DCACHE CHECK POOL METADATA]] as both alarms are strictly related.&lt;br /&gt;
&lt;br /&gt;
= For the Admin =&lt;br /&gt;
&lt;br /&gt;
* Berkely DB should be tunned according to the number of meta files that a pool contains. If this not correctly adapted, pool start up will may need several hours to be fully available. Gerd explained how to tune up a pool according to this number. Below I show a modified explanation of what he said, adapting the explanation to the ATLAS pools.&lt;br /&gt;
&lt;br /&gt;
* The default je.log.fileCacheSize is 100. This could be increased by creating a file je.properties and adding the 'je.log.fileCacheSize=100'.&lt;br /&gt;
&lt;br /&gt;
* Also, other relevant settings are:&lt;br /&gt;
&lt;br /&gt;
 je.maxMemory=&lt;br /&gt;
 je.maxMemoryPercent=20&lt;br /&gt;
&lt;br /&gt;
* These are equivalent. The former sets the number of bytes used for the btree cache, while the latter defines it as a percentage of the max heap size. E.g. if dcache.java.memory.heap is set to 2048m, then 410 MB is used for the btree cache.&lt;br /&gt;
&lt;br /&gt;
* The question is then how to determine a good size for the cache. There are some hidden utilities you can use to do this.&lt;br /&gt;
&lt;br /&gt;
* Below I show an example for dc042_1:&lt;br /&gt;
&lt;br /&gt;
 [root@dc042 meta]# java -cp  /usr/share/dcache/classes/je-6.3.8.jar com.sleepycat.je.util.DbPrintLog -h . -S&lt;br /&gt;
 &amp;lt;DbPrintLog&amp;gt;&lt;br /&gt;
 Log statistics:&lt;br /&gt;
                 type               total         provisional               total                 min                 max                 avg             entries&lt;br /&gt;
                                    count               count               bytes               bytes               bytes               bytes         as % of log&lt;br /&gt;
                MapLN               1,324                   0          12,617,573                  76              11,985               9,529                 0.3&lt;br /&gt;
               NameLN                   4                   0                 141                  31                  38                  35                   0&lt;br /&gt;
        FileSummaryLN             231,140                   0          55,644,337                  24              49,701                 240                 1.4&lt;br /&gt;
                   IN              84,083               1,080         296,942,059                  45               5,709               3,531                 7.7&lt;br /&gt;
                  BIN             114,865             114,865         377,569,148                  44               6,675               3,287                 9.8&lt;br /&gt;
               DbTree                 318                   0           1,034,997               2,680               4,136               3,254                   0&lt;br /&gt;
               Commit           3,376,012                   0         114,784,408                  34                  34                  34                   3&lt;br /&gt;
            CkptStart                 158                   0               4,899                  30                  33                  31                   0&lt;br /&gt;
              CkptEnd                 226                   0              22,560                  67                 186                  99                   0&lt;br /&gt;
                Trace               2,506                   0             525,597                  48                 402                 209                   0&lt;br /&gt;
           FileHeader                 385                   0              14,630                  38                  38                  38                   0&lt;br /&gt;
            DEL_LN_TX             748,055                   0          51,409,527                  57                  69                  68                 1.3&lt;br /&gt;
            INS_LN_TX             619,747                   0         192,298,301                  96               1,443                 310                   5&lt;br /&gt;
            UPD_LN_TX           2,008,226                   0         398,854,718                  32               1,919                 198                10.4&lt;br /&gt;
               UPD_LN           6,636,173                   0       1,997,042,458                  18               1,819                 300                51.9&lt;br /&gt;
          NewBINDelta             720,540             720,540         348,480,254                  55               1,782                 483                 9.1&lt;br /&gt;
            key bytes          10,012,201                             387,254,450                   1                  61                  38              (10.1)&lt;br /&gt;
           data bytes           9,264,146                           2,036,632,128                   1               1,848                 219              (52.9)&lt;br /&gt;
 &lt;br /&gt;
 Total bytes in portion of log read: 3,847,245,607&lt;br /&gt;
 Total number of entries: 14,543,762&lt;br /&gt;
 &lt;br /&gt;
 Per checkpoint interval info:&lt;br /&gt;
                lnTxn                  ln            mapLNTxn               mapLN          end to end        end to start        start to end         maxLNReplay             ckptEnd&lt;br /&gt;
                  273              63,082                   0                  10          30,455,407       3,857,456,063                   0              63,355   0x1f2f/0x6f2ef&lt;br /&gt;
                5,168             130,892                   0                  24          39,782,369       3,827,000,656                   0             136,060   0x226b/0x3a0d0&lt;br /&gt;
               27,098             132,905                   0                  15          50,120,541          16,509,395          33,611,146             160,003   0x252c/0x577ad&lt;br /&gt;
                  128              32,773                   0                   3           9,904,160       3,737,097,746                   0             134,154   0x254c/0x4014d&lt;br /&gt;
                   82              31,341                   0                  12          10,576,583       3,727,193,586                   0              31,423   0x2567/0xccd94&lt;br /&gt;
                    0                  72                   0                   4             711,899              51,780             660,119                  72   0x2567/0x17aa6f&lt;br /&gt;
               36,445              61,509                   0                   0          28,499,838       3,715,905,104                   0              97,954   0x25e5/0xc66d&lt;br /&gt;
                    2                 108                   0                   6           1,564,919              56,871           1,508,048                 110   0x25e5/0x18a764&lt;br /&gt;
               10,732              50,299                   0                   5          18,877,564       3,685,840,347                   0              61,055   0x2678/0x786e0&lt;br /&gt;
                   33                 190                   0                   6           1,627,301              94,279           1,533,022                 223   0x2678/0x205b85&lt;br /&gt;
                8,277              84,136                   0                   3          28,217,133          17,808,699          10,408,434              92,434   0x26be/0x52732&lt;br /&gt;
                5,401              25,394                   0                   7           9,824,151       3,637,118,349                   0              61,029   0x26cf/0x27849&lt;br /&gt;
               49,026              92,572                   0                   3          41,592,807       3,627,294,198                   0             141,598   0x2747/0x1ac630&lt;br /&gt;
                    2                  46                   0                   6             357,170              45,107             312,063                  48   0x2747/0x203962&lt;br /&gt;
               20,496              39,154                   0                   3          18,591,447       3,585,344,221                   0              59,654   0x27db/0xabb39&lt;br /&gt;
                    0                 154                   0                   6           1,187,463              83,676           1,103,787                 154   0x27db/0x1cd9c0&lt;br /&gt;
               17,107              49,468                   0                   3          18,905,722       3,565,565,311                   0              66,583   0x285c/0xc273a&lt;br /&gt;
                   58                   0                   0                   6             392,501              62,920             329,581                  58   0x285c/0x12246f&lt;br /&gt;
              113,890             201,969                   0                  17          79,488,418       3,546,267,088                   0             315,874   0x28ed/0xa5611&lt;br /&gt;
               22,147              98,579                   0                   8          40,657,515          36,319,235           4,338,280             120,726   0x2952/0x145e7c&lt;br /&gt;
                    0                 122                   0                   6           1,296,043              70,361           1,225,682              28,367   0x2952/0x282527&lt;br /&gt;
               19,570              65,944                   0                   5          27,570,660          25,251,492           2,319,168              85,520   0x2962/0x3138b&lt;br /&gt;
               37,714              28,889                   0                   3          21,505,514          19,337,884           2,167,630              66,613   0x297d/0x1a0c75&lt;br /&gt;
                    3                 332                   0                   6           2,437,155             124,630           2,312,525                 479   0x297d/0x3f3c98&lt;br /&gt;
               41,458              62,406                   0                   3          26,385,897       3,373,311,783                   0             103,904   0x29c7/0x81701&lt;br /&gt;
                    0                  46                   0                   6           1,404,642              46,045           1,358,597                  46   0x29c7/0x1d85e3&lt;br /&gt;
               41,443              87,747                   0                   3          39,909,271          14,624,816          25,284,455             129,198   0x29fb/0x1c237a&lt;br /&gt;
                    0                 123                   0                   5           1,185,318              68,652           1,116,666              79,470   0x29fb/0x2e39a0&lt;br /&gt;
                9,199              12,698                   0                   4           9,927,451       3,304,426,655                   0              21,899   0x2a00/0x2d1e3b&lt;br /&gt;
                    8                   0                   0                   5             118,374              35,364              83,010                   8   0x2a00/0x2eeca1&lt;br /&gt;
              122,697              96,787                   0                   3          66,966,017       3,294,380,830                   0             219,488   0x2a44/0xa122&lt;br /&gt;
               53,436              12,002                   0                   3          21,830,901       3,227,414,813                   0              65,438   0x2a53/0x1c9117&lt;br /&gt;
                   20                 167                   0                   6           1,308,679              85,964           1,222,715                 187   0x2a53/0x30891e&lt;br /&gt;
               18,552              38,805                   0                   6          17,501,977       3,204,275,233                   0              57,381   0x2a58/0xa6b37&lt;br /&gt;
                    9                 105                   0                   4             678,297              87,871             590,426                 114   0x2a58/0x14c4d0&lt;br /&gt;
               25,434              36,231                   0                  10          19,064,711       3,186,094,959                   0              61,675   0x2a5e/0x67f57&lt;br /&gt;
                   15                 159                   0                   6           1,467,746              83,228           1,384,518                 174   0x2a5e/0x1ce4b9&lt;br /&gt;
               12,236              14,099                   0                   3           8,375,785       3,165,562,502                   0              26,358   0x2a63/0x41c22&lt;br /&gt;
                    6                 184                   0                   6           1,058,988              89,948             969,040                 190   0x2a63/0x1444ce&lt;br /&gt;
               71,844              24,018                   0                   3          29,188,061          27,937,328           1,250,733              95,870   0x2aac/0x7e12b&lt;br /&gt;
                9,407              25,608                   0                   7          11,016,096       3,126,939,668                   0              35,029   0x2aba/0x17624b&lt;br /&gt;
                   20                 110                   0                   6             748,510              82,108             666,402                 130   0x2aba/0x22ce29&lt;br /&gt;
               64,997              49,072                   0                  15          27,822,548          27,438,951             383,597             114,142   0x2af3/0x1947d&lt;br /&gt;
               10,534              23,197                   0                   6          12,103,837       3,087,352,514                   0              33,737   0x2b01/0x21ae9a&lt;br /&gt;
                  122                   0                   0                  32             879,716             489,740             389,976                 122   0x2b01/0x2f1afe&lt;br /&gt;
               60,029             128,431                   0                  24          58,556,679          56,338,979           2,217,700             188,485   0x2b3c/0x191505&lt;br /&gt;
                   15                  52                   0                   6             530,374              53,795             476,579                 231   0x2b3c/0x212ccb&lt;br /&gt;
               48,799              11,045                   0                   4          18,178,427          17,837,860             340,567              59,855   0x2b41/0x56146&lt;br /&gt;
               45,998              29,564                   0                   3          20,154,236       2,997,103,481                   0              75,573   0x2b52/0x7bbc2&lt;br /&gt;
               39,570              60,757                   0                  15          30,273,541       2,976,949,245                   0             100,327   0x2b8e/0xbe847&lt;br /&gt;
               31,631              33,780                   0                  13          22,348,448          16,815,306           5,533,142              65,411   0x2bad/0x2fbde7&lt;br /&gt;
               16,831              40,178                   0                   5          20,571,223       2,924,327,256                   0              57,047   0x2bc6/0x38753e&lt;br /&gt;
                4,292              18,826                   0                   8           8,363,076       2,903,756,033                   0              23,118   0x2be9/0x1f7b02&lt;br /&gt;
                    0                 254                   0                   6           2,043,974             119,900           1,924,074                 254   0x2be9/0x3eab48&lt;br /&gt;
                   30              19,902                   0                   4           7,727,051       2,893,348,983                   0              19,954   0x2c00/0x1bfc93&lt;br /&gt;
               27,984              75,433                   0                  32          29,896,927       2,885,621,932                   0             103,417   0x2c13/0x1a69f2&lt;br /&gt;
               40,477              36,001                   0                  10          19,737,838          17,591,303           2,146,535              76,478   0x2c2a/0x1669e0&lt;br /&gt;
                    2                   2                   0                   4             194,668              36,808             157,860                  10   0x2c2a/0x19624c&lt;br /&gt;
               29,246              68,367                   0                   3          31,325,183       2,835,792,499                   0              97,615   0x2c4c/0x2d9acb&lt;br /&gt;
                    0                  26                   0                   5           1,118,302              27,604           1,090,698                  26   0x2c4c/0x3eab29&lt;br /&gt;
                    4              19,763                   0                   3           7,562,665       2,803,349,014                   0              19,775   0x2c53/0x197a52&lt;br /&gt;
                   26                 194                   0                   6           1,436,963             103,803           1,333,160                 220   0x2c53/0x2f6775&lt;br /&gt;
                6,255              14,988                   0                   8           9,972,102       2,794,349,386                   0              21,292   0x2c5f/0x2efa7b&lt;br /&gt;
               39,212              18,305                   0                   5          18,591,243       2,784,377,284                   0              57,517   0x2c8f/0x197b86&lt;br /&gt;
                    0                  41                   0                   6           1,495,215             121,720           1,373,495                  41   0x2c8f/0x304c35&lt;br /&gt;
                  347              23,340                   0                   3           7,036,643       2,764,290,826                   0              23,697   0x2c95/0x31498&lt;br /&gt;
               23,408               9,116                   0                   3          10,098,528       2,757,254,183                   0              32,524   0x2ca4/0x49578&lt;br /&gt;
               45,631              27,183                   0                   3          19,972,142       2,747,155,655                   0              72,814   0x2cad/0x428a6&lt;br /&gt;
                    0                   0                   0                   1             963,802                  69             963,733                   0   0x2cad/0x12dd80&lt;br /&gt;
                  276              19,066                   0                   4          10,705,056           5,926,693           4,778,363              19,342   0x2cc4/0x1d9fa0&lt;br /&gt;
                    0              25,292                   0                   2          10,568,825           7,122,257           3,446,568              25,292   0x2ccf/0x264d99&lt;br /&gt;
                  722              25,106                   0                   3           9,376,076       2,704,945,830                   0              26,568   0x2cd3/0x1cc865&lt;br /&gt;
                   15                  96                   0                   6             601,987              65,907             536,080                 111   0x2cd3/0x25f7e8&lt;br /&gt;
               50,662              51,942                   0                   4          29,283,798       2,694,967,767                   0             102,611   0x2d20/0x1b0a3e&lt;br /&gt;
               18,486              16,140                   0                   4          12,291,893       2,665,683,969                   0              34,626   0x2d3a/0x3e02f3&lt;br /&gt;
               67,481             104,443                   0                   5          48,233,597          15,261,303          32,972,294             171,924   0x2d79/0x230ef0&lt;br /&gt;
               19,276              34,062                   0                   3          18,103,592       2,605,158,479                   0             171,476   0x2deb/0x61f18&lt;br /&gt;
                    0                 225                   0                   6             607,824              37,538             570,286                 225   0x2deb/0xf6568&lt;br /&gt;
               14,038              14,130                   0                   3          13,699,081       2,586,447,063                   0              28,385   0x2e21/0x47d6f1&lt;br /&gt;
                4,147              13,212                   0                   3           5,363,836       2,572,747,982                   0              17,359   0x2e40/0x118ed&lt;br /&gt;
                    0                   0                   0                   4             133,826              37,921              95,905                   0   0x2e40/0x323af&lt;br /&gt;
               31,744              33,396                   0                   3          22,247,625       2,567,250,320                   0              65,140   0x2e45/0x256f78&lt;br /&gt;
                    9                   0                   0                   6             290,601              55,855             234,746                   9   0x2e45/0x29dea1&lt;br /&gt;
                   16              25,020                   0                   4          10,475,420       2,544,712,094                   0              25,039   0x2e5b/0x311fbd&lt;br /&gt;
                1,682              19,008                   0                   3           8,507,134       2,534,236,674                   0              20,690   0x2e5f/0x1a583b&lt;br /&gt;
                   12                   0                   0                   6             354,107              41,047             313,060                  12   0x2e5f/0x1fbf76&lt;br /&gt;
                6,849              54,863                   0                   3          20,176,980       2,525,375,433                   0              61,719   0x2e7d/0x2272ca&lt;br /&gt;
               30,012              67,588                   0                   5          28,465,075          27,606,214             858,861              97,600   0x2eb6/0xb06fd&lt;br /&gt;
               14,048              16,912                   0                   2           9,587,676       2,476,733,378                   0              66,881   0x2ee1/0x4bc59&lt;br /&gt;
               15,183              12,704                   0                   6          11,270,153           6,834,792           4,435,361              27,887   0x2ef4/0x181de2&lt;br /&gt;
               23,012              39,873                   0                   7          18,610,316       2,455,875,549                   0              62,948   0x2f1a/0x2e96e&lt;br /&gt;
               25,472              49,151                   0                   6          22,681,935       2,437,265,233                   0              74,623   0x2f5a/0x2bd5bd&lt;br /&gt;
                1,031              60,319                   0                   6          20,425,359       2,414,583,298                   0              61,350   0x2f66/0x32534c&lt;br /&gt;
               48,185              83,225                   0                   4          42,656,335          28,813,330          13,843,005             131,410   0x2f9d/0x5adb9b&lt;br /&gt;
               16,859              32,139                   0                   3          18,804,637          12,310,056           6,494,581              74,600   0x2fa3/0x489e38&lt;br /&gt;
               29,050              79,391                   0                   8          47,784,742          37,879,192           9,905,550             108,511   0x300a/0x26d0de&lt;br /&gt;
                   32              38,306                   0                   6          19,991,849          14,244,764           5,747,085             117,588   0x3026/0x26b107&lt;br /&gt;
                    0                  37                   0                   6             345,851              39,476             306,375              25,114   0x3026/0x2bf802&lt;br /&gt;
               17,725              34,199                   0                   3          19,155,357       2,264,574,525                   0              51,955   0x303f/0x1f149f&lt;br /&gt;
                1,379              23,909                   0                   6          10,787,679       2,245,419,168                   0              25,288   0x304f/0x2b197e&lt;br /&gt;
                    3                  12                   0                   5             297,677              34,135             263,542                  15   0x304f/0x2fa44b&lt;br /&gt;
               17,968              47,908                   0                   2          17,014,500       2,234,333,812                   0              65,891   0x306c/0x2162f&lt;br /&gt;
               45,151              19,691                   0                   3          20,592,703          18,998,392           1,594,311              64,842   0x3071/0xb216e&lt;br /&gt;
               18,246              13,219                   0                   3          14,900,440       2,196,726,609                   0              31,514   0x308d/0x55e7c6&lt;br /&gt;
                   26              12,008                   0                   5           7,554,365           4,234,132           3,320,233              12,034   0x30a1/0x309683&lt;br /&gt;
               35,556              69,762                   0                  20          31,161,221       2,174,271,804                   0             105,338   0x30c2/0x424e88&lt;br /&gt;
               33,203             114,692                   0                   5          49,168,609          43,804,782           5,363,827             147,895   0x30fd/0x359ee9&lt;br /&gt;
                  182              19,563                   0                   7          10,363,229       2,093,941,974                   0              87,398   0x310c/0x3b29c6&lt;br /&gt;
                   14              19,817                   0                   4           9,355,037           4,743,642           4,611,395              19,831   0x3110/0x315263&lt;br /&gt;
                   46              37,708                   0                   8          20,678,814          10,884,622           9,794,192              41,674   0x315c/0x3bae01&lt;br /&gt;
                   88                 279                   0                   5             761,100              44,429             716,671               3,390   0x315c/0x474b0d&lt;br /&gt;
               40,709              61,572                   0                   4          26,837,961       2,052,783,794                   0             102,607   0x3189/0x170b56&lt;br /&gt;
                   42                   0                   0                   6             814,957              77,642             737,315                  42   0x3189/0x237ac3&lt;br /&gt;
               69,126             107,504                   0                   5          52,094,116          47,372,898           4,721,218             176,645   0x31b8/0x436ee7&lt;br /&gt;
                   46                   0                   0                   5             393,197              51,476             341,721              82,129   0x31b8/0x496ed4&lt;br /&gt;
               48,348             117,823                   0                   3          48,879,763          41,965,088           6,914,675             166,196   0x3201/0x3856e7&lt;br /&gt;
               16,349              39,063                   0                   7          17,875,388          14,606,658           3,268,730              62,982   0x3208/0x17eba3&lt;br /&gt;
                  105                   0                   0                   6           3,394,912              60,919           3,333,993               2,571   0x3208/0x4bb903&lt;br /&gt;
                  217              17,310                   0                   7           5,776,110       1,902,493,500                   0              17,617   0x3210/0xb4571&lt;br /&gt;
               36,657              27,268                   0                   7          22,160,771           4,617,088          17,543,683              63,925   0x3224/0x2c3df4&lt;br /&gt;
               24,153              42,022                   0                   1          22,019,603       1,874,556,619                   0             114,113   0x3235/0x4b0f07&lt;br /&gt;
                   16              18,174                   0                   7           7,706,321       1,852,537,016                   0              18,190   0x324e/0x280f58&lt;br /&gt;
                  120              24,379                   0                   7          10,458,169       1,844,830,695                   0              24,499   0x3266/0x2f0d11&lt;br /&gt;
               14,236              34,916                   0                   3          17,998,326          12,723,415           5,274,911              49,152   0x327b/0x108207&lt;br /&gt;
                   79                   0                   0                   5             673,666              37,699             635,967               2,808   0x327b/0x1ac989&lt;br /&gt;
                6,624              22,958                   0                   3          11,999,224       1,815,700,534                   0              29,650   0x3290/0x394b01&lt;br /&gt;
               19,965              40,810                   0                   8          17,269,398       1,803,701,310                   0              60,775   0x32a7/0xfa097&lt;br /&gt;
                7,517              58,175                   0                   5          21,772,528       1,786,431,912                   0              65,692   0x32de/0x2aac87&lt;br /&gt;
                9,415              18,600                   0                   6          10,786,946       1,764,659,384                   0              28,015   0x32e1/0x36ae89&lt;br /&gt;
                   51                   0                   0                   6             622,591              52,177             570,414                  51   0x32e1/0x402e88&lt;br /&gt;
               30,139              66,899                   0                   4          30,497,693       1,753,249,847                   0              97,065   0x3315/0x47c6a5&lt;br /&gt;
                    6              41,284                   0                   1          16,342,999          12,394,744           3,948,255              41,290   0x3320/0xff97c&lt;br /&gt;
               21,091              17,059                   0                   6          11,525,646       1,706,409,155                   0              38,984   0x332b/0x27410a&lt;br /&gt;
                    0                  94                   0                   4             892,946              34,897             858,049                  94   0x332b/0x34e11c&lt;br /&gt;
                    3              52,035                   0                   3          18,160,444       1,693,990,563                   0              52,132   0x336d/0x18cf58&lt;br /&gt;
                   58              27,035                   0                   6           8,947,956       1,675,830,119                   0              27,093   0x3376/0x8c1cc&lt;br /&gt;
                    3                  66                   0                   4             501,044              49,007             452,037                  69   0x3376/0x106700&lt;br /&gt;
               27,134              44,130                   0                   4          22,994,532       1,666,381,119                   0              71,330   0x339f/0x3e1864&lt;br /&gt;
                    0                 108                   0                   4             439,894              35,044             404,850                 108   0x339f/0x44ceba&lt;br /&gt;
                   17              51,506                   0                   3          20,284,195       1,642,946,693                   0              51,631   0x33a6/0x4924dd&lt;br /&gt;
                   28              16,826                   0                   2           9,954,053       1,622,662,498                   0              16,854   0x33b6/0x487162&lt;br /&gt;
                2,079              43,231                   0                   2          20,850,856          13,682,453           7,168,403              45,310   0x33d2/0x556d0a&lt;br /&gt;
                    2              30,027                   0                   3          14,418,091           8,924,719           5,493,372              30,743   0x33d9/0x40b5&lt;br /&gt;
                    0               1,157                   0                   6           5,510,215             155,394           5,354,821               3,103   0x33d9/0x5454fc&lt;br /&gt;
               31,517              31,808                   0                   3          18,110,480       1,571,929,283                   0              64,085   0x33ee/0x37800c&lt;br /&gt;
               30,598              27,193                   0                   4          18,121,300          12,201,650           5,919,650              57,791   0x3402/0x1ad560&lt;br /&gt;
               38,905              34,440                   0                   4          18,443,706          15,100,893           3,342,813              78,249   0x340c/0x3161a&lt;br /&gt;
               51,887              95,209                   0                   4          40,262,214          29,791,799          10,470,415             152,283   0x343b/0x71660&lt;br /&gt;
                    1              28,686                   0                   7          10,081,465       1,476,991,583                   0             142,625   0x344c/0x85499&lt;br /&gt;
               28,401              13,707                   0                   3          10,169,877       1,466,910,118                   0              42,108   0x3457/0xaec2e&lt;br /&gt;
                    5              16,531                   0                   6          14,562,193           4,402,715          10,159,478              16,536   0x345b/0x50893f&lt;br /&gt;
                    0              15,920                   0                   7           9,514,322       1,442,178,048                   0              19,604   0x3460/0x492011&lt;br /&gt;
                    4              16,264                   0                   6          10,131,895       1,432,663,726                   0              16,268   0x3465/0x4b2348&lt;br /&gt;
               30,231              28,986                   0                   4          18,938,103          14,093,138           4,844,965              59,217   0x347c/0x3aef3f&lt;br /&gt;
                   14                   0                   0                   5             512,006              34,432             477,574                 120   0x347c/0x42bf45&lt;br /&gt;
               20,678              38,294                   0                   3          17,101,301       1,403,081,722                   0              58,975   0x3497/0x16843a&lt;br /&gt;
                9,869              25,099                   0                   5          12,548,707       1,385,980,421                   0              34,968   0x34b3/0x3d681d&lt;br /&gt;
               36,465              60,605                   0                   5          26,361,794          24,558,695           1,803,099              97,070   0x34d6/0x5e45f&lt;br /&gt;
                   36              23,345                   0                   3           9,621,974           6,699,792           2,922,182              23,911   0x34d9/0x1fb5&lt;br /&gt;
               25,436              49,579                   0                   7          20,880,498          18,608,524           2,271,974              75,850   0x34df/0xd8f27&lt;br /&gt;
                   32               1,485                   0                   6           4,197,555             413,166           3,784,389               1,535   0x34df/0x4d9bda&lt;br /&gt;
               31,535              59,968                   0                   5          25,248,912          24,728,797             520,115              91,849   0x3512/0x51cea&lt;br /&gt;
                1,601              24,378                   0                   6          10,268,411           8,200,696           2,067,715              26,160   0x351b/0x93565&lt;br /&gt;
               14,147              23,162                   0                   8          11,300,331       1,276,852,570                   0              37,400   0x3525/0x1d0cd0&lt;br /&gt;
               14,204              20,662                   0                   3          13,299,117       1,265,552,239                   0              34,866   0x3532/0x4f63fd&lt;br /&gt;
               17,514              24,728                   0                   3          16,797,576          12,513,187           4,284,389              42,242   0x3553/0x1e8685&lt;br /&gt;
                7,303              46,343                   0                   7          23,094,370          14,762,461           8,331,909              54,344   0x3580/0x4dbde7&lt;br /&gt;
               45,620              41,812                   0                   7          27,514,220          21,511,990           6,002,230              90,879   0x359c/0x27cfd3&lt;br /&gt;
               16,861              12,552                   0                   3           9,619,073       1,184,846,956                   0             104,424   0x35a0/0x21ffd4&lt;br /&gt;
                    0                 271                   0                   6           3,731,928              93,043           3,638,885                 271   0x35a0/0x5af1ac&lt;br /&gt;
               30,860              48,187                   0                   7          26,338,978          24,109,627           2,229,351              79,097   0x35ab/0x2314ce&lt;br /&gt;
               39,031              24,255                   0                   4          20,202,284       1,145,156,977                   0              63,301   0x35c4/0x262afa&lt;br /&gt;
                2,576              46,002                   0                   6          19,184,048           5,580,647          13,603,401              48,578   0x35dc/0x19b7aa&lt;br /&gt;
                    2                   0                   0                   6             174,028              33,089             140,939              31,536   0x35dc/0x1c5f76&lt;br /&gt;
              111,528              77,161                   0                   7          62,341,581          50,549,489          11,792,092             188,690   0x360c/0x401a43&lt;br /&gt;
               28,697              25,910                   0                   6          18,246,350          13,855,848           4,390,502              56,636   0x3618/0x255811&lt;br /&gt;
                4,335              12,127                   0                   6           9,004,926           5,130,460           3,874,466              18,985   0x3621/0x16290f&lt;br /&gt;
               18,413               8,607                   0                   5           8,878,516           7,701,363           1,177,153              27,027   0x3626/0x50c43&lt;br /&gt;
                    0               2,910                   0                   6           6,228,723             848,601           5,380,122               2,910   0x3626/0x641736&lt;br /&gt;
               28,784              22,689                   0                   3          21,119,867          14,626,185           6,493,682              52,178   0x362a/0x752db1&lt;br /&gt;
               41,676              62,528                   0                   4          34,112,988          29,303,765           4,809,223             105,238   0x363e/0x1b598d&lt;br /&gt;
                   17                 735                   0                   5          12,521,216              31,105          12,490,111               1,300   0x3643/0x41d20d&lt;br /&gt;
                7,802              34,494                   0                   7          33,127,169           7,514,191          25,612,978              43,003   0x3659/0x71898e&lt;br /&gt;
                    0               8,734                   0                   5           3,377,408         900,015,281                   0              25,130   0x365c/0xc7c0e&lt;br /&gt;
                  114               9,858                   0                   7          15,782,161             650,578          15,131,583               9,972   0x365f/0x64b69f&lt;br /&gt;
                    1              11,516                   0                   7           5,378,418         880,855,712                   0              19,548   0x3664/0x1e3191&lt;br /&gt;
                    7              22,005                   0                   7           8,922,863           6,691,187           2,231,676              22,012   0x3668/0xdc200&lt;br /&gt;
                   13              13,409                   0                   6          15,952,421             360,887          15,591,534              14,391   0x3671/0x6895a5&lt;br /&gt;
                1,749               8,568                   0                   3           3,660,457         850,602,010                   0              22,698   0x3676/0x7d9ce&lt;br /&gt;
                5,390              10,146                   0                   6          14,882,555           1,855,609          13,026,946              15,536   0x3688/0x525a49&lt;br /&gt;
               10,230               9,513                   0                   5           4,816,061         832,058,998                   0              28,465   0x3691/0x34086&lt;br /&gt;
               14,698              31,907                   0                   7          41,080,361          36,925,183           4,155,178              46,605   0x36aa/0x13bcaf&lt;br /&gt;
                    2               1,755                   0                   6           4,666,159             345,619           4,320,540              47,630   0x36aa/0x5aefde&lt;br /&gt;
               25,935              30,385                   0                   5          38,398,767         781,496,417                   0              57,119   0x36c5/0x42810d&lt;br /&gt;
                9,478              14,696                   0                   7          21,102,013         743,097,650                   0              24,174   0x36e1/0x5351ca&lt;br /&gt;
                   65              12,746                   0                   6           5,610,587           3,858,013           1,752,574              12,811   0x36ed/0x1057a5&lt;br /&gt;
                5,806               9,341                   0                   6          10,353,968           2,690,013           7,663,955              15,343   0x36fc/0x15be55&lt;br /&gt;
                    5                   0                   0                   6           4,894,393              33,744           4,860,649               5,931   0x36fc/0x606d0e&lt;br /&gt;
               28,754              58,230                   0                  18          28,401,618         701,136,689                   0              86,988   0x3708/0x480960&lt;br /&gt;
                    0              15,897                   0                   6          10,890,931           3,098,266           7,792,665              15,897   0x370a/0x55a193&lt;br /&gt;
                  126              10,927                   0                   6          26,068,972           2,214,107          23,854,865              16,100   0x372d/0x19a5ff&lt;br /&gt;
                9,837              16,155                   0                   6          11,096,409           6,346,816           4,749,593              29,696   0x3732/0x2a60d8&lt;br /&gt;
                  128              15,250                   0                   6           8,591,606           3,747,801           4,843,805              16,046   0x3734/0x14e34e&lt;br /&gt;
                  123              28,336                   0                   6          16,047,724           5,161,792          10,885,932              31,737   0x3736/0x712b3a&lt;br /&gt;
                   24               8,534                   0                   5           3,423,605           1,552,888           1,870,717              19,982   0x3740/0xcd22f&lt;br /&gt;
                  533                   0                   0                   6          20,325,930             275,776          20,050,154               3,884   0x3742/0x11cb59&lt;br /&gt;
                    0                   0                   0                   4              72,242              36,230              36,012                   0   0x3742/0x12e58b&lt;br /&gt;
               26,449              16,768                   0                   3          20,777,536         576,217,652                   0              43,217   0x3756/0x1ec2cb&lt;br /&gt;
               11,493              23,349                   0                   3          21,836,979          13,435,005           8,401,974              34,842   0x375c/0x3aca7e&lt;br /&gt;
                  309              32,239                   0                   6          17,558,766           9,588,731           7,970,035              56,790   0x3761/0x158a6c&lt;br /&gt;
                   12              26,562                   0                   7          12,407,639           6,425,279           5,982,360              27,257   0x3779/0x3a4743&lt;br /&gt;
                6,845              41,908                   0                   7          33,072,537          22,775,381          10,297,156              51,339   0x379b/0x69295c&lt;br /&gt;
                6,778              29,990                   0                   6          25,664,453          17,110,934           8,553,519              41,294   0x37a8/0x2701a1&lt;br /&gt;
                    5              16,509                   0                   9          19,648,397           8,979,547          10,668,850              44,387   0x37ae/0x21a42e&lt;br /&gt;
              116,569             137,423                   0                  12         129,250,694          72,386,145          56,864,549             267,033   0x37e2/0x163534&lt;br /&gt;
                   13              17,546                   0                   6          28,042,727              34,685          28,008,042             187,464   0x37e7/0x90ee1b&lt;br /&gt;
               33,326              30,872                   0                   6          43,125,925           9,805,827          33,320,098              81,756   0x37ec/0x280a40&lt;br /&gt;
                    3               5,332                   0                   5          19,873,538              37,653          19,835,885              30,103   0x37ef/0x261c42&lt;br /&gt;
                   17               2,306                   0                   6          19,166,423             244,987          18,921,436               7,657   0x37f1/0x196419&lt;br /&gt;
               10,753              20,277                   0                   6          40,648,779          11,079,498          29,569,281              32,618   0x37f6/0x234a64&lt;br /&gt;
                   10              22,876                   0                   6          18,391,375             164,634          18,226,741              49,034   0x37f8/0xabeb3&lt;br /&gt;
                   30              34,377                   0                   7          32,006,385           1,775,081          30,231,304              56,545   0x37fb/0x295c24&lt;br /&gt;
                    4              23,090                   0                   7          38,624,657           2,288,459          36,336,198              52,101   0x37ff/0x145fb5&lt;br /&gt;
                    6               8,689                   0                   6          27,108,848             949,959          26,158,889              24,449   0x3801/0x80d8a5&lt;br /&gt;
                    6               5,117                   0                   7          18,644,436              55,620          18,588,816              11,221   0x3803/0x6c2979&lt;br /&gt;
                  837                   0                   0                   6           6,661,670             288,422           6,373,248               5,956   0x3804/0x39391f&lt;br /&gt;
                5,863               6,917                   0                   0           3,705,888           3,705,888                   0              12,780   0x3804/0x71c53f&lt;br /&gt;
 &amp;lt;/DbPrintLog&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* This prints some statistics about the database. In particular the two rows called key bytes and data bytes are relevant. For the following step you need the values from the avg column - i.e. 38 and 219 in this case. You also need the value of “Total number of entries” (14543762 in this case). Now we take those values and put them into this command:&lt;br /&gt;
&lt;br /&gt;
 [root@dc042 meta]# java -cp  /usr/share/dcache/classes/je-*.jar com.sleepycat.je.util.DbCacheSize -records 14543762 -key 38 -data 219&lt;br /&gt;
 &lt;br /&gt;
 === Environment Cache Overhead ===&lt;br /&gt;
 &lt;br /&gt;
 3,157,213 minimum bytes&lt;br /&gt;
 &lt;br /&gt;
 To account for JE daemon operation and record locks,&lt;br /&gt;
 a significantly larger amount is needed in practice.&lt;br /&gt;
 &lt;br /&gt;
 === Database Cache Size ===&lt;br /&gt;
 &lt;br /&gt;
    Number of Bytes  Description&lt;br /&gt;
    ---------------  -----------&lt;br /&gt;
      1,195,759,832  Internal nodes only&lt;br /&gt;
      5,124,232,392  Internal nodes and leaf nodes&lt;br /&gt;
&lt;br /&gt;
* For further information see the DbCacheSize javadoc.&lt;br /&gt;
&lt;br /&gt;
* For this pool it tells us that we need a bit above 1195 MB to keep all the internal btree nodes cached. Oracle’s recommendation is that if the database is updated often, the cache is at least big enough to contain the internal nodes. Obviously you want to make it a bit bigger to leave room for it to grow. One could take this and configure the cache using the je.maxMemory setting. If the size is lower than the 20% of the max heap size you already use, then you don’t need to do anything (I do not suggest lowering it further).&lt;br /&gt;
&lt;br /&gt;
* Since this pool has 6000m of JAVA heap max space, it means that 20% = 1200MB, which is exactly cache for Internal btree nodes. So we will not touch this.&lt;br /&gt;
&lt;br /&gt;
* There is one caveat though: If you increase the cache size, less free space is left on the heap. If the pool is pushed to the limit, this may actually slow down the pool as garbage collection overhead increases. You need to ensure that enough space is left in addition to the cache (possibly by increasing the max heap size). An alternative to adjusting je.maxMemory is of course to adjust the max heap size. If you make it large enough so that 20% is enough to cache the internal btree nodes, then all is well. This may however mean you assign significantly more memory to the pool than it really needs. Yeah, there are lots of things to consider.&lt;br /&gt;
&lt;br /&gt;
* A little bonus: There is also this command:&lt;br /&gt;
&lt;br /&gt;
 [root@dc042 meta]#  java -cp  /usr/share/dcache/classes/je-*.jar com.sleepycat.je.util.DbSpace -h .&lt;br /&gt;
   File    Size (KB)  % Used&lt;br /&gt;
 --------  ---------  ------&lt;br /&gt;
 00001857       9765      41&lt;br /&gt;
 00001f2a       9765      43&lt;br /&gt;
 00001f2f       9765      39&lt;br /&gt;
 00001f72       9765      44&lt;br /&gt;
 0000216d       9765      40&lt;br /&gt;
 000021cb       9765      40&lt;br /&gt;
 0000226b       9765      45&lt;br /&gt;
 000022e8       9763      38&lt;br /&gt;
 000022fa       9765      39&lt;br /&gt;
 00002390       9765      38&lt;br /&gt;
 0000241d       9765      49&lt;br /&gt;
 0000252c       9765      51&lt;br /&gt;
 0000254c       9765      47&lt;br /&gt;
 00002567       9765      39&lt;br /&gt;
 000025b7       9765      42&lt;br /&gt;
 000025db       9765      42&lt;br /&gt;
 000025e5       9765      56&lt;br /&gt;
 0000265f       9765      39&lt;br /&gt;
 00002678       9765      61&lt;br /&gt;
 0000268d       9762      48&lt;br /&gt;
 00002692       9765      74&lt;br /&gt;
 000026be       9765      48&lt;br /&gt;
 000026cf       9765      40&lt;br /&gt;
 00002700       9765      41&lt;br /&gt;
 00002706       9765      38&lt;br /&gt;
 00002718       9765      56&lt;br /&gt;
 00002747       9765      44&lt;br /&gt;
 0000274d       9765      48&lt;br /&gt;
 000027db       9765      62&lt;br /&gt;
 00002855       9765      39&lt;br /&gt;
 0000285c       9765      39&lt;br /&gt;
 00002882       9765      41&lt;br /&gt;
 0000289d       9765      54&lt;br /&gt;
 000028ba       9765      52&lt;br /&gt;
 000028c1       9765      53&lt;br /&gt;
 000028d0       9765      41&lt;br /&gt;
 000028d7       9765      41&lt;br /&gt;
 000028e7       9765      39&lt;br /&gt;
 000028ed       9765      39&lt;br /&gt;
 00002926       9765      39&lt;br /&gt;
 0000292b       9765      43&lt;br /&gt;
 00002945       9765      41&lt;br /&gt;
 00002952       9765      41&lt;br /&gt;
 00002958       9765      62&lt;br /&gt;
 00002959       9764      38&lt;br /&gt;
 00002962       9765      53&lt;br /&gt;
 00002963       9765      47&lt;br /&gt;
 0000297d       9765      51&lt;br /&gt;
 0000297e       9765      41&lt;br /&gt;
 000029b3       9765      45&lt;br /&gt;
 000029c7       9765      56&lt;br /&gt;
 000029ce       9765      42&lt;br /&gt;
 000029d3       9765      43&lt;br /&gt;
 000029d9       9765      54&lt;br /&gt;
 000029fb       9765      42&lt;br /&gt;
 00002a00       9765      54&lt;br /&gt;
 00002a01       9765      39&lt;br /&gt;
 00002a06       9765      39&lt;br /&gt;
 00002a20       9765      45&lt;br /&gt;
 00002a26       9765      61&lt;br /&gt;
 00002a2b       9765      69&lt;br /&gt;
 00002a30       9765      65&lt;br /&gt;
 00002a44       9765      46&lt;br /&gt;
 00002a4f       9765      50&lt;br /&gt;
 00002a53       9765      64&lt;br /&gt;
 00002a54       9765      47&lt;br /&gt;
 00002a58       9765      66&lt;br /&gt;
 00002a59       9765      43&lt;br /&gt;
 00002a5e       9765      56&lt;br /&gt;
 00002a63       9765      44&lt;br /&gt;
 00002a69       9765      47&lt;br /&gt;
 00002a8f       9765      39&lt;br /&gt;
 00002aac       9765      54&lt;br /&gt;
 00002aba       9765      42&lt;br /&gt;
 00002abb       9765      44&lt;br /&gt;
 00002ae0       9763      38&lt;br /&gt;
 00002af3       9765      45&lt;br /&gt;
 00002b01       9765      41&lt;br /&gt;
 00002b08       9765      65&lt;br /&gt;
 00002b0e       9765      41&lt;br /&gt;
 00002b24       9765      45&lt;br /&gt;
 00002b28       9765      61&lt;br /&gt;
 00002b29       9765      41&lt;br /&gt;
 00002b3c       9765      40&lt;br /&gt;
 00002b3d       9765      40&lt;br /&gt;
 00002b41       9765      47&lt;br /&gt;
 00002b4c       9765      46&lt;br /&gt;
 00002b52       9765      57&lt;br /&gt;
 00002b64       9765      38&lt;br /&gt;
 00002b87       9765      38&lt;br /&gt;
 00002b8e       9765      47&lt;br /&gt;
 00002b8f       9760      38&lt;br /&gt;
 00002bad       9765      42&lt;br /&gt;
 00002bbf       9765      44&lt;br /&gt;
 00002bc6       9765      38&lt;br /&gt;
 00002be9       9765      47&lt;br /&gt;
 00002c00       9765      42&lt;br /&gt;
 00002c06       9765      69&lt;br /&gt;
 00002c0c       9765      55&lt;br /&gt;
 00002c13       9765      38&lt;br /&gt;
 00002c14       9765      38&lt;br /&gt;
 00002c2a       9765      41&lt;br /&gt;
 00002c2b       9765      41&lt;br /&gt;
 00002c30       9765      54&lt;br /&gt;
 00002c4c       9765      39&lt;br /&gt;
 00002c53       9765      45&lt;br /&gt;
 00002c5f       9765      44&lt;br /&gt;
 00002c7c       9765      38&lt;br /&gt;
 00002c8f       9765      49&lt;br /&gt;
 00002c95       9765      38&lt;br /&gt;
 00002ca4       9764      50&lt;br /&gt;
 00002ca9       9765      42&lt;br /&gt;
 00002cad       9763      41&lt;br /&gt;
 00002cc4       9765      39&lt;br /&gt;
 00002ccf       9765      43&lt;br /&gt;
 00002cd3       9765      45&lt;br /&gt;
 00002cf3       9765      48&lt;br /&gt;
 00002d19       9765      38&lt;br /&gt;
 00002d20       9765      38&lt;br /&gt;
 00002d3a       9765      40&lt;br /&gt;
 00002d3b       9765      41&lt;br /&gt;
 00002d41       9765      43&lt;br /&gt;
 00002d51       9765      39&lt;br /&gt;
 00002d59       9765      40&lt;br /&gt;
 00002d79       9765      62&lt;br /&gt;
 00002d8f       9765      39&lt;br /&gt;
 00002deb       9765      40&lt;br /&gt;
 00002e21       9765      39&lt;br /&gt;
 00002e40       9765      41&lt;br /&gt;
 00002e41       9765      45&lt;br /&gt;
 00002e45       9765      40&lt;br /&gt;
 00002e5b       9765      58&lt;br /&gt;
 00002e5f       9765      49&lt;br /&gt;
 00002e60       9765      67&lt;br /&gt;
 00002e7d       9765      48&lt;br /&gt;
 00002e95       9765      38&lt;br /&gt;
 00002eb1       9762      57&lt;br /&gt;
 00002eb6       9765      53&lt;br /&gt;
 00002ee1       9765      38&lt;br /&gt;
 00002ef4       9763      43&lt;br /&gt;
 00002ef8       9765      41&lt;br /&gt;
 00002f1a       9765      53&lt;br /&gt;
 00002f25       9765      65&lt;br /&gt;
 00002f5a       9765      52&lt;br /&gt;
 00002f5f       9765      63&lt;br /&gt;
 00002f66       9765      41&lt;br /&gt;
 00002f71       9765      42&lt;br /&gt;
 00002f79       9765      61&lt;br /&gt;
 00002f87       9765      49&lt;br /&gt;
 00002f9d       9765      41&lt;br /&gt;
 00002f9e       9765      42&lt;br /&gt;
 00002fa3       9765      38&lt;br /&gt;
 00002fa4       9765      46&lt;br /&gt;
 00002fb1       9762      55&lt;br /&gt;
 00002fc1       9765      41&lt;br /&gt;
 00002fde       9765      38&lt;br /&gt;
 0000300a       9765      43&lt;br /&gt;
 0000300e       9762      47&lt;br /&gt;
 00003026       9765      55&lt;br /&gt;
 00003027       9765      57&lt;br /&gt;
 0000303f       9765      63&lt;br /&gt;
 0000304f       9765      48&lt;br /&gt;
 00003056       9765      44&lt;br /&gt;
 0000306c       9765      48&lt;br /&gt;
 0000306d       9765      42&lt;br /&gt;
 00003071       9765      45&lt;br /&gt;
 0000308d       9765      39&lt;br /&gt;
 000030a1       9765      54&lt;br /&gt;
 000030a5       9765      51&lt;br /&gt;
 000030ab       9765      60&lt;br /&gt;
 000030c2       9765      46&lt;br /&gt;
 000030d5       9765      43&lt;br /&gt;
 000030dd       9765      38&lt;br /&gt;
 000030e3       9765      57&lt;br /&gt;
 000030e4       9765      55&lt;br /&gt;
 000030fd       9765      48&lt;br /&gt;
 0000310c       9764      42&lt;br /&gt;
 00003110       9765      46&lt;br /&gt;
 00003119       9765      47&lt;br /&gt;
 0000315c       9765      48&lt;br /&gt;
 0000315d       9765      54&lt;br /&gt;
 00003185       9765      56&lt;br /&gt;
 00003189       9765      52&lt;br /&gt;
 0000318a       9765      58&lt;br /&gt;
 0000319a       9765      46&lt;br /&gt;
 0000319f       9764      39&lt;br /&gt;
 000031b5       9764      53&lt;br /&gt;
 000031b8       9765      40&lt;br /&gt;
 000031b9       9765      74&lt;br /&gt;
 000031e2       9765      65&lt;br /&gt;
 000031fa       9765      58&lt;br /&gt;
 000031fb       9765      52&lt;br /&gt;
 00003201       9765      50&lt;br /&gt;
 00003202       9764      44&lt;br /&gt;
 00003208       9765      42&lt;br /&gt;
 00003210       9763      40&lt;br /&gt;
 00003218       9765      40&lt;br /&gt;
 00003224       9765      51&lt;br /&gt;
 00003229       9765      48&lt;br /&gt;
 00003235       9765      40&lt;br /&gt;
 0000324e       9765      46&lt;br /&gt;
 00003266       9765      41&lt;br /&gt;
 0000326c       9764      47&lt;br /&gt;
 0000327b       9765      55&lt;br /&gt;
 00003290       9765      48&lt;br /&gt;
 00003294       9765      56&lt;br /&gt;
 000032a7       9765      69&lt;br /&gt;
 000032ad       9765      62&lt;br /&gt;
 000032de       9765      47&lt;br /&gt;
 000032e1       9765      46&lt;br /&gt;
 000032e2       9765      71&lt;br /&gt;
 000032e9       9765      45&lt;br /&gt;
 00003315       9765      42&lt;br /&gt;
 00003316       9764      54&lt;br /&gt;
 00003320       9765      43&lt;br /&gt;
 0000332b       9765      52&lt;br /&gt;
 0000332c       9765      76&lt;br /&gt;
 0000336d       9765      69&lt;br /&gt;
 00003376       9765      72&lt;br /&gt;
 00003377       9765      46&lt;br /&gt;
 0000339f       9765      43&lt;br /&gt;
 000033a0       9765      75&lt;br /&gt;
 000033a6       9765      46&lt;br /&gt;
 000033b6       9765      40&lt;br /&gt;
 000033c0       9764      72&lt;br /&gt;
 000033d2       9765      38&lt;br /&gt;
 000033d3       9764      45&lt;br /&gt;
 000033d9       9765      42&lt;br /&gt;
 000033da       9765      44&lt;br /&gt;
 000033ee       9765      41&lt;br /&gt;
 000033fb       9764      38&lt;br /&gt;
 00003402       9765      42&lt;br /&gt;
 00003403       9765      53&lt;br /&gt;
 0000340c       9765      76&lt;br /&gt;
 00003428       9765      67&lt;br /&gt;
 00003431       9765      51&lt;br /&gt;
 00003436       9765      88&lt;br /&gt;
 0000343b       9765      85&lt;br /&gt;
 0000344c       9765      48&lt;br /&gt;
 00003457       9765      46&lt;br /&gt;
 0000345b       9765      46&lt;br /&gt;
 00003460       9765      50&lt;br /&gt;
 00003465       9765      45&lt;br /&gt;
 00003466       9762      40&lt;br /&gt;
 0000347c       9765      54&lt;br /&gt;
 0000347d       9765      61&lt;br /&gt;
 00003497       9765      63&lt;br /&gt;
 000034b3       9765      64&lt;br /&gt;
 000034bd       9765      54&lt;br /&gt;
 000034c9       9764      71&lt;br /&gt;
 000034d6       9765      65&lt;br /&gt;
 000034d9       9765      86&lt;br /&gt;
 000034da       9765      46&lt;br /&gt;
 000034df       9765      51&lt;br /&gt;
 000034e0       9764      60&lt;br /&gt;
 00003504       9762      80&lt;br /&gt;
 00003512       9761      76&lt;br /&gt;
 0000351b       9765      65&lt;br /&gt;
 00003525       9765      59&lt;br /&gt;
 00003532       9765      52&lt;br /&gt;
 00003540       9764      43&lt;br /&gt;
 00003553       9765      80&lt;br /&gt;
 00003558       9765      54&lt;br /&gt;
 00003580       9762      49&lt;br /&gt;
 00003586       9765      41&lt;br /&gt;
 00003587       9763      50&lt;br /&gt;
 0000359c       9765      40&lt;br /&gt;
 000035a0       9765      46&lt;br /&gt;
 000035a1       9765      37&lt;br /&gt;
 000035a6       9765      96&lt;br /&gt;
 000035ab       9765      52&lt;br /&gt;
 000035ac       9765      39&lt;br /&gt;
 000035c4       9765      61&lt;br /&gt;
 000035d0       9765      89&lt;br /&gt;
 000035dc       9765      74&lt;br /&gt;
 000035dd       9765      43&lt;br /&gt;
 000035f1       9765      43&lt;br /&gt;
 000035fd       9765      37&lt;br /&gt;
 00003604       9765      47&lt;br /&gt;
 00003609       9764      40&lt;br /&gt;
 0000360c       9765      59&lt;br /&gt;
 0000360d       9765      37&lt;br /&gt;
 00003618       9763      42&lt;br /&gt;
 00003621       9765      42&lt;br /&gt;
 00003626       9765      42&lt;br /&gt;
 00003627       9765      41&lt;br /&gt;
 0000362a       9765      38&lt;br /&gt;
 0000362b       9765      73&lt;br /&gt;
 00003630       9765      68&lt;br /&gt;
 00003631       9764      42&lt;br /&gt;
 0000363e       9763      39&lt;br /&gt;
 00003643       9765      43&lt;br /&gt;
 00003646       9765      38&lt;br /&gt;
 0000364c       9762      40&lt;br /&gt;
 00003659       9765      47&lt;br /&gt;
 0000365c       9764      44&lt;br /&gt;
 0000365f       9765      45&lt;br /&gt;
 00003664       9765      69&lt;br /&gt;
 00003668       9764      37&lt;br /&gt;
 00003671       9765      43&lt;br /&gt;
 00003676       9765      39&lt;br /&gt;
 00003688       9765      37&lt;br /&gt;
 00003691       9765      48&lt;br /&gt;
 00003692       9764      37&lt;br /&gt;
 00003695       9762      38&lt;br /&gt;
 000036a3       9764      50&lt;br /&gt;
 000036aa       9765      47&lt;br /&gt;
 000036ab       9765      49&lt;br /&gt;
 000036c2       9765      64&lt;br /&gt;
 000036c3       9764      57&lt;br /&gt;
 000036c5       9765      40&lt;br /&gt;
 000036da       9764      40&lt;br /&gt;
 000036e1       9765      43&lt;br /&gt;
 000036ed       9762      39&lt;br /&gt;
 000036fc       9765      41&lt;br /&gt;
 000036fd       9765      59&lt;br /&gt;
 00003701       9764      85&lt;br /&gt;
 00003708       9765      43&lt;br /&gt;
 0000370a       9763      49&lt;br /&gt;
 00003728       9762      41&lt;br /&gt;
 0000372a       9763      55&lt;br /&gt;
 0000372d       9765      51&lt;br /&gt;
 00003732       9763      48&lt;br /&gt;
 00003734       9765      60&lt;br /&gt;
 00003736       9765      42&lt;br /&gt;
 00003740       9765      48&lt;br /&gt;
 00003741       9765      39&lt;br /&gt;
 00003742       9765      38&lt;br /&gt;
 00003749       9764      40&lt;br /&gt;
 00003756       9763      39&lt;br /&gt;
 00003758       9762      46&lt;br /&gt;
 0000375c       9765      67&lt;br /&gt;
 0000375d       9765      37&lt;br /&gt;
 00003761       9765      63&lt;br /&gt;
 00003779       9765      55&lt;br /&gt;
 00003785       9765      43&lt;br /&gt;
 00003798       9763      60&lt;br /&gt;
 0000379b       9765      41&lt;br /&gt;
 0000379e       9765      37&lt;br /&gt;
 000037a5       9764      39&lt;br /&gt;
 000037a8       9764      48&lt;br /&gt;
 000037ab       9765      38&lt;br /&gt;
 000037ae       9765      54&lt;br /&gt;
 000037b3       9764      42&lt;br /&gt;
 000037b6       9761      36&lt;br /&gt;
 000037be       9763      46&lt;br /&gt;
 000037c1       9765      69&lt;br /&gt;
 000037c3       9765      36&lt;br /&gt;
 000037c4       9764      37&lt;br /&gt;
 000037ce       9762      50&lt;br /&gt;
 000037d1       9761      45&lt;br /&gt;
 000037d3       9765      45&lt;br /&gt;
 000037dd       9765      45&lt;br /&gt;
 000037df       9765      50&lt;br /&gt;
 000037e0       9763      39&lt;br /&gt;
 000037e2       9765      13&lt;br /&gt;
 000037e3       9763      18&lt;br /&gt;
 000037e7       9765      49&lt;br /&gt;
 000037e8       9763      41&lt;br /&gt;
 000037e9       9765      42&lt;br /&gt;
 000037ea       9763      40&lt;br /&gt;
 000037eb       9765      39&lt;br /&gt;
 000037ec       9761      39&lt;br /&gt;
 000037ed       9763      41&lt;br /&gt;
 000037ef       9763      36&lt;br /&gt;
 000037f0       9764      36&lt;br /&gt;
 000037f1       9764      39&lt;br /&gt;
 000037f3       9765      41&lt;br /&gt;
 000037f4       9761      53&lt;br /&gt;
 000037f5       9765      36&lt;br /&gt;
 000037f6       9765      54&lt;br /&gt;
 000037f7       9763      53&lt;br /&gt;
 000037f8       9765      63&lt;br /&gt;
 000037f9       9765      60&lt;br /&gt;
 000037fa       9765      70&lt;br /&gt;
 000037fb       9765      76&lt;br /&gt;
 000037fc       9765      72&lt;br /&gt;
 000037fd       9765      73&lt;br /&gt;
 000037fe       9765      83&lt;br /&gt;
 000037ff       9765      87&lt;br /&gt;
 00003800       9765      89&lt;br /&gt;
 00003801       9762      86&lt;br /&gt;
 00003802       9763      88&lt;br /&gt;
 00003803       9764      90&lt;br /&gt;
 00003804       8110      76&lt;br /&gt;
  TOTALS     3757891      49&lt;br /&gt;
&lt;br /&gt;
* It will tell you for each of the database files (the log segments) how big it is and what the utilization is. The Berkeley DB will try to keep the total utilization above 50%, but for a small pool like this one it cannot do it. I figure that you may find this interesting to know after reading about utilization above.&lt;br /&gt;
&lt;br /&gt;
* The log segment size and the utilization goal can be adjusted too, but I cannot give any sound advice on whether that’s a good idea and how to determine good values.&lt;br /&gt;
&lt;br /&gt;
* All of the above is only relevant if you use the Berkeley DB backend for pools.&lt;br /&gt;
&lt;br /&gt;
== Special thanks ==&lt;br /&gt;
* This documentation has been deployed thanks to Gerd Behrmann, you can find more in at: https://gist.github.com/gbehrmann/df1abbe45c03356eff2e&lt;br /&gt;
* Read more about this at: https://backstage.forgerock.com/knowledge/kb/book/b74223337/a49979000&lt;/div&gt;</summary>
		<author><name>Mcaubet</name></author>
	</entry>
	<entry>
		<id>https://pwiki.pic.es/index.php?title=DCACHE_CHECK_POOL_METADATA&amp;diff=227</id>
		<title>DCACHE CHECK POOL METADATA</title>
		<link rel="alternate" type="text/html" href="https://pwiki.pic.es/index.php?title=DCACHE_CHECK_POOL_METADATA&amp;diff=227"/>
		<updated>2017-10-06T08:31:09Z</updated>

		<summary type="html">&lt;p&gt;Mcaubet: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= For the MoD =&lt;br /&gt;
* Open a ticket to incidents@support.pic.es with the alarm. &lt;br /&gt;
* This alarm only affects the duration of the pool start up, nothing has to be done until the next working day where this can be fixed by dCache Administrators.&lt;br /&gt;
* Same information as [[DCACHE CHECK POOL BTREE MEMORY]] as both alarms are strictly related.&lt;br /&gt;
&lt;br /&gt;
= For the Admin =&lt;br /&gt;
&lt;br /&gt;
* Berkely DB should be tunned according to the number of meta files that a pool contains. If this not correctly adapted, pool start up will may need several hours to be fully available. Gerd explained how to tune up a pool according to this number. Below I show a modified explanation of what he said, adapting the explanation to the ATLAS pools.&lt;br /&gt;
&lt;br /&gt;
* The default je.log.fileCacheSize is 100. This could be increased by creating a file je.properties and adding the 'je.log.fileCacheSize=100'.&lt;br /&gt;
&lt;br /&gt;
* Also, other relevant settings are:&lt;br /&gt;
&lt;br /&gt;
 je.maxMemory=&lt;br /&gt;
 je.maxMemoryPercent=20&lt;br /&gt;
&lt;br /&gt;
* These are equivalent. The former sets the number of bytes used for the btree cache, while the latter defines it as a percentage of the max heap size. E.g. if dcache.java.memory.heap is set to 2048m, then 410 MB is used for the btree cache.&lt;br /&gt;
&lt;br /&gt;
* The question is then how to determine a good size for the cache. There are some hidden utilities you can use to do this.&lt;br /&gt;
&lt;br /&gt;
* Below I show an example for dc042_1:&lt;br /&gt;
&lt;br /&gt;
 [root@dc042 meta]# java -cp  /usr/share/dcache/classes/je-*.jar com.sleepycat.je.util.DbPrintLog -h . -S&lt;br /&gt;
 &amp;lt;DbPrintLog&amp;gt;&lt;br /&gt;
 Log statistics:&lt;br /&gt;
                 type               total         provisional               total                 min                 max                 avg             entries&lt;br /&gt;
                                    count               count               bytes               bytes               bytes               bytes         as % of log&lt;br /&gt;
                MapLN               1,324                   0          12,617,573                  76              11,985               9,529                 0.3&lt;br /&gt;
               NameLN                   4                   0                 141                  31                  38                  35                   0&lt;br /&gt;
        FileSummaryLN             231,140                   0          55,644,337                  24              49,701                 240                 1.4&lt;br /&gt;
                   IN              84,083               1,080         296,942,059                  45               5,709               3,531                 7.7&lt;br /&gt;
                  BIN             114,865             114,865         377,569,148                  44               6,675               3,287                 9.8&lt;br /&gt;
               DbTree                 318                   0           1,034,997               2,680               4,136               3,254                   0&lt;br /&gt;
               Commit           3,376,012                   0         114,784,408                  34                  34                  34                   3&lt;br /&gt;
            CkptStart                 158                   0               4,899                  30                  33                  31                   0&lt;br /&gt;
              CkptEnd                 226                   0              22,560                  67                 186                  99                   0&lt;br /&gt;
                Trace               2,506                   0             525,597                  48                 402                 209                   0&lt;br /&gt;
           FileHeader                 385                   0              14,630                  38                  38                  38                   0&lt;br /&gt;
            DEL_LN_TX             748,055                   0          51,409,527                  57                  69                  68                 1.3&lt;br /&gt;
            INS_LN_TX             619,747                   0         192,298,301                  96               1,443                 310                   5&lt;br /&gt;
            UPD_LN_TX           2,008,226                   0         398,854,718                  32               1,919                 198                10.4&lt;br /&gt;
               UPD_LN           6,636,173                   0       1,997,042,458                  18               1,819                 300                51.9&lt;br /&gt;
          NewBINDelta             720,540             720,540         348,480,254                  55               1,782                 483                 9.1&lt;br /&gt;
            key bytes          10,012,201                             387,254,450                   1                  61                  38              (10.1)&lt;br /&gt;
           data bytes           9,264,146                           2,036,632,128                   1               1,848                 219              (52.9)&lt;br /&gt;
 &lt;br /&gt;
 Total bytes in portion of log read: 3,847,245,607&lt;br /&gt;
 Total number of entries: 14,543,762&lt;br /&gt;
 &lt;br /&gt;
 Per checkpoint interval info:&lt;br /&gt;
                lnTxn                  ln            mapLNTxn               mapLN          end to end        end to start        start to end         maxLNReplay             ckptEnd&lt;br /&gt;
                  273              63,082                   0                  10          30,455,407       3,857,456,063                   0              63,355   0x1f2f/0x6f2ef&lt;br /&gt;
                5,168             130,892                   0                  24          39,782,369       3,827,000,656                   0             136,060   0x226b/0x3a0d0&lt;br /&gt;
               27,098             132,905                   0                  15          50,120,541          16,509,395          33,611,146             160,003   0x252c/0x577ad&lt;br /&gt;
                  128              32,773                   0                   3           9,904,160       3,737,097,746                   0             134,154   0x254c/0x4014d&lt;br /&gt;
                   82              31,341                   0                  12          10,576,583       3,727,193,586                   0              31,423   0x2567/0xccd94&lt;br /&gt;
                    0                  72                   0                   4             711,899              51,780             660,119                  72   0x2567/0x17aa6f&lt;br /&gt;
               36,445              61,509                   0                   0          28,499,838       3,715,905,104                   0              97,954   0x25e5/0xc66d&lt;br /&gt;
                    2                 108                   0                   6           1,564,919              56,871           1,508,048                 110   0x25e5/0x18a764&lt;br /&gt;
               10,732              50,299                   0                   5          18,877,564       3,685,840,347                   0              61,055   0x2678/0x786e0&lt;br /&gt;
                   33                 190                   0                   6           1,627,301              94,279           1,533,022                 223   0x2678/0x205b85&lt;br /&gt;
                8,277              84,136                   0                   3          28,217,133          17,808,699          10,408,434              92,434   0x26be/0x52732&lt;br /&gt;
                5,401              25,394                   0                   7           9,824,151       3,637,118,349                   0              61,029   0x26cf/0x27849&lt;br /&gt;
               49,026              92,572                   0                   3          41,592,807       3,627,294,198                   0             141,598   0x2747/0x1ac630&lt;br /&gt;
                    2                  46                   0                   6             357,170              45,107             312,063                  48   0x2747/0x203962&lt;br /&gt;
               20,496              39,154                   0                   3          18,591,447       3,585,344,221                   0              59,654   0x27db/0xabb39&lt;br /&gt;
                    0                 154                   0                   6           1,187,463              83,676           1,103,787                 154   0x27db/0x1cd9c0&lt;br /&gt;
               17,107              49,468                   0                   3          18,905,722       3,565,565,311                   0              66,583   0x285c/0xc273a&lt;br /&gt;
                   58                   0                   0                   6             392,501              62,920             329,581                  58   0x285c/0x12246f&lt;br /&gt;
              113,890             201,969                   0                  17          79,488,418       3,546,267,088                   0             315,874   0x28ed/0xa5611&lt;br /&gt;
               22,147              98,579                   0                   8          40,657,515          36,319,235           4,338,280             120,726   0x2952/0x145e7c&lt;br /&gt;
                    0                 122                   0                   6           1,296,043              70,361           1,225,682              28,367   0x2952/0x282527&lt;br /&gt;
               19,570              65,944                   0                   5          27,570,660          25,251,492           2,319,168              85,520   0x2962/0x3138b&lt;br /&gt;
               37,714              28,889                   0                   3          21,505,514          19,337,884           2,167,630              66,613   0x297d/0x1a0c75&lt;br /&gt;
                    3                 332                   0                   6           2,437,155             124,630           2,312,525                 479   0x297d/0x3f3c98&lt;br /&gt;
               41,458              62,406                   0                   3          26,385,897       3,373,311,783                   0             103,904   0x29c7/0x81701&lt;br /&gt;
                    0                  46                   0                   6           1,404,642              46,045           1,358,597                  46   0x29c7/0x1d85e3&lt;br /&gt;
               41,443              87,747                   0                   3          39,909,271          14,624,816          25,284,455             129,198   0x29fb/0x1c237a&lt;br /&gt;
                    0                 123                   0                   5           1,185,318              68,652           1,116,666              79,470   0x29fb/0x2e39a0&lt;br /&gt;
                9,199              12,698                   0                   4           9,927,451       3,304,426,655                   0              21,899   0x2a00/0x2d1e3b&lt;br /&gt;
                    8                   0                   0                   5             118,374              35,364              83,010                   8   0x2a00/0x2eeca1&lt;br /&gt;
              122,697              96,787                   0                   3          66,966,017       3,294,380,830                   0             219,488   0x2a44/0xa122&lt;br /&gt;
               53,436              12,002                   0                   3          21,830,901       3,227,414,813                   0              65,438   0x2a53/0x1c9117&lt;br /&gt;
                   20                 167                   0                   6           1,308,679              85,964           1,222,715                 187   0x2a53/0x30891e&lt;br /&gt;
               18,552              38,805                   0                   6          17,501,977       3,204,275,233                   0              57,381   0x2a58/0xa6b37&lt;br /&gt;
                    9                 105                   0                   4             678,297              87,871             590,426                 114   0x2a58/0x14c4d0&lt;br /&gt;
               25,434              36,231                   0                  10          19,064,711       3,186,094,959                   0              61,675   0x2a5e/0x67f57&lt;br /&gt;
                   15                 159                   0                   6           1,467,746              83,228           1,384,518                 174   0x2a5e/0x1ce4b9&lt;br /&gt;
               12,236              14,099                   0                   3           8,375,785       3,165,562,502                   0              26,358   0x2a63/0x41c22&lt;br /&gt;
                    6                 184                   0                   6           1,058,988              89,948             969,040                 190   0x2a63/0x1444ce&lt;br /&gt;
               71,844              24,018                   0                   3          29,188,061          27,937,328           1,250,733              95,870   0x2aac/0x7e12b&lt;br /&gt;
                9,407              25,608                   0                   7          11,016,096       3,126,939,668                   0              35,029   0x2aba/0x17624b&lt;br /&gt;
                   20                 110                   0                   6             748,510              82,108             666,402                 130   0x2aba/0x22ce29&lt;br /&gt;
               64,997              49,072                   0                  15          27,822,548          27,438,951             383,597             114,142   0x2af3/0x1947d&lt;br /&gt;
               10,534              23,197                   0                   6          12,103,837       3,087,352,514                   0              33,737   0x2b01/0x21ae9a&lt;br /&gt;
                  122                   0                   0                  32             879,716             489,740             389,976                 122   0x2b01/0x2f1afe&lt;br /&gt;
               60,029             128,431                   0                  24          58,556,679          56,338,979           2,217,700             188,485   0x2b3c/0x191505&lt;br /&gt;
                   15                  52                   0                   6             530,374              53,795             476,579                 231   0x2b3c/0x212ccb&lt;br /&gt;
               48,799              11,045                   0                   4          18,178,427          17,837,860             340,567              59,855   0x2b41/0x56146&lt;br /&gt;
               45,998              29,564                   0                   3          20,154,236       2,997,103,481                   0              75,573   0x2b52/0x7bbc2&lt;br /&gt;
               39,570              60,757                   0                  15          30,273,541       2,976,949,245                   0             100,327   0x2b8e/0xbe847&lt;br /&gt;
               31,631              33,780                   0                  13          22,348,448          16,815,306           5,533,142              65,411   0x2bad/0x2fbde7&lt;br /&gt;
               16,831              40,178                   0                   5          20,571,223       2,924,327,256                   0              57,047   0x2bc6/0x38753e&lt;br /&gt;
                4,292              18,826                   0                   8           8,363,076       2,903,756,033                   0              23,118   0x2be9/0x1f7b02&lt;br /&gt;
                    0                 254                   0                   6           2,043,974             119,900           1,924,074                 254   0x2be9/0x3eab48&lt;br /&gt;
                   30              19,902                   0                   4           7,727,051       2,893,348,983                   0              19,954   0x2c00/0x1bfc93&lt;br /&gt;
               27,984              75,433                   0                  32          29,896,927       2,885,621,932                   0             103,417   0x2c13/0x1a69f2&lt;br /&gt;
               40,477              36,001                   0                  10          19,737,838          17,591,303           2,146,535              76,478   0x2c2a/0x1669e0&lt;br /&gt;
                    2                   2                   0                   4             194,668              36,808             157,860                  10   0x2c2a/0x19624c&lt;br /&gt;
               29,246              68,367                   0                   3          31,325,183       2,835,792,499                   0              97,615   0x2c4c/0x2d9acb&lt;br /&gt;
                    0                  26                   0                   5           1,118,302              27,604           1,090,698                  26   0x2c4c/0x3eab29&lt;br /&gt;
                    4              19,763                   0                   3           7,562,665       2,803,349,014                   0              19,775   0x2c53/0x197a52&lt;br /&gt;
                   26                 194                   0                   6           1,436,963             103,803           1,333,160                 220   0x2c53/0x2f6775&lt;br /&gt;
                6,255              14,988                   0                   8           9,972,102       2,794,349,386                   0              21,292   0x2c5f/0x2efa7b&lt;br /&gt;
               39,212              18,305                   0                   5          18,591,243       2,784,377,284                   0              57,517   0x2c8f/0x197b86&lt;br /&gt;
                    0                  41                   0                   6           1,495,215             121,720           1,373,495                  41   0x2c8f/0x304c35&lt;br /&gt;
                  347              23,340                   0                   3           7,036,643       2,764,290,826                   0              23,697   0x2c95/0x31498&lt;br /&gt;
               23,408               9,116                   0                   3          10,098,528       2,757,254,183                   0              32,524   0x2ca4/0x49578&lt;br /&gt;
               45,631              27,183                   0                   3          19,972,142       2,747,155,655                   0              72,814   0x2cad/0x428a6&lt;br /&gt;
                    0                   0                   0                   1             963,802                  69             963,733                   0   0x2cad/0x12dd80&lt;br /&gt;
                  276              19,066                   0                   4          10,705,056           5,926,693           4,778,363              19,342   0x2cc4/0x1d9fa0&lt;br /&gt;
                    0              25,292                   0                   2          10,568,825           7,122,257           3,446,568              25,292   0x2ccf/0x264d99&lt;br /&gt;
                  722              25,106                   0                   3           9,376,076       2,704,945,830                   0              26,568   0x2cd3/0x1cc865&lt;br /&gt;
                   15                  96                   0                   6             601,987              65,907             536,080                 111   0x2cd3/0x25f7e8&lt;br /&gt;
               50,662              51,942                   0                   4          29,283,798       2,694,967,767                   0             102,611   0x2d20/0x1b0a3e&lt;br /&gt;
               18,486              16,140                   0                   4          12,291,893       2,665,683,969                   0              34,626   0x2d3a/0x3e02f3&lt;br /&gt;
               67,481             104,443                   0                   5          48,233,597          15,261,303          32,972,294             171,924   0x2d79/0x230ef0&lt;br /&gt;
               19,276              34,062                   0                   3          18,103,592       2,605,158,479                   0             171,476   0x2deb/0x61f18&lt;br /&gt;
                    0                 225                   0                   6             607,824              37,538             570,286                 225   0x2deb/0xf6568&lt;br /&gt;
               14,038              14,130                   0                   3          13,699,081       2,586,447,063                   0              28,385   0x2e21/0x47d6f1&lt;br /&gt;
                4,147              13,212                   0                   3           5,363,836       2,572,747,982                   0              17,359   0x2e40/0x118ed&lt;br /&gt;
                    0                   0                   0                   4             133,826              37,921              95,905                   0   0x2e40/0x323af&lt;br /&gt;
               31,744              33,396                   0                   3          22,247,625       2,567,250,320                   0              65,140   0x2e45/0x256f78&lt;br /&gt;
                    9                   0                   0                   6             290,601              55,855             234,746                   9   0x2e45/0x29dea1&lt;br /&gt;
                   16              25,020                   0                   4          10,475,420       2,544,712,094                   0              25,039   0x2e5b/0x311fbd&lt;br /&gt;
                1,682              19,008                   0                   3           8,507,134       2,534,236,674                   0              20,690   0x2e5f/0x1a583b&lt;br /&gt;
                   12                   0                   0                   6             354,107              41,047             313,060                  12   0x2e5f/0x1fbf76&lt;br /&gt;
                6,849              54,863                   0                   3          20,176,980       2,525,375,433                   0              61,719   0x2e7d/0x2272ca&lt;br /&gt;
               30,012              67,588                   0                   5          28,465,075          27,606,214             858,861              97,600   0x2eb6/0xb06fd&lt;br /&gt;
               14,048              16,912                   0                   2           9,587,676       2,476,733,378                   0              66,881   0x2ee1/0x4bc59&lt;br /&gt;
               15,183              12,704                   0                   6          11,270,153           6,834,792           4,435,361              27,887   0x2ef4/0x181de2&lt;br /&gt;
               23,012              39,873                   0                   7          18,610,316       2,455,875,549                   0              62,948   0x2f1a/0x2e96e&lt;br /&gt;
               25,472              49,151                   0                   6          22,681,935       2,437,265,233                   0              74,623   0x2f5a/0x2bd5bd&lt;br /&gt;
                1,031              60,319                   0                   6          20,425,359       2,414,583,298                   0              61,350   0x2f66/0x32534c&lt;br /&gt;
               48,185              83,225                   0                   4          42,656,335          28,813,330          13,843,005             131,410   0x2f9d/0x5adb9b&lt;br /&gt;
               16,859              32,139                   0                   3          18,804,637          12,310,056           6,494,581              74,600   0x2fa3/0x489e38&lt;br /&gt;
               29,050              79,391                   0                   8          47,784,742          37,879,192           9,905,550             108,511   0x300a/0x26d0de&lt;br /&gt;
                   32              38,306                   0                   6          19,991,849          14,244,764           5,747,085             117,588   0x3026/0x26b107&lt;br /&gt;
                    0                  37                   0                   6             345,851              39,476             306,375              25,114   0x3026/0x2bf802&lt;br /&gt;
               17,725              34,199                   0                   3          19,155,357       2,264,574,525                   0              51,955   0x303f/0x1f149f&lt;br /&gt;
                1,379              23,909                   0                   6          10,787,679       2,245,419,168                   0              25,288   0x304f/0x2b197e&lt;br /&gt;
                    3                  12                   0                   5             297,677              34,135             263,542                  15   0x304f/0x2fa44b&lt;br /&gt;
               17,968              47,908                   0                   2          17,014,500       2,234,333,812                   0              65,891   0x306c/0x2162f&lt;br /&gt;
               45,151              19,691                   0                   3          20,592,703          18,998,392           1,594,311              64,842   0x3071/0xb216e&lt;br /&gt;
               18,246              13,219                   0                   3          14,900,440       2,196,726,609                   0              31,514   0x308d/0x55e7c6&lt;br /&gt;
                   26              12,008                   0                   5           7,554,365           4,234,132           3,320,233              12,034   0x30a1/0x309683&lt;br /&gt;
               35,556              69,762                   0                  20          31,161,221       2,174,271,804                   0             105,338   0x30c2/0x424e88&lt;br /&gt;
               33,203             114,692                   0                   5          49,168,609          43,804,782           5,363,827             147,895   0x30fd/0x359ee9&lt;br /&gt;
                  182              19,563                   0                   7          10,363,229       2,093,941,974                   0              87,398   0x310c/0x3b29c6&lt;br /&gt;
                   14              19,817                   0                   4           9,355,037           4,743,642           4,611,395              19,831   0x3110/0x315263&lt;br /&gt;
                   46              37,708                   0                   8          20,678,814          10,884,622           9,794,192              41,674   0x315c/0x3bae01&lt;br /&gt;
                   88                 279                   0                   5             761,100              44,429             716,671               3,390   0x315c/0x474b0d&lt;br /&gt;
               40,709              61,572                   0                   4          26,837,961       2,052,783,794                   0             102,607   0x3189/0x170b56&lt;br /&gt;
                   42                   0                   0                   6             814,957              77,642             737,315                  42   0x3189/0x237ac3&lt;br /&gt;
               69,126             107,504                   0                   5          52,094,116          47,372,898           4,721,218             176,645   0x31b8/0x436ee7&lt;br /&gt;
                   46                   0                   0                   5             393,197              51,476             341,721              82,129   0x31b8/0x496ed4&lt;br /&gt;
               48,348             117,823                   0                   3          48,879,763          41,965,088           6,914,675             166,196   0x3201/0x3856e7&lt;br /&gt;
               16,349              39,063                   0                   7          17,875,388          14,606,658           3,268,730              62,982   0x3208/0x17eba3&lt;br /&gt;
                  105                   0                   0                   6           3,394,912              60,919           3,333,993               2,571   0x3208/0x4bb903&lt;br /&gt;
                  217              17,310                   0                   7           5,776,110       1,902,493,500                   0              17,617   0x3210/0xb4571&lt;br /&gt;
               36,657              27,268                   0                   7          22,160,771           4,617,088          17,543,683              63,925   0x3224/0x2c3df4&lt;br /&gt;
               24,153              42,022                   0                   1          22,019,603       1,874,556,619                   0             114,113   0x3235/0x4b0f07&lt;br /&gt;
                   16              18,174                   0                   7           7,706,321       1,852,537,016                   0              18,190   0x324e/0x280f58&lt;br /&gt;
                  120              24,379                   0                   7          10,458,169       1,844,830,695                   0              24,499   0x3266/0x2f0d11&lt;br /&gt;
               14,236              34,916                   0                   3          17,998,326          12,723,415           5,274,911              49,152   0x327b/0x108207&lt;br /&gt;
                   79                   0                   0                   5             673,666              37,699             635,967               2,808   0x327b/0x1ac989&lt;br /&gt;
                6,624              22,958                   0                   3          11,999,224       1,815,700,534                   0              29,650   0x3290/0x394b01&lt;br /&gt;
               19,965              40,810                   0                   8          17,269,398       1,803,701,310                   0              60,775   0x32a7/0xfa097&lt;br /&gt;
                7,517              58,175                   0                   5          21,772,528       1,786,431,912                   0              65,692   0x32de/0x2aac87&lt;br /&gt;
                9,415              18,600                   0                   6          10,786,946       1,764,659,384                   0              28,015   0x32e1/0x36ae89&lt;br /&gt;
                   51                   0                   0                   6             622,591              52,177             570,414                  51   0x32e1/0x402e88&lt;br /&gt;
               30,139              66,899                   0                   4          30,497,693       1,753,249,847                   0              97,065   0x3315/0x47c6a5&lt;br /&gt;
                    6              41,284                   0                   1          16,342,999          12,394,744           3,948,255              41,290   0x3320/0xff97c&lt;br /&gt;
               21,091              17,059                   0                   6          11,525,646       1,706,409,155                   0              38,984   0x332b/0x27410a&lt;br /&gt;
                    0                  94                   0                   4             892,946              34,897             858,049                  94   0x332b/0x34e11c&lt;br /&gt;
                    3              52,035                   0                   3          18,160,444       1,693,990,563                   0              52,132   0x336d/0x18cf58&lt;br /&gt;
                   58              27,035                   0                   6           8,947,956       1,675,830,119                   0              27,093   0x3376/0x8c1cc&lt;br /&gt;
                    3                  66                   0                   4             501,044              49,007             452,037                  69   0x3376/0x106700&lt;br /&gt;
               27,134              44,130                   0                   4          22,994,532       1,666,381,119                   0              71,330   0x339f/0x3e1864&lt;br /&gt;
                    0                 108                   0                   4             439,894              35,044             404,850                 108   0x339f/0x44ceba&lt;br /&gt;
                   17              51,506                   0                   3          20,284,195       1,642,946,693                   0              51,631   0x33a6/0x4924dd&lt;br /&gt;
                   28              16,826                   0                   2           9,954,053       1,622,662,498                   0              16,854   0x33b6/0x487162&lt;br /&gt;
                2,079              43,231                   0                   2          20,850,856          13,682,453           7,168,403              45,310   0x33d2/0x556d0a&lt;br /&gt;
                    2              30,027                   0                   3          14,418,091           8,924,719           5,493,372              30,743   0x33d9/0x40b5&lt;br /&gt;
                    0               1,157                   0                   6           5,510,215             155,394           5,354,821               3,103   0x33d9/0x5454fc&lt;br /&gt;
               31,517              31,808                   0                   3          18,110,480       1,571,929,283                   0              64,085   0x33ee/0x37800c&lt;br /&gt;
               30,598              27,193                   0                   4          18,121,300          12,201,650           5,919,650              57,791   0x3402/0x1ad560&lt;br /&gt;
               38,905              34,440                   0                   4          18,443,706          15,100,893           3,342,813              78,249   0x340c/0x3161a&lt;br /&gt;
               51,887              95,209                   0                   4          40,262,214          29,791,799          10,470,415             152,283   0x343b/0x71660&lt;br /&gt;
                    1              28,686                   0                   7          10,081,465       1,476,991,583                   0             142,625   0x344c/0x85499&lt;br /&gt;
               28,401              13,707                   0                   3          10,169,877       1,466,910,118                   0              42,108   0x3457/0xaec2e&lt;br /&gt;
                    5              16,531                   0                   6          14,562,193           4,402,715          10,159,478              16,536   0x345b/0x50893f&lt;br /&gt;
                    0              15,920                   0                   7           9,514,322       1,442,178,048                   0              19,604   0x3460/0x492011&lt;br /&gt;
                    4              16,264                   0                   6          10,131,895       1,432,663,726                   0              16,268   0x3465/0x4b2348&lt;br /&gt;
               30,231              28,986                   0                   4          18,938,103          14,093,138           4,844,965              59,217   0x347c/0x3aef3f&lt;br /&gt;
                   14                   0                   0                   5             512,006              34,432             477,574                 120   0x347c/0x42bf45&lt;br /&gt;
               20,678              38,294                   0                   3          17,101,301       1,403,081,722                   0              58,975   0x3497/0x16843a&lt;br /&gt;
                9,869              25,099                   0                   5          12,548,707       1,385,980,421                   0              34,968   0x34b3/0x3d681d&lt;br /&gt;
               36,465              60,605                   0                   5          26,361,794          24,558,695           1,803,099              97,070   0x34d6/0x5e45f&lt;br /&gt;
                   36              23,345                   0                   3           9,621,974           6,699,792           2,922,182              23,911   0x34d9/0x1fb5&lt;br /&gt;
               25,436              49,579                   0                   7          20,880,498          18,608,524           2,271,974              75,850   0x34df/0xd8f27&lt;br /&gt;
                   32               1,485                   0                   6           4,197,555             413,166           3,784,389               1,535   0x34df/0x4d9bda&lt;br /&gt;
               31,535              59,968                   0                   5          25,248,912          24,728,797             520,115              91,849   0x3512/0x51cea&lt;br /&gt;
                1,601              24,378                   0                   6          10,268,411           8,200,696           2,067,715              26,160   0x351b/0x93565&lt;br /&gt;
               14,147              23,162                   0                   8          11,300,331       1,276,852,570                   0              37,400   0x3525/0x1d0cd0&lt;br /&gt;
               14,204              20,662                   0                   3          13,299,117       1,265,552,239                   0              34,866   0x3532/0x4f63fd&lt;br /&gt;
               17,514              24,728                   0                   3          16,797,576          12,513,187           4,284,389              42,242   0x3553/0x1e8685&lt;br /&gt;
                7,303              46,343                   0                   7          23,094,370          14,762,461           8,331,909              54,344   0x3580/0x4dbde7&lt;br /&gt;
               45,620              41,812                   0                   7          27,514,220          21,511,990           6,002,230              90,879   0x359c/0x27cfd3&lt;br /&gt;
               16,861              12,552                   0                   3           9,619,073       1,184,846,956                   0             104,424   0x35a0/0x21ffd4&lt;br /&gt;
                    0                 271                   0                   6           3,731,928              93,043           3,638,885                 271   0x35a0/0x5af1ac&lt;br /&gt;
               30,860              48,187                   0                   7          26,338,978          24,109,627           2,229,351              79,097   0x35ab/0x2314ce&lt;br /&gt;
               39,031              24,255                   0                   4          20,202,284       1,145,156,977                   0              63,301   0x35c4/0x262afa&lt;br /&gt;
                2,576              46,002                   0                   6          19,184,048           5,580,647          13,603,401              48,578   0x35dc/0x19b7aa&lt;br /&gt;
                    2                   0                   0                   6             174,028              33,089             140,939              31,536   0x35dc/0x1c5f76&lt;br /&gt;
              111,528              77,161                   0                   7          62,341,581          50,549,489          11,792,092             188,690   0x360c/0x401a43&lt;br /&gt;
               28,697              25,910                   0                   6          18,246,350          13,855,848           4,390,502              56,636   0x3618/0x255811&lt;br /&gt;
                4,335              12,127                   0                   6           9,004,926           5,130,460           3,874,466              18,985   0x3621/0x16290f&lt;br /&gt;
               18,413               8,607                   0                   5           8,878,516           7,701,363           1,177,153              27,027   0x3626/0x50c43&lt;br /&gt;
                    0               2,910                   0                   6           6,228,723             848,601           5,380,122               2,910   0x3626/0x641736&lt;br /&gt;
               28,784              22,689                   0                   3          21,119,867          14,626,185           6,493,682              52,178   0x362a/0x752db1&lt;br /&gt;
               41,676              62,528                   0                   4          34,112,988          29,303,765           4,809,223             105,238   0x363e/0x1b598d&lt;br /&gt;
                   17                 735                   0                   5          12,521,216              31,105          12,490,111               1,300   0x3643/0x41d20d&lt;br /&gt;
                7,802              34,494                   0                   7          33,127,169           7,514,191          25,612,978              43,003   0x3659/0x71898e&lt;br /&gt;
                    0               8,734                   0                   5           3,377,408         900,015,281                   0              25,130   0x365c/0xc7c0e&lt;br /&gt;
                  114               9,858                   0                   7          15,782,161             650,578          15,131,583               9,972   0x365f/0x64b69f&lt;br /&gt;
                    1              11,516                   0                   7           5,378,418         880,855,712                   0              19,548   0x3664/0x1e3191&lt;br /&gt;
                    7              22,005                   0                   7           8,922,863           6,691,187           2,231,676              22,012   0x3668/0xdc200&lt;br /&gt;
                   13              13,409                   0                   6          15,952,421             360,887          15,591,534              14,391   0x3671/0x6895a5&lt;br /&gt;
                1,749               8,568                   0                   3           3,660,457         850,602,010                   0              22,698   0x3676/0x7d9ce&lt;br /&gt;
                5,390              10,146                   0                   6          14,882,555           1,855,609          13,026,946              15,536   0x3688/0x525a49&lt;br /&gt;
               10,230               9,513                   0                   5           4,816,061         832,058,998                   0              28,465   0x3691/0x34086&lt;br /&gt;
               14,698              31,907                   0                   7          41,080,361          36,925,183           4,155,178              46,605   0x36aa/0x13bcaf&lt;br /&gt;
                    2               1,755                   0                   6           4,666,159             345,619           4,320,540              47,630   0x36aa/0x5aefde&lt;br /&gt;
               25,935              30,385                   0                   5          38,398,767         781,496,417                   0              57,119   0x36c5/0x42810d&lt;br /&gt;
                9,478              14,696                   0                   7          21,102,013         743,097,650                   0              24,174   0x36e1/0x5351ca&lt;br /&gt;
                   65              12,746                   0                   6           5,610,587           3,858,013           1,752,574              12,811   0x36ed/0x1057a5&lt;br /&gt;
                5,806               9,341                   0                   6          10,353,968           2,690,013           7,663,955              15,343   0x36fc/0x15be55&lt;br /&gt;
                    5                   0                   0                   6           4,894,393              33,744           4,860,649               5,931   0x36fc/0x606d0e&lt;br /&gt;
               28,754              58,230                   0                  18          28,401,618         701,136,689                   0              86,988   0x3708/0x480960&lt;br /&gt;
                    0              15,897                   0                   6          10,890,931           3,098,266           7,792,665              15,897   0x370a/0x55a193&lt;br /&gt;
                  126              10,927                   0                   6          26,068,972           2,214,107          23,854,865              16,100   0x372d/0x19a5ff&lt;br /&gt;
                9,837              16,155                   0                   6          11,096,409           6,346,816           4,749,593              29,696   0x3732/0x2a60d8&lt;br /&gt;
                  128              15,250                   0                   6           8,591,606           3,747,801           4,843,805              16,046   0x3734/0x14e34e&lt;br /&gt;
                  123              28,336                   0                   6          16,047,724           5,161,792          10,885,932              31,737   0x3736/0x712b3a&lt;br /&gt;
                   24               8,534                   0                   5           3,423,605           1,552,888           1,870,717              19,982   0x3740/0xcd22f&lt;br /&gt;
                  533                   0                   0                   6          20,325,930             275,776          20,050,154               3,884   0x3742/0x11cb59&lt;br /&gt;
                    0                   0                   0                   4              72,242              36,230              36,012                   0   0x3742/0x12e58b&lt;br /&gt;
               26,449              16,768                   0                   3          20,777,536         576,217,652                   0              43,217   0x3756/0x1ec2cb&lt;br /&gt;
               11,493              23,349                   0                   3          21,836,979          13,435,005           8,401,974              34,842   0x375c/0x3aca7e&lt;br /&gt;
                  309              32,239                   0                   6          17,558,766           9,588,731           7,970,035              56,790   0x3761/0x158a6c&lt;br /&gt;
                   12              26,562                   0                   7          12,407,639           6,425,279           5,982,360              27,257   0x3779/0x3a4743&lt;br /&gt;
                6,845              41,908                   0                   7          33,072,537          22,775,381          10,297,156              51,339   0x379b/0x69295c&lt;br /&gt;
                6,778              29,990                   0                   6          25,664,453          17,110,934           8,553,519              41,294   0x37a8/0x2701a1&lt;br /&gt;
                    5              16,509                   0                   9          19,648,397           8,979,547          10,668,850              44,387   0x37ae/0x21a42e&lt;br /&gt;
              116,569             137,423                   0                  12         129,250,694          72,386,145          56,864,549             267,033   0x37e2/0x163534&lt;br /&gt;
                   13              17,546                   0                   6          28,042,727              34,685          28,008,042             187,464   0x37e7/0x90ee1b&lt;br /&gt;
               33,326              30,872                   0                   6          43,125,925           9,805,827          33,320,098              81,756   0x37ec/0x280a40&lt;br /&gt;
                    3               5,332                   0                   5          19,873,538              37,653          19,835,885              30,103   0x37ef/0x261c42&lt;br /&gt;
                   17               2,306                   0                   6          19,166,423             244,987          18,921,436               7,657   0x37f1/0x196419&lt;br /&gt;
               10,753              20,277                   0                   6          40,648,779          11,079,498          29,569,281              32,618   0x37f6/0x234a64&lt;br /&gt;
                   10              22,876                   0                   6          18,391,375             164,634          18,226,741              49,034   0x37f8/0xabeb3&lt;br /&gt;
                   30              34,377                   0                   7          32,006,385           1,775,081          30,231,304              56,545   0x37fb/0x295c24&lt;br /&gt;
                    4              23,090                   0                   7          38,624,657           2,288,459          36,336,198              52,101   0x37ff/0x145fb5&lt;br /&gt;
                    6               8,689                   0                   6          27,108,848             949,959          26,158,889              24,449   0x3801/0x80d8a5&lt;br /&gt;
                    6               5,117                   0                   7          18,644,436              55,620          18,588,816              11,221   0x3803/0x6c2979&lt;br /&gt;
                  837                   0                   0                   6           6,661,670             288,422           6,373,248               5,956   0x3804/0x39391f&lt;br /&gt;
                5,863               6,917                   0                   0           3,705,888           3,705,888                   0              12,780   0x3804/0x71c53f&lt;br /&gt;
 &amp;lt;/DbPrintLog&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* This prints some statistics about the database. In particular the two rows called key bytes and data bytes are relevant. For the following step you need the values from the avg column - i.e. 38 and 219 in this case. You also need the value of “Total number of entries” (14543762 in this case). Now we take those values and put them into this command:&lt;br /&gt;
&lt;br /&gt;
 [root@dc042 meta]# java -cp  /usr/share/dcache/classes/je-*.jar com.sleepycat.je.util.DbCacheSize -records 14543762 -key 38 -data 219&lt;br /&gt;
 &lt;br /&gt;
 === Environment Cache Overhead ===&lt;br /&gt;
 &lt;br /&gt;
 3,157,213 minimum bytes&lt;br /&gt;
 &lt;br /&gt;
 To account for JE daemon operation and record locks,&lt;br /&gt;
 a significantly larger amount is needed in practice.&lt;br /&gt;
 &lt;br /&gt;
 === Database Cache Size ===&lt;br /&gt;
 &lt;br /&gt;
    Number of Bytes  Description&lt;br /&gt;
    ---------------  -----------&lt;br /&gt;
      1,195,759,832  Internal nodes only&lt;br /&gt;
      5,124,232,392  Internal nodes and leaf nodes&lt;br /&gt;
&lt;br /&gt;
* For further information see the DbCacheSize javadoc.&lt;br /&gt;
&lt;br /&gt;
* For this pool it tells us that we need a bit above 1195 MB to keep all the internal btree nodes cached. Oracle’s recommendation is that if the database is updated often, the cache is at least big enough to contain the internal nodes. Obviously you want to make it a bit bigger to leave room for it to grow. One could take this and configure the cache using the je.maxMemory setting. If the size is lower than the 20% of the max heap size you already use, then you don’t need to do anything (I do not suggest lowering it further).&lt;br /&gt;
&lt;br /&gt;
* Since this pool has 6000m of JAVA heap max space, it means that 20% = 1200MB, which is exactly cache for Internal btree nodes. So we will not touch this.&lt;br /&gt;
&lt;br /&gt;
* There is one caveat though: If you increase the cache size, less free space is left on the heap. If the pool is pushed to the limit, this may actually slow down the pool as garbage collection overhead increases. You need to ensure that enough space is left in addition to the cache (possibly by increasing the max heap size). An alternative to adjusting je.maxMemory is of course to adjust the max heap size. If you make it large enough so that 20% is enough to cache the internal btree nodes, then all is well. This may however mean you assign significantly more memory to the pool than it really needs. Yeah, there are lots of things to consider.&lt;br /&gt;
&lt;br /&gt;
* A little bonus: There is also this command:&lt;br /&gt;
&lt;br /&gt;
 [root@dc042 meta]#  java -cp  /usr/share/dcache/classes/je-*.jar com.sleepycat.je.util.DbSpace -h .&lt;br /&gt;
   File    Size (KB)  % Used&lt;br /&gt;
 --------  ---------  ------&lt;br /&gt;
 00001857       9765      41&lt;br /&gt;
 00001f2a       9765      43&lt;br /&gt;
 00001f2f       9765      39&lt;br /&gt;
 00001f72       9765      44&lt;br /&gt;
 0000216d       9765      40&lt;br /&gt;
 000021cb       9765      40&lt;br /&gt;
 0000226b       9765      45&lt;br /&gt;
 000022e8       9763      38&lt;br /&gt;
 000022fa       9765      39&lt;br /&gt;
 00002390       9765      38&lt;br /&gt;
 0000241d       9765      49&lt;br /&gt;
 0000252c       9765      51&lt;br /&gt;
 0000254c       9765      47&lt;br /&gt;
 00002567       9765      39&lt;br /&gt;
 000025b7       9765      42&lt;br /&gt;
 000025db       9765      42&lt;br /&gt;
 000025e5       9765      56&lt;br /&gt;
 0000265f       9765      39&lt;br /&gt;
 00002678       9765      61&lt;br /&gt;
 0000268d       9762      48&lt;br /&gt;
 00002692       9765      74&lt;br /&gt;
 000026be       9765      48&lt;br /&gt;
 000026cf       9765      40&lt;br /&gt;
 00002700       9765      41&lt;br /&gt;
 00002706       9765      38&lt;br /&gt;
 00002718       9765      56&lt;br /&gt;
 00002747       9765      44&lt;br /&gt;
 0000274d       9765      48&lt;br /&gt;
 000027db       9765      62&lt;br /&gt;
 00002855       9765      39&lt;br /&gt;
 0000285c       9765      39&lt;br /&gt;
 00002882       9765      41&lt;br /&gt;
 0000289d       9765      54&lt;br /&gt;
 000028ba       9765      52&lt;br /&gt;
 000028c1       9765      53&lt;br /&gt;
 000028d0       9765      41&lt;br /&gt;
 000028d7       9765      41&lt;br /&gt;
 000028e7       9765      39&lt;br /&gt;
 000028ed       9765      39&lt;br /&gt;
 00002926       9765      39&lt;br /&gt;
 0000292b       9765      43&lt;br /&gt;
 00002945       9765      41&lt;br /&gt;
 00002952       9765      41&lt;br /&gt;
 00002958       9765      62&lt;br /&gt;
 00002959       9764      38&lt;br /&gt;
 00002962       9765      53&lt;br /&gt;
 00002963       9765      47&lt;br /&gt;
 0000297d       9765      51&lt;br /&gt;
 0000297e       9765      41&lt;br /&gt;
 000029b3       9765      45&lt;br /&gt;
 000029c7       9765      56&lt;br /&gt;
 000029ce       9765      42&lt;br /&gt;
 000029d3       9765      43&lt;br /&gt;
 000029d9       9765      54&lt;br /&gt;
 000029fb       9765      42&lt;br /&gt;
 00002a00       9765      54&lt;br /&gt;
 00002a01       9765      39&lt;br /&gt;
 00002a06       9765      39&lt;br /&gt;
 00002a20       9765      45&lt;br /&gt;
 00002a26       9765      61&lt;br /&gt;
 00002a2b       9765      69&lt;br /&gt;
 00002a30       9765      65&lt;br /&gt;
 00002a44       9765      46&lt;br /&gt;
 00002a4f       9765      50&lt;br /&gt;
 00002a53       9765      64&lt;br /&gt;
 00002a54       9765      47&lt;br /&gt;
 00002a58       9765      66&lt;br /&gt;
 00002a59       9765      43&lt;br /&gt;
 00002a5e       9765      56&lt;br /&gt;
 00002a63       9765      44&lt;br /&gt;
 00002a69       9765      47&lt;br /&gt;
 00002a8f       9765      39&lt;br /&gt;
 00002aac       9765      54&lt;br /&gt;
 00002aba       9765      42&lt;br /&gt;
 00002abb       9765      44&lt;br /&gt;
 00002ae0       9763      38&lt;br /&gt;
 00002af3       9765      45&lt;br /&gt;
 00002b01       9765      41&lt;br /&gt;
 00002b08       9765      65&lt;br /&gt;
 00002b0e       9765      41&lt;br /&gt;
 00002b24       9765      45&lt;br /&gt;
 00002b28       9765      61&lt;br /&gt;
 00002b29       9765      41&lt;br /&gt;
 00002b3c       9765      40&lt;br /&gt;
 00002b3d       9765      40&lt;br /&gt;
 00002b41       9765      47&lt;br /&gt;
 00002b4c       9765      46&lt;br /&gt;
 00002b52       9765      57&lt;br /&gt;
 00002b64       9765      38&lt;br /&gt;
 00002b87       9765      38&lt;br /&gt;
 00002b8e       9765      47&lt;br /&gt;
 00002b8f       9760      38&lt;br /&gt;
 00002bad       9765      42&lt;br /&gt;
 00002bbf       9765      44&lt;br /&gt;
 00002bc6       9765      38&lt;br /&gt;
 00002be9       9765      47&lt;br /&gt;
 00002c00       9765      42&lt;br /&gt;
 00002c06       9765      69&lt;br /&gt;
 00002c0c       9765      55&lt;br /&gt;
 00002c13       9765      38&lt;br /&gt;
 00002c14       9765      38&lt;br /&gt;
 00002c2a       9765      41&lt;br /&gt;
 00002c2b       9765      41&lt;br /&gt;
 00002c30       9765      54&lt;br /&gt;
 00002c4c       9765      39&lt;br /&gt;
 00002c53       9765      45&lt;br /&gt;
 00002c5f       9765      44&lt;br /&gt;
 00002c7c       9765      38&lt;br /&gt;
 00002c8f       9765      49&lt;br /&gt;
 00002c95       9765      38&lt;br /&gt;
 00002ca4       9764      50&lt;br /&gt;
 00002ca9       9765      42&lt;br /&gt;
 00002cad       9763      41&lt;br /&gt;
 00002cc4       9765      39&lt;br /&gt;
 00002ccf       9765      43&lt;br /&gt;
 00002cd3       9765      45&lt;br /&gt;
 00002cf3       9765      48&lt;br /&gt;
 00002d19       9765      38&lt;br /&gt;
 00002d20       9765      38&lt;br /&gt;
 00002d3a       9765      40&lt;br /&gt;
 00002d3b       9765      41&lt;br /&gt;
 00002d41       9765      43&lt;br /&gt;
 00002d51       9765      39&lt;br /&gt;
 00002d59       9765      40&lt;br /&gt;
 00002d79       9765      62&lt;br /&gt;
 00002d8f       9765      39&lt;br /&gt;
 00002deb       9765      40&lt;br /&gt;
 00002e21       9765      39&lt;br /&gt;
 00002e40       9765      41&lt;br /&gt;
 00002e41       9765      45&lt;br /&gt;
 00002e45       9765      40&lt;br /&gt;
 00002e5b       9765      58&lt;br /&gt;
 00002e5f       9765      49&lt;br /&gt;
 00002e60       9765      67&lt;br /&gt;
 00002e7d       9765      48&lt;br /&gt;
 00002e95       9765      38&lt;br /&gt;
 00002eb1       9762      57&lt;br /&gt;
 00002eb6       9765      53&lt;br /&gt;
 00002ee1       9765      38&lt;br /&gt;
 00002ef4       9763      43&lt;br /&gt;
 00002ef8       9765      41&lt;br /&gt;
 00002f1a       9765      53&lt;br /&gt;
 00002f25       9765      65&lt;br /&gt;
 00002f5a       9765      52&lt;br /&gt;
 00002f5f       9765      63&lt;br /&gt;
 00002f66       9765      41&lt;br /&gt;
 00002f71       9765      42&lt;br /&gt;
 00002f79       9765      61&lt;br /&gt;
 00002f87       9765      49&lt;br /&gt;
 00002f9d       9765      41&lt;br /&gt;
 00002f9e       9765      42&lt;br /&gt;
 00002fa3       9765      38&lt;br /&gt;
 00002fa4       9765      46&lt;br /&gt;
 00002fb1       9762      55&lt;br /&gt;
 00002fc1       9765      41&lt;br /&gt;
 00002fde       9765      38&lt;br /&gt;
 0000300a       9765      43&lt;br /&gt;
 0000300e       9762      47&lt;br /&gt;
 00003026       9765      55&lt;br /&gt;
 00003027       9765      57&lt;br /&gt;
 0000303f       9765      63&lt;br /&gt;
 0000304f       9765      48&lt;br /&gt;
 00003056       9765      44&lt;br /&gt;
 0000306c       9765      48&lt;br /&gt;
 0000306d       9765      42&lt;br /&gt;
 00003071       9765      45&lt;br /&gt;
 0000308d       9765      39&lt;br /&gt;
 000030a1       9765      54&lt;br /&gt;
 000030a5       9765      51&lt;br /&gt;
 000030ab       9765      60&lt;br /&gt;
 000030c2       9765      46&lt;br /&gt;
 000030d5       9765      43&lt;br /&gt;
 000030dd       9765      38&lt;br /&gt;
 000030e3       9765      57&lt;br /&gt;
 000030e4       9765      55&lt;br /&gt;
 000030fd       9765      48&lt;br /&gt;
 0000310c       9764      42&lt;br /&gt;
 00003110       9765      46&lt;br /&gt;
 00003119       9765      47&lt;br /&gt;
 0000315c       9765      48&lt;br /&gt;
 0000315d       9765      54&lt;br /&gt;
 00003185       9765      56&lt;br /&gt;
 00003189       9765      52&lt;br /&gt;
 0000318a       9765      58&lt;br /&gt;
 0000319a       9765      46&lt;br /&gt;
 0000319f       9764      39&lt;br /&gt;
 000031b5       9764      53&lt;br /&gt;
 000031b8       9765      40&lt;br /&gt;
 000031b9       9765      74&lt;br /&gt;
 000031e2       9765      65&lt;br /&gt;
 000031fa       9765      58&lt;br /&gt;
 000031fb       9765      52&lt;br /&gt;
 00003201       9765      50&lt;br /&gt;
 00003202       9764      44&lt;br /&gt;
 00003208       9765      42&lt;br /&gt;
 00003210       9763      40&lt;br /&gt;
 00003218       9765      40&lt;br /&gt;
 00003224       9765      51&lt;br /&gt;
 00003229       9765      48&lt;br /&gt;
 00003235       9765      40&lt;br /&gt;
 0000324e       9765      46&lt;br /&gt;
 00003266       9765      41&lt;br /&gt;
 0000326c       9764      47&lt;br /&gt;
 0000327b       9765      55&lt;br /&gt;
 00003290       9765      48&lt;br /&gt;
 00003294       9765      56&lt;br /&gt;
 000032a7       9765      69&lt;br /&gt;
 000032ad       9765      62&lt;br /&gt;
 000032de       9765      47&lt;br /&gt;
 000032e1       9765      46&lt;br /&gt;
 000032e2       9765      71&lt;br /&gt;
 000032e9       9765      45&lt;br /&gt;
 00003315       9765      42&lt;br /&gt;
 00003316       9764      54&lt;br /&gt;
 00003320       9765      43&lt;br /&gt;
 0000332b       9765      52&lt;br /&gt;
 0000332c       9765      76&lt;br /&gt;
 0000336d       9765      69&lt;br /&gt;
 00003376       9765      72&lt;br /&gt;
 00003377       9765      46&lt;br /&gt;
 0000339f       9765      43&lt;br /&gt;
 000033a0       9765      75&lt;br /&gt;
 000033a6       9765      46&lt;br /&gt;
 000033b6       9765      40&lt;br /&gt;
 000033c0       9764      72&lt;br /&gt;
 000033d2       9765      38&lt;br /&gt;
 000033d3       9764      45&lt;br /&gt;
 000033d9       9765      42&lt;br /&gt;
 000033da       9765      44&lt;br /&gt;
 000033ee       9765      41&lt;br /&gt;
 000033fb       9764      38&lt;br /&gt;
 00003402       9765      42&lt;br /&gt;
 00003403       9765      53&lt;br /&gt;
 0000340c       9765      76&lt;br /&gt;
 00003428       9765      67&lt;br /&gt;
 00003431       9765      51&lt;br /&gt;
 00003436       9765      88&lt;br /&gt;
 0000343b       9765      85&lt;br /&gt;
 0000344c       9765      48&lt;br /&gt;
 00003457       9765      46&lt;br /&gt;
 0000345b       9765      46&lt;br /&gt;
 00003460       9765      50&lt;br /&gt;
 00003465       9765      45&lt;br /&gt;
 00003466       9762      40&lt;br /&gt;
 0000347c       9765      54&lt;br /&gt;
 0000347d       9765      61&lt;br /&gt;
 00003497       9765      63&lt;br /&gt;
 000034b3       9765      64&lt;br /&gt;
 000034bd       9765      54&lt;br /&gt;
 000034c9       9764      71&lt;br /&gt;
 000034d6       9765      65&lt;br /&gt;
 000034d9       9765      86&lt;br /&gt;
 000034da       9765      46&lt;br /&gt;
 000034df       9765      51&lt;br /&gt;
 000034e0       9764      60&lt;br /&gt;
 00003504       9762      80&lt;br /&gt;
 00003512       9761      76&lt;br /&gt;
 0000351b       9765      65&lt;br /&gt;
 00003525       9765      59&lt;br /&gt;
 00003532       9765      52&lt;br /&gt;
 00003540       9764      43&lt;br /&gt;
 00003553       9765      80&lt;br /&gt;
 00003558       9765      54&lt;br /&gt;
 00003580       9762      49&lt;br /&gt;
 00003586       9765      41&lt;br /&gt;
 00003587       9763      50&lt;br /&gt;
 0000359c       9765      40&lt;br /&gt;
 000035a0       9765      46&lt;br /&gt;
 000035a1       9765      37&lt;br /&gt;
 000035a6       9765      96&lt;br /&gt;
 000035ab       9765      52&lt;br /&gt;
 000035ac       9765      39&lt;br /&gt;
 000035c4       9765      61&lt;br /&gt;
 000035d0       9765      89&lt;br /&gt;
 000035dc       9765      74&lt;br /&gt;
 000035dd       9765      43&lt;br /&gt;
 000035f1       9765      43&lt;br /&gt;
 000035fd       9765      37&lt;br /&gt;
 00003604       9765      47&lt;br /&gt;
 00003609       9764      40&lt;br /&gt;
 0000360c       9765      59&lt;br /&gt;
 0000360d       9765      37&lt;br /&gt;
 00003618       9763      42&lt;br /&gt;
 00003621       9765      42&lt;br /&gt;
 00003626       9765      42&lt;br /&gt;
 00003627       9765      41&lt;br /&gt;
 0000362a       9765      38&lt;br /&gt;
 0000362b       9765      73&lt;br /&gt;
 00003630       9765      68&lt;br /&gt;
 00003631       9764      42&lt;br /&gt;
 0000363e       9763      39&lt;br /&gt;
 00003643       9765      43&lt;br /&gt;
 00003646       9765      38&lt;br /&gt;
 0000364c       9762      40&lt;br /&gt;
 00003659       9765      47&lt;br /&gt;
 0000365c       9764      44&lt;br /&gt;
 0000365f       9765      45&lt;br /&gt;
 00003664       9765      69&lt;br /&gt;
 00003668       9764      37&lt;br /&gt;
 00003671       9765      43&lt;br /&gt;
 00003676       9765      39&lt;br /&gt;
 00003688       9765      37&lt;br /&gt;
 00003691       9765      48&lt;br /&gt;
 00003692       9764      37&lt;br /&gt;
 00003695       9762      38&lt;br /&gt;
 000036a3       9764      50&lt;br /&gt;
 000036aa       9765      47&lt;br /&gt;
 000036ab       9765      49&lt;br /&gt;
 000036c2       9765      64&lt;br /&gt;
 000036c3       9764      57&lt;br /&gt;
 000036c5       9765      40&lt;br /&gt;
 000036da       9764      40&lt;br /&gt;
 000036e1       9765      43&lt;br /&gt;
 000036ed       9762      39&lt;br /&gt;
 000036fc       9765      41&lt;br /&gt;
 000036fd       9765      59&lt;br /&gt;
 00003701       9764      85&lt;br /&gt;
 00003708       9765      43&lt;br /&gt;
 0000370a       9763      49&lt;br /&gt;
 00003728       9762      41&lt;br /&gt;
 0000372a       9763      55&lt;br /&gt;
 0000372d       9765      51&lt;br /&gt;
 00003732       9763      48&lt;br /&gt;
 00003734       9765      60&lt;br /&gt;
 00003736       9765      42&lt;br /&gt;
 00003740       9765      48&lt;br /&gt;
 00003741       9765      39&lt;br /&gt;
 00003742       9765      38&lt;br /&gt;
 00003749       9764      40&lt;br /&gt;
 00003756       9763      39&lt;br /&gt;
 00003758       9762      46&lt;br /&gt;
 0000375c       9765      67&lt;br /&gt;
 0000375d       9765      37&lt;br /&gt;
 00003761       9765      63&lt;br /&gt;
 00003779       9765      55&lt;br /&gt;
 00003785       9765      43&lt;br /&gt;
 00003798       9763      60&lt;br /&gt;
 0000379b       9765      41&lt;br /&gt;
 0000379e       9765      37&lt;br /&gt;
 000037a5       9764      39&lt;br /&gt;
 000037a8       9764      48&lt;br /&gt;
 000037ab       9765      38&lt;br /&gt;
 000037ae       9765      54&lt;br /&gt;
 000037b3       9764      42&lt;br /&gt;
 000037b6       9761      36&lt;br /&gt;
 000037be       9763      46&lt;br /&gt;
 000037c1       9765      69&lt;br /&gt;
 000037c3       9765      36&lt;br /&gt;
 000037c4       9764      37&lt;br /&gt;
 000037ce       9762      50&lt;br /&gt;
 000037d1       9761      45&lt;br /&gt;
 000037d3       9765      45&lt;br /&gt;
 000037dd       9765      45&lt;br /&gt;
 000037df       9765      50&lt;br /&gt;
 000037e0       9763      39&lt;br /&gt;
 000037e2       9765      13&lt;br /&gt;
 000037e3       9763      18&lt;br /&gt;
 000037e7       9765      49&lt;br /&gt;
 000037e8       9763      41&lt;br /&gt;
 000037e9       9765      42&lt;br /&gt;
 000037ea       9763      40&lt;br /&gt;
 000037eb       9765      39&lt;br /&gt;
 000037ec       9761      39&lt;br /&gt;
 000037ed       9763      41&lt;br /&gt;
 000037ef       9763      36&lt;br /&gt;
 000037f0       9764      36&lt;br /&gt;
 000037f1       9764      39&lt;br /&gt;
 000037f3       9765      41&lt;br /&gt;
 000037f4       9761      53&lt;br /&gt;
 000037f5       9765      36&lt;br /&gt;
 000037f6       9765      54&lt;br /&gt;
 000037f7       9763      53&lt;br /&gt;
 000037f8       9765      63&lt;br /&gt;
 000037f9       9765      60&lt;br /&gt;
 000037fa       9765      70&lt;br /&gt;
 000037fb       9765      76&lt;br /&gt;
 000037fc       9765      72&lt;br /&gt;
 000037fd       9765      73&lt;br /&gt;
 000037fe       9765      83&lt;br /&gt;
 000037ff       9765      87&lt;br /&gt;
 00003800       9765      89&lt;br /&gt;
 00003801       9762      86&lt;br /&gt;
 00003802       9763      88&lt;br /&gt;
 00003803       9764      90&lt;br /&gt;
 00003804       8110      76&lt;br /&gt;
  TOTALS     3757891      49&lt;br /&gt;
&lt;br /&gt;
* It will tell you for each of the database files (the log segments) how big it is and what the utilization is. The Berkeley DB will try to keep the total utilization above 50%, but for a small pool like this one it cannot do it. I figure that you may find this interesting to know after reading about utilization above.&lt;br /&gt;
&lt;br /&gt;
* The log segment size and the utilization goal can be adjusted too, but I cannot give any sound advice on whether that’s a good idea and how to determine good values.&lt;br /&gt;
&lt;br /&gt;
* All of the above is only relevant if you use the Berkeley DB backend for pools.&lt;br /&gt;
&lt;br /&gt;
== Special thanks ==&lt;br /&gt;
* This documentation has been deployed thanks to Gerd Behrmann, you can find more in at: https://gist.github.com/gbehrmann/df1abbe45c03356eff2e&lt;/div&gt;</summary>
		<author><name>Mcaubet</name></author>
	</entry>
	<entry>
		<id>https://pwiki.pic.es/index.php?title=DCACHE_CHECK_POOL_BTREE_MEMORY&amp;diff=226</id>
		<title>DCACHE CHECK POOL BTREE MEMORY</title>
		<link rel="alternate" type="text/html" href="https://pwiki.pic.es/index.php?title=DCACHE_CHECK_POOL_BTREE_MEMORY&amp;diff=226"/>
		<updated>2017-10-06T08:31:01Z</updated>

		<summary type="html">&lt;p&gt;Mcaubet: /* For the Admin */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= For the MoD =&lt;br /&gt;
* Open a ticket to incidents@support.pic.es with the alarm. &lt;br /&gt;
* This alarm only affects the duration of the pool start up, nothing has to be done until the next working day where this can be fixed by dCache Administrators.&lt;br /&gt;
* Same information as [[DCACHE CHECK POOL METADATA]] as both alarms are strictly related.&lt;br /&gt;
&lt;br /&gt;
= For the Admin =&lt;br /&gt;
&lt;br /&gt;
* Berkely DB should be tunned according to the number of meta files that a pool contains. If this not correctly adapted, pool start up will may need several hours to be fully available. Gerd explained how to tune up a pool according to this number. Below I show a modified explanation of what he said, adapting the explanation to the ATLAS pools.&lt;br /&gt;
&lt;br /&gt;
* The default je.log.fileCacheSize is 100. This could be increased by creating a file je.properties and adding the 'je.log.fileCacheSize=100'.&lt;br /&gt;
&lt;br /&gt;
* Also, other relevant settings are:&lt;br /&gt;
&lt;br /&gt;
 je.maxMemory=&lt;br /&gt;
 je.maxMemoryPercent=20&lt;br /&gt;
&lt;br /&gt;
* These are equivalent. The former sets the number of bytes used for the btree cache, while the latter defines it as a percentage of the max heap size. E.g. if dcache.java.memory.heap is set to 2048m, then 410 MB is used for the btree cache.&lt;br /&gt;
&lt;br /&gt;
* The question is then how to determine a good size for the cache. There are some hidden utilities you can use to do this.&lt;br /&gt;
&lt;br /&gt;
* Below I show an example for dc042_1:&lt;br /&gt;
&lt;br /&gt;
 [root@dc042 meta]# java -cp  /usr/share/dcache/classes/je-6.3.8.jar com.sleepycat.je.util.DbPrintLog -h . -S&lt;br /&gt;
 &amp;lt;DbPrintLog&amp;gt;&lt;br /&gt;
 Log statistics:&lt;br /&gt;
                 type               total         provisional               total                 min                 max                 avg             entries&lt;br /&gt;
                                    count               count               bytes               bytes               bytes               bytes         as % of log&lt;br /&gt;
                MapLN               1,324                   0          12,617,573                  76              11,985               9,529                 0.3&lt;br /&gt;
               NameLN                   4                   0                 141                  31                  38                  35                   0&lt;br /&gt;
        FileSummaryLN             231,140                   0          55,644,337                  24              49,701                 240                 1.4&lt;br /&gt;
                   IN              84,083               1,080         296,942,059                  45               5,709               3,531                 7.7&lt;br /&gt;
                  BIN             114,865             114,865         377,569,148                  44               6,675               3,287                 9.8&lt;br /&gt;
               DbTree                 318                   0           1,034,997               2,680               4,136               3,254                   0&lt;br /&gt;
               Commit           3,376,012                   0         114,784,408                  34                  34                  34                   3&lt;br /&gt;
            CkptStart                 158                   0               4,899                  30                  33                  31                   0&lt;br /&gt;
              CkptEnd                 226                   0              22,560                  67                 186                  99                   0&lt;br /&gt;
                Trace               2,506                   0             525,597                  48                 402                 209                   0&lt;br /&gt;
           FileHeader                 385                   0              14,630                  38                  38                  38                   0&lt;br /&gt;
            DEL_LN_TX             748,055                   0          51,409,527                  57                  69                  68                 1.3&lt;br /&gt;
            INS_LN_TX             619,747                   0         192,298,301                  96               1,443                 310                   5&lt;br /&gt;
            UPD_LN_TX           2,008,226                   0         398,854,718                  32               1,919                 198                10.4&lt;br /&gt;
               UPD_LN           6,636,173                   0       1,997,042,458                  18               1,819                 300                51.9&lt;br /&gt;
          NewBINDelta             720,540             720,540         348,480,254                  55               1,782                 483                 9.1&lt;br /&gt;
            key bytes          10,012,201                             387,254,450                   1                  61                  38              (10.1)&lt;br /&gt;
           data bytes           9,264,146                           2,036,632,128                   1               1,848                 219              (52.9)&lt;br /&gt;
 &lt;br /&gt;
 Total bytes in portion of log read: 3,847,245,607&lt;br /&gt;
 Total number of entries: 14,543,762&lt;br /&gt;
 &lt;br /&gt;
 Per checkpoint interval info:&lt;br /&gt;
                lnTxn                  ln            mapLNTxn               mapLN          end to end        end to start        start to end         maxLNReplay             ckptEnd&lt;br /&gt;
                  273              63,082                   0                  10          30,455,407       3,857,456,063                   0              63,355   0x1f2f/0x6f2ef&lt;br /&gt;
                5,168             130,892                   0                  24          39,782,369       3,827,000,656                   0             136,060   0x226b/0x3a0d0&lt;br /&gt;
               27,098             132,905                   0                  15          50,120,541          16,509,395          33,611,146             160,003   0x252c/0x577ad&lt;br /&gt;
                  128              32,773                   0                   3           9,904,160       3,737,097,746                   0             134,154   0x254c/0x4014d&lt;br /&gt;
                   82              31,341                   0                  12          10,576,583       3,727,193,586                   0              31,423   0x2567/0xccd94&lt;br /&gt;
                    0                  72                   0                   4             711,899              51,780             660,119                  72   0x2567/0x17aa6f&lt;br /&gt;
               36,445              61,509                   0                   0          28,499,838       3,715,905,104                   0              97,954   0x25e5/0xc66d&lt;br /&gt;
                    2                 108                   0                   6           1,564,919              56,871           1,508,048                 110   0x25e5/0x18a764&lt;br /&gt;
               10,732              50,299                   0                   5          18,877,564       3,685,840,347                   0              61,055   0x2678/0x786e0&lt;br /&gt;
                   33                 190                   0                   6           1,627,301              94,279           1,533,022                 223   0x2678/0x205b85&lt;br /&gt;
                8,277              84,136                   0                   3          28,217,133          17,808,699          10,408,434              92,434   0x26be/0x52732&lt;br /&gt;
                5,401              25,394                   0                   7           9,824,151       3,637,118,349                   0              61,029   0x26cf/0x27849&lt;br /&gt;
               49,026              92,572                   0                   3          41,592,807       3,627,294,198                   0             141,598   0x2747/0x1ac630&lt;br /&gt;
                    2                  46                   0                   6             357,170              45,107             312,063                  48   0x2747/0x203962&lt;br /&gt;
               20,496              39,154                   0                   3          18,591,447       3,585,344,221                   0              59,654   0x27db/0xabb39&lt;br /&gt;
                    0                 154                   0                   6           1,187,463              83,676           1,103,787                 154   0x27db/0x1cd9c0&lt;br /&gt;
               17,107              49,468                   0                   3          18,905,722       3,565,565,311                   0              66,583   0x285c/0xc273a&lt;br /&gt;
                   58                   0                   0                   6             392,501              62,920             329,581                  58   0x285c/0x12246f&lt;br /&gt;
              113,890             201,969                   0                  17          79,488,418       3,546,267,088                   0             315,874   0x28ed/0xa5611&lt;br /&gt;
               22,147              98,579                   0                   8          40,657,515          36,319,235           4,338,280             120,726   0x2952/0x145e7c&lt;br /&gt;
                    0                 122                   0                   6           1,296,043              70,361           1,225,682              28,367   0x2952/0x282527&lt;br /&gt;
               19,570              65,944                   0                   5          27,570,660          25,251,492           2,319,168              85,520   0x2962/0x3138b&lt;br /&gt;
               37,714              28,889                   0                   3          21,505,514          19,337,884           2,167,630              66,613   0x297d/0x1a0c75&lt;br /&gt;
                    3                 332                   0                   6           2,437,155             124,630           2,312,525                 479   0x297d/0x3f3c98&lt;br /&gt;
               41,458              62,406                   0                   3          26,385,897       3,373,311,783                   0             103,904   0x29c7/0x81701&lt;br /&gt;
                    0                  46                   0                   6           1,404,642              46,045           1,358,597                  46   0x29c7/0x1d85e3&lt;br /&gt;
               41,443              87,747                   0                   3          39,909,271          14,624,816          25,284,455             129,198   0x29fb/0x1c237a&lt;br /&gt;
                    0                 123                   0                   5           1,185,318              68,652           1,116,666              79,470   0x29fb/0x2e39a0&lt;br /&gt;
                9,199              12,698                   0                   4           9,927,451       3,304,426,655                   0              21,899   0x2a00/0x2d1e3b&lt;br /&gt;
                    8                   0                   0                   5             118,374              35,364              83,010                   8   0x2a00/0x2eeca1&lt;br /&gt;
              122,697              96,787                   0                   3          66,966,017       3,294,380,830                   0             219,488   0x2a44/0xa122&lt;br /&gt;
               53,436              12,002                   0                   3          21,830,901       3,227,414,813                   0              65,438   0x2a53/0x1c9117&lt;br /&gt;
                   20                 167                   0                   6           1,308,679              85,964           1,222,715                 187   0x2a53/0x30891e&lt;br /&gt;
               18,552              38,805                   0                   6          17,501,977       3,204,275,233                   0              57,381   0x2a58/0xa6b37&lt;br /&gt;
                    9                 105                   0                   4             678,297              87,871             590,426                 114   0x2a58/0x14c4d0&lt;br /&gt;
               25,434              36,231                   0                  10          19,064,711       3,186,094,959                   0              61,675   0x2a5e/0x67f57&lt;br /&gt;
                   15                 159                   0                   6           1,467,746              83,228           1,384,518                 174   0x2a5e/0x1ce4b9&lt;br /&gt;
               12,236              14,099                   0                   3           8,375,785       3,165,562,502                   0              26,358   0x2a63/0x41c22&lt;br /&gt;
                    6                 184                   0                   6           1,058,988              89,948             969,040                 190   0x2a63/0x1444ce&lt;br /&gt;
               71,844              24,018                   0                   3          29,188,061          27,937,328           1,250,733              95,870   0x2aac/0x7e12b&lt;br /&gt;
                9,407              25,608                   0                   7          11,016,096       3,126,939,668                   0              35,029   0x2aba/0x17624b&lt;br /&gt;
                   20                 110                   0                   6             748,510              82,108             666,402                 130   0x2aba/0x22ce29&lt;br /&gt;
               64,997              49,072                   0                  15          27,822,548          27,438,951             383,597             114,142   0x2af3/0x1947d&lt;br /&gt;
               10,534              23,197                   0                   6          12,103,837       3,087,352,514                   0              33,737   0x2b01/0x21ae9a&lt;br /&gt;
                  122                   0                   0                  32             879,716             489,740             389,976                 122   0x2b01/0x2f1afe&lt;br /&gt;
               60,029             128,431                   0                  24          58,556,679          56,338,979           2,217,700             188,485   0x2b3c/0x191505&lt;br /&gt;
                   15                  52                   0                   6             530,374              53,795             476,579                 231   0x2b3c/0x212ccb&lt;br /&gt;
               48,799              11,045                   0                   4          18,178,427          17,837,860             340,567              59,855   0x2b41/0x56146&lt;br /&gt;
               45,998              29,564                   0                   3          20,154,236       2,997,103,481                   0              75,573   0x2b52/0x7bbc2&lt;br /&gt;
               39,570              60,757                   0                  15          30,273,541       2,976,949,245                   0             100,327   0x2b8e/0xbe847&lt;br /&gt;
               31,631              33,780                   0                  13          22,348,448          16,815,306           5,533,142              65,411   0x2bad/0x2fbde7&lt;br /&gt;
               16,831              40,178                   0                   5          20,571,223       2,924,327,256                   0              57,047   0x2bc6/0x38753e&lt;br /&gt;
                4,292              18,826                   0                   8           8,363,076       2,903,756,033                   0              23,118   0x2be9/0x1f7b02&lt;br /&gt;
                    0                 254                   0                   6           2,043,974             119,900           1,924,074                 254   0x2be9/0x3eab48&lt;br /&gt;
                   30              19,902                   0                   4           7,727,051       2,893,348,983                   0              19,954   0x2c00/0x1bfc93&lt;br /&gt;
               27,984              75,433                   0                  32          29,896,927       2,885,621,932                   0             103,417   0x2c13/0x1a69f2&lt;br /&gt;
               40,477              36,001                   0                  10          19,737,838          17,591,303           2,146,535              76,478   0x2c2a/0x1669e0&lt;br /&gt;
                    2                   2                   0                   4             194,668              36,808             157,860                  10   0x2c2a/0x19624c&lt;br /&gt;
               29,246              68,367                   0                   3          31,325,183       2,835,792,499                   0              97,615   0x2c4c/0x2d9acb&lt;br /&gt;
                    0                  26                   0                   5           1,118,302              27,604           1,090,698                  26   0x2c4c/0x3eab29&lt;br /&gt;
                    4              19,763                   0                   3           7,562,665       2,803,349,014                   0              19,775   0x2c53/0x197a52&lt;br /&gt;
                   26                 194                   0                   6           1,436,963             103,803           1,333,160                 220   0x2c53/0x2f6775&lt;br /&gt;
                6,255              14,988                   0                   8           9,972,102       2,794,349,386                   0              21,292   0x2c5f/0x2efa7b&lt;br /&gt;
               39,212              18,305                   0                   5          18,591,243       2,784,377,284                   0              57,517   0x2c8f/0x197b86&lt;br /&gt;
                    0                  41                   0                   6           1,495,215             121,720           1,373,495                  41   0x2c8f/0x304c35&lt;br /&gt;
                  347              23,340                   0                   3           7,036,643       2,764,290,826                   0              23,697   0x2c95/0x31498&lt;br /&gt;
               23,408               9,116                   0                   3          10,098,528       2,757,254,183                   0              32,524   0x2ca4/0x49578&lt;br /&gt;
               45,631              27,183                   0                   3          19,972,142       2,747,155,655                   0              72,814   0x2cad/0x428a6&lt;br /&gt;
                    0                   0                   0                   1             963,802                  69             963,733                   0   0x2cad/0x12dd80&lt;br /&gt;
                  276              19,066                   0                   4          10,705,056           5,926,693           4,778,363              19,342   0x2cc4/0x1d9fa0&lt;br /&gt;
                    0              25,292                   0                   2          10,568,825           7,122,257           3,446,568              25,292   0x2ccf/0x264d99&lt;br /&gt;
                  722              25,106                   0                   3           9,376,076       2,704,945,830                   0              26,568   0x2cd3/0x1cc865&lt;br /&gt;
                   15                  96                   0                   6             601,987              65,907             536,080                 111   0x2cd3/0x25f7e8&lt;br /&gt;
               50,662              51,942                   0                   4          29,283,798       2,694,967,767                   0             102,611   0x2d20/0x1b0a3e&lt;br /&gt;
               18,486              16,140                   0                   4          12,291,893       2,665,683,969                   0              34,626   0x2d3a/0x3e02f3&lt;br /&gt;
               67,481             104,443                   0                   5          48,233,597          15,261,303          32,972,294             171,924   0x2d79/0x230ef0&lt;br /&gt;
               19,276              34,062                   0                   3          18,103,592       2,605,158,479                   0             171,476   0x2deb/0x61f18&lt;br /&gt;
                    0                 225                   0                   6             607,824              37,538             570,286                 225   0x2deb/0xf6568&lt;br /&gt;
               14,038              14,130                   0                   3          13,699,081       2,586,447,063                   0              28,385   0x2e21/0x47d6f1&lt;br /&gt;
                4,147              13,212                   0                   3           5,363,836       2,572,747,982                   0              17,359   0x2e40/0x118ed&lt;br /&gt;
                    0                   0                   0                   4             133,826              37,921              95,905                   0   0x2e40/0x323af&lt;br /&gt;
               31,744              33,396                   0                   3          22,247,625       2,567,250,320                   0              65,140   0x2e45/0x256f78&lt;br /&gt;
                    9                   0                   0                   6             290,601              55,855             234,746                   9   0x2e45/0x29dea1&lt;br /&gt;
                   16              25,020                   0                   4          10,475,420       2,544,712,094                   0              25,039   0x2e5b/0x311fbd&lt;br /&gt;
                1,682              19,008                   0                   3           8,507,134       2,534,236,674                   0              20,690   0x2e5f/0x1a583b&lt;br /&gt;
                   12                   0                   0                   6             354,107              41,047             313,060                  12   0x2e5f/0x1fbf76&lt;br /&gt;
                6,849              54,863                   0                   3          20,176,980       2,525,375,433                   0              61,719   0x2e7d/0x2272ca&lt;br /&gt;
               30,012              67,588                   0                   5          28,465,075          27,606,214             858,861              97,600   0x2eb6/0xb06fd&lt;br /&gt;
               14,048              16,912                   0                   2           9,587,676       2,476,733,378                   0              66,881   0x2ee1/0x4bc59&lt;br /&gt;
               15,183              12,704                   0                   6          11,270,153           6,834,792           4,435,361              27,887   0x2ef4/0x181de2&lt;br /&gt;
               23,012              39,873                   0                   7          18,610,316       2,455,875,549                   0              62,948   0x2f1a/0x2e96e&lt;br /&gt;
               25,472              49,151                   0                   6          22,681,935       2,437,265,233                   0              74,623   0x2f5a/0x2bd5bd&lt;br /&gt;
                1,031              60,319                   0                   6          20,425,359       2,414,583,298                   0              61,350   0x2f66/0x32534c&lt;br /&gt;
               48,185              83,225                   0                   4          42,656,335          28,813,330          13,843,005             131,410   0x2f9d/0x5adb9b&lt;br /&gt;
               16,859              32,139                   0                   3          18,804,637          12,310,056           6,494,581              74,600   0x2fa3/0x489e38&lt;br /&gt;
               29,050              79,391                   0                   8          47,784,742          37,879,192           9,905,550             108,511   0x300a/0x26d0de&lt;br /&gt;
                   32              38,306                   0                   6          19,991,849          14,244,764           5,747,085             117,588   0x3026/0x26b107&lt;br /&gt;
                    0                  37                   0                   6             345,851              39,476             306,375              25,114   0x3026/0x2bf802&lt;br /&gt;
               17,725              34,199                   0                   3          19,155,357       2,264,574,525                   0              51,955   0x303f/0x1f149f&lt;br /&gt;
                1,379              23,909                   0                   6          10,787,679       2,245,419,168                   0              25,288   0x304f/0x2b197e&lt;br /&gt;
                    3                  12                   0                   5             297,677              34,135             263,542                  15   0x304f/0x2fa44b&lt;br /&gt;
               17,968              47,908                   0                   2          17,014,500       2,234,333,812                   0              65,891   0x306c/0x2162f&lt;br /&gt;
               45,151              19,691                   0                   3          20,592,703          18,998,392           1,594,311              64,842   0x3071/0xb216e&lt;br /&gt;
               18,246              13,219                   0                   3          14,900,440       2,196,726,609                   0              31,514   0x308d/0x55e7c6&lt;br /&gt;
                   26              12,008                   0                   5           7,554,365           4,234,132           3,320,233              12,034   0x30a1/0x309683&lt;br /&gt;
               35,556              69,762                   0                  20          31,161,221       2,174,271,804                   0             105,338   0x30c2/0x424e88&lt;br /&gt;
               33,203             114,692                   0                   5          49,168,609          43,804,782           5,363,827             147,895   0x30fd/0x359ee9&lt;br /&gt;
                  182              19,563                   0                   7          10,363,229       2,093,941,974                   0              87,398   0x310c/0x3b29c6&lt;br /&gt;
                   14              19,817                   0                   4           9,355,037           4,743,642           4,611,395              19,831   0x3110/0x315263&lt;br /&gt;
                   46              37,708                   0                   8          20,678,814          10,884,622           9,794,192              41,674   0x315c/0x3bae01&lt;br /&gt;
                   88                 279                   0                   5             761,100              44,429             716,671               3,390   0x315c/0x474b0d&lt;br /&gt;
               40,709              61,572                   0                   4          26,837,961       2,052,783,794                   0             102,607   0x3189/0x170b56&lt;br /&gt;
                   42                   0                   0                   6             814,957              77,642             737,315                  42   0x3189/0x237ac3&lt;br /&gt;
               69,126             107,504                   0                   5          52,094,116          47,372,898           4,721,218             176,645   0x31b8/0x436ee7&lt;br /&gt;
                   46                   0                   0                   5             393,197              51,476             341,721              82,129   0x31b8/0x496ed4&lt;br /&gt;
               48,348             117,823                   0                   3          48,879,763          41,965,088           6,914,675             166,196   0x3201/0x3856e7&lt;br /&gt;
               16,349              39,063                   0                   7          17,875,388          14,606,658           3,268,730              62,982   0x3208/0x17eba3&lt;br /&gt;
                  105                   0                   0                   6           3,394,912              60,919           3,333,993               2,571   0x3208/0x4bb903&lt;br /&gt;
                  217              17,310                   0                   7           5,776,110       1,902,493,500                   0              17,617   0x3210/0xb4571&lt;br /&gt;
               36,657              27,268                   0                   7          22,160,771           4,617,088          17,543,683              63,925   0x3224/0x2c3df4&lt;br /&gt;
               24,153              42,022                   0                   1          22,019,603       1,874,556,619                   0             114,113   0x3235/0x4b0f07&lt;br /&gt;
                   16              18,174                   0                   7           7,706,321       1,852,537,016                   0              18,190   0x324e/0x280f58&lt;br /&gt;
                  120              24,379                   0                   7          10,458,169       1,844,830,695                   0              24,499   0x3266/0x2f0d11&lt;br /&gt;
               14,236              34,916                   0                   3          17,998,326          12,723,415           5,274,911              49,152   0x327b/0x108207&lt;br /&gt;
                   79                   0                   0                   5             673,666              37,699             635,967               2,808   0x327b/0x1ac989&lt;br /&gt;
                6,624              22,958                   0                   3          11,999,224       1,815,700,534                   0              29,650   0x3290/0x394b01&lt;br /&gt;
               19,965              40,810                   0                   8          17,269,398       1,803,701,310                   0              60,775   0x32a7/0xfa097&lt;br /&gt;
                7,517              58,175                   0                   5          21,772,528       1,786,431,912                   0              65,692   0x32de/0x2aac87&lt;br /&gt;
                9,415              18,600                   0                   6          10,786,946       1,764,659,384                   0              28,015   0x32e1/0x36ae89&lt;br /&gt;
                   51                   0                   0                   6             622,591              52,177             570,414                  51   0x32e1/0x402e88&lt;br /&gt;
               30,139              66,899                   0                   4          30,497,693       1,753,249,847                   0              97,065   0x3315/0x47c6a5&lt;br /&gt;
                    6              41,284                   0                   1          16,342,999          12,394,744           3,948,255              41,290   0x3320/0xff97c&lt;br /&gt;
               21,091              17,059                   0                   6          11,525,646       1,706,409,155                   0              38,984   0x332b/0x27410a&lt;br /&gt;
                    0                  94                   0                   4             892,946              34,897             858,049                  94   0x332b/0x34e11c&lt;br /&gt;
                    3              52,035                   0                   3          18,160,444       1,693,990,563                   0              52,132   0x336d/0x18cf58&lt;br /&gt;
                   58              27,035                   0                   6           8,947,956       1,675,830,119                   0              27,093   0x3376/0x8c1cc&lt;br /&gt;
                    3                  66                   0                   4             501,044              49,007             452,037                  69   0x3376/0x106700&lt;br /&gt;
               27,134              44,130                   0                   4          22,994,532       1,666,381,119                   0              71,330   0x339f/0x3e1864&lt;br /&gt;
                    0                 108                   0                   4             439,894              35,044             404,850                 108   0x339f/0x44ceba&lt;br /&gt;
                   17              51,506                   0                   3          20,284,195       1,642,946,693                   0              51,631   0x33a6/0x4924dd&lt;br /&gt;
                   28              16,826                   0                   2           9,954,053       1,622,662,498                   0              16,854   0x33b6/0x487162&lt;br /&gt;
                2,079              43,231                   0                   2          20,850,856          13,682,453           7,168,403              45,310   0x33d2/0x556d0a&lt;br /&gt;
                    2              30,027                   0                   3          14,418,091           8,924,719           5,493,372              30,743   0x33d9/0x40b5&lt;br /&gt;
                    0               1,157                   0                   6           5,510,215             155,394           5,354,821               3,103   0x33d9/0x5454fc&lt;br /&gt;
               31,517              31,808                   0                   3          18,110,480       1,571,929,283                   0              64,085   0x33ee/0x37800c&lt;br /&gt;
               30,598              27,193                   0                   4          18,121,300          12,201,650           5,919,650              57,791   0x3402/0x1ad560&lt;br /&gt;
               38,905              34,440                   0                   4          18,443,706          15,100,893           3,342,813              78,249   0x340c/0x3161a&lt;br /&gt;
               51,887              95,209                   0                   4          40,262,214          29,791,799          10,470,415             152,283   0x343b/0x71660&lt;br /&gt;
                    1              28,686                   0                   7          10,081,465       1,476,991,583                   0             142,625   0x344c/0x85499&lt;br /&gt;
               28,401              13,707                   0                   3          10,169,877       1,466,910,118                   0              42,108   0x3457/0xaec2e&lt;br /&gt;
                    5              16,531                   0                   6          14,562,193           4,402,715          10,159,478              16,536   0x345b/0x50893f&lt;br /&gt;
                    0              15,920                   0                   7           9,514,322       1,442,178,048                   0              19,604   0x3460/0x492011&lt;br /&gt;
                    4              16,264                   0                   6          10,131,895       1,432,663,726                   0              16,268   0x3465/0x4b2348&lt;br /&gt;
               30,231              28,986                   0                   4          18,938,103          14,093,138           4,844,965              59,217   0x347c/0x3aef3f&lt;br /&gt;
                   14                   0                   0                   5             512,006              34,432             477,574                 120   0x347c/0x42bf45&lt;br /&gt;
               20,678              38,294                   0                   3          17,101,301       1,403,081,722                   0              58,975   0x3497/0x16843a&lt;br /&gt;
                9,869              25,099                   0                   5          12,548,707       1,385,980,421                   0              34,968   0x34b3/0x3d681d&lt;br /&gt;
               36,465              60,605                   0                   5          26,361,794          24,558,695           1,803,099              97,070   0x34d6/0x5e45f&lt;br /&gt;
                   36              23,345                   0                   3           9,621,974           6,699,792           2,922,182              23,911   0x34d9/0x1fb5&lt;br /&gt;
               25,436              49,579                   0                   7          20,880,498          18,608,524           2,271,974              75,850   0x34df/0xd8f27&lt;br /&gt;
                   32               1,485                   0                   6           4,197,555             413,166           3,784,389               1,535   0x34df/0x4d9bda&lt;br /&gt;
               31,535              59,968                   0                   5          25,248,912          24,728,797             520,115              91,849   0x3512/0x51cea&lt;br /&gt;
                1,601              24,378                   0                   6          10,268,411           8,200,696           2,067,715              26,160   0x351b/0x93565&lt;br /&gt;
               14,147              23,162                   0                   8          11,300,331       1,276,852,570                   0              37,400   0x3525/0x1d0cd0&lt;br /&gt;
               14,204              20,662                   0                   3          13,299,117       1,265,552,239                   0              34,866   0x3532/0x4f63fd&lt;br /&gt;
               17,514              24,728                   0                   3          16,797,576          12,513,187           4,284,389              42,242   0x3553/0x1e8685&lt;br /&gt;
                7,303              46,343                   0                   7          23,094,370          14,762,461           8,331,909              54,344   0x3580/0x4dbde7&lt;br /&gt;
               45,620              41,812                   0                   7          27,514,220          21,511,990           6,002,230              90,879   0x359c/0x27cfd3&lt;br /&gt;
               16,861              12,552                   0                   3           9,619,073       1,184,846,956                   0             104,424   0x35a0/0x21ffd4&lt;br /&gt;
                    0                 271                   0                   6           3,731,928              93,043           3,638,885                 271   0x35a0/0x5af1ac&lt;br /&gt;
               30,860              48,187                   0                   7          26,338,978          24,109,627           2,229,351              79,097   0x35ab/0x2314ce&lt;br /&gt;
               39,031              24,255                   0                   4          20,202,284       1,145,156,977                   0              63,301   0x35c4/0x262afa&lt;br /&gt;
                2,576              46,002                   0                   6          19,184,048           5,580,647          13,603,401              48,578   0x35dc/0x19b7aa&lt;br /&gt;
                    2                   0                   0                   6             174,028              33,089             140,939              31,536   0x35dc/0x1c5f76&lt;br /&gt;
              111,528              77,161                   0                   7          62,341,581          50,549,489          11,792,092             188,690   0x360c/0x401a43&lt;br /&gt;
               28,697              25,910                   0                   6          18,246,350          13,855,848           4,390,502              56,636   0x3618/0x255811&lt;br /&gt;
                4,335              12,127                   0                   6           9,004,926           5,130,460           3,874,466              18,985   0x3621/0x16290f&lt;br /&gt;
               18,413               8,607                   0                   5           8,878,516           7,701,363           1,177,153              27,027   0x3626/0x50c43&lt;br /&gt;
                    0               2,910                   0                   6           6,228,723             848,601           5,380,122               2,910   0x3626/0x641736&lt;br /&gt;
               28,784              22,689                   0                   3          21,119,867          14,626,185           6,493,682              52,178   0x362a/0x752db1&lt;br /&gt;
               41,676              62,528                   0                   4          34,112,988          29,303,765           4,809,223             105,238   0x363e/0x1b598d&lt;br /&gt;
                   17                 735                   0                   5          12,521,216              31,105          12,490,111               1,300   0x3643/0x41d20d&lt;br /&gt;
                7,802              34,494                   0                   7          33,127,169           7,514,191          25,612,978              43,003   0x3659/0x71898e&lt;br /&gt;
                    0               8,734                   0                   5           3,377,408         900,015,281                   0              25,130   0x365c/0xc7c0e&lt;br /&gt;
                  114               9,858                   0                   7          15,782,161             650,578          15,131,583               9,972   0x365f/0x64b69f&lt;br /&gt;
                    1              11,516                   0                   7           5,378,418         880,855,712                   0              19,548   0x3664/0x1e3191&lt;br /&gt;
                    7              22,005                   0                   7           8,922,863           6,691,187           2,231,676              22,012   0x3668/0xdc200&lt;br /&gt;
                   13              13,409                   0                   6          15,952,421             360,887          15,591,534              14,391   0x3671/0x6895a5&lt;br /&gt;
                1,749               8,568                   0                   3           3,660,457         850,602,010                   0              22,698   0x3676/0x7d9ce&lt;br /&gt;
                5,390              10,146                   0                   6          14,882,555           1,855,609          13,026,946              15,536   0x3688/0x525a49&lt;br /&gt;
               10,230               9,513                   0                   5           4,816,061         832,058,998                   0              28,465   0x3691/0x34086&lt;br /&gt;
               14,698              31,907                   0                   7          41,080,361          36,925,183           4,155,178              46,605   0x36aa/0x13bcaf&lt;br /&gt;
                    2               1,755                   0                   6           4,666,159             345,619           4,320,540              47,630   0x36aa/0x5aefde&lt;br /&gt;
               25,935              30,385                   0                   5          38,398,767         781,496,417                   0              57,119   0x36c5/0x42810d&lt;br /&gt;
                9,478              14,696                   0                   7          21,102,013         743,097,650                   0              24,174   0x36e1/0x5351ca&lt;br /&gt;
                   65              12,746                   0                   6           5,610,587           3,858,013           1,752,574              12,811   0x36ed/0x1057a5&lt;br /&gt;
                5,806               9,341                   0                   6          10,353,968           2,690,013           7,663,955              15,343   0x36fc/0x15be55&lt;br /&gt;
                    5                   0                   0                   6           4,894,393              33,744           4,860,649               5,931   0x36fc/0x606d0e&lt;br /&gt;
               28,754              58,230                   0                  18          28,401,618         701,136,689                   0              86,988   0x3708/0x480960&lt;br /&gt;
                    0              15,897                   0                   6          10,890,931           3,098,266           7,792,665              15,897   0x370a/0x55a193&lt;br /&gt;
                  126              10,927                   0                   6          26,068,972           2,214,107          23,854,865              16,100   0x372d/0x19a5ff&lt;br /&gt;
                9,837              16,155                   0                   6          11,096,409           6,346,816           4,749,593              29,696   0x3732/0x2a60d8&lt;br /&gt;
                  128              15,250                   0                   6           8,591,606           3,747,801           4,843,805              16,046   0x3734/0x14e34e&lt;br /&gt;
                  123              28,336                   0                   6          16,047,724           5,161,792          10,885,932              31,737   0x3736/0x712b3a&lt;br /&gt;
                   24               8,534                   0                   5           3,423,605           1,552,888           1,870,717              19,982   0x3740/0xcd22f&lt;br /&gt;
                  533                   0                   0                   6          20,325,930             275,776          20,050,154               3,884   0x3742/0x11cb59&lt;br /&gt;
                    0                   0                   0                   4              72,242              36,230              36,012                   0   0x3742/0x12e58b&lt;br /&gt;
               26,449              16,768                   0                   3          20,777,536         576,217,652                   0              43,217   0x3756/0x1ec2cb&lt;br /&gt;
               11,493              23,349                   0                   3          21,836,979          13,435,005           8,401,974              34,842   0x375c/0x3aca7e&lt;br /&gt;
                  309              32,239                   0                   6          17,558,766           9,588,731           7,970,035              56,790   0x3761/0x158a6c&lt;br /&gt;
                   12              26,562                   0                   7          12,407,639           6,425,279           5,982,360              27,257   0x3779/0x3a4743&lt;br /&gt;
                6,845              41,908                   0                   7          33,072,537          22,775,381          10,297,156              51,339   0x379b/0x69295c&lt;br /&gt;
                6,778              29,990                   0                   6          25,664,453          17,110,934           8,553,519              41,294   0x37a8/0x2701a1&lt;br /&gt;
                    5              16,509                   0                   9          19,648,397           8,979,547          10,668,850              44,387   0x37ae/0x21a42e&lt;br /&gt;
              116,569             137,423                   0                  12         129,250,694          72,386,145          56,864,549             267,033   0x37e2/0x163534&lt;br /&gt;
                   13              17,546                   0                   6          28,042,727              34,685          28,008,042             187,464   0x37e7/0x90ee1b&lt;br /&gt;
               33,326              30,872                   0                   6          43,125,925           9,805,827          33,320,098              81,756   0x37ec/0x280a40&lt;br /&gt;
                    3               5,332                   0                   5          19,873,538              37,653          19,835,885              30,103   0x37ef/0x261c42&lt;br /&gt;
                   17               2,306                   0                   6          19,166,423             244,987          18,921,436               7,657   0x37f1/0x196419&lt;br /&gt;
               10,753              20,277                   0                   6          40,648,779          11,079,498          29,569,281              32,618   0x37f6/0x234a64&lt;br /&gt;
                   10              22,876                   0                   6          18,391,375             164,634          18,226,741              49,034   0x37f8/0xabeb3&lt;br /&gt;
                   30              34,377                   0                   7          32,006,385           1,775,081          30,231,304              56,545   0x37fb/0x295c24&lt;br /&gt;
                    4              23,090                   0                   7          38,624,657           2,288,459          36,336,198              52,101   0x37ff/0x145fb5&lt;br /&gt;
                    6               8,689                   0                   6          27,108,848             949,959          26,158,889              24,449   0x3801/0x80d8a5&lt;br /&gt;
                    6               5,117                   0                   7          18,644,436              55,620          18,588,816              11,221   0x3803/0x6c2979&lt;br /&gt;
                  837                   0                   0                   6           6,661,670             288,422           6,373,248               5,956   0x3804/0x39391f&lt;br /&gt;
                5,863               6,917                   0                   0           3,705,888           3,705,888                   0              12,780   0x3804/0x71c53f&lt;br /&gt;
 &amp;lt;/DbPrintLog&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* This prints some statistics about the database. In particular the two rows called key bytes and data bytes are relevant. For the following step you need the values from the avg column - i.e. 38 and 219 in this case. You also need the value of “Total number of entries” (14543762 in this case). Now we take those values and put them into this command:&lt;br /&gt;
&lt;br /&gt;
 [root@dc042 meta]# java -cp  /usr/share/dcache/classes/je-*.jar com.sleepycat.je.util.DbCacheSize -records 14543762 -key 38 -data 219&lt;br /&gt;
 &lt;br /&gt;
 === Environment Cache Overhead ===&lt;br /&gt;
 &lt;br /&gt;
 3,157,213 minimum bytes&lt;br /&gt;
 &lt;br /&gt;
 To account for JE daemon operation and record locks,&lt;br /&gt;
 a significantly larger amount is needed in practice.&lt;br /&gt;
 &lt;br /&gt;
 === Database Cache Size ===&lt;br /&gt;
 &lt;br /&gt;
    Number of Bytes  Description&lt;br /&gt;
    ---------------  -----------&lt;br /&gt;
      1,195,759,832  Internal nodes only&lt;br /&gt;
      5,124,232,392  Internal nodes and leaf nodes&lt;br /&gt;
&lt;br /&gt;
* For further information see the DbCacheSize javadoc.&lt;br /&gt;
&lt;br /&gt;
* For this pool it tells us that we need a bit above 1195 MB to keep all the internal btree nodes cached. Oracle’s recommendation is that if the database is updated often, the cache is at least big enough to contain the internal nodes. Obviously you want to make it a bit bigger to leave room for it to grow. One could take this and configure the cache using the je.maxMemory setting. If the size is lower than the 20% of the max heap size you already use, then you don’t need to do anything (I do not suggest lowering it further).&lt;br /&gt;
&lt;br /&gt;
* Since this pool has 6000m of JAVA heap max space, it means that 20% = 1200MB, which is exactly cache for Internal btree nodes. So we will not touch this.&lt;br /&gt;
&lt;br /&gt;
* There is one caveat though: If you increase the cache size, less free space is left on the heap. If the pool is pushed to the limit, this may actually slow down the pool as garbage collection overhead increases. You need to ensure that enough space is left in addition to the cache (possibly by increasing the max heap size). An alternative to adjusting je.maxMemory is of course to adjust the max heap size. If you make it large enough so that 20% is enough to cache the internal btree nodes, then all is well. This may however mean you assign significantly more memory to the pool than it really needs. Yeah, there are lots of things to consider.&lt;br /&gt;
&lt;br /&gt;
* A little bonus: There is also this command:&lt;br /&gt;
&lt;br /&gt;
 [root@dc042 meta]#  java -cp  /usr/share/dcache/classes/je-*.jar com.sleepycat.je.util.DbSpace -h .&lt;br /&gt;
   File    Size (KB)  % Used&lt;br /&gt;
 --------  ---------  ------&lt;br /&gt;
 00001857       9765      41&lt;br /&gt;
 00001f2a       9765      43&lt;br /&gt;
 00001f2f       9765      39&lt;br /&gt;
 00001f72       9765      44&lt;br /&gt;
 0000216d       9765      40&lt;br /&gt;
 000021cb       9765      40&lt;br /&gt;
 0000226b       9765      45&lt;br /&gt;
 000022e8       9763      38&lt;br /&gt;
 000022fa       9765      39&lt;br /&gt;
 00002390       9765      38&lt;br /&gt;
 0000241d       9765      49&lt;br /&gt;
 0000252c       9765      51&lt;br /&gt;
 0000254c       9765      47&lt;br /&gt;
 00002567       9765      39&lt;br /&gt;
 000025b7       9765      42&lt;br /&gt;
 000025db       9765      42&lt;br /&gt;
 000025e5       9765      56&lt;br /&gt;
 0000265f       9765      39&lt;br /&gt;
 00002678       9765      61&lt;br /&gt;
 0000268d       9762      48&lt;br /&gt;
 00002692       9765      74&lt;br /&gt;
 000026be       9765      48&lt;br /&gt;
 000026cf       9765      40&lt;br /&gt;
 00002700       9765      41&lt;br /&gt;
 00002706       9765      38&lt;br /&gt;
 00002718       9765      56&lt;br /&gt;
 00002747       9765      44&lt;br /&gt;
 0000274d       9765      48&lt;br /&gt;
 000027db       9765      62&lt;br /&gt;
 00002855       9765      39&lt;br /&gt;
 0000285c       9765      39&lt;br /&gt;
 00002882       9765      41&lt;br /&gt;
 0000289d       9765      54&lt;br /&gt;
 000028ba       9765      52&lt;br /&gt;
 000028c1       9765      53&lt;br /&gt;
 000028d0       9765      41&lt;br /&gt;
 000028d7       9765      41&lt;br /&gt;
 000028e7       9765      39&lt;br /&gt;
 000028ed       9765      39&lt;br /&gt;
 00002926       9765      39&lt;br /&gt;
 0000292b       9765      43&lt;br /&gt;
 00002945       9765      41&lt;br /&gt;
 00002952       9765      41&lt;br /&gt;
 00002958       9765      62&lt;br /&gt;
 00002959       9764      38&lt;br /&gt;
 00002962       9765      53&lt;br /&gt;
 00002963       9765      47&lt;br /&gt;
 0000297d       9765      51&lt;br /&gt;
 0000297e       9765      41&lt;br /&gt;
 000029b3       9765      45&lt;br /&gt;
 000029c7       9765      56&lt;br /&gt;
 000029ce       9765      42&lt;br /&gt;
 000029d3       9765      43&lt;br /&gt;
 000029d9       9765      54&lt;br /&gt;
 000029fb       9765      42&lt;br /&gt;
 00002a00       9765      54&lt;br /&gt;
 00002a01       9765      39&lt;br /&gt;
 00002a06       9765      39&lt;br /&gt;
 00002a20       9765      45&lt;br /&gt;
 00002a26       9765      61&lt;br /&gt;
 00002a2b       9765      69&lt;br /&gt;
 00002a30       9765      65&lt;br /&gt;
 00002a44       9765      46&lt;br /&gt;
 00002a4f       9765      50&lt;br /&gt;
 00002a53       9765      64&lt;br /&gt;
 00002a54       9765      47&lt;br /&gt;
 00002a58       9765      66&lt;br /&gt;
 00002a59       9765      43&lt;br /&gt;
 00002a5e       9765      56&lt;br /&gt;
 00002a63       9765      44&lt;br /&gt;
 00002a69       9765      47&lt;br /&gt;
 00002a8f       9765      39&lt;br /&gt;
 00002aac       9765      54&lt;br /&gt;
 00002aba       9765      42&lt;br /&gt;
 00002abb       9765      44&lt;br /&gt;
 00002ae0       9763      38&lt;br /&gt;
 00002af3       9765      45&lt;br /&gt;
 00002b01       9765      41&lt;br /&gt;
 00002b08       9765      65&lt;br /&gt;
 00002b0e       9765      41&lt;br /&gt;
 00002b24       9765      45&lt;br /&gt;
 00002b28       9765      61&lt;br /&gt;
 00002b29       9765      41&lt;br /&gt;
 00002b3c       9765      40&lt;br /&gt;
 00002b3d       9765      40&lt;br /&gt;
 00002b41       9765      47&lt;br /&gt;
 00002b4c       9765      46&lt;br /&gt;
 00002b52       9765      57&lt;br /&gt;
 00002b64       9765      38&lt;br /&gt;
 00002b87       9765      38&lt;br /&gt;
 00002b8e       9765      47&lt;br /&gt;
 00002b8f       9760      38&lt;br /&gt;
 00002bad       9765      42&lt;br /&gt;
 00002bbf       9765      44&lt;br /&gt;
 00002bc6       9765      38&lt;br /&gt;
 00002be9       9765      47&lt;br /&gt;
 00002c00       9765      42&lt;br /&gt;
 00002c06       9765      69&lt;br /&gt;
 00002c0c       9765      55&lt;br /&gt;
 00002c13       9765      38&lt;br /&gt;
 00002c14       9765      38&lt;br /&gt;
 00002c2a       9765      41&lt;br /&gt;
 00002c2b       9765      41&lt;br /&gt;
 00002c30       9765      54&lt;br /&gt;
 00002c4c       9765      39&lt;br /&gt;
 00002c53       9765      45&lt;br /&gt;
 00002c5f       9765      44&lt;br /&gt;
 00002c7c       9765      38&lt;br /&gt;
 00002c8f       9765      49&lt;br /&gt;
 00002c95       9765      38&lt;br /&gt;
 00002ca4       9764      50&lt;br /&gt;
 00002ca9       9765      42&lt;br /&gt;
 00002cad       9763      41&lt;br /&gt;
 00002cc4       9765      39&lt;br /&gt;
 00002ccf       9765      43&lt;br /&gt;
 00002cd3       9765      45&lt;br /&gt;
 00002cf3       9765      48&lt;br /&gt;
 00002d19       9765      38&lt;br /&gt;
 00002d20       9765      38&lt;br /&gt;
 00002d3a       9765      40&lt;br /&gt;
 00002d3b       9765      41&lt;br /&gt;
 00002d41       9765      43&lt;br /&gt;
 00002d51       9765      39&lt;br /&gt;
 00002d59       9765      40&lt;br /&gt;
 00002d79       9765      62&lt;br /&gt;
 00002d8f       9765      39&lt;br /&gt;
 00002deb       9765      40&lt;br /&gt;
 00002e21       9765      39&lt;br /&gt;
 00002e40       9765      41&lt;br /&gt;
 00002e41       9765      45&lt;br /&gt;
 00002e45       9765      40&lt;br /&gt;
 00002e5b       9765      58&lt;br /&gt;
 00002e5f       9765      49&lt;br /&gt;
 00002e60       9765      67&lt;br /&gt;
 00002e7d       9765      48&lt;br /&gt;
 00002e95       9765      38&lt;br /&gt;
 00002eb1       9762      57&lt;br /&gt;
 00002eb6       9765      53&lt;br /&gt;
 00002ee1       9765      38&lt;br /&gt;
 00002ef4       9763      43&lt;br /&gt;
 00002ef8       9765      41&lt;br /&gt;
 00002f1a       9765      53&lt;br /&gt;
 00002f25       9765      65&lt;br /&gt;
 00002f5a       9765      52&lt;br /&gt;
 00002f5f       9765      63&lt;br /&gt;
 00002f66       9765      41&lt;br /&gt;
 00002f71       9765      42&lt;br /&gt;
 00002f79       9765      61&lt;br /&gt;
 00002f87       9765      49&lt;br /&gt;
 00002f9d       9765      41&lt;br /&gt;
 00002f9e       9765      42&lt;br /&gt;
 00002fa3       9765      38&lt;br /&gt;
 00002fa4       9765      46&lt;br /&gt;
 00002fb1       9762      55&lt;br /&gt;
 00002fc1       9765      41&lt;br /&gt;
 00002fde       9765      38&lt;br /&gt;
 0000300a       9765      43&lt;br /&gt;
 0000300e       9762      47&lt;br /&gt;
 00003026       9765      55&lt;br /&gt;
 00003027       9765      57&lt;br /&gt;
 0000303f       9765      63&lt;br /&gt;
 0000304f       9765      48&lt;br /&gt;
 00003056       9765      44&lt;br /&gt;
 0000306c       9765      48&lt;br /&gt;
 0000306d       9765      42&lt;br /&gt;
 00003071       9765      45&lt;br /&gt;
 0000308d       9765      39&lt;br /&gt;
 000030a1       9765      54&lt;br /&gt;
 000030a5       9765      51&lt;br /&gt;
 000030ab       9765      60&lt;br /&gt;
 000030c2       9765      46&lt;br /&gt;
 000030d5       9765      43&lt;br /&gt;
 000030dd       9765      38&lt;br /&gt;
 000030e3       9765      57&lt;br /&gt;
 000030e4       9765      55&lt;br /&gt;
 000030fd       9765      48&lt;br /&gt;
 0000310c       9764      42&lt;br /&gt;
 00003110       9765      46&lt;br /&gt;
 00003119       9765      47&lt;br /&gt;
 0000315c       9765      48&lt;br /&gt;
 0000315d       9765      54&lt;br /&gt;
 00003185       9765      56&lt;br /&gt;
 00003189       9765      52&lt;br /&gt;
 0000318a       9765      58&lt;br /&gt;
 0000319a       9765      46&lt;br /&gt;
 0000319f       9764      39&lt;br /&gt;
 000031b5       9764      53&lt;br /&gt;
 000031b8       9765      40&lt;br /&gt;
 000031b9       9765      74&lt;br /&gt;
 000031e2       9765      65&lt;br /&gt;
 000031fa       9765      58&lt;br /&gt;
 000031fb       9765      52&lt;br /&gt;
 00003201       9765      50&lt;br /&gt;
 00003202       9764      44&lt;br /&gt;
 00003208       9765      42&lt;br /&gt;
 00003210       9763      40&lt;br /&gt;
 00003218       9765      40&lt;br /&gt;
 00003224       9765      51&lt;br /&gt;
 00003229       9765      48&lt;br /&gt;
 00003235       9765      40&lt;br /&gt;
 0000324e       9765      46&lt;br /&gt;
 00003266       9765      41&lt;br /&gt;
 0000326c       9764      47&lt;br /&gt;
 0000327b       9765      55&lt;br /&gt;
 00003290       9765      48&lt;br /&gt;
 00003294       9765      56&lt;br /&gt;
 000032a7       9765      69&lt;br /&gt;
 000032ad       9765      62&lt;br /&gt;
 000032de       9765      47&lt;br /&gt;
 000032e1       9765      46&lt;br /&gt;
 000032e2       9765      71&lt;br /&gt;
 000032e9       9765      45&lt;br /&gt;
 00003315       9765      42&lt;br /&gt;
 00003316       9764      54&lt;br /&gt;
 00003320       9765      43&lt;br /&gt;
 0000332b       9765      52&lt;br /&gt;
 0000332c       9765      76&lt;br /&gt;
 0000336d       9765      69&lt;br /&gt;
 00003376       9765      72&lt;br /&gt;
 00003377       9765      46&lt;br /&gt;
 0000339f       9765      43&lt;br /&gt;
 000033a0       9765      75&lt;br /&gt;
 000033a6       9765      46&lt;br /&gt;
 000033b6       9765      40&lt;br /&gt;
 000033c0       9764      72&lt;br /&gt;
 000033d2       9765      38&lt;br /&gt;
 000033d3       9764      45&lt;br /&gt;
 000033d9       9765      42&lt;br /&gt;
 000033da       9765      44&lt;br /&gt;
 000033ee       9765      41&lt;br /&gt;
 000033fb       9764      38&lt;br /&gt;
 00003402       9765      42&lt;br /&gt;
 00003403       9765      53&lt;br /&gt;
 0000340c       9765      76&lt;br /&gt;
 00003428       9765      67&lt;br /&gt;
 00003431       9765      51&lt;br /&gt;
 00003436       9765      88&lt;br /&gt;
 0000343b       9765      85&lt;br /&gt;
 0000344c       9765      48&lt;br /&gt;
 00003457       9765      46&lt;br /&gt;
 0000345b       9765      46&lt;br /&gt;
 00003460       9765      50&lt;br /&gt;
 00003465       9765      45&lt;br /&gt;
 00003466       9762      40&lt;br /&gt;
 0000347c       9765      54&lt;br /&gt;
 0000347d       9765      61&lt;br /&gt;
 00003497       9765      63&lt;br /&gt;
 000034b3       9765      64&lt;br /&gt;
 000034bd       9765      54&lt;br /&gt;
 000034c9       9764      71&lt;br /&gt;
 000034d6       9765      65&lt;br /&gt;
 000034d9       9765      86&lt;br /&gt;
 000034da       9765      46&lt;br /&gt;
 000034df       9765      51&lt;br /&gt;
 000034e0       9764      60&lt;br /&gt;
 00003504       9762      80&lt;br /&gt;
 00003512       9761      76&lt;br /&gt;
 0000351b       9765      65&lt;br /&gt;
 00003525       9765      59&lt;br /&gt;
 00003532       9765      52&lt;br /&gt;
 00003540       9764      43&lt;br /&gt;
 00003553       9765      80&lt;br /&gt;
 00003558       9765      54&lt;br /&gt;
 00003580       9762      49&lt;br /&gt;
 00003586       9765      41&lt;br /&gt;
 00003587       9763      50&lt;br /&gt;
 0000359c       9765      40&lt;br /&gt;
 000035a0       9765      46&lt;br /&gt;
 000035a1       9765      37&lt;br /&gt;
 000035a6       9765      96&lt;br /&gt;
 000035ab       9765      52&lt;br /&gt;
 000035ac       9765      39&lt;br /&gt;
 000035c4       9765      61&lt;br /&gt;
 000035d0       9765      89&lt;br /&gt;
 000035dc       9765      74&lt;br /&gt;
 000035dd       9765      43&lt;br /&gt;
 000035f1       9765      43&lt;br /&gt;
 000035fd       9765      37&lt;br /&gt;
 00003604       9765      47&lt;br /&gt;
 00003609       9764      40&lt;br /&gt;
 0000360c       9765      59&lt;br /&gt;
 0000360d       9765      37&lt;br /&gt;
 00003618       9763      42&lt;br /&gt;
 00003621       9765      42&lt;br /&gt;
 00003626       9765      42&lt;br /&gt;
 00003627       9765      41&lt;br /&gt;
 0000362a       9765      38&lt;br /&gt;
 0000362b       9765      73&lt;br /&gt;
 00003630       9765      68&lt;br /&gt;
 00003631       9764      42&lt;br /&gt;
 0000363e       9763      39&lt;br /&gt;
 00003643       9765      43&lt;br /&gt;
 00003646       9765      38&lt;br /&gt;
 0000364c       9762      40&lt;br /&gt;
 00003659       9765      47&lt;br /&gt;
 0000365c       9764      44&lt;br /&gt;
 0000365f       9765      45&lt;br /&gt;
 00003664       9765      69&lt;br /&gt;
 00003668       9764      37&lt;br /&gt;
 00003671       9765      43&lt;br /&gt;
 00003676       9765      39&lt;br /&gt;
 00003688       9765      37&lt;br /&gt;
 00003691       9765      48&lt;br /&gt;
 00003692       9764      37&lt;br /&gt;
 00003695       9762      38&lt;br /&gt;
 000036a3       9764      50&lt;br /&gt;
 000036aa       9765      47&lt;br /&gt;
 000036ab       9765      49&lt;br /&gt;
 000036c2       9765      64&lt;br /&gt;
 000036c3       9764      57&lt;br /&gt;
 000036c5       9765      40&lt;br /&gt;
 000036da       9764      40&lt;br /&gt;
 000036e1       9765      43&lt;br /&gt;
 000036ed       9762      39&lt;br /&gt;
 000036fc       9765      41&lt;br /&gt;
 000036fd       9765      59&lt;br /&gt;
 00003701       9764      85&lt;br /&gt;
 00003708       9765      43&lt;br /&gt;
 0000370a       9763      49&lt;br /&gt;
 00003728       9762      41&lt;br /&gt;
 0000372a       9763      55&lt;br /&gt;
 0000372d       9765      51&lt;br /&gt;
 00003732       9763      48&lt;br /&gt;
 00003734       9765      60&lt;br /&gt;
 00003736       9765      42&lt;br /&gt;
 00003740       9765      48&lt;br /&gt;
 00003741       9765      39&lt;br /&gt;
 00003742       9765      38&lt;br /&gt;
 00003749       9764      40&lt;br /&gt;
 00003756       9763      39&lt;br /&gt;
 00003758       9762      46&lt;br /&gt;
 0000375c       9765      67&lt;br /&gt;
 0000375d       9765      37&lt;br /&gt;
 00003761       9765      63&lt;br /&gt;
 00003779       9765      55&lt;br /&gt;
 00003785       9765      43&lt;br /&gt;
 00003798       9763      60&lt;br /&gt;
 0000379b       9765      41&lt;br /&gt;
 0000379e       9765      37&lt;br /&gt;
 000037a5       9764      39&lt;br /&gt;
 000037a8       9764      48&lt;br /&gt;
 000037ab       9765      38&lt;br /&gt;
 000037ae       9765      54&lt;br /&gt;
 000037b3       9764      42&lt;br /&gt;
 000037b6       9761      36&lt;br /&gt;
 000037be       9763      46&lt;br /&gt;
 000037c1       9765      69&lt;br /&gt;
 000037c3       9765      36&lt;br /&gt;
 000037c4       9764      37&lt;br /&gt;
 000037ce       9762      50&lt;br /&gt;
 000037d1       9761      45&lt;br /&gt;
 000037d3       9765      45&lt;br /&gt;
 000037dd       9765      45&lt;br /&gt;
 000037df       9765      50&lt;br /&gt;
 000037e0       9763      39&lt;br /&gt;
 000037e2       9765      13&lt;br /&gt;
 000037e3       9763      18&lt;br /&gt;
 000037e7       9765      49&lt;br /&gt;
 000037e8       9763      41&lt;br /&gt;
 000037e9       9765      42&lt;br /&gt;
 000037ea       9763      40&lt;br /&gt;
 000037eb       9765      39&lt;br /&gt;
 000037ec       9761      39&lt;br /&gt;
 000037ed       9763      41&lt;br /&gt;
 000037ef       9763      36&lt;br /&gt;
 000037f0       9764      36&lt;br /&gt;
 000037f1       9764      39&lt;br /&gt;
 000037f3       9765      41&lt;br /&gt;
 000037f4       9761      53&lt;br /&gt;
 000037f5       9765      36&lt;br /&gt;
 000037f6       9765      54&lt;br /&gt;
 000037f7       9763      53&lt;br /&gt;
 000037f8       9765      63&lt;br /&gt;
 000037f9       9765      60&lt;br /&gt;
 000037fa       9765      70&lt;br /&gt;
 000037fb       9765      76&lt;br /&gt;
 000037fc       9765      72&lt;br /&gt;
 000037fd       9765      73&lt;br /&gt;
 000037fe       9765      83&lt;br /&gt;
 000037ff       9765      87&lt;br /&gt;
 00003800       9765      89&lt;br /&gt;
 00003801       9762      86&lt;br /&gt;
 00003802       9763      88&lt;br /&gt;
 00003803       9764      90&lt;br /&gt;
 00003804       8110      76&lt;br /&gt;
  TOTALS     3757891      49&lt;br /&gt;
&lt;br /&gt;
* It will tell you for each of the database files (the log segments) how big it is and what the utilization is. The Berkeley DB will try to keep the total utilization above 50%, but for a small pool like this one it cannot do it. I figure that you may find this interesting to know after reading about utilization above.&lt;br /&gt;
&lt;br /&gt;
* The log segment size and the utilization goal can be adjusted too, but I cannot give any sound advice on whether that’s a good idea and how to determine good values.&lt;br /&gt;
&lt;br /&gt;
* All of the above is only relevant if you use the Berkeley DB backend for pools.&lt;br /&gt;
&lt;br /&gt;
== Special thanks ==&lt;br /&gt;
* This documentation has been deployed thanks to Gerd Behrmann, you can find more in at: https://gist.github.com/gbehrmann/df1abbe45c03356eff2e&lt;/div&gt;</summary>
		<author><name>Mcaubet</name></author>
	</entry>
	<entry>
		<id>https://pwiki.pic.es/index.php?title=DCache_gPlazma:_htpasswd_management&amp;diff=225</id>
		<title>DCache gPlazma: htpasswd management</title>
		<link rel="alternate" type="text/html" href="https://pwiki.pic.es/index.php?title=DCache_gPlazma:_htpasswd_management&amp;diff=225"/>
		<updated>2017-10-05T09:08:06Z</updated>

		<summary type="html">&lt;p&gt;Mcaubet: /* How to generate a new password in htpasswd */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= How to generate a new password in htpasswd =&lt;br /&gt;
* Log in a door and execute the following command:&lt;br /&gt;
 [root@door01 ~]# htpasswd -n -m &amp;lt;user&amp;gt;&lt;br /&gt;
 New password: &lt;br /&gt;
 Re-type new password:&lt;br /&gt;
 &amp;lt;user&amp;gt;:$apr1$Knkg1eYq$WKIQSP0p0m2XKhAasbIRD1&lt;br /&gt;
:where '''MD5''' encryption must be used (option '''-m''') and option '''-n''' just forces to show the output on stdout.&lt;br /&gt;
&lt;br /&gt;
* Copy the output to the htpasswd file locate in '''/etc/dcache/htpasswd'''. This file is managed in '''puppet'.&lt;/div&gt;</summary>
		<author><name>Mcaubet</name></author>
	</entry>
	<entry>
		<id>https://pwiki.pic.es/index.php?title=DCache_gPlazma:_htpasswd_management&amp;diff=224</id>
		<title>DCache gPlazma: htpasswd management</title>
		<link rel="alternate" type="text/html" href="https://pwiki.pic.es/index.php?title=DCache_gPlazma:_htpasswd_management&amp;diff=224"/>
		<updated>2017-10-05T09:06:11Z</updated>

		<summary type="html">&lt;p&gt;Mcaubet: Created page with &amp;quot;= How to generate a new password in htpasswd = * Log in a door and execute the following command:  [root@door01 ~]# htpasswd -n -m &amp;lt;user&amp;gt;  New password:   Re-type new password...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= How to generate a new password in htpasswd =&lt;br /&gt;
* Log in a door and execute the following command:&lt;br /&gt;
 [root@door01 ~]# htpasswd -n -m &amp;lt;user&amp;gt;&lt;br /&gt;
 New password: &lt;br /&gt;
 Re-type new password:&lt;br /&gt;
 &amp;lt;user&amp;gt;:$apr1$Knkg1eYq$WKIQSP0p0m2XKhAasbIRD1&lt;br /&gt;
* Copy the output to the htpasswd file locate in '''/etc/dcache/htpasswd'''. This file is managed in '''puppet'.&lt;/div&gt;</summary>
		<author><name>Mcaubet</name></author>
	</entry>
	<entry>
		<id>https://pwiki.pic.es/index.php?title=HowTo:_Configuring_gPlazma&amp;diff=223</id>
		<title>HowTo: Configuring gPlazma</title>
		<link rel="alternate" type="text/html" href="https://pwiki.pic.es/index.php?title=HowTo:_Configuring_gPlazma&amp;diff=223"/>
		<updated>2017-10-05T08:58:01Z</updated>

		<summary type="html">&lt;p&gt;Mcaubet: /* htpasswd */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Configuring gPlazma =&lt;br /&gt;
== gPlazma configuration file example ==&lt;br /&gt;
 ################################################################################&lt;br /&gt;
 # Login Phases:&lt;br /&gt;
 #   [auth]&lt;br /&gt;
 #       - auth-plugins are used to read the users public and private&lt;br /&gt;
 #         credentials and ask some authority, if those are valid for accessing &lt;br /&gt;
 #         the system. &lt;br /&gt;
 #   [map]&lt;br /&gt;
 #       - map-plugins map the user information obtained in the auth step to UID&lt;br /&gt;
 #         and GIDs. &lt;br /&gt;
 #       - This may also be done in several steps (e.g., the vorolemap plugin &lt;br /&gt;
 #         maps the users DN+FQAN to a username which is then mapped to UID/GIDs&lt;br /&gt;
 #         by the authzdb plugin)&lt;br /&gt;
 #   [account]&lt;br /&gt;
 #       - account-plugins verify the validity of a possibly mapped of the user &lt;br /&gt;
 #         and may reject the login depending on information gathered within the &lt;br /&gt;
 #         map step.&lt;br /&gt;
 #   [session]&lt;br /&gt;
 #       - session plugins usually enrich the session with additional attributes&lt;br /&gt;
 #         like the user’s home directory.&lt;br /&gt;
 #   [identity]&lt;br /&gt;
 #       - identity plugins are responsible for mapping UID and GID to user&lt;br /&gt;
 #         names and vice versa during the work with dCache. &lt;br /&gt;
 ################################################################################&lt;br /&gt;
 &lt;br /&gt;
 ################################################################################&lt;br /&gt;
 # Modifiers:&lt;br /&gt;
 #   [optional]&lt;br /&gt;
 #       - The success or failure of this plugin is only important if it is the &lt;br /&gt;
 #         only plugin in the stack associated with this type. &lt;br /&gt;
 #   [sufficient]&lt;br /&gt;
 #       - Success of such a plugin is enough to satisfy the authentication &lt;br /&gt;
 #         requirements of the stack of plugins (if a prior required plugin has&lt;br /&gt;
 #         failed the success of this one is ignored). &lt;br /&gt;
 #       - A failure of this plugin isn't deemed as fatal for the login attempt.&lt;br /&gt;
 #       - If the plugin succeeds gPlazma2 immediately proceeds with the next &lt;br /&gt;
 #         plugin type or returns control to the door if this was the last stack. &lt;br /&gt;
 #   [required]&lt;br /&gt;
 #       - Failure of such a plugin will ultimately lead to gPlazma2 returning &lt;br /&gt;
 #         failure but only after the remaining plugins for this type have been &lt;br /&gt;
 #         invoked. &lt;br /&gt;
 #   [requisite]&lt;br /&gt;
 #       - Like required, however, in the case that such a plugin returns a&lt;br /&gt;
 #         failure, control is directly returned to the d&lt;br /&gt;
 ################################################################################&lt;br /&gt;
 auth     sufficient  htpasswd&lt;br /&gt;
 auth     optional    x509&lt;br /&gt;
 auth     sufficient  voms&lt;br /&gt;
 # send username and password to LDAP server&lt;br /&gt;
 auth     optional    jaas       gplazma.jaas.name=LdapGplazma&lt;br /&gt;
 map      optional    vorolemap&lt;br /&gt;
 map      sufficient  authzdb&lt;br /&gt;
 map      optional    gridmap&lt;br /&gt;
 # convert LDAP specific result to dCache internal principals&lt;br /&gt;
 map      optional    mutator gplazma.mutator.accept=com.sun.security.auth.UserPrincipal gplazma.mutator.produce=username&lt;br /&gt;
 # use ldap to map user name to uid&lt;br /&gt;
 # map      optional    ldap&lt;br /&gt;
 map      requisite   nsswitch&lt;br /&gt;
 identity requisite   nsswitch&lt;br /&gt;
 session  sufficient  nsswitch&lt;br /&gt;
 session  sufficient  authzdb&lt;br /&gt;
== Authetincation types ==&lt;br /&gt;
=== jaas ===&lt;br /&gt;
* ''This is intended for PIC LDAP users accessing to WebDAV.''&lt;br /&gt;
* JAAS, custom ''/etc/dcache/jgss.conf''&lt;br /&gt;
=== htpasswd ===&lt;br /&gt;
* ''This is intended only for the WebDAV protocol.''&lt;br /&gt;
* Configuration file can be found here: ''/etc/dcache/htpasswd''&lt;br /&gt;
* To generate a new entry in the '''htpasswd''' file proceed as follows: [[dCache gPlazma: htpasswd management]]&lt;br /&gt;
&lt;br /&gt;
=== x509 ===&lt;br /&gt;
* ''This is mostly intented for the WebDAV protocol.''&lt;br /&gt;
* Users defined in ''/etc/grid-security/grid-mapfile''.&lt;br /&gt;
:* '''/etc/grid-security/grid-mapfile''' is generated with a ''grid-mapfile'' cron (''crontab -l'') which executes the '''edg-mkgridmap''' application.&lt;br /&gt;
 # Puppet Name: grid-mapfile&lt;br /&gt;
 0 */6 * * * [ ! -f /var/lock/subsys/edg-mkgridmap ] &amp;amp;&amp;amp; /usr/sbin/edg-mkgridmap --output=- &amp;gt; /etc/grid-security/grid-mapfile.new &amp;amp;&amp;amp; sleep 3 &amp;amp;&amp;amp; cat /etc/grid-security/grid-mapfile.new &amp;gt; /etc/grid-security/grid-mapfile&lt;br /&gt;
:* '''edg-mkgridmap''' application can be configured with the ''/etc/edg-mkgridmap.conf'' file where:&lt;br /&gt;
::* You can map VO members by specifying a VOMS service and the affected VO. In example:&lt;br /&gt;
 group vomss://voms2.cern.ch:8443/voms/lhcb?/lhcb lhcb001&lt;br /&gt;
::* '''/etc/grid-mapfile-local''' is a file to bootstrap the actual grid-mapfile and can be used to allow extra DNs or override some mappings&lt;br /&gt;
=== voms ===&lt;br /&gt;
* ''This is intented for GRID Users, mostly using GridFTP, GSI-DCap &amp;amp; SRM protocols.''&lt;br /&gt;
* User defined in ''/etc/grid-security/grid-vorolemap''.&lt;br /&gt;
=== multimap ===&lt;br /&gt;
* Useful for OIDC authentication (i.e. through Google or INDIGO Accounts)&lt;br /&gt;
&lt;br /&gt;
== dCache Authorization by protocol ==&lt;br /&gt;
=== WebDAV ===&lt;br /&gt;
* htpasswd&lt;br /&gt;
* x509&lt;br /&gt;
=== NFSv3/NFSv41 ===&lt;br /&gt;
* Authentication is not performed in the dCache system, is made through OpenLDAP server.&lt;br /&gt;
=== GridFTP ===&lt;br /&gt;
* x509&lt;br /&gt;
* voms&lt;br /&gt;
=== DCap/GSI-DCap ===&lt;br /&gt;
==== Plain DCap ====&lt;br /&gt;
* No authentication required, but needs world readable and/or writable files and directories.&lt;br /&gt;
* Only recommended its use for prestages.&lt;br /&gt;
==== GSI-DCap ====&lt;br /&gt;
* voms&lt;br /&gt;
=== XRootD ===&lt;br /&gt;
* voms&lt;/div&gt;</summary>
		<author><name>Mcaubet</name></author>
	</entry>
	<entry>
		<id>https://pwiki.pic.es/index.php?title=HowTo:_Configuring_gPlazma&amp;diff=222</id>
		<title>HowTo: Configuring gPlazma</title>
		<link rel="alternate" type="text/html" href="https://pwiki.pic.es/index.php?title=HowTo:_Configuring_gPlazma&amp;diff=222"/>
		<updated>2017-09-06T13:24:36Z</updated>

		<summary type="html">&lt;p&gt;Mcaubet: /* dCache Authorization by protocol */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Configuring gPlazma =&lt;br /&gt;
== gPlazma configuration file example ==&lt;br /&gt;
 ################################################################################&lt;br /&gt;
 # Login Phases:&lt;br /&gt;
 #   [auth]&lt;br /&gt;
 #       - auth-plugins are used to read the users public and private&lt;br /&gt;
 #         credentials and ask some authority, if those are valid for accessing &lt;br /&gt;
 #         the system. &lt;br /&gt;
 #   [map]&lt;br /&gt;
 #       - map-plugins map the user information obtained in the auth step to UID&lt;br /&gt;
 #         and GIDs. &lt;br /&gt;
 #       - This may also be done in several steps (e.g., the vorolemap plugin &lt;br /&gt;
 #         maps the users DN+FQAN to a username which is then mapped to UID/GIDs&lt;br /&gt;
 #         by the authzdb plugin)&lt;br /&gt;
 #   [account]&lt;br /&gt;
 #       - account-plugins verify the validity of a possibly mapped of the user &lt;br /&gt;
 #         and may reject the login depending on information gathered within the &lt;br /&gt;
 #         map step.&lt;br /&gt;
 #   [session]&lt;br /&gt;
 #       - session plugins usually enrich the session with additional attributes&lt;br /&gt;
 #         like the user’s home directory.&lt;br /&gt;
 #   [identity]&lt;br /&gt;
 #       - identity plugins are responsible for mapping UID and GID to user&lt;br /&gt;
 #         names and vice versa during the work with dCache. &lt;br /&gt;
 ################################################################################&lt;br /&gt;
 &lt;br /&gt;
 ################################################################################&lt;br /&gt;
 # Modifiers:&lt;br /&gt;
 #   [optional]&lt;br /&gt;
 #       - The success or failure of this plugin is only important if it is the &lt;br /&gt;
 #         only plugin in the stack associated with this type. &lt;br /&gt;
 #   [sufficient]&lt;br /&gt;
 #       - Success of such a plugin is enough to satisfy the authentication &lt;br /&gt;
 #         requirements of the stack of plugins (if a prior required plugin has&lt;br /&gt;
 #         failed the success of this one is ignored). &lt;br /&gt;
 #       - A failure of this plugin isn't deemed as fatal for the login attempt.&lt;br /&gt;
 #       - If the plugin succeeds gPlazma2 immediately proceeds with the next &lt;br /&gt;
 #         plugin type or returns control to the door if this was the last stack. &lt;br /&gt;
 #   [required]&lt;br /&gt;
 #       - Failure of such a plugin will ultimately lead to gPlazma2 returning &lt;br /&gt;
 #         failure but only after the remaining plugins for this type have been &lt;br /&gt;
 #         invoked. &lt;br /&gt;
 #   [requisite]&lt;br /&gt;
 #       - Like required, however, in the case that such a plugin returns a&lt;br /&gt;
 #         failure, control is directly returned to the d&lt;br /&gt;
 ################################################################################&lt;br /&gt;
 auth     sufficient  htpasswd&lt;br /&gt;
 auth     optional    x509&lt;br /&gt;
 auth     sufficient  voms&lt;br /&gt;
 # send username and password to LDAP server&lt;br /&gt;
 auth     optional    jaas       gplazma.jaas.name=LdapGplazma&lt;br /&gt;
 map      optional    vorolemap&lt;br /&gt;
 map      sufficient  authzdb&lt;br /&gt;
 map      optional    gridmap&lt;br /&gt;
 # convert LDAP specific result to dCache internal principals&lt;br /&gt;
 map      optional    mutator gplazma.mutator.accept=com.sun.security.auth.UserPrincipal gplazma.mutator.produce=username&lt;br /&gt;
 # use ldap to map user name to uid&lt;br /&gt;
 # map      optional    ldap&lt;br /&gt;
 map      requisite   nsswitch&lt;br /&gt;
 identity requisite   nsswitch&lt;br /&gt;
 session  sufficient  nsswitch&lt;br /&gt;
 session  sufficient  authzdb&lt;br /&gt;
== Authetincation types ==&lt;br /&gt;
=== jaas ===&lt;br /&gt;
* ''This is intended for PIC LDAP users accessing to WebDAV.''&lt;br /&gt;
* JAAS, custom ''/etc/dcache/jgss.conf''&lt;br /&gt;
=== htpasswd ===&lt;br /&gt;
* ''This is intended only for the WebDAV protocol.''&lt;br /&gt;
* Configuration file can be found here: ''/etc/dcache/htpasswd''&lt;br /&gt;
=== x509 ===&lt;br /&gt;
* ''This is mostly intented for the WebDAV protocol.''&lt;br /&gt;
* Users defined in ''/etc/grid-security/grid-mapfile''.&lt;br /&gt;
:* '''/etc/grid-security/grid-mapfile''' is generated with a ''grid-mapfile'' cron (''crontab -l'') which executes the '''edg-mkgridmap''' application.&lt;br /&gt;
 # Puppet Name: grid-mapfile&lt;br /&gt;
 0 */6 * * * [ ! -f /var/lock/subsys/edg-mkgridmap ] &amp;amp;&amp;amp; /usr/sbin/edg-mkgridmap --output=- &amp;gt; /etc/grid-security/grid-mapfile.new &amp;amp;&amp;amp; sleep 3 &amp;amp;&amp;amp; cat /etc/grid-security/grid-mapfile.new &amp;gt; /etc/grid-security/grid-mapfile&lt;br /&gt;
:* '''edg-mkgridmap''' application can be configured with the ''/etc/edg-mkgridmap.conf'' file where:&lt;br /&gt;
::* You can map VO members by specifying a VOMS service and the affected VO. In example:&lt;br /&gt;
 group vomss://voms2.cern.ch:8443/voms/lhcb?/lhcb lhcb001&lt;br /&gt;
::* '''/etc/grid-mapfile-local''' is a file to bootstrap the actual grid-mapfile and can be used to allow extra DNs or override some mappings&lt;br /&gt;
=== voms ===&lt;br /&gt;
* ''This is intented for GRID Users, mostly using GridFTP, GSI-DCap &amp;amp; SRM protocols.''&lt;br /&gt;
* User defined in ''/etc/grid-security/grid-vorolemap''.&lt;br /&gt;
=== multimap ===&lt;br /&gt;
* Useful for OIDC authentication (i.e. through Google or INDIGO Accounts)&lt;br /&gt;
&lt;br /&gt;
== dCache Authorization by protocol ==&lt;br /&gt;
=== WebDAV ===&lt;br /&gt;
* htpasswd&lt;br /&gt;
* x509&lt;br /&gt;
=== NFSv3/NFSv41 ===&lt;br /&gt;
* Authentication is not performed in the dCache system, is made through OpenLDAP server.&lt;br /&gt;
=== GridFTP ===&lt;br /&gt;
* x509&lt;br /&gt;
* voms&lt;br /&gt;
=== DCap/GSI-DCap ===&lt;br /&gt;
==== Plain DCap ====&lt;br /&gt;
* No authentication required, but needs world readable and/or writable files and directories.&lt;br /&gt;
* Only recommended its use for prestages.&lt;br /&gt;
==== GSI-DCap ====&lt;br /&gt;
* voms&lt;br /&gt;
=== XRootD ===&lt;br /&gt;
* voms&lt;/div&gt;</summary>
		<author><name>Mcaubet</name></author>
	</entry>
	<entry>
		<id>https://pwiki.pic.es/index.php?title=HowTo:_Configuring_gPlazma&amp;diff=221</id>
		<title>HowTo: Configuring gPlazma</title>
		<link rel="alternate" type="text/html" href="https://pwiki.pic.es/index.php?title=HowTo:_Configuring_gPlazma&amp;diff=221"/>
		<updated>2017-09-06T13:23:17Z</updated>

		<summary type="html">&lt;p&gt;Mcaubet: /* DCap/GSI-DCap */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Configuring gPlazma =&lt;br /&gt;
== gPlazma configuration file example ==&lt;br /&gt;
 ################################################################################&lt;br /&gt;
 # Login Phases:&lt;br /&gt;
 #   [auth]&lt;br /&gt;
 #       - auth-plugins are used to read the users public and private&lt;br /&gt;
 #         credentials and ask some authority, if those are valid for accessing &lt;br /&gt;
 #         the system. &lt;br /&gt;
 #   [map]&lt;br /&gt;
 #       - map-plugins map the user information obtained in the auth step to UID&lt;br /&gt;
 #         and GIDs. &lt;br /&gt;
 #       - This may also be done in several steps (e.g., the vorolemap plugin &lt;br /&gt;
 #         maps the users DN+FQAN to a username which is then mapped to UID/GIDs&lt;br /&gt;
 #         by the authzdb plugin)&lt;br /&gt;
 #   [account]&lt;br /&gt;
 #       - account-plugins verify the validity of a possibly mapped of the user &lt;br /&gt;
 #         and may reject the login depending on information gathered within the &lt;br /&gt;
 #         map step.&lt;br /&gt;
 #   [session]&lt;br /&gt;
 #       - session plugins usually enrich the session with additional attributes&lt;br /&gt;
 #         like the user’s home directory.&lt;br /&gt;
 #   [identity]&lt;br /&gt;
 #       - identity plugins are responsible for mapping UID and GID to user&lt;br /&gt;
 #         names and vice versa during the work with dCache. &lt;br /&gt;
 ################################################################################&lt;br /&gt;
 &lt;br /&gt;
 ################################################################################&lt;br /&gt;
 # Modifiers:&lt;br /&gt;
 #   [optional]&lt;br /&gt;
 #       - The success or failure of this plugin is only important if it is the &lt;br /&gt;
 #         only plugin in the stack associated with this type. &lt;br /&gt;
 #   [sufficient]&lt;br /&gt;
 #       - Success of such a plugin is enough to satisfy the authentication &lt;br /&gt;
 #         requirements of the stack of plugins (if a prior required plugin has&lt;br /&gt;
 #         failed the success of this one is ignored). &lt;br /&gt;
 #       - A failure of this plugin isn't deemed as fatal for the login attempt.&lt;br /&gt;
 #       - If the plugin succeeds gPlazma2 immediately proceeds with the next &lt;br /&gt;
 #         plugin type or returns control to the door if this was the last stack. &lt;br /&gt;
 #   [required]&lt;br /&gt;
 #       - Failure of such a plugin will ultimately lead to gPlazma2 returning &lt;br /&gt;
 #         failure but only after the remaining plugins for this type have been &lt;br /&gt;
 #         invoked. &lt;br /&gt;
 #   [requisite]&lt;br /&gt;
 #       - Like required, however, in the case that such a plugin returns a&lt;br /&gt;
 #         failure, control is directly returned to the d&lt;br /&gt;
 ################################################################################&lt;br /&gt;
 auth     sufficient  htpasswd&lt;br /&gt;
 auth     optional    x509&lt;br /&gt;
 auth     sufficient  voms&lt;br /&gt;
 # send username and password to LDAP server&lt;br /&gt;
 auth     optional    jaas       gplazma.jaas.name=LdapGplazma&lt;br /&gt;
 map      optional    vorolemap&lt;br /&gt;
 map      sufficient  authzdb&lt;br /&gt;
 map      optional    gridmap&lt;br /&gt;
 # convert LDAP specific result to dCache internal principals&lt;br /&gt;
 map      optional    mutator gplazma.mutator.accept=com.sun.security.auth.UserPrincipal gplazma.mutator.produce=username&lt;br /&gt;
 # use ldap to map user name to uid&lt;br /&gt;
 # map      optional    ldap&lt;br /&gt;
 map      requisite   nsswitch&lt;br /&gt;
 identity requisite   nsswitch&lt;br /&gt;
 session  sufficient  nsswitch&lt;br /&gt;
 session  sufficient  authzdb&lt;br /&gt;
== Authetincation types ==&lt;br /&gt;
=== jaas ===&lt;br /&gt;
* ''This is intended for PIC LDAP users accessing to WebDAV.''&lt;br /&gt;
* JAAS, custom ''/etc/dcache/jgss.conf''&lt;br /&gt;
=== htpasswd ===&lt;br /&gt;
* ''This is intended only for the WebDAV protocol.''&lt;br /&gt;
* Configuration file can be found here: ''/etc/dcache/htpasswd''&lt;br /&gt;
=== x509 ===&lt;br /&gt;
* ''This is mostly intented for the WebDAV protocol.''&lt;br /&gt;
* Users defined in ''/etc/grid-security/grid-mapfile''.&lt;br /&gt;
:* '''/etc/grid-security/grid-mapfile''' is generated with a ''grid-mapfile'' cron (''crontab -l'') which executes the '''edg-mkgridmap''' application.&lt;br /&gt;
 # Puppet Name: grid-mapfile&lt;br /&gt;
 0 */6 * * * [ ! -f /var/lock/subsys/edg-mkgridmap ] &amp;amp;&amp;amp; /usr/sbin/edg-mkgridmap --output=- &amp;gt; /etc/grid-security/grid-mapfile.new &amp;amp;&amp;amp; sleep 3 &amp;amp;&amp;amp; cat /etc/grid-security/grid-mapfile.new &amp;gt; /etc/grid-security/grid-mapfile&lt;br /&gt;
:* '''edg-mkgridmap''' application can be configured with the ''/etc/edg-mkgridmap.conf'' file where:&lt;br /&gt;
::* You can map VO members by specifying a VOMS service and the affected VO. In example:&lt;br /&gt;
 group vomss://voms2.cern.ch:8443/voms/lhcb?/lhcb lhcb001&lt;br /&gt;
::* '''/etc/grid-mapfile-local''' is a file to bootstrap the actual grid-mapfile and can be used to allow extra DNs or override some mappings&lt;br /&gt;
=== voms ===&lt;br /&gt;
* ''This is intented for GRID Users, mostly using GridFTP, GSI-DCap &amp;amp; SRM protocols.''&lt;br /&gt;
* User defined in ''/etc/grid-security/grid-vorolemap''.&lt;br /&gt;
=== multimap ===&lt;br /&gt;
* Useful for OIDC authentication (i.e. through Google or INDIGO Accounts)&lt;br /&gt;
&lt;br /&gt;
== dCache Authorization by protocol ==&lt;br /&gt;
=== WebDAV ===&lt;br /&gt;
==== Authentication ====&lt;br /&gt;
* htpasswd&lt;br /&gt;
* x509&lt;br /&gt;
==== Mapping ====&lt;br /&gt;
* glazma Mutator (to convert LDAP specific result to dCache internal principals)  + NSSwitch (to map user name to uid)&lt;br /&gt;
=== NFSv3/NFSv41 ===&lt;br /&gt;
==== Authentication ====&lt;br /&gt;
* Authentication is not performed in the dCache system, is made through OpenLDAP server.&lt;br /&gt;
==== Mapping ==== &lt;br /&gt;
* Username/Password already authenticated through OpenLDAP, NSSwitch for mapping.&lt;br /&gt;
=== GridFTP ===&lt;br /&gt;
==== Authentication ====&lt;br /&gt;
* x509&lt;br /&gt;
* voms&lt;br /&gt;
==== Mapping ====&lt;br /&gt;
* ''gridmap'' must is map the incoming DN to a local user&lt;br /&gt;
=== DCap/GSI-DCap ===&lt;br /&gt;
==== Authentication ====&lt;br /&gt;
===== Plain DCap =====&lt;br /&gt;
* No authentication required, but needs world readable and/or writable files and directories.&lt;br /&gt;
* Only recommended its use for prestages.&lt;br /&gt;
===== GSI-DCap =====&lt;br /&gt;
* voms&lt;br /&gt;
==== Mapping ====&lt;br /&gt;
* vorolemap&lt;br /&gt;
* authzdb&lt;br /&gt;
* gridmap&lt;br /&gt;
&lt;br /&gt;
=== XRootD ===&lt;br /&gt;
==== Authentication ====&lt;br /&gt;
==== Mapping ====&lt;/div&gt;</summary>
		<author><name>Mcaubet</name></author>
	</entry>
	<entry>
		<id>https://pwiki.pic.es/index.php?title=HowTo:_Configuring_gPlazma&amp;diff=220</id>
		<title>HowTo: Configuring gPlazma</title>
		<link rel="alternate" type="text/html" href="https://pwiki.pic.es/index.php?title=HowTo:_Configuring_gPlazma&amp;diff=220"/>
		<updated>2017-09-06T13:21:53Z</updated>

		<summary type="html">&lt;p&gt;Mcaubet: /* GSI-DCap */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Configuring gPlazma =&lt;br /&gt;
== gPlazma configuration file example ==&lt;br /&gt;
 ################################################################################&lt;br /&gt;
 # Login Phases:&lt;br /&gt;
 #   [auth]&lt;br /&gt;
 #       - auth-plugins are used to read the users public and private&lt;br /&gt;
 #         credentials and ask some authority, if those are valid for accessing &lt;br /&gt;
 #         the system. &lt;br /&gt;
 #   [map]&lt;br /&gt;
 #       - map-plugins map the user information obtained in the auth step to UID&lt;br /&gt;
 #         and GIDs. &lt;br /&gt;
 #       - This may also be done in several steps (e.g., the vorolemap plugin &lt;br /&gt;
 #         maps the users DN+FQAN to a username which is then mapped to UID/GIDs&lt;br /&gt;
 #         by the authzdb plugin)&lt;br /&gt;
 #   [account]&lt;br /&gt;
 #       - account-plugins verify the validity of a possibly mapped of the user &lt;br /&gt;
 #         and may reject the login depending on information gathered within the &lt;br /&gt;
 #         map step.&lt;br /&gt;
 #   [session]&lt;br /&gt;
 #       - session plugins usually enrich the session with additional attributes&lt;br /&gt;
 #         like the user’s home directory.&lt;br /&gt;
 #   [identity]&lt;br /&gt;
 #       - identity plugins are responsible for mapping UID and GID to user&lt;br /&gt;
 #         names and vice versa during the work with dCache. &lt;br /&gt;
 ################################################################################&lt;br /&gt;
 &lt;br /&gt;
 ################################################################################&lt;br /&gt;
 # Modifiers:&lt;br /&gt;
 #   [optional]&lt;br /&gt;
 #       - The success or failure of this plugin is only important if it is the &lt;br /&gt;
 #         only plugin in the stack associated with this type. &lt;br /&gt;
 #   [sufficient]&lt;br /&gt;
 #       - Success of such a plugin is enough to satisfy the authentication &lt;br /&gt;
 #         requirements of the stack of plugins (if a prior required plugin has&lt;br /&gt;
 #         failed the success of this one is ignored). &lt;br /&gt;
 #       - A failure of this plugin isn't deemed as fatal for the login attempt.&lt;br /&gt;
 #       - If the plugin succeeds gPlazma2 immediately proceeds with the next &lt;br /&gt;
 #         plugin type or returns control to the door if this was the last stack. &lt;br /&gt;
 #   [required]&lt;br /&gt;
 #       - Failure of such a plugin will ultimately lead to gPlazma2 returning &lt;br /&gt;
 #         failure but only after the remaining plugins for this type have been &lt;br /&gt;
 #         invoked. &lt;br /&gt;
 #   [requisite]&lt;br /&gt;
 #       - Like required, however, in the case that such a plugin returns a&lt;br /&gt;
 #         failure, control is directly returned to the d&lt;br /&gt;
 ################################################################################&lt;br /&gt;
 auth     sufficient  htpasswd&lt;br /&gt;
 auth     optional    x509&lt;br /&gt;
 auth     sufficient  voms&lt;br /&gt;
 # send username and password to LDAP server&lt;br /&gt;
 auth     optional    jaas       gplazma.jaas.name=LdapGplazma&lt;br /&gt;
 map      optional    vorolemap&lt;br /&gt;
 map      sufficient  authzdb&lt;br /&gt;
 map      optional    gridmap&lt;br /&gt;
 # convert LDAP specific result to dCache internal principals&lt;br /&gt;
 map      optional    mutator gplazma.mutator.accept=com.sun.security.auth.UserPrincipal gplazma.mutator.produce=username&lt;br /&gt;
 # use ldap to map user name to uid&lt;br /&gt;
 # map      optional    ldap&lt;br /&gt;
 map      requisite   nsswitch&lt;br /&gt;
 identity requisite   nsswitch&lt;br /&gt;
 session  sufficient  nsswitch&lt;br /&gt;
 session  sufficient  authzdb&lt;br /&gt;
== Authetincation types ==&lt;br /&gt;
=== jaas ===&lt;br /&gt;
* ''This is intended for PIC LDAP users accessing to WebDAV.''&lt;br /&gt;
* JAAS, custom ''/etc/dcache/jgss.conf''&lt;br /&gt;
=== htpasswd ===&lt;br /&gt;
* ''This is intended only for the WebDAV protocol.''&lt;br /&gt;
* Configuration file can be found here: ''/etc/dcache/htpasswd''&lt;br /&gt;
=== x509 ===&lt;br /&gt;
* ''This is mostly intented for the WebDAV protocol.''&lt;br /&gt;
* Users defined in ''/etc/grid-security/grid-mapfile''.&lt;br /&gt;
:* '''/etc/grid-security/grid-mapfile''' is generated with a ''grid-mapfile'' cron (''crontab -l'') which executes the '''edg-mkgridmap''' application.&lt;br /&gt;
 # Puppet Name: grid-mapfile&lt;br /&gt;
 0 */6 * * * [ ! -f /var/lock/subsys/edg-mkgridmap ] &amp;amp;&amp;amp; /usr/sbin/edg-mkgridmap --output=- &amp;gt; /etc/grid-security/grid-mapfile.new &amp;amp;&amp;amp; sleep 3 &amp;amp;&amp;amp; cat /etc/grid-security/grid-mapfile.new &amp;gt; /etc/grid-security/grid-mapfile&lt;br /&gt;
:* '''edg-mkgridmap''' application can be configured with the ''/etc/edg-mkgridmap.conf'' file where:&lt;br /&gt;
::* You can map VO members by specifying a VOMS service and the affected VO. In example:&lt;br /&gt;
 group vomss://voms2.cern.ch:8443/voms/lhcb?/lhcb lhcb001&lt;br /&gt;
::* '''/etc/grid-mapfile-local''' is a file to bootstrap the actual grid-mapfile and can be used to allow extra DNs or override some mappings&lt;br /&gt;
=== voms ===&lt;br /&gt;
* ''This is intented for GRID Users, mostly using GridFTP, GSI-DCap &amp;amp; SRM protocols.''&lt;br /&gt;
* User defined in ''/etc/grid-security/grid-vorolemap''.&lt;br /&gt;
=== multimap ===&lt;br /&gt;
* Useful for OIDC authentication (i.e. through Google or INDIGO Accounts)&lt;br /&gt;
&lt;br /&gt;
== dCache Authorization by protocol ==&lt;br /&gt;
=== WebDAV ===&lt;br /&gt;
==== Authentication ====&lt;br /&gt;
* htpasswd&lt;br /&gt;
* x509&lt;br /&gt;
==== Mapping ====&lt;br /&gt;
* glazma Mutator (to convert LDAP specific result to dCache internal principals)  + NSSwitch (to map user name to uid)&lt;br /&gt;
=== NFSv3/NFSv41 ===&lt;br /&gt;
==== Authentication ====&lt;br /&gt;
* Authentication is not performed in the dCache system, is made through OpenLDAP server.&lt;br /&gt;
==== Mapping ==== &lt;br /&gt;
* Username/Password already authenticated through OpenLDAP, NSSwitch for mapping.&lt;br /&gt;
=== GridFTP ===&lt;br /&gt;
==== Authentication ====&lt;br /&gt;
* x509&lt;br /&gt;
* voms&lt;br /&gt;
==== Mapping ====&lt;br /&gt;
* ''gridmap'' must is map the incoming DN to a local user&lt;br /&gt;
=== DCap/GSI-DCap ===&lt;br /&gt;
==== Authentication ====&lt;br /&gt;
===== Plain DCap =====&lt;br /&gt;
* No authentication required, but needs world readable and/or writable files and directories.&lt;br /&gt;
* Only recommended its use for prestages.&lt;br /&gt;
===== GSI-DCap =====&lt;br /&gt;
* voms&lt;br /&gt;
&lt;br /&gt;
==== Mapping ====&lt;br /&gt;
&lt;br /&gt;
=== XRootD ===&lt;br /&gt;
==== Authentication ====&lt;br /&gt;
==== Mapping ====&lt;/div&gt;</summary>
		<author><name>Mcaubet</name></author>
	</entry>
	<entry>
		<id>https://pwiki.pic.es/index.php?title=HowTo:_Configuring_gPlazma&amp;diff=219</id>
		<title>HowTo: Configuring gPlazma</title>
		<link rel="alternate" type="text/html" href="https://pwiki.pic.es/index.php?title=HowTo:_Configuring_gPlazma&amp;diff=219"/>
		<updated>2017-09-06T13:21:38Z</updated>

		<summary type="html">&lt;p&gt;Mcaubet: /* GSI-DCap = */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Configuring gPlazma =&lt;br /&gt;
== gPlazma configuration file example ==&lt;br /&gt;
 ################################################################################&lt;br /&gt;
 # Login Phases:&lt;br /&gt;
 #   [auth]&lt;br /&gt;
 #       - auth-plugins are used to read the users public and private&lt;br /&gt;
 #         credentials and ask some authority, if those are valid for accessing &lt;br /&gt;
 #         the system. &lt;br /&gt;
 #   [map]&lt;br /&gt;
 #       - map-plugins map the user information obtained in the auth step to UID&lt;br /&gt;
 #         and GIDs. &lt;br /&gt;
 #       - This may also be done in several steps (e.g., the vorolemap plugin &lt;br /&gt;
 #         maps the users DN+FQAN to a username which is then mapped to UID/GIDs&lt;br /&gt;
 #         by the authzdb plugin)&lt;br /&gt;
 #   [account]&lt;br /&gt;
 #       - account-plugins verify the validity of a possibly mapped of the user &lt;br /&gt;
 #         and may reject the login depending on information gathered within the &lt;br /&gt;
 #         map step.&lt;br /&gt;
 #   [session]&lt;br /&gt;
 #       - session plugins usually enrich the session with additional attributes&lt;br /&gt;
 #         like the user’s home directory.&lt;br /&gt;
 #   [identity]&lt;br /&gt;
 #       - identity plugins are responsible for mapping UID and GID to user&lt;br /&gt;
 #         names and vice versa during the work with dCache. &lt;br /&gt;
 ################################################################################&lt;br /&gt;
 &lt;br /&gt;
 ################################################################################&lt;br /&gt;
 # Modifiers:&lt;br /&gt;
 #   [optional]&lt;br /&gt;
 #       - The success or failure of this plugin is only important if it is the &lt;br /&gt;
 #         only plugin in the stack associated with this type. &lt;br /&gt;
 #   [sufficient]&lt;br /&gt;
 #       - Success of such a plugin is enough to satisfy the authentication &lt;br /&gt;
 #         requirements of the stack of plugins (if a prior required plugin has&lt;br /&gt;
 #         failed the success of this one is ignored). &lt;br /&gt;
 #       - A failure of this plugin isn't deemed as fatal for the login attempt.&lt;br /&gt;
 #       - If the plugin succeeds gPlazma2 immediately proceeds with the next &lt;br /&gt;
 #         plugin type or returns control to the door if this was the last stack. &lt;br /&gt;
 #   [required]&lt;br /&gt;
 #       - Failure of such a plugin will ultimately lead to gPlazma2 returning &lt;br /&gt;
 #         failure but only after the remaining plugins for this type have been &lt;br /&gt;
 #         invoked. &lt;br /&gt;
 #   [requisite]&lt;br /&gt;
 #       - Like required, however, in the case that such a plugin returns a&lt;br /&gt;
 #         failure, control is directly returned to the d&lt;br /&gt;
 ################################################################################&lt;br /&gt;
 auth     sufficient  htpasswd&lt;br /&gt;
 auth     optional    x509&lt;br /&gt;
 auth     sufficient  voms&lt;br /&gt;
 # send username and password to LDAP server&lt;br /&gt;
 auth     optional    jaas       gplazma.jaas.name=LdapGplazma&lt;br /&gt;
 map      optional    vorolemap&lt;br /&gt;
 map      sufficient  authzdb&lt;br /&gt;
 map      optional    gridmap&lt;br /&gt;
 # convert LDAP specific result to dCache internal principals&lt;br /&gt;
 map      optional    mutator gplazma.mutator.accept=com.sun.security.auth.UserPrincipal gplazma.mutator.produce=username&lt;br /&gt;
 # use ldap to map user name to uid&lt;br /&gt;
 # map      optional    ldap&lt;br /&gt;
 map      requisite   nsswitch&lt;br /&gt;
 identity requisite   nsswitch&lt;br /&gt;
 session  sufficient  nsswitch&lt;br /&gt;
 session  sufficient  authzdb&lt;br /&gt;
== Authetincation types ==&lt;br /&gt;
=== jaas ===&lt;br /&gt;
* ''This is intended for PIC LDAP users accessing to WebDAV.''&lt;br /&gt;
* JAAS, custom ''/etc/dcache/jgss.conf''&lt;br /&gt;
=== htpasswd ===&lt;br /&gt;
* ''This is intended only for the WebDAV protocol.''&lt;br /&gt;
* Configuration file can be found here: ''/etc/dcache/htpasswd''&lt;br /&gt;
=== x509 ===&lt;br /&gt;
* ''This is mostly intented for the WebDAV protocol.''&lt;br /&gt;
* Users defined in ''/etc/grid-security/grid-mapfile''.&lt;br /&gt;
:* '''/etc/grid-security/grid-mapfile''' is generated with a ''grid-mapfile'' cron (''crontab -l'') which executes the '''edg-mkgridmap''' application.&lt;br /&gt;
 # Puppet Name: grid-mapfile&lt;br /&gt;
 0 */6 * * * [ ! -f /var/lock/subsys/edg-mkgridmap ] &amp;amp;&amp;amp; /usr/sbin/edg-mkgridmap --output=- &amp;gt; /etc/grid-security/grid-mapfile.new &amp;amp;&amp;amp; sleep 3 &amp;amp;&amp;amp; cat /etc/grid-security/grid-mapfile.new &amp;gt; /etc/grid-security/grid-mapfile&lt;br /&gt;
:* '''edg-mkgridmap''' application can be configured with the ''/etc/edg-mkgridmap.conf'' file where:&lt;br /&gt;
::* You can map VO members by specifying a VOMS service and the affected VO. In example:&lt;br /&gt;
 group vomss://voms2.cern.ch:8443/voms/lhcb?/lhcb lhcb001&lt;br /&gt;
::* '''/etc/grid-mapfile-local''' is a file to bootstrap the actual grid-mapfile and can be used to allow extra DNs or override some mappings&lt;br /&gt;
=== voms ===&lt;br /&gt;
* ''This is intented for GRID Users, mostly using GridFTP, GSI-DCap &amp;amp; SRM protocols.''&lt;br /&gt;
* User defined in ''/etc/grid-security/grid-vorolemap''.&lt;br /&gt;
=== multimap ===&lt;br /&gt;
* Useful for OIDC authentication (i.e. through Google or INDIGO Accounts)&lt;br /&gt;
&lt;br /&gt;
== dCache Authorization by protocol ==&lt;br /&gt;
=== WebDAV ===&lt;br /&gt;
==== Authentication ====&lt;br /&gt;
* htpasswd&lt;br /&gt;
* x509&lt;br /&gt;
==== Mapping ====&lt;br /&gt;
* glazma Mutator (to convert LDAP specific result to dCache internal principals)  + NSSwitch (to map user name to uid)&lt;br /&gt;
=== NFSv3/NFSv41 ===&lt;br /&gt;
==== Authentication ====&lt;br /&gt;
* Authentication is not performed in the dCache system, is made through OpenLDAP server.&lt;br /&gt;
==== Mapping ==== &lt;br /&gt;
* Username/Password already authenticated through OpenLDAP, NSSwitch for mapping.&lt;br /&gt;
=== GridFTP ===&lt;br /&gt;
==== Authentication ====&lt;br /&gt;
* x509&lt;br /&gt;
* voms&lt;br /&gt;
==== Mapping ====&lt;br /&gt;
* ''gridmap'' must is map the incoming DN to a local user&lt;br /&gt;
=== DCap/GSI-DCap ===&lt;br /&gt;
==== Authentication ====&lt;br /&gt;
===== Plain DCap =====&lt;br /&gt;
* No authentication required, but needs world readable and/or writable files and directories.&lt;br /&gt;
* Only recommended its use for prestages.&lt;br /&gt;
==== GSI-DCap ====&lt;br /&gt;
* voms&lt;br /&gt;
&lt;br /&gt;
==== Mapping ====&lt;br /&gt;
&lt;br /&gt;
=== XRootD ===&lt;br /&gt;
==== Authentication ====&lt;br /&gt;
==== Mapping ====&lt;/div&gt;</summary>
		<author><name>Mcaubet</name></author>
	</entry>
	<entry>
		<id>https://pwiki.pic.es/index.php?title=HowTo:_Configuring_gPlazma&amp;diff=218</id>
		<title>HowTo: Configuring gPlazma</title>
		<link rel="alternate" type="text/html" href="https://pwiki.pic.es/index.php?title=HowTo:_Configuring_gPlazma&amp;diff=218"/>
		<updated>2017-09-06T13:20:16Z</updated>

		<summary type="html">&lt;p&gt;Mcaubet: /* DCap/GSI-DCap */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Configuring gPlazma =&lt;br /&gt;
== gPlazma configuration file example ==&lt;br /&gt;
 ################################################################################&lt;br /&gt;
 # Login Phases:&lt;br /&gt;
 #   [auth]&lt;br /&gt;
 #       - auth-plugins are used to read the users public and private&lt;br /&gt;
 #         credentials and ask some authority, if those are valid for accessing &lt;br /&gt;
 #         the system. &lt;br /&gt;
 #   [map]&lt;br /&gt;
 #       - map-plugins map the user information obtained in the auth step to UID&lt;br /&gt;
 #         and GIDs. &lt;br /&gt;
 #       - This may also be done in several steps (e.g., the vorolemap plugin &lt;br /&gt;
 #         maps the users DN+FQAN to a username which is then mapped to UID/GIDs&lt;br /&gt;
 #         by the authzdb plugin)&lt;br /&gt;
 #   [account]&lt;br /&gt;
 #       - account-plugins verify the validity of a possibly mapped of the user &lt;br /&gt;
 #         and may reject the login depending on information gathered within the &lt;br /&gt;
 #         map step.&lt;br /&gt;
 #   [session]&lt;br /&gt;
 #       - session plugins usually enrich the session with additional attributes&lt;br /&gt;
 #         like the user’s home directory.&lt;br /&gt;
 #   [identity]&lt;br /&gt;
 #       - identity plugins are responsible for mapping UID and GID to user&lt;br /&gt;
 #         names and vice versa during the work with dCache. &lt;br /&gt;
 ################################################################################&lt;br /&gt;
 &lt;br /&gt;
 ################################################################################&lt;br /&gt;
 # Modifiers:&lt;br /&gt;
 #   [optional]&lt;br /&gt;
 #       - The success or failure of this plugin is only important if it is the &lt;br /&gt;
 #         only plugin in the stack associated with this type. &lt;br /&gt;
 #   [sufficient]&lt;br /&gt;
 #       - Success of such a plugin is enough to satisfy the authentication &lt;br /&gt;
 #         requirements of the stack of plugins (if a prior required plugin has&lt;br /&gt;
 #         failed the success of this one is ignored). &lt;br /&gt;
 #       - A failure of this plugin isn't deemed as fatal for the login attempt.&lt;br /&gt;
 #       - If the plugin succeeds gPlazma2 immediately proceeds with the next &lt;br /&gt;
 #         plugin type or returns control to the door if this was the last stack. &lt;br /&gt;
 #   [required]&lt;br /&gt;
 #       - Failure of such a plugin will ultimately lead to gPlazma2 returning &lt;br /&gt;
 #         failure but only after the remaining plugins for this type have been &lt;br /&gt;
 #         invoked. &lt;br /&gt;
 #   [requisite]&lt;br /&gt;
 #       - Like required, however, in the case that such a plugin returns a&lt;br /&gt;
 #         failure, control is directly returned to the d&lt;br /&gt;
 ################################################################################&lt;br /&gt;
 auth     sufficient  htpasswd&lt;br /&gt;
 auth     optional    x509&lt;br /&gt;
 auth     sufficient  voms&lt;br /&gt;
 # send username and password to LDAP server&lt;br /&gt;
 auth     optional    jaas       gplazma.jaas.name=LdapGplazma&lt;br /&gt;
 map      optional    vorolemap&lt;br /&gt;
 map      sufficient  authzdb&lt;br /&gt;
 map      optional    gridmap&lt;br /&gt;
 # convert LDAP specific result to dCache internal principals&lt;br /&gt;
 map      optional    mutator gplazma.mutator.accept=com.sun.security.auth.UserPrincipal gplazma.mutator.produce=username&lt;br /&gt;
 # use ldap to map user name to uid&lt;br /&gt;
 # map      optional    ldap&lt;br /&gt;
 map      requisite   nsswitch&lt;br /&gt;
 identity requisite   nsswitch&lt;br /&gt;
 session  sufficient  nsswitch&lt;br /&gt;
 session  sufficient  authzdb&lt;br /&gt;
== Authetincation types ==&lt;br /&gt;
=== jaas ===&lt;br /&gt;
* ''This is intended for PIC LDAP users accessing to WebDAV.''&lt;br /&gt;
* JAAS, custom ''/etc/dcache/jgss.conf''&lt;br /&gt;
=== htpasswd ===&lt;br /&gt;
* ''This is intended only for the WebDAV protocol.''&lt;br /&gt;
* Configuration file can be found here: ''/etc/dcache/htpasswd''&lt;br /&gt;
=== x509 ===&lt;br /&gt;
* ''This is mostly intented for the WebDAV protocol.''&lt;br /&gt;
* Users defined in ''/etc/grid-security/grid-mapfile''.&lt;br /&gt;
:* '''/etc/grid-security/grid-mapfile''' is generated with a ''grid-mapfile'' cron (''crontab -l'') which executes the '''edg-mkgridmap''' application.&lt;br /&gt;
 # Puppet Name: grid-mapfile&lt;br /&gt;
 0 */6 * * * [ ! -f /var/lock/subsys/edg-mkgridmap ] &amp;amp;&amp;amp; /usr/sbin/edg-mkgridmap --output=- &amp;gt; /etc/grid-security/grid-mapfile.new &amp;amp;&amp;amp; sleep 3 &amp;amp;&amp;amp; cat /etc/grid-security/grid-mapfile.new &amp;gt; /etc/grid-security/grid-mapfile&lt;br /&gt;
:* '''edg-mkgridmap''' application can be configured with the ''/etc/edg-mkgridmap.conf'' file where:&lt;br /&gt;
::* You can map VO members by specifying a VOMS service and the affected VO. In example:&lt;br /&gt;
 group vomss://voms2.cern.ch:8443/voms/lhcb?/lhcb lhcb001&lt;br /&gt;
::* '''/etc/grid-mapfile-local''' is a file to bootstrap the actual grid-mapfile and can be used to allow extra DNs or override some mappings&lt;br /&gt;
=== voms ===&lt;br /&gt;
* ''This is intented for GRID Users, mostly using GridFTP, GSI-DCap &amp;amp; SRM protocols.''&lt;br /&gt;
* User defined in ''/etc/grid-security/grid-vorolemap''.&lt;br /&gt;
=== multimap ===&lt;br /&gt;
* Useful for OIDC authentication (i.e. through Google or INDIGO Accounts)&lt;br /&gt;
&lt;br /&gt;
== dCache Authorization by protocol ==&lt;br /&gt;
=== WebDAV ===&lt;br /&gt;
==== Authentication ====&lt;br /&gt;
* htpasswd&lt;br /&gt;
* x509&lt;br /&gt;
==== Mapping ====&lt;br /&gt;
* glazma Mutator (to convert LDAP specific result to dCache internal principals)  + NSSwitch (to map user name to uid)&lt;br /&gt;
=== NFSv3/NFSv41 ===&lt;br /&gt;
==== Authentication ====&lt;br /&gt;
* Authentication is not performed in the dCache system, is made through OpenLDAP server.&lt;br /&gt;
==== Mapping ==== &lt;br /&gt;
* Username/Password already authenticated through OpenLDAP, NSSwitch for mapping.&lt;br /&gt;
=== GridFTP ===&lt;br /&gt;
==== Authentication ====&lt;br /&gt;
* x509&lt;br /&gt;
* voms&lt;br /&gt;
==== Mapping ====&lt;br /&gt;
* ''gridmap'' must is map the incoming DN to a local user&lt;br /&gt;
=== DCap/GSI-DCap ===&lt;br /&gt;
==== Authentication ====&lt;br /&gt;
===== Plain DCap =====&lt;br /&gt;
* No authentication required, but needs world readable and/or writable files and directories.&lt;br /&gt;
* Only recommended its use for prestages.&lt;br /&gt;
==== GSI-DCap =====&lt;br /&gt;
* voms&lt;br /&gt;
==== Mapping ====&lt;br /&gt;
&lt;br /&gt;
=== XRootD ===&lt;br /&gt;
==== Authentication ====&lt;br /&gt;
==== Mapping ====&lt;/div&gt;</summary>
		<author><name>Mcaubet</name></author>
	</entry>
	<entry>
		<id>https://pwiki.pic.es/index.php?title=HowTo:_Configuring_gPlazma&amp;diff=217</id>
		<title>HowTo: Configuring gPlazma</title>
		<link rel="alternate" type="text/html" href="https://pwiki.pic.es/index.php?title=HowTo:_Configuring_gPlazma&amp;diff=217"/>
		<updated>2017-09-06T13:19:47Z</updated>

		<summary type="html">&lt;p&gt;Mcaubet: /* Authetincation types */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Configuring gPlazma =&lt;br /&gt;
== gPlazma configuration file example ==&lt;br /&gt;
 ################################################################################&lt;br /&gt;
 # Login Phases:&lt;br /&gt;
 #   [auth]&lt;br /&gt;
 #       - auth-plugins are used to read the users public and private&lt;br /&gt;
 #         credentials and ask some authority, if those are valid for accessing &lt;br /&gt;
 #         the system. &lt;br /&gt;
 #   [map]&lt;br /&gt;
 #       - map-plugins map the user information obtained in the auth step to UID&lt;br /&gt;
 #         and GIDs. &lt;br /&gt;
 #       - This may also be done in several steps (e.g., the vorolemap plugin &lt;br /&gt;
 #         maps the users DN+FQAN to a username which is then mapped to UID/GIDs&lt;br /&gt;
 #         by the authzdb plugin)&lt;br /&gt;
 #   [account]&lt;br /&gt;
 #       - account-plugins verify the validity of a possibly mapped of the user &lt;br /&gt;
 #         and may reject the login depending on information gathered within the &lt;br /&gt;
 #         map step.&lt;br /&gt;
 #   [session]&lt;br /&gt;
 #       - session plugins usually enrich the session with additional attributes&lt;br /&gt;
 #         like the user’s home directory.&lt;br /&gt;
 #   [identity]&lt;br /&gt;
 #       - identity plugins are responsible for mapping UID and GID to user&lt;br /&gt;
 #         names and vice versa during the work with dCache. &lt;br /&gt;
 ################################################################################&lt;br /&gt;
 &lt;br /&gt;
 ################################################################################&lt;br /&gt;
 # Modifiers:&lt;br /&gt;
 #   [optional]&lt;br /&gt;
 #       - The success or failure of this plugin is only important if it is the &lt;br /&gt;
 #         only plugin in the stack associated with this type. &lt;br /&gt;
 #   [sufficient]&lt;br /&gt;
 #       - Success of such a plugin is enough to satisfy the authentication &lt;br /&gt;
 #         requirements of the stack of plugins (if a prior required plugin has&lt;br /&gt;
 #         failed the success of this one is ignored). &lt;br /&gt;
 #       - A failure of this plugin isn't deemed as fatal for the login attempt.&lt;br /&gt;
 #       - If the plugin succeeds gPlazma2 immediately proceeds with the next &lt;br /&gt;
 #         plugin type or returns control to the door if this was the last stack. &lt;br /&gt;
 #   [required]&lt;br /&gt;
 #       - Failure of such a plugin will ultimately lead to gPlazma2 returning &lt;br /&gt;
 #         failure but only after the remaining plugins for this type have been &lt;br /&gt;
 #         invoked. &lt;br /&gt;
 #   [requisite]&lt;br /&gt;
 #       - Like required, however, in the case that such a plugin returns a&lt;br /&gt;
 #         failure, control is directly returned to the d&lt;br /&gt;
 ################################################################################&lt;br /&gt;
 auth     sufficient  htpasswd&lt;br /&gt;
 auth     optional    x509&lt;br /&gt;
 auth     sufficient  voms&lt;br /&gt;
 # send username and password to LDAP server&lt;br /&gt;
 auth     optional    jaas       gplazma.jaas.name=LdapGplazma&lt;br /&gt;
 map      optional    vorolemap&lt;br /&gt;
 map      sufficient  authzdb&lt;br /&gt;
 map      optional    gridmap&lt;br /&gt;
 # convert LDAP specific result to dCache internal principals&lt;br /&gt;
 map      optional    mutator gplazma.mutator.accept=com.sun.security.auth.UserPrincipal gplazma.mutator.produce=username&lt;br /&gt;
 # use ldap to map user name to uid&lt;br /&gt;
 # map      optional    ldap&lt;br /&gt;
 map      requisite   nsswitch&lt;br /&gt;
 identity requisite   nsswitch&lt;br /&gt;
 session  sufficient  nsswitch&lt;br /&gt;
 session  sufficient  authzdb&lt;br /&gt;
== Authetincation types ==&lt;br /&gt;
=== jaas ===&lt;br /&gt;
* ''This is intended for PIC LDAP users accessing to WebDAV.''&lt;br /&gt;
* JAAS, custom ''/etc/dcache/jgss.conf''&lt;br /&gt;
=== htpasswd ===&lt;br /&gt;
* ''This is intended only for the WebDAV protocol.''&lt;br /&gt;
* Configuration file can be found here: ''/etc/dcache/htpasswd''&lt;br /&gt;
=== x509 ===&lt;br /&gt;
* ''This is mostly intented for the WebDAV protocol.''&lt;br /&gt;
* Users defined in ''/etc/grid-security/grid-mapfile''.&lt;br /&gt;
:* '''/etc/grid-security/grid-mapfile''' is generated with a ''grid-mapfile'' cron (''crontab -l'') which executes the '''edg-mkgridmap''' application.&lt;br /&gt;
 # Puppet Name: grid-mapfile&lt;br /&gt;
 0 */6 * * * [ ! -f /var/lock/subsys/edg-mkgridmap ] &amp;amp;&amp;amp; /usr/sbin/edg-mkgridmap --output=- &amp;gt; /etc/grid-security/grid-mapfile.new &amp;amp;&amp;amp; sleep 3 &amp;amp;&amp;amp; cat /etc/grid-security/grid-mapfile.new &amp;gt; /etc/grid-security/grid-mapfile&lt;br /&gt;
:* '''edg-mkgridmap''' application can be configured with the ''/etc/edg-mkgridmap.conf'' file where:&lt;br /&gt;
::* You can map VO members by specifying a VOMS service and the affected VO. In example:&lt;br /&gt;
 group vomss://voms2.cern.ch:8443/voms/lhcb?/lhcb lhcb001&lt;br /&gt;
::* '''/etc/grid-mapfile-local''' is a file to bootstrap the actual grid-mapfile and can be used to allow extra DNs or override some mappings&lt;br /&gt;
=== voms ===&lt;br /&gt;
* ''This is intented for GRID Users, mostly using GridFTP, GSI-DCap &amp;amp; SRM protocols.''&lt;br /&gt;
* User defined in ''/etc/grid-security/grid-vorolemap''.&lt;br /&gt;
=== multimap ===&lt;br /&gt;
* Useful for OIDC authentication (i.e. through Google or INDIGO Accounts)&lt;br /&gt;
&lt;br /&gt;
== dCache Authorization by protocol ==&lt;br /&gt;
=== WebDAV ===&lt;br /&gt;
==== Authentication ====&lt;br /&gt;
* htpasswd&lt;br /&gt;
* x509&lt;br /&gt;
==== Mapping ====&lt;br /&gt;
* glazma Mutator (to convert LDAP specific result to dCache internal principals)  + NSSwitch (to map user name to uid)&lt;br /&gt;
=== NFSv3/NFSv41 ===&lt;br /&gt;
==== Authentication ====&lt;br /&gt;
* Authentication is not performed in the dCache system, is made through OpenLDAP server.&lt;br /&gt;
==== Mapping ==== &lt;br /&gt;
* Username/Password already authenticated through OpenLDAP, NSSwitch for mapping.&lt;br /&gt;
=== GridFTP ===&lt;br /&gt;
==== Authentication ====&lt;br /&gt;
* x509&lt;br /&gt;
* voms&lt;br /&gt;
==== Mapping ====&lt;br /&gt;
* ''gridmap'' must is map the incoming DN to a local user&lt;br /&gt;
=== DCap/GSI-DCap ===&lt;br /&gt;
==== Authentication ====&lt;br /&gt;
===== Plain DCap =====&lt;br /&gt;
* No authentication required, but needs world readable and/or writable files and directories.&lt;br /&gt;
* Only recommended its use for prestages.&lt;br /&gt;
===== GSI-DCap ====&lt;br /&gt;
* voms&lt;br /&gt;
==== Mapping ====&lt;br /&gt;
&lt;br /&gt;
=== XRootD ===&lt;br /&gt;
==== Authentication ====&lt;br /&gt;
==== Mapping ====&lt;/div&gt;</summary>
		<author><name>Mcaubet</name></author>
	</entry>
	<entry>
		<id>https://pwiki.pic.es/index.php?title=HowTo:_Configuring_gPlazma&amp;diff=216</id>
		<title>HowTo: Configuring gPlazma</title>
		<link rel="alternate" type="text/html" href="https://pwiki.pic.es/index.php?title=HowTo:_Configuring_gPlazma&amp;diff=216"/>
		<updated>2017-09-06T13:19:26Z</updated>

		<summary type="html">&lt;p&gt;Mcaubet: /* dCache Authorization by protocol */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Configuring gPlazma =&lt;br /&gt;
== gPlazma configuration file example ==&lt;br /&gt;
 ################################################################################&lt;br /&gt;
 # Login Phases:&lt;br /&gt;
 #   [auth]&lt;br /&gt;
 #       - auth-plugins are used to read the users public and private&lt;br /&gt;
 #         credentials and ask some authority, if those are valid for accessing &lt;br /&gt;
 #         the system. &lt;br /&gt;
 #   [map]&lt;br /&gt;
 #       - map-plugins map the user information obtained in the auth step to UID&lt;br /&gt;
 #         and GIDs. &lt;br /&gt;
 #       - This may also be done in several steps (e.g., the vorolemap plugin &lt;br /&gt;
 #         maps the users DN+FQAN to a username which is then mapped to UID/GIDs&lt;br /&gt;
 #         by the authzdb plugin)&lt;br /&gt;
 #   [account]&lt;br /&gt;
 #       - account-plugins verify the validity of a possibly mapped of the user &lt;br /&gt;
 #         and may reject the login depending on information gathered within the &lt;br /&gt;
 #         map step.&lt;br /&gt;
 #   [session]&lt;br /&gt;
 #       - session plugins usually enrich the session with additional attributes&lt;br /&gt;
 #         like the user’s home directory.&lt;br /&gt;
 #   [identity]&lt;br /&gt;
 #       - identity plugins are responsible for mapping UID and GID to user&lt;br /&gt;
 #         names and vice versa during the work with dCache. &lt;br /&gt;
 ################################################################################&lt;br /&gt;
 &lt;br /&gt;
 ################################################################################&lt;br /&gt;
 # Modifiers:&lt;br /&gt;
 #   [optional]&lt;br /&gt;
 #       - The success or failure of this plugin is only important if it is the &lt;br /&gt;
 #         only plugin in the stack associated with this type. &lt;br /&gt;
 #   [sufficient]&lt;br /&gt;
 #       - Success of such a plugin is enough to satisfy the authentication &lt;br /&gt;
 #         requirements of the stack of plugins (if a prior required plugin has&lt;br /&gt;
 #         failed the success of this one is ignored). &lt;br /&gt;
 #       - A failure of this plugin isn't deemed as fatal for the login attempt.&lt;br /&gt;
 #       - If the plugin succeeds gPlazma2 immediately proceeds with the next &lt;br /&gt;
 #         plugin type or returns control to the door if this was the last stack. &lt;br /&gt;
 #   [required]&lt;br /&gt;
 #       - Failure of such a plugin will ultimately lead to gPlazma2 returning &lt;br /&gt;
 #         failure but only after the remaining plugins for this type have been &lt;br /&gt;
 #         invoked. &lt;br /&gt;
 #   [requisite]&lt;br /&gt;
 #       - Like required, however, in the case that such a plugin returns a&lt;br /&gt;
 #         failure, control is directly returned to the d&lt;br /&gt;
 ################################################################################&lt;br /&gt;
 auth     sufficient  htpasswd&lt;br /&gt;
 auth     optional    x509&lt;br /&gt;
 auth     sufficient  voms&lt;br /&gt;
 # send username and password to LDAP server&lt;br /&gt;
 auth     optional    jaas       gplazma.jaas.name=LdapGplazma&lt;br /&gt;
 map      optional    vorolemap&lt;br /&gt;
 map      sufficient  authzdb&lt;br /&gt;
 map      optional    gridmap&lt;br /&gt;
 # convert LDAP specific result to dCache internal principals&lt;br /&gt;
 map      optional    mutator gplazma.mutator.accept=com.sun.security.auth.UserPrincipal gplazma.mutator.produce=username&lt;br /&gt;
 # use ldap to map user name to uid&lt;br /&gt;
 # map      optional    ldap&lt;br /&gt;
 map      requisite   nsswitch&lt;br /&gt;
 identity requisite   nsswitch&lt;br /&gt;
 session  sufficient  nsswitch&lt;br /&gt;
 session  sufficient  authzdb&lt;br /&gt;
== Authetincation types ==&lt;br /&gt;
=== jaas ===&lt;br /&gt;
* ''This is intended for PIC LDAP users accessing to WebDAV.''&lt;br /&gt;
* JAAS, custom ''/etc/dcache/jgss.conf''&lt;br /&gt;
===== htpasswd =====&lt;br /&gt;
* ''This is intended only for the WebDAV protocol.''&lt;br /&gt;
* Configuration file can be found here: ''/etc/dcache/htpasswd''&lt;br /&gt;
=== x509 ===&lt;br /&gt;
* ''This is mostly intented for the WebDAV protocol.''&lt;br /&gt;
* Users defined in ''/etc/grid-security/grid-mapfile''.&lt;br /&gt;
:* '''/etc/grid-security/grid-mapfile''' is generated with a ''grid-mapfile'' cron (''crontab -l'') which executes the '''edg-mkgridmap''' application.&lt;br /&gt;
 # Puppet Name: grid-mapfile&lt;br /&gt;
 0 */6 * * * [ ! -f /var/lock/subsys/edg-mkgridmap ] &amp;amp;&amp;amp; /usr/sbin/edg-mkgridmap --output=- &amp;gt; /etc/grid-security/grid-mapfile.new &amp;amp;&amp;amp; sleep 3 &amp;amp;&amp;amp; cat /etc/grid-security/grid-mapfile.new &amp;gt; /etc/grid-security/grid-mapfile&lt;br /&gt;
:* '''edg-mkgridmap''' application can be configured with the ''/etc/edg-mkgridmap.conf'' file where:&lt;br /&gt;
::* You can map VO members by specifying a VOMS service and the affected VO. In example:&lt;br /&gt;
 group vomss://voms2.cern.ch:8443/voms/lhcb?/lhcb lhcb001&lt;br /&gt;
::* '''/etc/grid-mapfile-local''' is a file to bootstrap the actual grid-mapfile and can be used to allow extra DNs or override some mappings&lt;br /&gt;
===== voms =====&lt;br /&gt;
* ''This is intented for GRID Users, mostly using GridFTP, GSI-DCap &amp;amp; SRM protocols.''&lt;br /&gt;
* User defined in ''/etc/grid-security/grid-vorolemap''.&lt;br /&gt;
=== multimap ===&lt;br /&gt;
* Useful for OIDC authentication (i.e. through Google or INDIGO Accounts)&lt;br /&gt;
&lt;br /&gt;
== dCache Authorization by protocol ==&lt;br /&gt;
=== WebDAV ===&lt;br /&gt;
==== Authentication ====&lt;br /&gt;
* htpasswd&lt;br /&gt;
* x509&lt;br /&gt;
==== Mapping ====&lt;br /&gt;
* glazma Mutator (to convert LDAP specific result to dCache internal principals)  + NSSwitch (to map user name to uid)&lt;br /&gt;
=== NFSv3/NFSv41 ===&lt;br /&gt;
==== Authentication ====&lt;br /&gt;
* Authentication is not performed in the dCache system, is made through OpenLDAP server.&lt;br /&gt;
==== Mapping ==== &lt;br /&gt;
* Username/Password already authenticated through OpenLDAP, NSSwitch for mapping.&lt;br /&gt;
=== GridFTP ===&lt;br /&gt;
==== Authentication ====&lt;br /&gt;
* x509&lt;br /&gt;
* voms&lt;br /&gt;
==== Mapping ====&lt;br /&gt;
* ''gridmap'' must is map the incoming DN to a local user&lt;br /&gt;
=== DCap/GSI-DCap ===&lt;br /&gt;
==== Authentication ====&lt;br /&gt;
===== Plain DCap =====&lt;br /&gt;
* No authentication required, but needs world readable and/or writable files and directories.&lt;br /&gt;
* Only recommended its use for prestages.&lt;br /&gt;
===== GSI-DCap ====&lt;br /&gt;
* voms&lt;br /&gt;
==== Mapping ====&lt;br /&gt;
&lt;br /&gt;
=== XRootD ===&lt;br /&gt;
==== Authentication ====&lt;br /&gt;
==== Mapping ====&lt;/div&gt;</summary>
		<author><name>Mcaubet</name></author>
	</entry>
	<entry>
		<id>https://pwiki.pic.es/index.php?title=HowTo:_Configuring_gPlazma&amp;diff=215</id>
		<title>HowTo: Configuring gPlazma</title>
		<link rel="alternate" type="text/html" href="https://pwiki.pic.es/index.php?title=HowTo:_Configuring_gPlazma&amp;diff=215"/>
		<updated>2017-09-06T13:13:50Z</updated>

		<summary type="html">&lt;p&gt;Mcaubet: /* Authentication */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Configuring gPlazma =&lt;br /&gt;
== gPlazma configuration file example ==&lt;br /&gt;
 ################################################################################&lt;br /&gt;
 # Login Phases:&lt;br /&gt;
 #   [auth]&lt;br /&gt;
 #       - auth-plugins are used to read the users public and private&lt;br /&gt;
 #         credentials and ask some authority, if those are valid for accessing &lt;br /&gt;
 #         the system. &lt;br /&gt;
 #   [map]&lt;br /&gt;
 #       - map-plugins map the user information obtained in the auth step to UID&lt;br /&gt;
 #         and GIDs. &lt;br /&gt;
 #       - This may also be done in several steps (e.g., the vorolemap plugin &lt;br /&gt;
 #         maps the users DN+FQAN to a username which is then mapped to UID/GIDs&lt;br /&gt;
 #         by the authzdb plugin)&lt;br /&gt;
 #   [account]&lt;br /&gt;
 #       - account-plugins verify the validity of a possibly mapped of the user &lt;br /&gt;
 #         and may reject the login depending on information gathered within the &lt;br /&gt;
 #         map step.&lt;br /&gt;
 #   [session]&lt;br /&gt;
 #       - session plugins usually enrich the session with additional attributes&lt;br /&gt;
 #         like the user’s home directory.&lt;br /&gt;
 #   [identity]&lt;br /&gt;
 #       - identity plugins are responsible for mapping UID and GID to user&lt;br /&gt;
 #         names and vice versa during the work with dCache. &lt;br /&gt;
 ################################################################################&lt;br /&gt;
 &lt;br /&gt;
 ################################################################################&lt;br /&gt;
 # Modifiers:&lt;br /&gt;
 #   [optional]&lt;br /&gt;
 #       - The success or failure of this plugin is only important if it is the &lt;br /&gt;
 #         only plugin in the stack associated with this type. &lt;br /&gt;
 #   [sufficient]&lt;br /&gt;
 #       - Success of such a plugin is enough to satisfy the authentication &lt;br /&gt;
 #         requirements of the stack of plugins (if a prior required plugin has&lt;br /&gt;
 #         failed the success of this one is ignored). &lt;br /&gt;
 #       - A failure of this plugin isn't deemed as fatal for the login attempt.&lt;br /&gt;
 #       - If the plugin succeeds gPlazma2 immediately proceeds with the next &lt;br /&gt;
 #         plugin type or returns control to the door if this was the last stack. &lt;br /&gt;
 #   [required]&lt;br /&gt;
 #       - Failure of such a plugin will ultimately lead to gPlazma2 returning &lt;br /&gt;
 #         failure but only after the remaining plugins for this type have been &lt;br /&gt;
 #         invoked. &lt;br /&gt;
 #   [requisite]&lt;br /&gt;
 #       - Like required, however, in the case that such a plugin returns a&lt;br /&gt;
 #         failure, control is directly returned to the d&lt;br /&gt;
 ################################################################################&lt;br /&gt;
 auth     sufficient  htpasswd&lt;br /&gt;
 auth     optional    x509&lt;br /&gt;
 auth     sufficient  voms&lt;br /&gt;
 # send username and password to LDAP server&lt;br /&gt;
 auth     optional    jaas       gplazma.jaas.name=LdapGplazma&lt;br /&gt;
 map      optional    vorolemap&lt;br /&gt;
 map      sufficient  authzdb&lt;br /&gt;
 map      optional    gridmap&lt;br /&gt;
 # convert LDAP specific result to dCache internal principals&lt;br /&gt;
 map      optional    mutator gplazma.mutator.accept=com.sun.security.auth.UserPrincipal gplazma.mutator.produce=username&lt;br /&gt;
 # use ldap to map user name to uid&lt;br /&gt;
 # map      optional    ldap&lt;br /&gt;
 map      requisite   nsswitch&lt;br /&gt;
 identity requisite   nsswitch&lt;br /&gt;
 session  sufficient  nsswitch&lt;br /&gt;
 session  sufficient  authzdb&lt;br /&gt;
== dCache Authorization by protocol ==&lt;br /&gt;
=== WebDAV ===&lt;br /&gt;
* htpasswd&lt;br /&gt;
==== Authentication ====&lt;br /&gt;
===== jaas =====&lt;br /&gt;
* JAAS, custom ''/etc/dcache/jgss.conf''&lt;br /&gt;
===== htpasswd =====&lt;br /&gt;
* Configuration file can be found here: ''/etc/dcache/htpasswd''&lt;br /&gt;
===== x509 =====&lt;br /&gt;
&lt;br /&gt;
==== Mapping ====&lt;br /&gt;
* glazma Mutator (to convert LDAP specific result to dCache internal principals)  + NSSwitch (to map user name to uid)&lt;br /&gt;
=== NFSv3/NFSv41 ===&lt;br /&gt;
==== Authentication ====&lt;br /&gt;
* Authentication is not performed in the dCache system, is made through OpenLDAP server.&lt;br /&gt;
&lt;br /&gt;
==== Mapping ==== &lt;br /&gt;
* Username/Password already authenticated through OpenLDAP, NSSwitch for mapping.&lt;br /&gt;
=== GridFTP ===&lt;br /&gt;
==== Authentication ====&lt;br /&gt;
===== x509 =====&lt;br /&gt;
* Users defined in ''/etc/grid-security/grid-mapfile''.&lt;br /&gt;
:* '''/etc/grid-security/grid-mapfile''' is generated with a ''grid-mapfile'' cron (''crontab -l'') which executes the '''edg-mkgridmap''' application.&lt;br /&gt;
 # Puppet Name: grid-mapfile&lt;br /&gt;
 0 */6 * * * [ ! -f /var/lock/subsys/edg-mkgridmap ] &amp;amp;&amp;amp; /usr/sbin/edg-mkgridmap --output=- &amp;gt; /etc/grid-security/grid-mapfile.new &amp;amp;&amp;amp; sleep 3 &amp;amp;&amp;amp; cat /etc/grid-security/grid-mapfile.new &amp;gt; /etc/grid-security/grid-mapfile&lt;br /&gt;
:* '''edg-mkgridmap''' application can be configured with the ''/etc/edg-mkgridmap.conf'' file where:&lt;br /&gt;
::* You can map VO members by specifying a VOMS service and the affected VO. In example:&lt;br /&gt;
 group vomss://voms2.cern.ch:8443/voms/lhcb?/lhcb lhcb001&lt;br /&gt;
::* '''/etc/grid-mapfile-local''' is a file to bootstrap the actual grid-mapfile and can be used to allow extra DNs or override some mappings&lt;br /&gt;
===== voms =====&lt;br /&gt;
*  User defined in ''/etc/grid-security/grid-vorolemap''.&lt;br /&gt;
==== Mapping ====&lt;br /&gt;
* ''gridmap'' must is map the incoming DN to a local user&lt;br /&gt;
=== DCap/GSI-DCap ===&lt;br /&gt;
==== Authentication ====&lt;br /&gt;
===== Plain DCap =====&lt;br /&gt;
* No authentication required, but needs world readable and/or writable files and directories.&lt;br /&gt;
* Only recommended its use for prestages.&lt;br /&gt;
===== GSI-DCap ====&lt;br /&gt;
* &lt;br /&gt;
==== Mapping ====&lt;br /&gt;
&lt;br /&gt;
=== XRootD ===&lt;br /&gt;
&lt;br /&gt;
=== HTPasswd ===&lt;br /&gt;
* This is intended only for the WebDAV protocol.&lt;br /&gt;
=== x509 Certificates ===&lt;br /&gt;
* This is mostly intented for the WebDAV protocol.&lt;br /&gt;
=== VOMS Certificates ===&lt;br /&gt;
* This is intented for GRID Users, mostly using GridFTP, GSI-DCap &amp;amp; SRM protocols.&lt;br /&gt;
=== JAAS ===&lt;br /&gt;
* This is intended for PIC LDAP users accessing to WebDAV.&lt;br /&gt;
=== multimap ===&lt;br /&gt;
* Useful for OIDC authentication (i.e. through Google or INDIGO Accounts)&lt;/div&gt;</summary>
		<author><name>Mcaubet</name></author>
	</entry>
	<entry>
		<id>https://pwiki.pic.es/index.php?title=HowTo:_Configuring_gPlazma&amp;diff=214</id>
		<title>HowTo: Configuring gPlazma</title>
		<link rel="alternate" type="text/html" href="https://pwiki.pic.es/index.php?title=HowTo:_Configuring_gPlazma&amp;diff=214"/>
		<updated>2017-09-06T13:10:57Z</updated>

		<summary type="html">&lt;p&gt;Mcaubet: /* Authentication */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Configuring gPlazma =&lt;br /&gt;
== gPlazma configuration file example ==&lt;br /&gt;
 ################################################################################&lt;br /&gt;
 # Login Phases:&lt;br /&gt;
 #   [auth]&lt;br /&gt;
 #       - auth-plugins are used to read the users public and private&lt;br /&gt;
 #         credentials and ask some authority, if those are valid for accessing &lt;br /&gt;
 #         the system. &lt;br /&gt;
 #   [map]&lt;br /&gt;
 #       - map-plugins map the user information obtained in the auth step to UID&lt;br /&gt;
 #         and GIDs. &lt;br /&gt;
 #       - This may also be done in several steps (e.g., the vorolemap plugin &lt;br /&gt;
 #         maps the users DN+FQAN to a username which is then mapped to UID/GIDs&lt;br /&gt;
 #         by the authzdb plugin)&lt;br /&gt;
 #   [account]&lt;br /&gt;
 #       - account-plugins verify the validity of a possibly mapped of the user &lt;br /&gt;
 #         and may reject the login depending on information gathered within the &lt;br /&gt;
 #         map step.&lt;br /&gt;
 #   [session]&lt;br /&gt;
 #       - session plugins usually enrich the session with additional attributes&lt;br /&gt;
 #         like the user’s home directory.&lt;br /&gt;
 #   [identity]&lt;br /&gt;
 #       - identity plugins are responsible for mapping UID and GID to user&lt;br /&gt;
 #         names and vice versa during the work with dCache. &lt;br /&gt;
 ################################################################################&lt;br /&gt;
 &lt;br /&gt;
 ################################################################################&lt;br /&gt;
 # Modifiers:&lt;br /&gt;
 #   [optional]&lt;br /&gt;
 #       - The success or failure of this plugin is only important if it is the &lt;br /&gt;
 #         only plugin in the stack associated with this type. &lt;br /&gt;
 #   [sufficient]&lt;br /&gt;
 #       - Success of such a plugin is enough to satisfy the authentication &lt;br /&gt;
 #         requirements of the stack of plugins (if a prior required plugin has&lt;br /&gt;
 #         failed the success of this one is ignored). &lt;br /&gt;
 #       - A failure of this plugin isn't deemed as fatal for the login attempt.&lt;br /&gt;
 #       - If the plugin succeeds gPlazma2 immediately proceeds with the next &lt;br /&gt;
 #         plugin type or returns control to the door if this was the last stack. &lt;br /&gt;
 #   [required]&lt;br /&gt;
 #       - Failure of such a plugin will ultimately lead to gPlazma2 returning &lt;br /&gt;
 #         failure but only after the remaining plugins for this type have been &lt;br /&gt;
 #         invoked. &lt;br /&gt;
 #   [requisite]&lt;br /&gt;
 #       - Like required, however, in the case that such a plugin returns a&lt;br /&gt;
 #         failure, control is directly returned to the d&lt;br /&gt;
 ################################################################################&lt;br /&gt;
 auth     sufficient  htpasswd&lt;br /&gt;
 auth     optional    x509&lt;br /&gt;
 auth     sufficient  voms&lt;br /&gt;
 # send username and password to LDAP server&lt;br /&gt;
 auth     optional    jaas       gplazma.jaas.name=LdapGplazma&lt;br /&gt;
 map      optional    vorolemap&lt;br /&gt;
 map      sufficient  authzdb&lt;br /&gt;
 map      optional    gridmap&lt;br /&gt;
 # convert LDAP specific result to dCache internal principals&lt;br /&gt;
 map      optional    mutator gplazma.mutator.accept=com.sun.security.auth.UserPrincipal gplazma.mutator.produce=username&lt;br /&gt;
 # use ldap to map user name to uid&lt;br /&gt;
 # map      optional    ldap&lt;br /&gt;
 map      requisite   nsswitch&lt;br /&gt;
 identity requisite   nsswitch&lt;br /&gt;
 session  sufficient  nsswitch&lt;br /&gt;
 session  sufficient  authzdb&lt;br /&gt;
== dCache Authorization by protocol ==&lt;br /&gt;
=== WebDAV ===&lt;br /&gt;
* htpasswd&lt;br /&gt;
==== Authentication ====&lt;br /&gt;
===== jaas =====&lt;br /&gt;
* JAAS, custom ''/etc/dcache/jgss.conf''&lt;br /&gt;
===== htpasswd =====&lt;br /&gt;
* Configuration file can be found here: ''/etc/dcache/htpasswd''&lt;br /&gt;
&lt;br /&gt;
==== Mapping ====&lt;br /&gt;
* glazma Mutator (to convert LDAP specific result to dCache internal principals)  + NSSwitch (to map user name to uid)&lt;br /&gt;
=== NFSv3/NFSv41 ===&lt;br /&gt;
==== Authentication ====&lt;br /&gt;
* Authentication is not performed in the dCache system, is made through OpenLDAP server.&lt;br /&gt;
&lt;br /&gt;
==== Mapping ==== &lt;br /&gt;
* Username/Password already authenticated through OpenLDAP, NSSwitch for mapping.&lt;br /&gt;
=== GridFTP ===&lt;br /&gt;
==== Authentication ====&lt;br /&gt;
===== x509 =====&lt;br /&gt;
* Users defined in ''/etc/grid-security/grid-mapfile''.&lt;br /&gt;
:* '''/etc/grid-security/grid-mapfile''' is generated with a ''grid-mapfile'' cron (''crontab -l'') which executes the '''edg-mkgridmap''' application.&lt;br /&gt;
 # Puppet Name: grid-mapfile&lt;br /&gt;
 0 */6 * * * [ ! -f /var/lock/subsys/edg-mkgridmap ] &amp;amp;&amp;amp; /usr/sbin/edg-mkgridmap --output=- &amp;gt; /etc/grid-security/grid-mapfile.new &amp;amp;&amp;amp; sleep 3 &amp;amp;&amp;amp; cat /etc/grid-security/grid-mapfile.new &amp;gt; /etc/grid-security/grid-mapfile&lt;br /&gt;
:* '''edg-mkgridmap''' application can be configured with the ''/etc/edg-mkgridmap.conf'' file where:&lt;br /&gt;
::* You can map VO members by specifying a VOMS service and the affected VO. In example:&lt;br /&gt;
 group vomss://voms2.cern.ch:8443/voms/lhcb?/lhcb lhcb001&lt;br /&gt;
::* '''/etc/grid-mapfile-local''' is a file to bootstrap the actual grid-mapfile and can be used to allow extra DNs or override some mappings&lt;br /&gt;
===== voms =====&lt;br /&gt;
*  User defined in ''/etc/grid-security/grid-vorolemap''.&lt;br /&gt;
==== Mapping ====&lt;br /&gt;
* ''gridmap'' must is map the incoming DN to a local user&lt;br /&gt;
=== DCap/GSI-DCap ===&lt;br /&gt;
==== Authentication ====&lt;br /&gt;
===== Plain DCap =====&lt;br /&gt;
* No authentication required, but needs world readable and/or writable files and directories.&lt;br /&gt;
* Only recommended its use for prestages.&lt;br /&gt;
===== GSI-DCap ====&lt;br /&gt;
* &lt;br /&gt;
==== Mapping ====&lt;br /&gt;
&lt;br /&gt;
=== XRootD ===&lt;br /&gt;
&lt;br /&gt;
=== HTPasswd ===&lt;br /&gt;
* This is intended only for the WebDAV protocol.&lt;br /&gt;
=== x509 Certificates ===&lt;br /&gt;
* This is mostly intented for the WebDAV protocol.&lt;br /&gt;
=== VOMS Certificates ===&lt;br /&gt;
* This is intented for GRID Users, mostly using GridFTP, GSI-DCap &amp;amp; SRM protocols.&lt;br /&gt;
=== JAAS ===&lt;br /&gt;
* This is intended for PIC LDAP users accessing to WebDAV.&lt;br /&gt;
=== multimap ===&lt;br /&gt;
* Useful for OIDC authentication (i.e. through Google or INDIGO Accounts)&lt;/div&gt;</summary>
		<author><name>Mcaubet</name></author>
	</entry>
	<entry>
		<id>https://pwiki.pic.es/index.php?title=HowTo:_Configuring_gPlazma&amp;diff=213</id>
		<title>HowTo: Configuring gPlazma</title>
		<link rel="alternate" type="text/html" href="https://pwiki.pic.es/index.php?title=HowTo:_Configuring_gPlazma&amp;diff=213"/>
		<updated>2017-09-06T13:09:18Z</updated>

		<summary type="html">&lt;p&gt;Mcaubet: /* DCap/GSI-DCap */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Configuring gPlazma =&lt;br /&gt;
== gPlazma configuration file example ==&lt;br /&gt;
 ################################################################################&lt;br /&gt;
 # Login Phases:&lt;br /&gt;
 #   [auth]&lt;br /&gt;
 #       - auth-plugins are used to read the users public and private&lt;br /&gt;
 #         credentials and ask some authority, if those are valid for accessing &lt;br /&gt;
 #         the system. &lt;br /&gt;
 #   [map]&lt;br /&gt;
 #       - map-plugins map the user information obtained in the auth step to UID&lt;br /&gt;
 #         and GIDs. &lt;br /&gt;
 #       - This may also be done in several steps (e.g., the vorolemap plugin &lt;br /&gt;
 #         maps the users DN+FQAN to a username which is then mapped to UID/GIDs&lt;br /&gt;
 #         by the authzdb plugin)&lt;br /&gt;
 #   [account]&lt;br /&gt;
 #       - account-plugins verify the validity of a possibly mapped of the user &lt;br /&gt;
 #         and may reject the login depending on information gathered within the &lt;br /&gt;
 #         map step.&lt;br /&gt;
 #   [session]&lt;br /&gt;
 #       - session plugins usually enrich the session with additional attributes&lt;br /&gt;
 #         like the user’s home directory.&lt;br /&gt;
 #   [identity]&lt;br /&gt;
 #       - identity plugins are responsible for mapping UID and GID to user&lt;br /&gt;
 #         names and vice versa during the work with dCache. &lt;br /&gt;
 ################################################################################&lt;br /&gt;
 &lt;br /&gt;
 ################################################################################&lt;br /&gt;
 # Modifiers:&lt;br /&gt;
 #   [optional]&lt;br /&gt;
 #       - The success or failure of this plugin is only important if it is the &lt;br /&gt;
 #         only plugin in the stack associated with this type. &lt;br /&gt;
 #   [sufficient]&lt;br /&gt;
 #       - Success of such a plugin is enough to satisfy the authentication &lt;br /&gt;
 #         requirements of the stack of plugins (if a prior required plugin has&lt;br /&gt;
 #         failed the success of this one is ignored). &lt;br /&gt;
 #       - A failure of this plugin isn't deemed as fatal for the login attempt.&lt;br /&gt;
 #       - If the plugin succeeds gPlazma2 immediately proceeds with the next &lt;br /&gt;
 #         plugin type or returns control to the door if this was the last stack. &lt;br /&gt;
 #   [required]&lt;br /&gt;
 #       - Failure of such a plugin will ultimately lead to gPlazma2 returning &lt;br /&gt;
 #         failure but only after the remaining plugins for this type have been &lt;br /&gt;
 #         invoked. &lt;br /&gt;
 #   [requisite]&lt;br /&gt;
 #       - Like required, however, in the case that such a plugin returns a&lt;br /&gt;
 #         failure, control is directly returned to the d&lt;br /&gt;
 ################################################################################&lt;br /&gt;
 auth     sufficient  htpasswd&lt;br /&gt;
 auth     optional    x509&lt;br /&gt;
 auth     sufficient  voms&lt;br /&gt;
 # send username and password to LDAP server&lt;br /&gt;
 auth     optional    jaas       gplazma.jaas.name=LdapGplazma&lt;br /&gt;
 map      optional    vorolemap&lt;br /&gt;
 map      sufficient  authzdb&lt;br /&gt;
 map      optional    gridmap&lt;br /&gt;
 # convert LDAP specific result to dCache internal principals&lt;br /&gt;
 map      optional    mutator gplazma.mutator.accept=com.sun.security.auth.UserPrincipal gplazma.mutator.produce=username&lt;br /&gt;
 # use ldap to map user name to uid&lt;br /&gt;
 # map      optional    ldap&lt;br /&gt;
 map      requisite   nsswitch&lt;br /&gt;
 identity requisite   nsswitch&lt;br /&gt;
 session  sufficient  nsswitch&lt;br /&gt;
 session  sufficient  authzdb&lt;br /&gt;
== dCache Authorization by protocol ==&lt;br /&gt;
=== WebDAV ===&lt;br /&gt;
* htpasswd&lt;br /&gt;
==== Authentication ====&lt;br /&gt;
* JAAS, custom ''/etc/dcache/jgss.conf''&lt;br /&gt;
&lt;br /&gt;
==== Mapping ====&lt;br /&gt;
* glazma Mutator (to convert LDAP specific result to dCache internal principals)  + NSSwitch (to map user name to uid)&lt;br /&gt;
=== NFSv3/NFSv41 ===&lt;br /&gt;
==== Authentication ====&lt;br /&gt;
* Authentication is not performed in the dCache system, is made through OpenLDAP server.&lt;br /&gt;
&lt;br /&gt;
==== Mapping ==== &lt;br /&gt;
* Username/Password already authenticated through OpenLDAP, NSSwitch for mapping.&lt;br /&gt;
=== GridFTP ===&lt;br /&gt;
==== Authentication ====&lt;br /&gt;
===== x509 =====&lt;br /&gt;
* Users defined in ''/etc/grid-security/grid-mapfile''.&lt;br /&gt;
:* '''/etc/grid-security/grid-mapfile''' is generated with a ''grid-mapfile'' cron (''crontab -l'') which executes the '''edg-mkgridmap''' application.&lt;br /&gt;
 # Puppet Name: grid-mapfile&lt;br /&gt;
 0 */6 * * * [ ! -f /var/lock/subsys/edg-mkgridmap ] &amp;amp;&amp;amp; /usr/sbin/edg-mkgridmap --output=- &amp;gt; /etc/grid-security/grid-mapfile.new &amp;amp;&amp;amp; sleep 3 &amp;amp;&amp;amp; cat /etc/grid-security/grid-mapfile.new &amp;gt; /etc/grid-security/grid-mapfile&lt;br /&gt;
:* '''edg-mkgridmap''' application can be configured with the ''/etc/edg-mkgridmap.conf'' file where:&lt;br /&gt;
::* You can map VO members by specifying a VOMS service and the affected VO. In example:&lt;br /&gt;
 group vomss://voms2.cern.ch:8443/voms/lhcb?/lhcb lhcb001&lt;br /&gt;
::* '''/etc/grid-mapfile-local''' is a file to bootstrap the actual grid-mapfile and can be used to allow extra DNs or override some mappings&lt;br /&gt;
===== voms =====&lt;br /&gt;
*  User defined in ''/etc/grid-security/grid-vorolemap''.&lt;br /&gt;
==== Mapping ====&lt;br /&gt;
* ''gridmap'' must is map the incoming DN to a local user&lt;br /&gt;
=== DCap/GSI-DCap ===&lt;br /&gt;
==== Authentication ====&lt;br /&gt;
===== Plain DCap =====&lt;br /&gt;
* No authentication required, but needs world readable and/or writable files and directories.&lt;br /&gt;
* Only recommended its use for prestages.&lt;br /&gt;
===== GSI-DCap ====&lt;br /&gt;
* &lt;br /&gt;
==== Mapping ====&lt;br /&gt;
&lt;br /&gt;
=== XRootD ===&lt;br /&gt;
&lt;br /&gt;
=== HTPasswd ===&lt;br /&gt;
* This is intended only for the WebDAV protocol.&lt;br /&gt;
=== x509 Certificates ===&lt;br /&gt;
* This is mostly intented for the WebDAV protocol.&lt;br /&gt;
=== VOMS Certificates ===&lt;br /&gt;
* This is intented for GRID Users, mostly using GridFTP, GSI-DCap &amp;amp; SRM protocols.&lt;br /&gt;
=== JAAS ===&lt;br /&gt;
* This is intended for PIC LDAP users accessing to WebDAV.&lt;br /&gt;
=== multimap ===&lt;br /&gt;
* Useful for OIDC authentication (i.e. through Google or INDIGO Accounts)&lt;/div&gt;</summary>
		<author><name>Mcaubet</name></author>
	</entry>
	<entry>
		<id>https://pwiki.pic.es/index.php?title=HowTo:_Configuring_gPlazma&amp;diff=212</id>
		<title>HowTo: Configuring gPlazma</title>
		<link rel="alternate" type="text/html" href="https://pwiki.pic.es/index.php?title=HowTo:_Configuring_gPlazma&amp;diff=212"/>
		<updated>2017-09-06T13:02:06Z</updated>

		<summary type="html">&lt;p&gt;Mcaubet: /* Configuring gPlazma */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Configuring gPlazma =&lt;br /&gt;
== gPlazma configuration file example ==&lt;br /&gt;
 ################################################################################&lt;br /&gt;
 # Login Phases:&lt;br /&gt;
 #   [auth]&lt;br /&gt;
 #       - auth-plugins are used to read the users public and private&lt;br /&gt;
 #         credentials and ask some authority, if those are valid for accessing &lt;br /&gt;
 #         the system. &lt;br /&gt;
 #   [map]&lt;br /&gt;
 #       - map-plugins map the user information obtained in the auth step to UID&lt;br /&gt;
 #         and GIDs. &lt;br /&gt;
 #       - This may also be done in several steps (e.g., the vorolemap plugin &lt;br /&gt;
 #         maps the users DN+FQAN to a username which is then mapped to UID/GIDs&lt;br /&gt;
 #         by the authzdb plugin)&lt;br /&gt;
 #   [account]&lt;br /&gt;
 #       - account-plugins verify the validity of a possibly mapped of the user &lt;br /&gt;
 #         and may reject the login depending on information gathered within the &lt;br /&gt;
 #         map step.&lt;br /&gt;
 #   [session]&lt;br /&gt;
 #       - session plugins usually enrich the session with additional attributes&lt;br /&gt;
 #         like the user’s home directory.&lt;br /&gt;
 #   [identity]&lt;br /&gt;
 #       - identity plugins are responsible for mapping UID and GID to user&lt;br /&gt;
 #         names and vice versa during the work with dCache. &lt;br /&gt;
 ################################################################################&lt;br /&gt;
 &lt;br /&gt;
 ################################################################################&lt;br /&gt;
 # Modifiers:&lt;br /&gt;
 #   [optional]&lt;br /&gt;
 #       - The success or failure of this plugin is only important if it is the &lt;br /&gt;
 #         only plugin in the stack associated with this type. &lt;br /&gt;
 #   [sufficient]&lt;br /&gt;
 #       - Success of such a plugin is enough to satisfy the authentication &lt;br /&gt;
 #         requirements of the stack of plugins (if a prior required plugin has&lt;br /&gt;
 #         failed the success of this one is ignored). &lt;br /&gt;
 #       - A failure of this plugin isn't deemed as fatal for the login attempt.&lt;br /&gt;
 #       - If the plugin succeeds gPlazma2 immediately proceeds with the next &lt;br /&gt;
 #         plugin type or returns control to the door if this was the last stack. &lt;br /&gt;
 #   [required]&lt;br /&gt;
 #       - Failure of such a plugin will ultimately lead to gPlazma2 returning &lt;br /&gt;
 #         failure but only after the remaining plugins for this type have been &lt;br /&gt;
 #         invoked. &lt;br /&gt;
 #   [requisite]&lt;br /&gt;
 #       - Like required, however, in the case that such a plugin returns a&lt;br /&gt;
 #         failure, control is directly returned to the d&lt;br /&gt;
 ################################################################################&lt;br /&gt;
 auth     sufficient  htpasswd&lt;br /&gt;
 auth     optional    x509&lt;br /&gt;
 auth     sufficient  voms&lt;br /&gt;
 # send username and password to LDAP server&lt;br /&gt;
 auth     optional    jaas       gplazma.jaas.name=LdapGplazma&lt;br /&gt;
 map      optional    vorolemap&lt;br /&gt;
 map      sufficient  authzdb&lt;br /&gt;
 map      optional    gridmap&lt;br /&gt;
 # convert LDAP specific result to dCache internal principals&lt;br /&gt;
 map      optional    mutator gplazma.mutator.accept=com.sun.security.auth.UserPrincipal gplazma.mutator.produce=username&lt;br /&gt;
 # use ldap to map user name to uid&lt;br /&gt;
 # map      optional    ldap&lt;br /&gt;
 map      requisite   nsswitch&lt;br /&gt;
 identity requisite   nsswitch&lt;br /&gt;
 session  sufficient  nsswitch&lt;br /&gt;
 session  sufficient  authzdb&lt;br /&gt;
== dCache Authorization by protocol ==&lt;br /&gt;
=== WebDAV ===&lt;br /&gt;
* htpasswd&lt;br /&gt;
==== Authentication ====&lt;br /&gt;
* JAAS, custom ''/etc/dcache/jgss.conf''&lt;br /&gt;
&lt;br /&gt;
==== Mapping ====&lt;br /&gt;
* glazma Mutator (to convert LDAP specific result to dCache internal principals)  + NSSwitch (to map user name to uid)&lt;br /&gt;
=== NFSv3/NFSv41 ===&lt;br /&gt;
==== Authentication ====&lt;br /&gt;
* Authentication is not performed in the dCache system, is made through OpenLDAP server.&lt;br /&gt;
&lt;br /&gt;
==== Mapping ==== &lt;br /&gt;
* Username/Password already authenticated through OpenLDAP, NSSwitch for mapping.&lt;br /&gt;
=== GridFTP ===&lt;br /&gt;
==== Authentication ====&lt;br /&gt;
===== x509 =====&lt;br /&gt;
* Users defined in ''/etc/grid-security/grid-mapfile''.&lt;br /&gt;
:* '''/etc/grid-security/grid-mapfile''' is generated with a ''grid-mapfile'' cron (''crontab -l'') which executes the '''edg-mkgridmap''' application.&lt;br /&gt;
 # Puppet Name: grid-mapfile&lt;br /&gt;
 0 */6 * * * [ ! -f /var/lock/subsys/edg-mkgridmap ] &amp;amp;&amp;amp; /usr/sbin/edg-mkgridmap --output=- &amp;gt; /etc/grid-security/grid-mapfile.new &amp;amp;&amp;amp; sleep 3 &amp;amp;&amp;amp; cat /etc/grid-security/grid-mapfile.new &amp;gt; /etc/grid-security/grid-mapfile&lt;br /&gt;
:* '''edg-mkgridmap''' application can be configured with the ''/etc/edg-mkgridmap.conf'' file where:&lt;br /&gt;
::* You can map VO members by specifying a VOMS service and the affected VO. In example:&lt;br /&gt;
 group vomss://voms2.cern.ch:8443/voms/lhcb?/lhcb lhcb001&lt;br /&gt;
::* '''/etc/grid-mapfile-local''' is a file to bootstrap the actual grid-mapfile and can be used to allow extra DNs or override some mappings&lt;br /&gt;
===== voms =====&lt;br /&gt;
*  User defined in ''/etc/grid-security/grid-vorolemap''.&lt;br /&gt;
==== Mapping ====&lt;br /&gt;
* ''gridmap'' must is map the incoming DN to a local user&lt;br /&gt;
=== DCap/GSI-DCap ===&lt;br /&gt;
:'''Authentication:''' Plain DCap with no authentication, but requires world readable and/or writable. GSI-DCap&lt;br /&gt;
:'''Mapping:''' glazma Mutator (to convert LDAP specific result to dCache internal principals)  + NSSwitch (to map user name to uid)&lt;br /&gt;
=== XRootD ===&lt;br /&gt;
&lt;br /&gt;
=== HTPasswd ===&lt;br /&gt;
* This is intended only for the WebDAV protocol.&lt;br /&gt;
=== x509 Certificates ===&lt;br /&gt;
* This is mostly intented for the WebDAV protocol.&lt;br /&gt;
=== VOMS Certificates ===&lt;br /&gt;
* This is intented for GRID Users, mostly using GridFTP, GSI-DCap &amp;amp; SRM protocols.&lt;br /&gt;
=== JAAS ===&lt;br /&gt;
* This is intended for PIC LDAP users accessing to WebDAV.&lt;br /&gt;
=== multimap ===&lt;br /&gt;
* Useful for OIDC authentication (i.e. through Google or INDIGO Accounts)&lt;/div&gt;</summary>
		<author><name>Mcaubet</name></author>
	</entry>
	<entry>
		<id>https://pwiki.pic.es/index.php?title=HowTo:_Configuring_gPlazma&amp;diff=211</id>
		<title>HowTo: Configuring gPlazma</title>
		<link rel="alternate" type="text/html" href="https://pwiki.pic.es/index.php?title=HowTo:_Configuring_gPlazma&amp;diff=211"/>
		<updated>2017-09-06T13:00:25Z</updated>

		<summary type="html">&lt;p&gt;Mcaubet: /* Authentication */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Configuring gPlazma =&lt;br /&gt;
== dCache Authorization by protocol ==&lt;br /&gt;
=== WebDAV ===&lt;br /&gt;
* htpasswd&lt;br /&gt;
==== Authentication ====&lt;br /&gt;
* JAAS, custom ''/etc/dcache/jgss.conf''&lt;br /&gt;
&lt;br /&gt;
==== Mapping ====&lt;br /&gt;
* glazma Mutator (to convert LDAP specific result to dCache internal principals)  + NSSwitch (to map user name to uid)&lt;br /&gt;
=== NFSv3/NFSv41 ===&lt;br /&gt;
==== Authentication ====&lt;br /&gt;
* Authentication is not performed in the dCache system, is made through OpenLDAP server.&lt;br /&gt;
&lt;br /&gt;
==== Mapping ==== &lt;br /&gt;
* Username/Password already authenticated through OpenLDAP, NSSwitch for mapping.&lt;br /&gt;
=== GridFTP ===&lt;br /&gt;
==== Authentication ====&lt;br /&gt;
===== x509 =====&lt;br /&gt;
* Users defined in ''/etc/grid-security/grid-mapfile''.&lt;br /&gt;
:* '''/etc/grid-security/grid-mapfile''' is generated with a ''grid-mapfile'' cron (''crontab -l'') which executes the '''edg-mkgridmap''' application.&lt;br /&gt;
 # Puppet Name: grid-mapfile&lt;br /&gt;
 0 */6 * * * [ ! -f /var/lock/subsys/edg-mkgridmap ] &amp;amp;&amp;amp; /usr/sbin/edg-mkgridmap --output=- &amp;gt; /etc/grid-security/grid-mapfile.new &amp;amp;&amp;amp; sleep 3 &amp;amp;&amp;amp; cat /etc/grid-security/grid-mapfile.new &amp;gt; /etc/grid-security/grid-mapfile&lt;br /&gt;
:* '''edg-mkgridmap''' application can be configured with the ''/etc/edg-mkgridmap.conf'' file where:&lt;br /&gt;
::* You can map VO members by specifying a VOMS service and the affected VO. In example:&lt;br /&gt;
 group vomss://voms2.cern.ch:8443/voms/lhcb?/lhcb lhcb001&lt;br /&gt;
::* '''/etc/grid-mapfile-local''' is a file to bootstrap the actual grid-mapfile and can be used to allow extra DNs or override some mappings&lt;br /&gt;
===== voms =====&lt;br /&gt;
*  User defined in ''/etc/grid-security/grid-vorolemap''.&lt;br /&gt;
==== Mapping ====&lt;br /&gt;
* ''gridmap'' must is map the incoming DN to a local user&lt;br /&gt;
=== DCap/GSI-DCap ===&lt;br /&gt;
:'''Authentication:''' Plain DCap with no authentication, but requires world readable and/or writable. GSI-DCap&lt;br /&gt;
:'''Mapping:''' glazma Mutator (to convert LDAP specific result to dCache internal principals)  + NSSwitch (to map user name to uid)&lt;br /&gt;
=== XRootD ===&lt;br /&gt;
&lt;br /&gt;
=== HTPasswd ===&lt;br /&gt;
* This is intended only for the WebDAV protocol.&lt;br /&gt;
=== x509 Certificates ===&lt;br /&gt;
* This is mostly intented for the WebDAV protocol.&lt;br /&gt;
=== VOMS Certificates ===&lt;br /&gt;
* This is intented for GRID Users, mostly using GridFTP, GSI-DCap &amp;amp; SRM protocols.&lt;br /&gt;
=== JAAS ===&lt;br /&gt;
* This is intended for PIC LDAP users accessing to WebDAV.&lt;br /&gt;
=== multimap ===&lt;br /&gt;
* Useful for OIDC authentication (i.e. through Google or INDIGO Accounts)&lt;/div&gt;</summary>
		<author><name>Mcaubet</name></author>
	</entry>
	<entry>
		<id>https://pwiki.pic.es/index.php?title=HowTo:_Configuring_gPlazma&amp;diff=210</id>
		<title>HowTo: Configuring gPlazma</title>
		<link rel="alternate" type="text/html" href="https://pwiki.pic.es/index.php?title=HowTo:_Configuring_gPlazma&amp;diff=210"/>
		<updated>2017-09-06T13:00:00Z</updated>

		<summary type="html">&lt;p&gt;Mcaubet: /* Authentication */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Configuring gPlazma =&lt;br /&gt;
== dCache Authorization by protocol ==&lt;br /&gt;
=== WebDAV ===&lt;br /&gt;
* htpasswd&lt;br /&gt;
==== Authentication ====&lt;br /&gt;
* JAAS, custom ''/etc/dcache/jgss.conf''&lt;br /&gt;
==== Mapping ====&lt;br /&gt;
* glazma Mutator (to convert LDAP specific result to dCache internal principals)  + NSSwitch (to map user name to uid)&lt;br /&gt;
=== NFSv3/NFSv41 ===&lt;br /&gt;
==== Authentication ====&lt;br /&gt;
* Authentication is not performed in the dCache system, is made through OpenLDAP server.&lt;br /&gt;
&lt;br /&gt;
==== Mapping ==== &lt;br /&gt;
* Username/Password already authenticated through OpenLDAP, NSSwitch for mapping.&lt;br /&gt;
=== GridFTP ===&lt;br /&gt;
==== Authentication ====&lt;br /&gt;
===== x509 =====&lt;br /&gt;
* Users defined in ''/etc/grid-security/grid-mapfile''.&lt;br /&gt;
:* '''/etc/grid-security/grid-mapfile''' is generated with a ''grid-mapfile'' cron (''crontab -l'') which executes the '''edg-mkgridmap''' application.&lt;br /&gt;
 # Puppet Name: grid-mapfile&lt;br /&gt;
 0 */6 * * * [ ! -f /var/lock/subsys/edg-mkgridmap ] &amp;amp;&amp;amp; /usr/sbin/edg-mkgridmap --output=- &amp;gt; /etc/grid-security/grid-mapfile.new &amp;amp;&amp;amp; sleep 3 &amp;amp;&amp;amp; cat /etc/grid-security/grid-mapfile.new &amp;gt; /etc/grid-security/grid-mapfile&lt;br /&gt;
:* '''edg-mkgridmap''' application can be configured with the ''/etc/edg-mkgridmap.conf'' file where:&lt;br /&gt;
::* You can map VO members by specifying a VOMS service and the affected VO. In example:&lt;br /&gt;
 group vomss://voms2.cern.ch:8443/voms/lhcb?/lhcb lhcb001&lt;br /&gt;
::* '''/etc/grid-mapfile-local''' is a file to bootstrap the actual grid-mapfile and can be used to allow extra DNs or override some mappings&lt;br /&gt;
===== voms =====&lt;br /&gt;
*  User defined in ''/etc/grid-security/grid-vorolemap''.&lt;br /&gt;
==== Mapping ====&lt;br /&gt;
* ''gridmap'' must is map the incoming DN to a local user&lt;br /&gt;
=== DCap/GSI-DCap ===&lt;br /&gt;
:'''Authentication:''' Plain DCap with no authentication, but requires world readable and/or writable. GSI-DCap&lt;br /&gt;
:'''Mapping:''' glazma Mutator (to convert LDAP specific result to dCache internal principals)  + NSSwitch (to map user name to uid)&lt;br /&gt;
=== XRootD ===&lt;br /&gt;
&lt;br /&gt;
=== HTPasswd ===&lt;br /&gt;
* This is intended only for the WebDAV protocol.&lt;br /&gt;
=== x509 Certificates ===&lt;br /&gt;
* This is mostly intented for the WebDAV protocol.&lt;br /&gt;
=== VOMS Certificates ===&lt;br /&gt;
* This is intented for GRID Users, mostly using GridFTP, GSI-DCap &amp;amp; SRM protocols.&lt;br /&gt;
=== JAAS ===&lt;br /&gt;
* This is intended for PIC LDAP users accessing to WebDAV.&lt;br /&gt;
=== multimap ===&lt;br /&gt;
* Useful for OIDC authentication (i.e. through Google or INDIGO Accounts)&lt;/div&gt;</summary>
		<author><name>Mcaubet</name></author>
	</entry>
	<entry>
		<id>https://pwiki.pic.es/index.php?title=HowTo:_Configuring_gPlazma&amp;diff=209</id>
		<title>HowTo: Configuring gPlazma</title>
		<link rel="alternate" type="text/html" href="https://pwiki.pic.es/index.php?title=HowTo:_Configuring_gPlazma&amp;diff=209"/>
		<updated>2017-09-06T12:59:06Z</updated>

		<summary type="html">&lt;p&gt;Mcaubet: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Configuring gPlazma =&lt;br /&gt;
== dCache Authorization by protocol ==&lt;br /&gt;
=== WebDAV ===&lt;br /&gt;
* htpasswd&lt;br /&gt;
==== Authentication ====&lt;br /&gt;
* JAAS, custom ''/etc/dcache/jgss.conf''&lt;br /&gt;
==== Mapping ====&lt;br /&gt;
* glazma Mutator (to convert LDAP specific result to dCache internal principals)  + NSSwitch (to map user name to uid)&lt;br /&gt;
=== NFSv3/NFSv41 ===&lt;br /&gt;
==== Authentication ====&lt;br /&gt;
* Not performed in the dCache system, is made through OpenLDAP server.&lt;br /&gt;
==== Mapping ==== &lt;br /&gt;
* Username/Password already authenticated through OpenLDAP, NSSwitch for mapping.&lt;br /&gt;
=== GridFTP ===&lt;br /&gt;
==== Authentication ====&lt;br /&gt;
===== x509 =====&lt;br /&gt;
* Users defined in ''/etc/grid-security/grid-mapfile''.&lt;br /&gt;
:* '''/etc/grid-security/grid-mapfile''' is generated with a ''grid-mapfile'' cron (''crontab -l'') which executes the '''edg-mkgridmap''' application.&lt;br /&gt;
 # Puppet Name: grid-mapfile&lt;br /&gt;
 0 */6 * * * [ ! -f /var/lock/subsys/edg-mkgridmap ] &amp;amp;&amp;amp; /usr/sbin/edg-mkgridmap --output=- &amp;gt; /etc/grid-security/grid-mapfile.new &amp;amp;&amp;amp; sleep 3 &amp;amp;&amp;amp; cat /etc/grid-security/grid-mapfile.new &amp;gt; /etc/grid-security/grid-mapfile&lt;br /&gt;
:* '''edg-mkgridmap''' application can be configured with the ''/etc/edg-mkgridmap.conf'' file where:&lt;br /&gt;
::* You can map VO members by specifying a VOMS service and the affected VO. In example:&lt;br /&gt;
 group vomss://voms2.cern.ch:8443/voms/lhcb?/lhcb lhcb001&lt;br /&gt;
::* '''/etc/grid-mapfile-local''' is a file to bootstrap the actual grid-mapfile and can be used to allow extra DNs or override some mappings&lt;br /&gt;
===== voms =====&lt;br /&gt;
*  User defined in ''/etc/grid-security/grid-vorolemap''.&lt;br /&gt;
==== Mapping ====&lt;br /&gt;
* ''gridmap'' must is map the incoming DN to a local user&lt;br /&gt;
=== DCap/GSI-DCap ===&lt;br /&gt;
:'''Authentication:''' Plain DCap with no authentication, but requires world readable and/or writable. GSI-DCap&lt;br /&gt;
:'''Mapping:''' glazma Mutator (to convert LDAP specific result to dCache internal principals)  + NSSwitch (to map user name to uid)&lt;br /&gt;
=== XRootD ===&lt;br /&gt;
&lt;br /&gt;
=== HTPasswd ===&lt;br /&gt;
* This is intended only for the WebDAV protocol.&lt;br /&gt;
=== x509 Certificates ===&lt;br /&gt;
* This is mostly intented for the WebDAV protocol.&lt;br /&gt;
=== VOMS Certificates ===&lt;br /&gt;
* This is intented for GRID Users, mostly using GridFTP, GSI-DCap &amp;amp; SRM protocols.&lt;br /&gt;
=== JAAS ===&lt;br /&gt;
* This is intended for PIC LDAP users accessing to WebDAV.&lt;br /&gt;
=== multimap ===&lt;br /&gt;
* Useful for OIDC authentication (i.e. through Google or INDIGO Accounts)&lt;/div&gt;</summary>
		<author><name>Mcaubet</name></author>
	</entry>
	<entry>
		<id>https://pwiki.pic.es/index.php?title=HowTo:_Configuring_gPlazma&amp;diff=208</id>
		<title>HowTo: Configuring gPlazma</title>
		<link rel="alternate" type="text/html" href="https://pwiki.pic.es/index.php?title=HowTo:_Configuring_gPlazma&amp;diff=208"/>
		<updated>2017-09-06T07:12:41Z</updated>

		<summary type="html">&lt;p&gt;Mcaubet: /* dCache Authorization by protocol */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Configuring gPlazma =&lt;br /&gt;
== dCache Authorization by protocol ==&lt;br /&gt;
=== WebDAV ===&lt;br /&gt;
* htpasswd&lt;br /&gt;
:'''Authentication:''' JAAS, custom ''/etc/dcache/jgss.conf''&lt;br /&gt;
:'''Mapping:''' glazma Mutator (to convert LDAP specific result to dCache internal principals)  + NSSwitch (to map user name to uid)&lt;br /&gt;
=== NFSv3/NFSv41 ===&lt;br /&gt;
* '''Authentication:''' Not performed in the dCache system, is made through OpenLDAP server.&lt;br /&gt;
* '''Mapping:''' Username/Password already authenticated through OpenLDAP, NSSwitch for mapping.&lt;br /&gt;
=== GridFTP ===&lt;br /&gt;
* '''Authentication:''' users configured in ''/etc/grid-security/grid-mapfile''&lt;br /&gt;
:* '''/etc/grid-security/grid-mapfile''' is generated with a ''grid-mapfile'' cron (''crontab -l'') which executes the '''edg-mkgridmap''' application.&lt;br /&gt;
 # Puppet Name: grid-mapfile&lt;br /&gt;
 0 */6 * * * [ ! -f /var/lock/subsys/edg-mkgridmap ] &amp;amp;&amp;amp; /usr/sbin/edg-mkgridmap --output=- &amp;gt; /etc/grid-security/grid-mapfile.new &amp;amp;&amp;amp; sleep 3 &amp;amp;&amp;amp; cat /etc/grid-security/grid-mapfile.new &amp;gt; /etc/grid-security/grid-mapfile&lt;br /&gt;
:* '''edg-mkgridmap''' application can be configured with the ''/etc/edg-mkgridmap.conf'' file where:&lt;br /&gt;
::* You can map VO members by specifying a VOMS service and the affected VO. In example:&lt;br /&gt;
 group vomss://voms2.cern.ch:8443/voms/lhcb?/lhcb lhcb001&lt;br /&gt;
::* '''/etc/grid-mapfile-local''' is a file to bootstrap the actual grid-mapfile and can be used to allow extra DNs or override some mappings&lt;br /&gt;
* '''Mapping:''' ''gridmap'' must is map the incoming DN to a local user&lt;br /&gt;
=== DCap/GSI-DCap ===&lt;br /&gt;
=== XRootD ===&lt;br /&gt;
&lt;br /&gt;
=== HTPasswd ===&lt;br /&gt;
* This is intended only for the WebDAV protocol.&lt;br /&gt;
=== x509 Certificates ===&lt;br /&gt;
* This is mostly intented for the WebDAV protocol.&lt;br /&gt;
=== VOMS Certificates ===&lt;br /&gt;
* This is intented for GRID Users, mostly using GridFTP, GSI-DCap &amp;amp; SRM protocols.&lt;br /&gt;
=== JAAS ===&lt;br /&gt;
* This is intended for PIC LDAP users accessing to WebDAV.&lt;br /&gt;
=== multimap ===&lt;br /&gt;
* Useful for OIDC authentication (i.e. through Google or INDIGO Accounts)&lt;/div&gt;</summary>
		<author><name>Mcaubet</name></author>
	</entry>
	<entry>
		<id>https://pwiki.pic.es/index.php?title=HowTo:_Configuring_gPlazma&amp;diff=207</id>
		<title>HowTo: Configuring gPlazma</title>
		<link rel="alternate" type="text/html" href="https://pwiki.pic.es/index.php?title=HowTo:_Configuring_gPlazma&amp;diff=207"/>
		<updated>2017-09-06T06:43:46Z</updated>

		<summary type="html">&lt;p&gt;Mcaubet: /* multimap */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Configuring gPlazma =&lt;br /&gt;
== dCache Authorization by protocol ==&lt;br /&gt;
=== WebDAV ===&lt;br /&gt;
* htpasswd&lt;br /&gt;
:'''Authentication:''' JAAS, custom ''/etc/dcache/jgss.conf''&lt;br /&gt;
:'''Mapping:''' glazma Mutator (to convert LDAP specific result to dCache internal principals)  + NSSwitch (to map user name to uid)&lt;br /&gt;
=== NFSv3/NFSv41 ===&lt;br /&gt;
* '''Authentication:''' Not performed in the dCache system, is made through OpenLDAP server.&lt;br /&gt;
* '''Mapping:''' sername/Password already authenticated through OpenLDAP, NSSwitch for mapping.&lt;br /&gt;
=== GridFTP ===&lt;br /&gt;
=== DCap/GSI-DCap ===&lt;br /&gt;
=== XRootD ===&lt;br /&gt;
&lt;br /&gt;
=== HTPasswd ===&lt;br /&gt;
* This is intended only for the WebDAV protocol.&lt;br /&gt;
=== x509 Certificates ===&lt;br /&gt;
* This is mostly intented for the WebDAV protocol.&lt;br /&gt;
=== VOMS Certificates ===&lt;br /&gt;
* This is intented for GRID Users, mostly using GridFTP, GSI-DCap &amp;amp; SRM protocols.&lt;br /&gt;
=== JAAS ===&lt;br /&gt;
* This is intended for PIC LDAP users accessing to WebDAV.&lt;br /&gt;
=== multimap ===&lt;br /&gt;
* Useful for OIDC authentication (i.e. through Google or INDIGO Accounts)&lt;/div&gt;</summary>
		<author><name>Mcaubet</name></author>
	</entry>
	<entry>
		<id>https://pwiki.pic.es/index.php?title=HowTo:_Configuring_gPlazma&amp;diff=206</id>
		<title>HowTo: Configuring gPlazma</title>
		<link rel="alternate" type="text/html" href="https://pwiki.pic.es/index.php?title=HowTo:_Configuring_gPlazma&amp;diff=206"/>
		<updated>2017-09-06T06:42:51Z</updated>

		<summary type="html">&lt;p&gt;Mcaubet: /* = */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Configuring gPlazma =&lt;br /&gt;
== dCache Authorization by protocol ==&lt;br /&gt;
=== WebDAV ===&lt;br /&gt;
* htpasswd&lt;br /&gt;
:'''Authentication:''' JAAS, custom ''/etc/dcache/jgss.conf''&lt;br /&gt;
:'''Mapping:''' glazma Mutator (to convert LDAP specific result to dCache internal principals)  + NSSwitch (to map user name to uid)&lt;br /&gt;
=== NFSv3/NFSv41 ===&lt;br /&gt;
* '''Authentication:''' Not performed in the dCache system, is made through OpenLDAP server.&lt;br /&gt;
* '''Mapping:''' sername/Password already authenticated through OpenLDAP, NSSwitch for mapping.&lt;br /&gt;
=== GridFTP ===&lt;br /&gt;
=== DCap/GSI-DCap ===&lt;br /&gt;
=== XRootD ===&lt;br /&gt;
&lt;br /&gt;
=== HTPasswd ===&lt;br /&gt;
* This is intended only for the WebDAV protocol.&lt;br /&gt;
=== x509 Certificates ===&lt;br /&gt;
* This is mostly intented for the WebDAV protocol.&lt;br /&gt;
=== VOMS Certificates ===&lt;br /&gt;
* This is intented for GRID Users, mostly using GridFTP, GSI-DCap &amp;amp; SRM protocols.&lt;br /&gt;
=== JAAS ===&lt;br /&gt;
* This is intended for PIC LDAP users accessing to WebDAV.&lt;br /&gt;
=== multimap ===&lt;/div&gt;</summary>
		<author><name>Mcaubet</name></author>
	</entry>
	<entry>
		<id>https://pwiki.pic.es/index.php?title=DCache.org&amp;diff=205</id>
		<title>DCache.org</title>
		<link rel="alternate" type="text/html" href="https://pwiki.pic.es/index.php?title=DCache.org&amp;diff=205"/>
		<updated>2017-09-06T06:42:07Z</updated>

		<summary type="html">&lt;p&gt;Mcaubet: /* Development instance */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Become a dCache Administrator at PIC =&lt;br /&gt;
* [[HowTo: dCache Management - GIT + Puppet]]&lt;br /&gt;
== Management tools ==&lt;br /&gt;
* [[HowTo: Accessing to the dCache Admin Console]]&lt;br /&gt;
* [[HowTo: Installing &amp;amp; Configuring PCells to Administrate dCache]]&lt;br /&gt;
== Instances ==&lt;br /&gt;
&lt;br /&gt;
=== Test instance ===&lt;br /&gt;
* '''''Version''''': this can be higher than the ''production'' instance.&lt;br /&gt;
* '''''Needed for''''': test newer dCache releases. &lt;br /&gt;
* '''''When to upgrade''''': &lt;br /&gt;
:# Whenever you want, whenever you need.&lt;br /&gt;
:# Recommended to test with Enstore before upgrading the Development instance&lt;br /&gt;
:# Recommended to backup DBs for rolling back upgrades.&lt;br /&gt;
* '''''Upgrade requirements''''':&lt;br /&gt;
:# No requirements.&lt;br /&gt;
&lt;br /&gt;
=== Development instance ===&lt;br /&gt;
* '''''Version''''': should be always the same as the ''production'' instance&lt;br /&gt;
* '''''Needed for''''': this instance is used in order to test Enstore with the dCache version running in production.&lt;br /&gt;
* '''''When to upgrade''''': &lt;br /&gt;
:# Always upgrade before upgrading the dCache production instance.&lt;br /&gt;
:# Upgrade only as the last validation for the dCache upgrade procedure, just before upgrading the production instance.&lt;br /&gt;
:# Only upgrade when no Enstore interventions / changes are expected until the production instance is upgraded.&lt;br /&gt;
* '''''Upgrade requirements''''':&lt;br /&gt;
:# Always ask to the Enstore admin if upgrades can be performed in the the Development instance.&lt;br /&gt;
:# Ensure that there are always DB backups before upgrading the instance.&lt;br /&gt;
&lt;br /&gt;
=== Production instance ===&lt;br /&gt;
* '''''Version''''': Any Golden or Production release.&lt;br /&gt;
* '''''Needed for''''': production services.&lt;br /&gt;
* '''''When to upgrade''''': &lt;br /&gt;
:# Always upgrade after upgrading and validating the upgrade for the dCache development instance.&lt;br /&gt;
:# Upgrade always ensuring that Enstore client and service was already tested in the test and development instances.&lt;br /&gt;
* '''''Upgrade requirements''''':&lt;br /&gt;
:# Always ask to the Enstore admin if upgrade can be performed in the the Production instance.&lt;br /&gt;
:# Ensure that there are always DB backups before upgrading the instance.&lt;br /&gt;
&lt;br /&gt;
=== CMS MWR (MiddleWare Readiness) instance ===&lt;br /&gt;
* '''''Version''''': Latest dCache version.&lt;br /&gt;
* '''''Needed for''''': CMS MRW tests (Debug)&lt;br /&gt;
* '''''When to upgrade''''': &lt;br /&gt;
:# Whenever a new release is available is recommended to upgrade. However, there is no a strict requirement and you can wait few days / weeks before upgrading.&lt;br /&gt;
* '''''Upgrade requirements''''':&lt;br /&gt;
:# For major release upgrades, always inform the CMS Contact and CMS MWR team.&lt;br /&gt;
:# Ensure that there are always DB backups before upgrading the instance.&lt;br /&gt;
&lt;br /&gt;
= Service Administration =&lt;br /&gt;
&lt;br /&gt;
== gPlazma ==&lt;br /&gt;
* [[HowTo: Configuring gPlazma]]&lt;br /&gt;
&lt;br /&gt;
== Pools Management ==&lt;br /&gt;
* Data Migration:&lt;br /&gt;
:* [[HowTo: Migrate dCache Pool]]&lt;br /&gt;
:* [[HowTo: Permanent Migration to dCache Read Only Pools]]&lt;br /&gt;
* [[HowTo: srm22 - Generating poolmanager.conf &amp;amp; LinkGroupAuthorization.conf]]&lt;br /&gt;
:* [[HowTo:_srm22_-_Generating_poolmanager.conf_%26_LinkGroupAuthorization.conf#Adding_.2F_Moving_.2F_Removing_pools_from_poolgroups|HowTo: Adding/Removing pools to a VO]]&lt;br /&gt;
&lt;br /&gt;
== dCacheAdmin ==&lt;br /&gt;
* [[HowTo: Configure SSH2 access to the Admin Console]]&lt;br /&gt;
&lt;br /&gt;
== SRM ==&lt;br /&gt;
* [[HowTo: Managing Space Reservation (Tokens)]]&lt;br /&gt;
&lt;br /&gt;
== Billing ==&lt;br /&gt;
* [[HowTo: Reset Billing PostgreSQL]]&lt;br /&gt;
* [[HowTo: Clean old Billing PostgreSQL records]]&lt;br /&gt;
&lt;br /&gt;
== Info Provider ==&lt;br /&gt;
* [[HowTo: Publishing dCache Information]]&lt;br /&gt;
&lt;br /&gt;
== Alarms ==&lt;br /&gt;
&lt;br /&gt;
== dCache + Enstore Administration ==&lt;br /&gt;
* [[HowTo: Managing Tape File Families in dCache]]&lt;br /&gt;
&lt;br /&gt;
== Doors ==&lt;br /&gt;
=== NFSv3/NFSv41 Service in dCache ===&lt;br /&gt;
[[HowTo: Exporting a new dCache NFS directory]]&lt;br /&gt;
=== WebDAV ===&lt;br /&gt;
* [[HowTo: WebDAV properties]]:&lt;br /&gt;
:* [[HowTo:_WebDAV_properties#Example:_File_Checksum_via_WebDAV | File Checksum check via WebDAV]]&lt;br /&gt;
=== CMS XRootD ===&lt;br /&gt;
* [[HowTo: CMS XRootD configuration]]&lt;br /&gt;
&lt;br /&gt;
== dCache Advanced Administration ==&lt;br /&gt;
* [[dCache Metadata Commands]]&lt;br /&gt;
* [[dCache Administration Console Commands]]&lt;br /&gt;
* [[Monitoring dCache with ELK]]&lt;br /&gt;
&lt;br /&gt;
== Alarms ==&lt;br /&gt;
* [[DCACHE_CHECK_POOL_BTREE_MEMORY]]&lt;br /&gt;
* [[DCACHE_CHECK_POOL_METADATA]]&lt;/div&gt;</summary>
		<author><name>Mcaubet</name></author>
	</entry>
	<entry>
		<id>https://pwiki.pic.es/index.php?title=DCache.org&amp;diff=204</id>
		<title>DCache.org</title>
		<link rel="alternate" type="text/html" href="https://pwiki.pic.es/index.php?title=DCache.org&amp;diff=204"/>
		<updated>2017-09-06T06:41:15Z</updated>

		<summary type="html">&lt;p&gt;Mcaubet: /* Development instance */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Become a dCache Administrator at PIC =&lt;br /&gt;
* [[HowTo: dCache Management - GIT + Puppet]]&lt;br /&gt;
== Management tools ==&lt;br /&gt;
* [[HowTo: Accessing to the dCache Admin Console]]&lt;br /&gt;
* [[HowTo: Installing &amp;amp; Configuring PCells to Administrate dCache]]&lt;br /&gt;
== Instances ==&lt;br /&gt;
&lt;br /&gt;
=== Test instance ===&lt;br /&gt;
* '''''Version''''': this can be higher than the ''production'' instance.&lt;br /&gt;
* '''''Needed for''''': test newer dCache releases. &lt;br /&gt;
* '''''When to upgrade''''': &lt;br /&gt;
:# Whenever you want, whenever you need.&lt;br /&gt;
:# Recommended to test with Enstore before upgrading the Development instance&lt;br /&gt;
:# Recommended to backup DBs for rolling back upgrades.&lt;br /&gt;
* '''''Upgrade requirements''''':&lt;br /&gt;
:# No requirements.&lt;br /&gt;
&lt;br /&gt;
=== Development instance ===&lt;br /&gt;
* '''''Version''''': should be always the same as the ''production'' instance&lt;br /&gt;
* '''''Needed for''''': this instance is used in order to test Enstore with the dCache version running in production.&lt;br /&gt;
* '''''When to upgrade''''': &lt;br /&gt;
:# Always upgrade before upgrading the dCache production instance.&lt;br /&gt;
:# Upgrade only as the last validation for the dCache upgrade procedure, just before upgrading the production instance.&lt;br /&gt;
:# Only upgrade when no Enstore interventions / changes are expected until the production instance is upgraded.&lt;br /&gt;
* '''''Upgrade requirements''''':&lt;br /&gt;
:# Always ask to the Enstore admin if upgrade can be performed in the the Development instance.&lt;br /&gt;
:# Ensure that there are always DB backups before upgrading the instance.&lt;br /&gt;
&lt;br /&gt;
=== Production instance ===&lt;br /&gt;
* '''''Version''''': Any Golden or Production release.&lt;br /&gt;
* '''''Needed for''''': production services.&lt;br /&gt;
* '''''When to upgrade''''': &lt;br /&gt;
:# Always upgrade after upgrading and validating the upgrade for the dCache development instance.&lt;br /&gt;
:# Upgrade always ensuring that Enstore client and service was already tested in the test and development instances.&lt;br /&gt;
* '''''Upgrade requirements''''':&lt;br /&gt;
:# Always ask to the Enstore admin if upgrade can be performed in the the Production instance.&lt;br /&gt;
:# Ensure that there are always DB backups before upgrading the instance.&lt;br /&gt;
&lt;br /&gt;
=== CMS MWR (MiddleWare Readiness) instance ===&lt;br /&gt;
* '''''Version''''': Latest dCache version.&lt;br /&gt;
* '''''Needed for''''': CMS MRW tests (Debug)&lt;br /&gt;
* '''''When to upgrade''''': &lt;br /&gt;
:# Whenever a new release is available is recommended to upgrade. However, there is no a strict requirement and you can wait few days / weeks before upgrading.&lt;br /&gt;
* '''''Upgrade requirements''''':&lt;br /&gt;
:# For major release upgrades, always inform the CMS Contact and CMS MWR team.&lt;br /&gt;
:# Ensure that there are always DB backups before upgrading the instance.&lt;br /&gt;
&lt;br /&gt;
= Service Administration =&lt;br /&gt;
&lt;br /&gt;
== gPlazma ==&lt;br /&gt;
* [[HowTo: Configuring gPlazma]]&lt;br /&gt;
&lt;br /&gt;
== Pools Management ==&lt;br /&gt;
* Data Migration:&lt;br /&gt;
:* [[HowTo: Migrate dCache Pool]]&lt;br /&gt;
:* [[HowTo: Permanent Migration to dCache Read Only Pools]]&lt;br /&gt;
* [[HowTo: srm22 - Generating poolmanager.conf &amp;amp; LinkGroupAuthorization.conf]]&lt;br /&gt;
:* [[HowTo:_srm22_-_Generating_poolmanager.conf_%26_LinkGroupAuthorization.conf#Adding_.2F_Moving_.2F_Removing_pools_from_poolgroups|HowTo: Adding/Removing pools to a VO]]&lt;br /&gt;
&lt;br /&gt;
== dCacheAdmin ==&lt;br /&gt;
* [[HowTo: Configure SSH2 access to the Admin Console]]&lt;br /&gt;
&lt;br /&gt;
== SRM ==&lt;br /&gt;
* [[HowTo: Managing Space Reservation (Tokens)]]&lt;br /&gt;
&lt;br /&gt;
== Billing ==&lt;br /&gt;
* [[HowTo: Reset Billing PostgreSQL]]&lt;br /&gt;
* [[HowTo: Clean old Billing PostgreSQL records]]&lt;br /&gt;
&lt;br /&gt;
== Info Provider ==&lt;br /&gt;
* [[HowTo: Publishing dCache Information]]&lt;br /&gt;
&lt;br /&gt;
== Alarms ==&lt;br /&gt;
&lt;br /&gt;
== dCache + Enstore Administration ==&lt;br /&gt;
* [[HowTo: Managing Tape File Families in dCache]]&lt;br /&gt;
&lt;br /&gt;
== Doors ==&lt;br /&gt;
=== NFSv3/NFSv41 Service in dCache ===&lt;br /&gt;
[[HowTo: Exporting a new dCache NFS directory]]&lt;br /&gt;
=== WebDAV ===&lt;br /&gt;
* [[HowTo: WebDAV properties]]:&lt;br /&gt;
:* [[HowTo:_WebDAV_properties#Example:_File_Checksum_via_WebDAV | File Checksum check via WebDAV]]&lt;br /&gt;
=== CMS XRootD ===&lt;br /&gt;
* [[HowTo: CMS XRootD configuration]]&lt;br /&gt;
&lt;br /&gt;
== dCache Advanced Administration ==&lt;br /&gt;
* [[dCache Metadata Commands]]&lt;br /&gt;
* [[dCache Administration Console Commands]]&lt;br /&gt;
* [[Monitoring dCache with ELK]]&lt;br /&gt;
&lt;br /&gt;
== Alarms ==&lt;br /&gt;
* [[DCACHE_CHECK_POOL_BTREE_MEMORY]]&lt;br /&gt;
* [[DCACHE_CHECK_POOL_METADATA]]&lt;/div&gt;</summary>
		<author><name>Mcaubet</name></author>
	</entry>
	<entry>
		<id>https://pwiki.pic.es/index.php?title=DCache.org&amp;diff=203</id>
		<title>DCache.org</title>
		<link rel="alternate" type="text/html" href="https://pwiki.pic.es/index.php?title=DCache.org&amp;diff=203"/>
		<updated>2017-09-05T14:47:10Z</updated>

		<summary type="html">&lt;p&gt;Mcaubet: /* Become a dCache Administrator */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Become a dCache Administrator at PIC =&lt;br /&gt;
* [[HowTo: dCache Management - GIT + Puppet]]&lt;br /&gt;
== Management tools ==&lt;br /&gt;
* [[HowTo: Accessing to the dCache Admin Console]]&lt;br /&gt;
* [[HowTo: Installing &amp;amp; Configuring PCells to Administrate dCache]]&lt;br /&gt;
== Instances ==&lt;br /&gt;
&lt;br /&gt;
=== Test instance ===&lt;br /&gt;
* '''''Version''''': this can be higher than the ''production'' instance.&lt;br /&gt;
* '''''Needed for''''': test newer dCache releases. &lt;br /&gt;
* '''''When to upgrade''''': &lt;br /&gt;
:# Whenever you want, whenever you need.&lt;br /&gt;
:# Recommended to test with Enstore before upgrading the Development instance&lt;br /&gt;
:# Recommended to backup DBs for rolling back upgrades.&lt;br /&gt;
* '''''Upgrade requirements''''':&lt;br /&gt;
:# No requirements.&lt;br /&gt;
&lt;br /&gt;
=== Development instance ===&lt;br /&gt;
* '''''Version''''': should be always the same as the ''production'' instance&lt;br /&gt;
* '''''Needed for''''': this instance is used in order to test Enstore with the dCache version which is running in production.&lt;br /&gt;
* '''''When to upgrade''''': &lt;br /&gt;
:# Always upgrade before upgrading the dCache production instance.&lt;br /&gt;
:# Upgrade only as the last validation for the dCache upgrade procedure, just before upgrading the production instance.&lt;br /&gt;
:# Only upgrade when no Enstore interventions / changes are expected until the production instance is upgraded.&lt;br /&gt;
* '''''Upgrade requirements''''':&lt;br /&gt;
:# Always ask to the Enstore admin if upgrade can be performed in the the Development instance.&lt;br /&gt;
:# Ensure that there are always DB backups before upgrading the instance.&lt;br /&gt;
&lt;br /&gt;
=== Production instance ===&lt;br /&gt;
* '''''Version''''': Any Golden or Production release.&lt;br /&gt;
* '''''Needed for''''': production services.&lt;br /&gt;
* '''''When to upgrade''''': &lt;br /&gt;
:# Always upgrade after upgrading and validating the upgrade for the dCache development instance.&lt;br /&gt;
:# Upgrade always ensuring that Enstore client and service was already tested in the test and development instances.&lt;br /&gt;
* '''''Upgrade requirements''''':&lt;br /&gt;
:# Always ask to the Enstore admin if upgrade can be performed in the the Production instance.&lt;br /&gt;
:# Ensure that there are always DB backups before upgrading the instance.&lt;br /&gt;
&lt;br /&gt;
=== CMS MWR (MiddleWare Readiness) instance ===&lt;br /&gt;
* '''''Version''''': Latest dCache version.&lt;br /&gt;
* '''''Needed for''''': CMS MRW tests (Debug)&lt;br /&gt;
* '''''When to upgrade''''': &lt;br /&gt;
:# Whenever a new release is available is recommended to upgrade. However, there is no a strict requirement and you can wait few days / weeks before upgrading.&lt;br /&gt;
* '''''Upgrade requirements''''':&lt;br /&gt;
:# For major release upgrades, always inform the CMS Contact and CMS MWR team.&lt;br /&gt;
:# Ensure that there are always DB backups before upgrading the instance.&lt;br /&gt;
&lt;br /&gt;
= Service Administration =&lt;br /&gt;
&lt;br /&gt;
== gPlazma ==&lt;br /&gt;
* [[HowTo: Configuring gPlazma]]&lt;br /&gt;
&lt;br /&gt;
== Pools Management ==&lt;br /&gt;
* Data Migration:&lt;br /&gt;
:* [[HowTo: Migrate dCache Pool]]&lt;br /&gt;
:* [[HowTo: Permanent Migration to dCache Read Only Pools]]&lt;br /&gt;
* [[HowTo: srm22 - Generating poolmanager.conf &amp;amp; LinkGroupAuthorization.conf]]&lt;br /&gt;
:* [[HowTo:_srm22_-_Generating_poolmanager.conf_%26_LinkGroupAuthorization.conf#Adding_.2F_Moving_.2F_Removing_pools_from_poolgroups|HowTo: Adding/Removing pools to a VO]]&lt;br /&gt;
&lt;br /&gt;
== dCacheAdmin ==&lt;br /&gt;
* [[HowTo: Configure SSH2 access to the Admin Console]]&lt;br /&gt;
&lt;br /&gt;
== SRM ==&lt;br /&gt;
* [[HowTo: Managing Space Reservation (Tokens)]]&lt;br /&gt;
&lt;br /&gt;
== Billing ==&lt;br /&gt;
* [[HowTo: Reset Billing PostgreSQL]]&lt;br /&gt;
* [[HowTo: Clean old Billing PostgreSQL records]]&lt;br /&gt;
&lt;br /&gt;
== Info Provider ==&lt;br /&gt;
* [[HowTo: Publishing dCache Information]]&lt;br /&gt;
&lt;br /&gt;
== Alarms ==&lt;br /&gt;
&lt;br /&gt;
== dCache + Enstore Administration ==&lt;br /&gt;
* [[HowTo: Managing Tape File Families in dCache]]&lt;br /&gt;
&lt;br /&gt;
== Doors ==&lt;br /&gt;
=== NFSv3/NFSv41 Service in dCache ===&lt;br /&gt;
[[HowTo: Exporting a new dCache NFS directory]]&lt;br /&gt;
=== WebDAV ===&lt;br /&gt;
* [[HowTo: WebDAV properties]]:&lt;br /&gt;
:* [[HowTo:_WebDAV_properties#Example:_File_Checksum_via_WebDAV | File Checksum check via WebDAV]]&lt;br /&gt;
=== CMS XRootD ===&lt;br /&gt;
* [[HowTo: CMS XRootD configuration]]&lt;br /&gt;
&lt;br /&gt;
== dCache Advanced Administration ==&lt;br /&gt;
* [[dCache Metadata Commands]]&lt;br /&gt;
* [[dCache Administration Console Commands]]&lt;br /&gt;
* [[Monitoring dCache with ELK]]&lt;br /&gt;
&lt;br /&gt;
== Alarms ==&lt;br /&gt;
* [[DCACHE_CHECK_POOL_BTREE_MEMORY]]&lt;br /&gt;
* [[DCACHE_CHECK_POOL_METADATA]]&lt;/div&gt;</summary>
		<author><name>Mcaubet</name></author>
	</entry>
	<entry>
		<id>https://pwiki.pic.es/index.php?title=DCache_Administration_Console_Commands&amp;diff=202</id>
		<title>DCache Administration Console Commands</title>
		<link rel="alternate" type="text/html" href="https://pwiki.pic.es/index.php?title=DCache_Administration_Console_Commands&amp;diff=202"/>
		<updated>2017-07-31T10:02:56Z</updated>

		<summary type="html">&lt;p&gt;Mcaubet: /* File / replica management examples */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= About this document =&lt;br /&gt;
* This document shows several examples of useful commands that can be run in the dCache Administration Console.&lt;br /&gt;
* Administration console can be accessed through '''[[https://www.dcache.org/downloads/gui/ PCells GUI]]''' or through '''SSHv2''' as follows (in the example, '''dccore.pic.es''' is the physical machine running the '''admin''' cell):&lt;br /&gt;
 ssh -2 -x -o StrictHostKeyChecking=no -l admin -c blowfish -p 22224 dccore.pic.es&lt;br /&gt;
* In this document we show what we consider the most important commands for the everyday's administration tasks, and basically the ones that may be useful for the Manager On Duty. Maybe some important commands are missing, but will be added as soon as we detect that these may be important for the MoD.&lt;br /&gt;
* This document is divided in two main blocks:&lt;br /&gt;
# '''Pool commands''': shows useful commands that can be run on pools.&lt;br /&gt;
# '''Service commands''': show useful commands that can be run on servers (this will include doors)&lt;br /&gt;
= The basics =&lt;br /&gt;
* If you access the Administration Console through '''SSHv2''' you should access to the different cells as follows:&lt;br /&gt;
 \? [command]...  # display help for shell commands&lt;br /&gt;
 \c cell[@domain] [user]  # connect to cell&lt;br /&gt;
 \exception [trace]  # controls display of stack traces&lt;br /&gt;
 \h [command]...  # display help for cell commands&lt;br /&gt;
 \l [cell[@domain]|pool/poolgroup]...  # list cells&lt;br /&gt;
 \q # quit&lt;br /&gt;
 '''\s (cell[@domain]|pool/poolgroup)[,(cell[@domain]|pool/poolgroup)]... command...  # send command'''&lt;br /&gt;
 \sl pnfsid|path command...  # send to locations&lt;br /&gt;
 \sn command...  # send pnfsmanager command&lt;br /&gt;
 \sp command...  # send poolmanager command&lt;br /&gt;
 \timeout [seconds]  # sets the command timeout&lt;br /&gt;
* With '''\s''' you will be able to access to any '''cell[@domain]'''s, while branches of this command such like '''\sn''' or '''\sp''' are useful to (respectively) direct access to the ''namespace'' or ''poolmanager'' cells without the need of specifying the ''cell[@domain]''.&lt;br /&gt;
&lt;br /&gt;
= Pool commands =&lt;br /&gt;
== Introduction ==&lt;br /&gt;
* Any command run on a pool is a temporary change: on any pool service restart configuration will be restored back to the default value or to the value set in the '''setup''' file (locate in '''/dcpool*/vpool*/setup''').&lt;br /&gt;
:* In example, whenever we set a pool to ''rdonly'', on restart, once the ''initialization'' process finishes, pool will switch back to ''enabled''.&lt;br /&gt;
* If you want to make permanent changes, you should '''save''' changes. Running the '''save''' command will update the already mentioned '''setup''' file.&lt;br /&gt;
:* In example, whenever we set a pool to ''rdonly'' '''and''' we ''save'' the configuration, on a restart, once the ''initialization'' process finishes, pool will remain ''rdonly''.&lt;br /&gt;
&lt;br /&gt;
== Disable / enable pools ==&lt;br /&gt;
=== Command help ===&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? help hsm'''&lt;br /&gt;
 ''pool disable [options] [&amp;lt;errorCode&amp;gt; [&amp;lt;errorMessage&amp;gt;]]'' # suspend sending 'up messages'&lt;br /&gt;
      OPTIONS :&lt;br /&gt;
        -fetch    #  disallows fetch (transfer to client)&lt;br /&gt;
        -stage    #  disallows staging (from HSM)&lt;br /&gt;
        -store    #  disallows store (transfer from client)&lt;br /&gt;
        -p2p-client&lt;br /&gt;
        -rdonly   #  := store,stage,p2p-client&lt;br /&gt;
        -strict   #  := disallows everything&lt;br /&gt;
 ''pool enable'' # start sending 'up messages' again&lt;br /&gt;
 ''pool suppress hsmload on|off''&lt;br /&gt;
&lt;br /&gt;
=== Disable / enable pool examples ===&lt;br /&gt;
* Disallow store + stage + p2p-client (set pool in read only mode)&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''pool disable -rdonly'''&lt;br /&gt;
* Enable pool (set pool to RW)&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''pool enable'''&lt;br /&gt;
&lt;br /&gt;
== HSM configuration ==&lt;br /&gt;
=== Command help ===&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? help hsm'''&lt;br /&gt;
 hsm create &amp;lt;type&amp;gt; [&amp;lt;name&amp;gt; [&amp;lt;provider&amp;gt;]] [-&amp;lt;key&amp;gt;=&amp;lt;value&amp;gt;] ...&lt;br /&gt;
 hsm ls [&amp;lt;name&amp;gt;] ...&lt;br /&gt;
 hsm remove &amp;lt;name&amp;gt;&lt;br /&gt;
 hsm set &amp;lt;name&amp;gt; [-&amp;lt;key&amp;gt;=&amp;lt;value&amp;gt;] ...&lt;br /&gt;
 hsm show providers # show available nearline storage providers&lt;br /&gt;
 hsm unset &amp;lt;name&amp;gt; [-&amp;lt;key&amp;gt;] ...&lt;br /&gt;
=== HSM configuration examples ===&lt;br /&gt;
* Create a ''enstore'' HSM with the ''real-encp.sh'' client script (this example can be found in the '''setup''' file):&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''hsm create enstore enstore script -pnfs=/pnfs/fs/usr -command=/opt/enstore/bin/real-encp.sh -c:gets=200 -c:puts=20 -c:removes=2'''&lt;br /&gt;
* Show ''enstore'' configuration:&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''hsm ls enstore'''&lt;br /&gt;
 enstore(enstore):script&lt;br /&gt;
   pnfs                /pnfs/fs/usr&lt;br /&gt;
   command             /opt/enstore/bin/real-encp.sh&lt;br /&gt;
   c:gets              200&lt;br /&gt;
   c:puts              20&lt;br /&gt;
   c:removes           2&lt;br /&gt;
* Set maximum restores to 400:&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''hsm set enstore -c:gets=400'''&lt;br /&gt;
&lt;br /&gt;
== Mover management ==&lt;br /&gt;
=== Command help ===&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? help hsm'''&lt;br /&gt;
 ''mover kill &amp;lt;jobid&amp;gt;''  # terminate a file transfer connection&lt;br /&gt;
 ''mover ls [-binary [jobId] ]''&lt;br /&gt;
 ''mover queue ls [-l]''  # list all mover queues in this pool&lt;br /&gt;
 ''mover remove [&amp;lt;jobid&amp;gt;]''  # #OBSOLETE command&lt;br /&gt;
 ''mover set max active [OPTIONS] &amp;lt;maxactivemovers&amp;gt;''  # set the maximum number of active client transfers&lt;br /&gt;
&lt;br /&gt;
=== Mover management examples ===&lt;br /&gt;
* Show current '''ftp''' transfers:&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? mover ls -l -queue=ftp'''&lt;br /&gt;
 33743014 : RUNNING : 0000D5B91029797545859181EB738C25E93C IoMode=READ h={SU=0;SA=0;S=None} bytes=12113543168 time/sec=3893 LM=0 si={vo-cms.cms}&lt;br /&gt;
 33743019 : RUNNING : 00008862CFF7A1C74513A617D364A4162DAA IoMode=READ h={SU=0;SA=0;S=None} bytes=10561388544 time/sec=3409 LM=0 si={vo-cms.cms}&lt;br /&gt;
 33743076 : RUNNING : 0000736CFC0DAF494816BFE7CC32D3192900 IoMode=READ h={SU=0;SA=0;S=None} bytes=2034630656 time/sec=2478 LM=0 si={vo-cms.cms}&lt;br /&gt;
 33743086 : RUNNING : 0000C5F1B9D6EEC04DEEA077CA6753E30DE0 IoMode=READ h={SU=0;SA=0;S=None} bytes=488898560 time/sec=1357 LM=1 si={vo-cms.cms}&lt;br /&gt;
 33743103 : RUNNING : 0000BBE684CB4BA44AB5ACB0D13C5DD25C8C IoMode=READ h={SU=0;SA=0;S=None} bytes=135921664 time/sec=239 LM=20 si={vo-cms.cms}&lt;br /&gt;
* Show all mover queue properties:&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? mover queue ls -l'''&lt;br /&gt;
 regular 0 0 0&lt;br /&gt;
 p2p 0 40 0&lt;br /&gt;
 ftp 11 500 0&lt;br /&gt;
 dcap 0 10 0&lt;br /&gt;
 nfs4 0 100 0&lt;br /&gt;
 xrootd 406 1500 0&lt;br /&gt;
 xrootd-wan 0 700 0&lt;br /&gt;
 webdav 0 0 0&lt;br /&gt;
* Set to 400 the maximum active client transfers for the '''ftp''' queue:&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? mover set max active -queue=ftp 400'''&lt;br /&gt;
 Max Active Io Movers set to 400&lt;br /&gt;
&lt;br /&gt;
== File / replica management ==&lt;br /&gt;
=== Command help ===&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? help hsm'''&lt;br /&gt;
 ''rep ls [-l[=s,l,u,nc,p]] [-s[=kmgt]] [-storage=&amp;lt;glob&amp;gt;] | &amp;lt;pnfsId&amp;gt;...''&lt;br /&gt;
   Format I  : &amp;lt;pnfsId&amp;gt;...&lt;br /&gt;
   Format II : [-l[=&amp;lt;selectionOptions&amp;gt;]] [-storage=&amp;lt;glob&amp;gt;] [-s]&lt;br /&gt;
                Options :&lt;br /&gt;
                -l[=splunc]  # selected list&lt;br /&gt;
                   s  : sticky files&lt;br /&gt;
                   p  : precious files&lt;br /&gt;
                   l  : locked files&lt;br /&gt;
                   u  : files in use&lt;br /&gt;
                   nc : files which are not cached&lt;br /&gt;
                   e  : files which error condition&lt;br /&gt;
                -storage=&amp;lt;glob&amp;gt;   # select only replicas&lt;br /&gt;
                                    of files with storage-&lt;br /&gt;
                                    info that matches &amp;lt;glob&amp;gt;&lt;br /&gt;
                -s[=kmgt] [-sum]       # statistics&lt;br /&gt;
                   k  : data amount in KBytes&lt;br /&gt;
                   m  : data amount in MBytes&lt;br /&gt;
                   g  : data amount in GBytes&lt;br /&gt;
                   t  : data amount in TBytes&lt;br /&gt;
   Output is a list of repository entries, one per line&lt;br /&gt;
   each line has the followin syntax:&lt;br /&gt;
      &amp;lt;pnfsid&amp;gt; &amp;lt;state&amp;gt; &amp;lt;size&amp;gt; &amp;lt;storageinfo&amp;gt;&lt;br /&gt;
   state is a sequence of state bits inclosed in angular &amp;quot;&amp;lt;&amp;gt;&amp;quot; brackets &lt;br /&gt;
   bit 1 is &amp;quot;C&amp;quot; if entry is cached or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 2 is &amp;quot;P&amp;quot; if entry is precious or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 3 is &amp;quot;C&amp;quot; if entry is being transfered &amp;quot;from client&amp;quot; or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 4 is &amp;quot;S&amp;quot; if entry is being transfered &amp;quot;from store&amp;quot; or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 5 is &amp;quot;c&amp;quot; if entry is being transfered &amp;quot;to client&amp;quot; or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 6 is &amp;quot;s&amp;quot; if entry is being transfered &amp;quot;to store&amp;quot; or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 7 is &amp;quot;R&amp;quot; if entry is removed or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 8 is is always &amp;quot;-&amp;quot; &lt;br /&gt;
   bit 9 is &amp;quot;X&amp;quot; if entry is sticky or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 10 is &amp;quot;E&amp;quot; if entry is in error state or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 11 is &amp;quot;L(x)(y)&amp;quot; if entry is in locked or &amp;quot;-&amp;quot; if not &lt;br /&gt;
          x is epoch until which the entry is locked, 0 for non expiring lock &lt;br /&gt;
          y is the link count&lt;br /&gt;
 ''rep rm &amp;lt;pnfsid&amp;gt; [-force]'' # removes the pnfsfile from the cache&lt;br /&gt;
 ''rep rmclass &amp;lt;storageClass&amp;gt;'' # removes the from the cache&lt;br /&gt;
 ''rep set broken &amp;lt;pnfsid&amp;gt;''&lt;br /&gt;
 ''rep set cached &amp;lt;pnfsId&amp;gt;'' # DON'T USE, Potentially dangerous&lt;br /&gt;
 ''rep set precious &amp;lt;pnfsId&amp;gt;''&lt;br /&gt;
 ''rep set sticky [OPTIONS] [&amp;lt;pnfsid&amp;gt;] on|off''  # change sticky flags&lt;br /&gt;
 ''rep sticky ls'' &amp;lt;pnfsid&amp;gt;&lt;br /&gt;
=== File / replica management examples ===&lt;br /&gt;
* Show all ''precious'' replicas:&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? rep ls -l=p'''&lt;br /&gt;
 00000F754EACA5F343A593669020CA14B742 &amp;lt;-P---------L(0)[1]&amp;gt; 2964602212 si={vo-cms.t1d0_Tau_data_raw}&lt;br /&gt;
 000094BC5C56FD6A4299A80A9A2D17972F0A &amp;lt;-P---------L(0)[0]&amp;gt; 4008986357 si={vo-cms.t1d0_Tau_data_raw}&lt;br /&gt;
 ...&lt;br /&gt;
* Delete replica ('''DO NOT delete non-cached-only files''')&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? rep rm &amp;lt;pnfsid&amp;gt;'''&lt;/div&gt;</summary>
		<author><name>Mcaubet</name></author>
	</entry>
	<entry>
		<id>https://pwiki.pic.es/index.php?title=DCache_Administration_Console_Commands&amp;diff=201</id>
		<title>DCache Administration Console Commands</title>
		<link rel="alternate" type="text/html" href="https://pwiki.pic.es/index.php?title=DCache_Administration_Console_Commands&amp;diff=201"/>
		<updated>2017-07-31T09:40:13Z</updated>

		<summary type="html">&lt;p&gt;Mcaubet: /* File / replica management */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= About this document =&lt;br /&gt;
* This document shows several examples of useful commands that can be run in the dCache Administration Console.&lt;br /&gt;
* Administration console can be accessed through '''[[https://www.dcache.org/downloads/gui/ PCells GUI]]''' or through '''SSHv2''' as follows (in the example, '''dccore.pic.es''' is the physical machine running the '''admin''' cell):&lt;br /&gt;
 ssh -2 -x -o StrictHostKeyChecking=no -l admin -c blowfish -p 22224 dccore.pic.es&lt;br /&gt;
* In this document we show what we consider the most important commands for the everyday's administration tasks, and basically the ones that may be useful for the Manager On Duty. Maybe some important commands are missing, but will be added as soon as we detect that these may be important for the MoD.&lt;br /&gt;
* This document is divided in two main blocks:&lt;br /&gt;
# '''Pool commands''': shows useful commands that can be run on pools.&lt;br /&gt;
# '''Service commands''': show useful commands that can be run on servers (this will include doors)&lt;br /&gt;
= The basics =&lt;br /&gt;
* If you access the Administration Console through '''SSHv2''' you should access to the different cells as follows:&lt;br /&gt;
 \? [command]...  # display help for shell commands&lt;br /&gt;
 \c cell[@domain] [user]  # connect to cell&lt;br /&gt;
 \exception [trace]  # controls display of stack traces&lt;br /&gt;
 \h [command]...  # display help for cell commands&lt;br /&gt;
 \l [cell[@domain]|pool/poolgroup]...  # list cells&lt;br /&gt;
 \q # quit&lt;br /&gt;
 '''\s (cell[@domain]|pool/poolgroup)[,(cell[@domain]|pool/poolgroup)]... command...  # send command'''&lt;br /&gt;
 \sl pnfsid|path command...  # send to locations&lt;br /&gt;
 \sn command...  # send pnfsmanager command&lt;br /&gt;
 \sp command...  # send poolmanager command&lt;br /&gt;
 \timeout [seconds]  # sets the command timeout&lt;br /&gt;
* With '''\s''' you will be able to access to any '''cell[@domain]'''s, while branches of this command such like '''\sn''' or '''\sp''' are useful to (respectively) direct access to the ''namespace'' or ''poolmanager'' cells without the need of specifying the ''cell[@domain]''.&lt;br /&gt;
&lt;br /&gt;
= Pool commands =&lt;br /&gt;
== Introduction ==&lt;br /&gt;
* Any command run on a pool is a temporary change: on any pool service restart configuration will be restored back to the default value or to the value set in the '''setup''' file (locate in '''/dcpool*/vpool*/setup''').&lt;br /&gt;
:* In example, whenever we set a pool to ''rdonly'', on restart, once the ''initialization'' process finishes, pool will switch back to ''enabled''.&lt;br /&gt;
* If you want to make permanent changes, you should '''save''' changes. Running the '''save''' command will update the already mentioned '''setup''' file.&lt;br /&gt;
:* In example, whenever we set a pool to ''rdonly'' '''and''' we ''save'' the configuration, on a restart, once the ''initialization'' process finishes, pool will remain ''rdonly''.&lt;br /&gt;
&lt;br /&gt;
== Disable / enable pools ==&lt;br /&gt;
=== Command help ===&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? help hsm'''&lt;br /&gt;
 ''pool disable [options] [&amp;lt;errorCode&amp;gt; [&amp;lt;errorMessage&amp;gt;]]'' # suspend sending 'up messages'&lt;br /&gt;
      OPTIONS :&lt;br /&gt;
        -fetch    #  disallows fetch (transfer to client)&lt;br /&gt;
        -stage    #  disallows staging (from HSM)&lt;br /&gt;
        -store    #  disallows store (transfer from client)&lt;br /&gt;
        -p2p-client&lt;br /&gt;
        -rdonly   #  := store,stage,p2p-client&lt;br /&gt;
        -strict   #  := disallows everything&lt;br /&gt;
 ''pool enable'' # start sending 'up messages' again&lt;br /&gt;
 ''pool suppress hsmload on|off''&lt;br /&gt;
&lt;br /&gt;
=== Disable / enable pool examples ===&lt;br /&gt;
* Disallow store + stage + p2p-client (set pool in read only mode)&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''pool disable -rdonly'''&lt;br /&gt;
* Enable pool (set pool to RW)&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''pool enable'''&lt;br /&gt;
&lt;br /&gt;
== HSM configuration ==&lt;br /&gt;
=== Command help ===&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? help hsm'''&lt;br /&gt;
 hsm create &amp;lt;type&amp;gt; [&amp;lt;name&amp;gt; [&amp;lt;provider&amp;gt;]] [-&amp;lt;key&amp;gt;=&amp;lt;value&amp;gt;] ...&lt;br /&gt;
 hsm ls [&amp;lt;name&amp;gt;] ...&lt;br /&gt;
 hsm remove &amp;lt;name&amp;gt;&lt;br /&gt;
 hsm set &amp;lt;name&amp;gt; [-&amp;lt;key&amp;gt;=&amp;lt;value&amp;gt;] ...&lt;br /&gt;
 hsm show providers # show available nearline storage providers&lt;br /&gt;
 hsm unset &amp;lt;name&amp;gt; [-&amp;lt;key&amp;gt;] ...&lt;br /&gt;
=== HSM configuration examples ===&lt;br /&gt;
* Create a ''enstore'' HSM with the ''real-encp.sh'' client script (this example can be found in the '''setup''' file):&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''hsm create enstore enstore script -pnfs=/pnfs/fs/usr -command=/opt/enstore/bin/real-encp.sh -c:gets=200 -c:puts=20 -c:removes=2'''&lt;br /&gt;
* Show ''enstore'' configuration:&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''hsm ls enstore'''&lt;br /&gt;
 enstore(enstore):script&lt;br /&gt;
   pnfs                /pnfs/fs/usr&lt;br /&gt;
   command             /opt/enstore/bin/real-encp.sh&lt;br /&gt;
   c:gets              200&lt;br /&gt;
   c:puts              20&lt;br /&gt;
   c:removes           2&lt;br /&gt;
* Set maximum restores to 400:&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''hsm set enstore -c:gets=400'''&lt;br /&gt;
&lt;br /&gt;
== Mover management ==&lt;br /&gt;
=== Command help ===&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? help hsm'''&lt;br /&gt;
 ''mover kill &amp;lt;jobid&amp;gt;''  # terminate a file transfer connection&lt;br /&gt;
 ''mover ls [-binary [jobId] ]''&lt;br /&gt;
 ''mover queue ls [-l]''  # list all mover queues in this pool&lt;br /&gt;
 ''mover remove [&amp;lt;jobid&amp;gt;]''  # #OBSOLETE command&lt;br /&gt;
 ''mover set max active [OPTIONS] &amp;lt;maxactivemovers&amp;gt;''  # set the maximum number of active client transfers&lt;br /&gt;
&lt;br /&gt;
=== Mover management examples ===&lt;br /&gt;
* Show current '''ftp''' transfers:&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? mover ls -l -queue=ftp'''&lt;br /&gt;
 33743014 : RUNNING : 0000D5B91029797545859181EB738C25E93C IoMode=READ h={SU=0;SA=0;S=None} bytes=12113543168 time/sec=3893 LM=0 si={vo-cms.cms}&lt;br /&gt;
 33743019 : RUNNING : 00008862CFF7A1C74513A617D364A4162DAA IoMode=READ h={SU=0;SA=0;S=None} bytes=10561388544 time/sec=3409 LM=0 si={vo-cms.cms}&lt;br /&gt;
 33743076 : RUNNING : 0000736CFC0DAF494816BFE7CC32D3192900 IoMode=READ h={SU=0;SA=0;S=None} bytes=2034630656 time/sec=2478 LM=0 si={vo-cms.cms}&lt;br /&gt;
 33743086 : RUNNING : 0000C5F1B9D6EEC04DEEA077CA6753E30DE0 IoMode=READ h={SU=0;SA=0;S=None} bytes=488898560 time/sec=1357 LM=1 si={vo-cms.cms}&lt;br /&gt;
 33743103 : RUNNING : 0000BBE684CB4BA44AB5ACB0D13C5DD25C8C IoMode=READ h={SU=0;SA=0;S=None} bytes=135921664 time/sec=239 LM=20 si={vo-cms.cms}&lt;br /&gt;
* Show all mover queue properties:&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? mover queue ls -l'''&lt;br /&gt;
 regular 0 0 0&lt;br /&gt;
 p2p 0 40 0&lt;br /&gt;
 ftp 11 500 0&lt;br /&gt;
 dcap 0 10 0&lt;br /&gt;
 nfs4 0 100 0&lt;br /&gt;
 xrootd 406 1500 0&lt;br /&gt;
 xrootd-wan 0 700 0&lt;br /&gt;
 webdav 0 0 0&lt;br /&gt;
* Set to 400 the maximum active client transfers for the '''ftp''' queue:&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? mover set max active -queue=ftp 400'''&lt;br /&gt;
 Max Active Io Movers set to 400&lt;br /&gt;
&lt;br /&gt;
== File / replica management ==&lt;br /&gt;
=== Command help ===&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? help hsm'''&lt;br /&gt;
 ''rep ls [-l[=s,l,u,nc,p]] [-s[=kmgt]] [-storage=&amp;lt;glob&amp;gt;] | &amp;lt;pnfsId&amp;gt;...''&lt;br /&gt;
   Format I  : &amp;lt;pnfsId&amp;gt;...&lt;br /&gt;
   Format II : [-l[=&amp;lt;selectionOptions&amp;gt;]] [-storage=&amp;lt;glob&amp;gt;] [-s]&lt;br /&gt;
                Options :&lt;br /&gt;
                -l[=splunc]  # selected list&lt;br /&gt;
                   s  : sticky files&lt;br /&gt;
                   p  : precious files&lt;br /&gt;
                   l  : locked files&lt;br /&gt;
                   u  : files in use&lt;br /&gt;
                   nc : files which are not cached&lt;br /&gt;
                   e  : files which error condition&lt;br /&gt;
                -storage=&amp;lt;glob&amp;gt;   # select only replicas&lt;br /&gt;
                                    of files with storage-&lt;br /&gt;
                                    info that matches &amp;lt;glob&amp;gt;&lt;br /&gt;
                -s[=kmgt] [-sum]       # statistics&lt;br /&gt;
                   k  : data amount in KBytes&lt;br /&gt;
                   m  : data amount in MBytes&lt;br /&gt;
                   g  : data amount in GBytes&lt;br /&gt;
                   t  : data amount in TBytes&lt;br /&gt;
   Output is a list of repository entries, one per line&lt;br /&gt;
   each line has the followin syntax:&lt;br /&gt;
      &amp;lt;pnfsid&amp;gt; &amp;lt;state&amp;gt; &amp;lt;size&amp;gt; &amp;lt;storageinfo&amp;gt;&lt;br /&gt;
   state is a sequence of state bits inclosed in angular &amp;quot;&amp;lt;&amp;gt;&amp;quot; brackets &lt;br /&gt;
   bit 1 is &amp;quot;C&amp;quot; if entry is cached or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 2 is &amp;quot;P&amp;quot; if entry is precious or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 3 is &amp;quot;C&amp;quot; if entry is being transfered &amp;quot;from client&amp;quot; or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 4 is &amp;quot;S&amp;quot; if entry is being transfered &amp;quot;from store&amp;quot; or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 5 is &amp;quot;c&amp;quot; if entry is being transfered &amp;quot;to client&amp;quot; or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 6 is &amp;quot;s&amp;quot; if entry is being transfered &amp;quot;to store&amp;quot; or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 7 is &amp;quot;R&amp;quot; if entry is removed or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 8 is is always &amp;quot;-&amp;quot; &lt;br /&gt;
   bit 9 is &amp;quot;X&amp;quot; if entry is sticky or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 10 is &amp;quot;E&amp;quot; if entry is in error state or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 11 is &amp;quot;L(x)(y)&amp;quot; if entry is in locked or &amp;quot;-&amp;quot; if not &lt;br /&gt;
          x is epoch until which the entry is locked, 0 for non expiring lock &lt;br /&gt;
          y is the link count&lt;br /&gt;
 ''rep rm &amp;lt;pnfsid&amp;gt; [-force]'' # removes the pnfsfile from the cache&lt;br /&gt;
 ''rep rmclass &amp;lt;storageClass&amp;gt;'' # removes the from the cache&lt;br /&gt;
 ''rep set broken &amp;lt;pnfsid&amp;gt;''&lt;br /&gt;
 ''rep set cached &amp;lt;pnfsId&amp;gt;'' # DON'T USE, Potentially dangerous&lt;br /&gt;
 ''rep set precious &amp;lt;pnfsId&amp;gt;''&lt;br /&gt;
 ''rep set sticky [OPTIONS] [&amp;lt;pnfsid&amp;gt;] on|off''  # change sticky flags&lt;br /&gt;
 ''rep sticky ls'' &amp;lt;pnfsid&amp;gt;&lt;br /&gt;
=== File / replica management examples ===&lt;/div&gt;</summary>
		<author><name>Mcaubet</name></author>
	</entry>
	<entry>
		<id>https://pwiki.pic.es/index.php?title=DCache_Administration_Console_Commands&amp;diff=200</id>
		<title>DCache Administration Console Commands</title>
		<link rel="alternate" type="text/html" href="https://pwiki.pic.es/index.php?title=DCache_Administration_Console_Commands&amp;diff=200"/>
		<updated>2017-07-31T09:39:43Z</updated>

		<summary type="html">&lt;p&gt;Mcaubet: /* Command help */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= About this document =&lt;br /&gt;
* This document shows several examples of useful commands that can be run in the dCache Administration Console.&lt;br /&gt;
* Administration console can be accessed through '''[[https://www.dcache.org/downloads/gui/ PCells GUI]]''' or through '''SSHv2''' as follows (in the example, '''dccore.pic.es''' is the physical machine running the '''admin''' cell):&lt;br /&gt;
 ssh -2 -x -o StrictHostKeyChecking=no -l admin -c blowfish -p 22224 dccore.pic.es&lt;br /&gt;
* In this document we show what we consider the most important commands for the everyday's administration tasks, and basically the ones that may be useful for the Manager On Duty. Maybe some important commands are missing, but will be added as soon as we detect that these may be important for the MoD.&lt;br /&gt;
* This document is divided in two main blocks:&lt;br /&gt;
# '''Pool commands''': shows useful commands that can be run on pools.&lt;br /&gt;
# '''Service commands''': show useful commands that can be run on servers (this will include doors)&lt;br /&gt;
= The basics =&lt;br /&gt;
* If you access the Administration Console through '''SSHv2''' you should access to the different cells as follows:&lt;br /&gt;
 \? [command]...  # display help for shell commands&lt;br /&gt;
 \c cell[@domain] [user]  # connect to cell&lt;br /&gt;
 \exception [trace]  # controls display of stack traces&lt;br /&gt;
 \h [command]...  # display help for cell commands&lt;br /&gt;
 \l [cell[@domain]|pool/poolgroup]...  # list cells&lt;br /&gt;
 \q # quit&lt;br /&gt;
 '''\s (cell[@domain]|pool/poolgroup)[,(cell[@domain]|pool/poolgroup)]... command...  # send command'''&lt;br /&gt;
 \sl pnfsid|path command...  # send to locations&lt;br /&gt;
 \sn command...  # send pnfsmanager command&lt;br /&gt;
 \sp command...  # send poolmanager command&lt;br /&gt;
 \timeout [seconds]  # sets the command timeout&lt;br /&gt;
* With '''\s''' you will be able to access to any '''cell[@domain]'''s, while branches of this command such like '''\sn''' or '''\sp''' are useful to (respectively) direct access to the ''namespace'' or ''poolmanager'' cells without the need of specifying the ''cell[@domain]''.&lt;br /&gt;
&lt;br /&gt;
= Pool commands =&lt;br /&gt;
== Introduction ==&lt;br /&gt;
* Any command run on a pool is a temporary change: on any pool service restart configuration will be restored back to the default value or to the value set in the '''setup''' file (locate in '''/dcpool*/vpool*/setup''').&lt;br /&gt;
:* In example, whenever we set a pool to ''rdonly'', on restart, once the ''initialization'' process finishes, pool will switch back to ''enabled''.&lt;br /&gt;
* If you want to make permanent changes, you should '''save''' changes. Running the '''save''' command will update the already mentioned '''setup''' file.&lt;br /&gt;
:* In example, whenever we set a pool to ''rdonly'' '''and''' we ''save'' the configuration, on a restart, once the ''initialization'' process finishes, pool will remain ''rdonly''.&lt;br /&gt;
&lt;br /&gt;
== Disable / enable pools ==&lt;br /&gt;
=== Command help ===&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? help hsm'''&lt;br /&gt;
 ''pool disable [options] [&amp;lt;errorCode&amp;gt; [&amp;lt;errorMessage&amp;gt;]]'' # suspend sending 'up messages'&lt;br /&gt;
      OPTIONS :&lt;br /&gt;
        -fetch    #  disallows fetch (transfer to client)&lt;br /&gt;
        -stage    #  disallows staging (from HSM)&lt;br /&gt;
        -store    #  disallows store (transfer from client)&lt;br /&gt;
        -p2p-client&lt;br /&gt;
        -rdonly   #  := store,stage,p2p-client&lt;br /&gt;
        -strict   #  := disallows everything&lt;br /&gt;
 ''pool enable'' # start sending 'up messages' again&lt;br /&gt;
 ''pool suppress hsmload on|off''&lt;br /&gt;
&lt;br /&gt;
=== Disable / enable pool examples ===&lt;br /&gt;
* Disallow store + stage + p2p-client (set pool in read only mode)&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''pool disable -rdonly'''&lt;br /&gt;
* Enable pool (set pool to RW)&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''pool enable'''&lt;br /&gt;
&lt;br /&gt;
== HSM configuration ==&lt;br /&gt;
=== Command help ===&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? help hsm'''&lt;br /&gt;
 hsm create &amp;lt;type&amp;gt; [&amp;lt;name&amp;gt; [&amp;lt;provider&amp;gt;]] [-&amp;lt;key&amp;gt;=&amp;lt;value&amp;gt;] ...&lt;br /&gt;
 hsm ls [&amp;lt;name&amp;gt;] ...&lt;br /&gt;
 hsm remove &amp;lt;name&amp;gt;&lt;br /&gt;
 hsm set &amp;lt;name&amp;gt; [-&amp;lt;key&amp;gt;=&amp;lt;value&amp;gt;] ...&lt;br /&gt;
 hsm show providers # show available nearline storage providers&lt;br /&gt;
 hsm unset &amp;lt;name&amp;gt; [-&amp;lt;key&amp;gt;] ...&lt;br /&gt;
=== HSM configuration examples ===&lt;br /&gt;
* Create a ''enstore'' HSM with the ''real-encp.sh'' client script (this example can be found in the '''setup''' file):&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''hsm create enstore enstore script -pnfs=/pnfs/fs/usr -command=/opt/enstore/bin/real-encp.sh -c:gets=200 -c:puts=20 -c:removes=2'''&lt;br /&gt;
* Show ''enstore'' configuration:&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''hsm ls enstore'''&lt;br /&gt;
 enstore(enstore):script&lt;br /&gt;
   pnfs                /pnfs/fs/usr&lt;br /&gt;
   command             /opt/enstore/bin/real-encp.sh&lt;br /&gt;
   c:gets              200&lt;br /&gt;
   c:puts              20&lt;br /&gt;
   c:removes           2&lt;br /&gt;
* Set maximum restores to 400:&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''hsm set enstore -c:gets=400'''&lt;br /&gt;
&lt;br /&gt;
== Mover management ==&lt;br /&gt;
=== Command help ===&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? help hsm'''&lt;br /&gt;
 ''mover kill &amp;lt;jobid&amp;gt;''  # terminate a file transfer connection&lt;br /&gt;
 ''mover ls [-binary [jobId] ]''&lt;br /&gt;
 ''mover queue ls [-l]''  # list all mover queues in this pool&lt;br /&gt;
 ''mover remove [&amp;lt;jobid&amp;gt;]''  # #OBSOLETE command&lt;br /&gt;
 ''mover set max active [OPTIONS] &amp;lt;maxactivemovers&amp;gt;''  # set the maximum number of active client transfers&lt;br /&gt;
&lt;br /&gt;
=== Mover management examples ===&lt;br /&gt;
* Show current '''ftp''' transfers:&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? mover ls -l -queue=ftp'''&lt;br /&gt;
 33743014 : RUNNING : 0000D5B91029797545859181EB738C25E93C IoMode=READ h={SU=0;SA=0;S=None} bytes=12113543168 time/sec=3893 LM=0 si={vo-cms.cms}&lt;br /&gt;
 33743019 : RUNNING : 00008862CFF7A1C74513A617D364A4162DAA IoMode=READ h={SU=0;SA=0;S=None} bytes=10561388544 time/sec=3409 LM=0 si={vo-cms.cms}&lt;br /&gt;
 33743076 : RUNNING : 0000736CFC0DAF494816BFE7CC32D3192900 IoMode=READ h={SU=0;SA=0;S=None} bytes=2034630656 time/sec=2478 LM=0 si={vo-cms.cms}&lt;br /&gt;
 33743086 : RUNNING : 0000C5F1B9D6EEC04DEEA077CA6753E30DE0 IoMode=READ h={SU=0;SA=0;S=None} bytes=488898560 time/sec=1357 LM=1 si={vo-cms.cms}&lt;br /&gt;
 33743103 : RUNNING : 0000BBE684CB4BA44AB5ACB0D13C5DD25C8C IoMode=READ h={SU=0;SA=0;S=None} bytes=135921664 time/sec=239 LM=20 si={vo-cms.cms}&lt;br /&gt;
* Show all mover queue properties:&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? mover queue ls -l'''&lt;br /&gt;
 regular 0 0 0&lt;br /&gt;
 p2p 0 40 0&lt;br /&gt;
 ftp 11 500 0&lt;br /&gt;
 dcap 0 10 0&lt;br /&gt;
 nfs4 0 100 0&lt;br /&gt;
 xrootd 406 1500 0&lt;br /&gt;
 xrootd-wan 0 700 0&lt;br /&gt;
 webdav 0 0 0&lt;br /&gt;
* Set to 400 the maximum active client transfers for the '''ftp''' queue:&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? mover set max active -queue=ftp 400'''&lt;br /&gt;
 Max Active Io Movers set to 400&lt;br /&gt;
&lt;br /&gt;
== File / replica management ==&lt;br /&gt;
=== Command help ===&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? help hsm'''&lt;br /&gt;
 ''rep ls [-l[=s,l,u,nc,p]] [-s[=kmgt]] [-storage=&amp;lt;glob&amp;gt;] | &amp;lt;pnfsId&amp;gt;...''&lt;br /&gt;
   Format I  : &amp;lt;pnfsId&amp;gt;...&lt;br /&gt;
   Format II : [-l[=&amp;lt;selectionOptions&amp;gt;]] [-storage=&amp;lt;glob&amp;gt;] [-s]&lt;br /&gt;
                Options :&lt;br /&gt;
                -l[=splunc]  # selected list&lt;br /&gt;
                   s  : sticky files&lt;br /&gt;
                   p  : precious files&lt;br /&gt;
                   l  : locked files&lt;br /&gt;
                   u  : files in use&lt;br /&gt;
                   nc : files which are not cached&lt;br /&gt;
                   e  : files which error condition&lt;br /&gt;
                -storage=&amp;lt;glob&amp;gt;   # select only replicas&lt;br /&gt;
                                    of files with storage-&lt;br /&gt;
                                    info that matches &amp;lt;glob&amp;gt;&lt;br /&gt;
                -s[=kmgt] [-sum]       # statistics&lt;br /&gt;
                   k  : data amount in KBytes&lt;br /&gt;
                   m  : data amount in MBytes&lt;br /&gt;
                   g  : data amount in GBytes&lt;br /&gt;
                   t  : data amount in TBytes&lt;br /&gt;
   Output is a list of repository entries, one per line&lt;br /&gt;
   each line has the followin syntax:&lt;br /&gt;
      &amp;lt;pnfsid&amp;gt; &amp;lt;state&amp;gt; &amp;lt;size&amp;gt; &amp;lt;storageinfo&amp;gt;&lt;br /&gt;
   state is a sequence of state bits inclosed in angular &amp;quot;&amp;lt;&amp;gt;&amp;quot; brackets &lt;br /&gt;
   bit 1 is &amp;quot;C&amp;quot; if entry is cached or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 2 is &amp;quot;P&amp;quot; if entry is precious or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 3 is &amp;quot;C&amp;quot; if entry is being transfered &amp;quot;from client&amp;quot; or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 4 is &amp;quot;S&amp;quot; if entry is being transfered &amp;quot;from store&amp;quot; or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 5 is &amp;quot;c&amp;quot; if entry is being transfered &amp;quot;to client&amp;quot; or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 6 is &amp;quot;s&amp;quot; if entry is being transfered &amp;quot;to store&amp;quot; or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 7 is &amp;quot;R&amp;quot; if entry is removed or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 8 is is always &amp;quot;-&amp;quot; &lt;br /&gt;
   bit 9 is &amp;quot;X&amp;quot; if entry is sticky or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 10 is &amp;quot;E&amp;quot; if entry is in error state or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 11 is &amp;quot;L(x)(y)&amp;quot; if entry is in locked or &amp;quot;-&amp;quot; if not &lt;br /&gt;
          x is epoch until which the entry is locked, 0 for non expiring lock &lt;br /&gt;
          y is the link count&lt;br /&gt;
 ''rep rm &amp;lt;pnfsid&amp;gt; [-force]'' # removes the pnfsfile from the cache&lt;br /&gt;
 ''rep rmclass &amp;lt;storageClass&amp;gt;'' # removes the from the cache&lt;br /&gt;
 ''rep set broken &amp;lt;pnfsid&amp;gt;''&lt;br /&gt;
 ''rep set cached &amp;lt;pnfsId&amp;gt;'' # DON'T USE, Potentially dangerous&lt;br /&gt;
 ''rep set precious &amp;lt;pnfsId&amp;gt;''&lt;br /&gt;
 ''rep set sticky [OPTIONS] [&amp;lt;pnfsid&amp;gt;] on|off''  # change sticky flags&lt;br /&gt;
 ''rep sticky ls'' &amp;lt;pnfsid&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mcaubet</name></author>
	</entry>
	<entry>
		<id>https://pwiki.pic.es/index.php?title=DCache_Administration_Console_Commands&amp;diff=199</id>
		<title>DCache Administration Console Commands</title>
		<link rel="alternate" type="text/html" href="https://pwiki.pic.es/index.php?title=DCache_Administration_Console_Commands&amp;diff=199"/>
		<updated>2017-07-31T09:39:23Z</updated>

		<summary type="html">&lt;p&gt;Mcaubet: /* Command help */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= About this document =&lt;br /&gt;
* This document shows several examples of useful commands that can be run in the dCache Administration Console.&lt;br /&gt;
* Administration console can be accessed through '''[[https://www.dcache.org/downloads/gui/ PCells GUI]]''' or through '''SSHv2''' as follows (in the example, '''dccore.pic.es''' is the physical machine running the '''admin''' cell):&lt;br /&gt;
 ssh -2 -x -o StrictHostKeyChecking=no -l admin -c blowfish -p 22224 dccore.pic.es&lt;br /&gt;
* In this document we show what we consider the most important commands for the everyday's administration tasks, and basically the ones that may be useful for the Manager On Duty. Maybe some important commands are missing, but will be added as soon as we detect that these may be important for the MoD.&lt;br /&gt;
* This document is divided in two main blocks:&lt;br /&gt;
# '''Pool commands''': shows useful commands that can be run on pools.&lt;br /&gt;
# '''Service commands''': show useful commands that can be run on servers (this will include doors)&lt;br /&gt;
= The basics =&lt;br /&gt;
* If you access the Administration Console through '''SSHv2''' you should access to the different cells as follows:&lt;br /&gt;
 \? [command]...  # display help for shell commands&lt;br /&gt;
 \c cell[@domain] [user]  # connect to cell&lt;br /&gt;
 \exception [trace]  # controls display of stack traces&lt;br /&gt;
 \h [command]...  # display help for cell commands&lt;br /&gt;
 \l [cell[@domain]|pool/poolgroup]...  # list cells&lt;br /&gt;
 \q # quit&lt;br /&gt;
 '''\s (cell[@domain]|pool/poolgroup)[,(cell[@domain]|pool/poolgroup)]... command...  # send command'''&lt;br /&gt;
 \sl pnfsid|path command...  # send to locations&lt;br /&gt;
 \sn command...  # send pnfsmanager command&lt;br /&gt;
 \sp command...  # send poolmanager command&lt;br /&gt;
 \timeout [seconds]  # sets the command timeout&lt;br /&gt;
* With '''\s''' you will be able to access to any '''cell[@domain]'''s, while branches of this command such like '''\sn''' or '''\sp''' are useful to (respectively) direct access to the ''namespace'' or ''poolmanager'' cells without the need of specifying the ''cell[@domain]''.&lt;br /&gt;
&lt;br /&gt;
= Pool commands =&lt;br /&gt;
== Introduction ==&lt;br /&gt;
* Any command run on a pool is a temporary change: on any pool service restart configuration will be restored back to the default value or to the value set in the '''setup''' file (locate in '''/dcpool*/vpool*/setup''').&lt;br /&gt;
:* In example, whenever we set a pool to ''rdonly'', on restart, once the ''initialization'' process finishes, pool will switch back to ''enabled''.&lt;br /&gt;
* If you want to make permanent changes, you should '''save''' changes. Running the '''save''' command will update the already mentioned '''setup''' file.&lt;br /&gt;
:* In example, whenever we set a pool to ''rdonly'' '''and''' we ''save'' the configuration, on a restart, once the ''initialization'' process finishes, pool will remain ''rdonly''.&lt;br /&gt;
&lt;br /&gt;
== Disable / enable pools ==&lt;br /&gt;
=== Command help ===&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? help hsm'''&lt;br /&gt;
 pool disable [options] [&amp;lt;errorCode&amp;gt; [&amp;lt;errorMessage&amp;gt;]] # suspend sending 'up messages'&lt;br /&gt;
      OPTIONS :&lt;br /&gt;
        -fetch    #  disallows fetch (transfer to client)&lt;br /&gt;
        -stage    #  disallows staging (from HSM)&lt;br /&gt;
        -store    #  disallows store (transfer from client)&lt;br /&gt;
        -p2p-client&lt;br /&gt;
        -rdonly   #  := store,stage,p2p-client&lt;br /&gt;
        -strict   #  := disallows everything&lt;br /&gt;
 pool enable # start sending 'up messages' again&lt;br /&gt;
 pool suppress hsmload on|off&lt;br /&gt;
&lt;br /&gt;
=== Disable / enable pool examples ===&lt;br /&gt;
* Disallow store + stage + p2p-client (set pool in read only mode)&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''pool disable -rdonly'''&lt;br /&gt;
* Enable pool (set pool to RW)&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''pool enable'''&lt;br /&gt;
&lt;br /&gt;
== HSM configuration ==&lt;br /&gt;
=== Command help ===&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? help hsm'''&lt;br /&gt;
 hsm create &amp;lt;type&amp;gt; [&amp;lt;name&amp;gt; [&amp;lt;provider&amp;gt;]] [-&amp;lt;key&amp;gt;=&amp;lt;value&amp;gt;] ...&lt;br /&gt;
 hsm ls [&amp;lt;name&amp;gt;] ...&lt;br /&gt;
 hsm remove &amp;lt;name&amp;gt;&lt;br /&gt;
 hsm set &amp;lt;name&amp;gt; [-&amp;lt;key&amp;gt;=&amp;lt;value&amp;gt;] ...&lt;br /&gt;
 hsm show providers # show available nearline storage providers&lt;br /&gt;
 hsm unset &amp;lt;name&amp;gt; [-&amp;lt;key&amp;gt;] ...&lt;br /&gt;
=== HSM configuration examples ===&lt;br /&gt;
* Create a ''enstore'' HSM with the ''real-encp.sh'' client script (this example can be found in the '''setup''' file):&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''hsm create enstore enstore script -pnfs=/pnfs/fs/usr -command=/opt/enstore/bin/real-encp.sh -c:gets=200 -c:puts=20 -c:removes=2'''&lt;br /&gt;
* Show ''enstore'' configuration:&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''hsm ls enstore'''&lt;br /&gt;
 enstore(enstore):script&lt;br /&gt;
   pnfs                /pnfs/fs/usr&lt;br /&gt;
   command             /opt/enstore/bin/real-encp.sh&lt;br /&gt;
   c:gets              200&lt;br /&gt;
   c:puts              20&lt;br /&gt;
   c:removes           2&lt;br /&gt;
* Set maximum restores to 400:&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''hsm set enstore -c:gets=400'''&lt;br /&gt;
&lt;br /&gt;
== Mover management ==&lt;br /&gt;
=== Command help ===&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? help hsm'''&lt;br /&gt;
 ''mover kill &amp;lt;jobid&amp;gt;''  # terminate a file transfer connection&lt;br /&gt;
 ''mover ls [-binary [jobId] ]''&lt;br /&gt;
 ''mover queue ls [-l]''  # list all mover queues in this pool&lt;br /&gt;
 ''mover remove [&amp;lt;jobid&amp;gt;]''  # #OBSOLETE command&lt;br /&gt;
 ''mover set max active [OPTIONS] &amp;lt;maxactivemovers&amp;gt;''  # set the maximum number of active client transfers&lt;br /&gt;
&lt;br /&gt;
=== Mover management examples ===&lt;br /&gt;
* Show current '''ftp''' transfers:&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? mover ls -l -queue=ftp'''&lt;br /&gt;
 33743014 : RUNNING : 0000D5B91029797545859181EB738C25E93C IoMode=READ h={SU=0;SA=0;S=None} bytes=12113543168 time/sec=3893 LM=0 si={vo-cms.cms}&lt;br /&gt;
 33743019 : RUNNING : 00008862CFF7A1C74513A617D364A4162DAA IoMode=READ h={SU=0;SA=0;S=None} bytes=10561388544 time/sec=3409 LM=0 si={vo-cms.cms}&lt;br /&gt;
 33743076 : RUNNING : 0000736CFC0DAF494816BFE7CC32D3192900 IoMode=READ h={SU=0;SA=0;S=None} bytes=2034630656 time/sec=2478 LM=0 si={vo-cms.cms}&lt;br /&gt;
 33743086 : RUNNING : 0000C5F1B9D6EEC04DEEA077CA6753E30DE0 IoMode=READ h={SU=0;SA=0;S=None} bytes=488898560 time/sec=1357 LM=1 si={vo-cms.cms}&lt;br /&gt;
 33743103 : RUNNING : 0000BBE684CB4BA44AB5ACB0D13C5DD25C8C IoMode=READ h={SU=0;SA=0;S=None} bytes=135921664 time/sec=239 LM=20 si={vo-cms.cms}&lt;br /&gt;
* Show all mover queue properties:&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? mover queue ls -l'''&lt;br /&gt;
 regular 0 0 0&lt;br /&gt;
 p2p 0 40 0&lt;br /&gt;
 ftp 11 500 0&lt;br /&gt;
 dcap 0 10 0&lt;br /&gt;
 nfs4 0 100 0&lt;br /&gt;
 xrootd 406 1500 0&lt;br /&gt;
 xrootd-wan 0 700 0&lt;br /&gt;
 webdav 0 0 0&lt;br /&gt;
* Set to 400 the maximum active client transfers for the '''ftp''' queue:&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? mover set max active -queue=ftp 400'''&lt;br /&gt;
 Max Active Io Movers set to 400&lt;br /&gt;
&lt;br /&gt;
== File / replica management ==&lt;br /&gt;
=== Command help ===&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? help hsm'''&lt;br /&gt;
 ''rep ls [-l[=s,l,u,nc,p]] [-s[=kmgt]] [-storage=&amp;lt;glob&amp;gt;] | &amp;lt;pnfsId&amp;gt;...''&lt;br /&gt;
   Format I  : &amp;lt;pnfsId&amp;gt;...&lt;br /&gt;
   Format II : [-l[=&amp;lt;selectionOptions&amp;gt;]] [-storage=&amp;lt;glob&amp;gt;] [-s]&lt;br /&gt;
                Options :&lt;br /&gt;
                -l[=splunc]  # selected list&lt;br /&gt;
                   s  : sticky files&lt;br /&gt;
                   p  : precious files&lt;br /&gt;
                   l  : locked files&lt;br /&gt;
                   u  : files in use&lt;br /&gt;
                   nc : files which are not cached&lt;br /&gt;
                   e  : files which error condition&lt;br /&gt;
                -storage=&amp;lt;glob&amp;gt;   # select only replicas&lt;br /&gt;
                                    of files with storage-&lt;br /&gt;
                                    info that matches &amp;lt;glob&amp;gt;&lt;br /&gt;
                -s[=kmgt] [-sum]       # statistics&lt;br /&gt;
                   k  : data amount in KBytes&lt;br /&gt;
                   m  : data amount in MBytes&lt;br /&gt;
                   g  : data amount in GBytes&lt;br /&gt;
                   t  : data amount in TBytes&lt;br /&gt;
   Output is a list of repository entries, one per line&lt;br /&gt;
   each line has the followin syntax:&lt;br /&gt;
      &amp;lt;pnfsid&amp;gt; &amp;lt;state&amp;gt; &amp;lt;size&amp;gt; &amp;lt;storageinfo&amp;gt;&lt;br /&gt;
   state is a sequence of state bits inclosed in angular &amp;quot;&amp;lt;&amp;gt;&amp;quot; brackets &lt;br /&gt;
   bit 1 is &amp;quot;C&amp;quot; if entry is cached or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 2 is &amp;quot;P&amp;quot; if entry is precious or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 3 is &amp;quot;C&amp;quot; if entry is being transfered &amp;quot;from client&amp;quot; or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 4 is &amp;quot;S&amp;quot; if entry is being transfered &amp;quot;from store&amp;quot; or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 5 is &amp;quot;c&amp;quot; if entry is being transfered &amp;quot;to client&amp;quot; or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 6 is &amp;quot;s&amp;quot; if entry is being transfered &amp;quot;to store&amp;quot; or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 7 is &amp;quot;R&amp;quot; if entry is removed or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 8 is is always &amp;quot;-&amp;quot; &lt;br /&gt;
   bit 9 is &amp;quot;X&amp;quot; if entry is sticky or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 10 is &amp;quot;E&amp;quot; if entry is in error state or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 11 is &amp;quot;L(x)(y)&amp;quot; if entry is in locked or &amp;quot;-&amp;quot; if not &lt;br /&gt;
          x is epoch until which the entry is locked, 0 for non expiring lock &lt;br /&gt;
          y is the link count&lt;br /&gt;
 ''rep rm &amp;lt;pnfsid&amp;gt; [-force]'' # removes the pnfsfile from the cache&lt;br /&gt;
 ''rep rmclass &amp;lt;storageClass&amp;gt;'' # removes the from the cache&lt;br /&gt;
 ''rep set broken &amp;lt;pnfsid&amp;gt;''&lt;br /&gt;
 ''rep set cached &amp;lt;pnfsId&amp;gt;'' # DON'T USE, Potentially dangerous&lt;br /&gt;
 ''rep set precious &amp;lt;pnfsId&amp;gt;''&lt;br /&gt;
 ''rep set sticky [OPTIONS] [&amp;lt;pnfsid&amp;gt;] on|off''  # change sticky flags&lt;br /&gt;
 ''rep sticky ls'' &amp;lt;pnfsid&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mcaubet</name></author>
	</entry>
	<entry>
		<id>https://pwiki.pic.es/index.php?title=DCache_Administration_Console_Commands&amp;diff=198</id>
		<title>DCache Administration Console Commands</title>
		<link rel="alternate" type="text/html" href="https://pwiki.pic.es/index.php?title=DCache_Administration_Console_Commands&amp;diff=198"/>
		<updated>2017-07-31T09:38:55Z</updated>

		<summary type="html">&lt;p&gt;Mcaubet: /* Command help */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= About this document =&lt;br /&gt;
* This document shows several examples of useful commands that can be run in the dCache Administration Console.&lt;br /&gt;
* Administration console can be accessed through '''[[https://www.dcache.org/downloads/gui/ PCells GUI]]''' or through '''SSHv2''' as follows (in the example, '''dccore.pic.es''' is the physical machine running the '''admin''' cell):&lt;br /&gt;
 ssh -2 -x -o StrictHostKeyChecking=no -l admin -c blowfish -p 22224 dccore.pic.es&lt;br /&gt;
* In this document we show what we consider the most important commands for the everyday's administration tasks, and basically the ones that may be useful for the Manager On Duty. Maybe some important commands are missing, but will be added as soon as we detect that these may be important for the MoD.&lt;br /&gt;
* This document is divided in two main blocks:&lt;br /&gt;
# '''Pool commands''': shows useful commands that can be run on pools.&lt;br /&gt;
# '''Service commands''': show useful commands that can be run on servers (this will include doors)&lt;br /&gt;
= The basics =&lt;br /&gt;
* If you access the Administration Console through '''SSHv2''' you should access to the different cells as follows:&lt;br /&gt;
 \? [command]...  # display help for shell commands&lt;br /&gt;
 \c cell[@domain] [user]  # connect to cell&lt;br /&gt;
 \exception [trace]  # controls display of stack traces&lt;br /&gt;
 \h [command]...  # display help for cell commands&lt;br /&gt;
 \l [cell[@domain]|pool/poolgroup]...  # list cells&lt;br /&gt;
 \q # quit&lt;br /&gt;
 '''\s (cell[@domain]|pool/poolgroup)[,(cell[@domain]|pool/poolgroup)]... command...  # send command'''&lt;br /&gt;
 \sl pnfsid|path command...  # send to locations&lt;br /&gt;
 \sn command...  # send pnfsmanager command&lt;br /&gt;
 \sp command...  # send poolmanager command&lt;br /&gt;
 \timeout [seconds]  # sets the command timeout&lt;br /&gt;
* With '''\s''' you will be able to access to any '''cell[@domain]'''s, while branches of this command such like '''\sn''' or '''\sp''' are useful to (respectively) direct access to the ''namespace'' or ''poolmanager'' cells without the need of specifying the ''cell[@domain]''.&lt;br /&gt;
&lt;br /&gt;
= Pool commands =&lt;br /&gt;
== Introduction ==&lt;br /&gt;
* Any command run on a pool is a temporary change: on any pool service restart configuration will be restored back to the default value or to the value set in the '''setup''' file (locate in '''/dcpool*/vpool*/setup''').&lt;br /&gt;
:* In example, whenever we set a pool to ''rdonly'', on restart, once the ''initialization'' process finishes, pool will switch back to ''enabled''.&lt;br /&gt;
* If you want to make permanent changes, you should '''save''' changes. Running the '''save''' command will update the already mentioned '''setup''' file.&lt;br /&gt;
:* In example, whenever we set a pool to ''rdonly'' '''and''' we ''save'' the configuration, on a restart, once the ''initialization'' process finishes, pool will remain ''rdonly''.&lt;br /&gt;
&lt;br /&gt;
== Disable / enable pools ==&lt;br /&gt;
=== Command help ===&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? help hsm'''&lt;br /&gt;
 pool disable [options] [&amp;lt;errorCode&amp;gt; [&amp;lt;errorMessage&amp;gt;]] # suspend sending 'up messages'&lt;br /&gt;
      OPTIONS :&lt;br /&gt;
        -fetch    #  disallows fetch (transfer to client)&lt;br /&gt;
        -stage    #  disallows staging (from HSM)&lt;br /&gt;
        -store    #  disallows store (transfer from client)&lt;br /&gt;
        -p2p-client&lt;br /&gt;
        -rdonly   #  := store,stage,p2p-client&lt;br /&gt;
        -strict   #  := disallows everything&lt;br /&gt;
 pool enable # start sending 'up messages' again&lt;br /&gt;
 pool suppress hsmload on|off&lt;br /&gt;
&lt;br /&gt;
=== Disable / enable pool examples ===&lt;br /&gt;
* Disallow store + stage + p2p-client (set pool in read only mode)&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''pool disable -rdonly'''&lt;br /&gt;
* Enable pool (set pool to RW)&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''pool enable'''&lt;br /&gt;
&lt;br /&gt;
== HSM configuration ==&lt;br /&gt;
=== Command help ===&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? help hsm'''&lt;br /&gt;
 hsm create &amp;lt;type&amp;gt; [&amp;lt;name&amp;gt; [&amp;lt;provider&amp;gt;]] [-&amp;lt;key&amp;gt;=&amp;lt;value&amp;gt;] ...&lt;br /&gt;
 hsm ls [&amp;lt;name&amp;gt;] ...&lt;br /&gt;
 hsm remove &amp;lt;name&amp;gt;&lt;br /&gt;
 hsm set &amp;lt;name&amp;gt; [-&amp;lt;key&amp;gt;=&amp;lt;value&amp;gt;] ...&lt;br /&gt;
 hsm show providers # show available nearline storage providers&lt;br /&gt;
 hsm unset &amp;lt;name&amp;gt; [-&amp;lt;key&amp;gt;] ...&lt;br /&gt;
=== HSM configuration examples ===&lt;br /&gt;
* Create a ''enstore'' HSM with the ''real-encp.sh'' client script (this example can be found in the '''setup''' file):&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''hsm create enstore enstore script -pnfs=/pnfs/fs/usr -command=/opt/enstore/bin/real-encp.sh -c:gets=200 -c:puts=20 -c:removes=2'''&lt;br /&gt;
* Show ''enstore'' configuration:&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''hsm ls enstore'''&lt;br /&gt;
 enstore(enstore):script&lt;br /&gt;
   pnfs                /pnfs/fs/usr&lt;br /&gt;
   command             /opt/enstore/bin/real-encp.sh&lt;br /&gt;
   c:gets              200&lt;br /&gt;
   c:puts              20&lt;br /&gt;
   c:removes           2&lt;br /&gt;
* Set maximum restores to 400:&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''hsm set enstore -c:gets=400'''&lt;br /&gt;
&lt;br /&gt;
== Mover management ==&lt;br /&gt;
=== Command help ===&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? help hsm'''&lt;br /&gt;
 mover kill &amp;lt;jobid&amp;gt;  # terminate a file transfer connection&lt;br /&gt;
 mover ls [-binary [jobId] ]&lt;br /&gt;
 mover queue ls [-l]  # list all mover queues in this pool&lt;br /&gt;
 mover remove [&amp;lt;jobid&amp;gt;]  # #OBSOLETE command&lt;br /&gt;
 mover set max active [OPTIONS] &amp;lt;maxactivemovers&amp;gt;  # set the maximum number of active client transfers&lt;br /&gt;
=== Mover management examples ===&lt;br /&gt;
* Show current '''ftp''' transfers:&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? mover ls -l -queue=ftp'''&lt;br /&gt;
 33743014 : RUNNING : 0000D5B91029797545859181EB738C25E93C IoMode=READ h={SU=0;SA=0;S=None} bytes=12113543168 time/sec=3893 LM=0 si={vo-cms.cms}&lt;br /&gt;
 33743019 : RUNNING : 00008862CFF7A1C74513A617D364A4162DAA IoMode=READ h={SU=0;SA=0;S=None} bytes=10561388544 time/sec=3409 LM=0 si={vo-cms.cms}&lt;br /&gt;
 33743076 : RUNNING : 0000736CFC0DAF494816BFE7CC32D3192900 IoMode=READ h={SU=0;SA=0;S=None} bytes=2034630656 time/sec=2478 LM=0 si={vo-cms.cms}&lt;br /&gt;
 33743086 : RUNNING : 0000C5F1B9D6EEC04DEEA077CA6753E30DE0 IoMode=READ h={SU=0;SA=0;S=None} bytes=488898560 time/sec=1357 LM=1 si={vo-cms.cms}&lt;br /&gt;
 33743103 : RUNNING : 0000BBE684CB4BA44AB5ACB0D13C5DD25C8C IoMode=READ h={SU=0;SA=0;S=None} bytes=135921664 time/sec=239 LM=20 si={vo-cms.cms}&lt;br /&gt;
* Show all mover queue properties:&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? mover queue ls -l'''&lt;br /&gt;
 regular 0 0 0&lt;br /&gt;
 p2p 0 40 0&lt;br /&gt;
 ftp 11 500 0&lt;br /&gt;
 dcap 0 10 0&lt;br /&gt;
 nfs4 0 100 0&lt;br /&gt;
 xrootd 406 1500 0&lt;br /&gt;
 xrootd-wan 0 700 0&lt;br /&gt;
 webdav 0 0 0&lt;br /&gt;
* Set to 400 the maximum active client transfers for the '''ftp''' queue:&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? mover set max active -queue=ftp 400'''&lt;br /&gt;
 Max Active Io Movers set to 400&lt;br /&gt;
&lt;br /&gt;
== File / replica management ==&lt;br /&gt;
=== Command help ===&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? help hsm'''&lt;br /&gt;
 ''rep ls [-l[=s,l,u,nc,p]] [-s[=kmgt]] [-storage=&amp;lt;glob&amp;gt;] | &amp;lt;pnfsId&amp;gt;...''&lt;br /&gt;
   Format I  : &amp;lt;pnfsId&amp;gt;...&lt;br /&gt;
   Format II : [-l[=&amp;lt;selectionOptions&amp;gt;]] [-storage=&amp;lt;glob&amp;gt;] [-s]&lt;br /&gt;
                Options :&lt;br /&gt;
                -l[=splunc]  # selected list&lt;br /&gt;
                   s  : sticky files&lt;br /&gt;
                   p  : precious files&lt;br /&gt;
                   l  : locked files&lt;br /&gt;
                   u  : files in use&lt;br /&gt;
                   nc : files which are not cached&lt;br /&gt;
                   e  : files which error condition&lt;br /&gt;
                -storage=&amp;lt;glob&amp;gt;   # select only replicas&lt;br /&gt;
                                    of files with storage-&lt;br /&gt;
                                    info that matches &amp;lt;glob&amp;gt;&lt;br /&gt;
                -s[=kmgt] [-sum]       # statistics&lt;br /&gt;
                   k  : data amount in KBytes&lt;br /&gt;
                   m  : data amount in MBytes&lt;br /&gt;
                   g  : data amount in GBytes&lt;br /&gt;
                   t  : data amount in TBytes&lt;br /&gt;
   Output is a list of repository entries, one per line&lt;br /&gt;
   each line has the followin syntax:&lt;br /&gt;
      &amp;lt;pnfsid&amp;gt; &amp;lt;state&amp;gt; &amp;lt;size&amp;gt; &amp;lt;storageinfo&amp;gt;&lt;br /&gt;
   state is a sequence of state bits inclosed in angular &amp;quot;&amp;lt;&amp;gt;&amp;quot; brackets &lt;br /&gt;
   bit 1 is &amp;quot;C&amp;quot; if entry is cached or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 2 is &amp;quot;P&amp;quot; if entry is precious or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 3 is &amp;quot;C&amp;quot; if entry is being transfered &amp;quot;from client&amp;quot; or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 4 is &amp;quot;S&amp;quot; if entry is being transfered &amp;quot;from store&amp;quot; or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 5 is &amp;quot;c&amp;quot; if entry is being transfered &amp;quot;to client&amp;quot; or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 6 is &amp;quot;s&amp;quot; if entry is being transfered &amp;quot;to store&amp;quot; or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 7 is &amp;quot;R&amp;quot; if entry is removed or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 8 is is always &amp;quot;-&amp;quot; &lt;br /&gt;
   bit 9 is &amp;quot;X&amp;quot; if entry is sticky or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 10 is &amp;quot;E&amp;quot; if entry is in error state or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 11 is &amp;quot;L(x)(y)&amp;quot; if entry is in locked or &amp;quot;-&amp;quot; if not &lt;br /&gt;
          x is epoch until which the entry is locked, 0 for non expiring lock &lt;br /&gt;
          y is the link count&lt;br /&gt;
 ''rep rm &amp;lt;pnfsid&amp;gt; [-force]'' # removes the pnfsfile from the cache&lt;br /&gt;
 ''rep rmclass &amp;lt;storageClass&amp;gt;'' # removes the from the cache&lt;br /&gt;
 ''rep set broken &amp;lt;pnfsid&amp;gt;''&lt;br /&gt;
 ''rep set cached &amp;lt;pnfsId&amp;gt;'' # DON'T USE, Potentially dangerous&lt;br /&gt;
 ''rep set precious &amp;lt;pnfsId&amp;gt;''&lt;br /&gt;
 ''rep set sticky [OPTIONS] [&amp;lt;pnfsid&amp;gt;] on|off''  # change sticky flags&lt;br /&gt;
 ''rep sticky ls'' &amp;lt;pnfsid&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mcaubet</name></author>
	</entry>
	<entry>
		<id>https://pwiki.pic.es/index.php?title=DCache_Administration_Console_Commands&amp;diff=197</id>
		<title>DCache Administration Console Commands</title>
		<link rel="alternate" type="text/html" href="https://pwiki.pic.es/index.php?title=DCache_Administration_Console_Commands&amp;diff=197"/>
		<updated>2017-07-31T09:38:17Z</updated>

		<summary type="html">&lt;p&gt;Mcaubet: /* Command help */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= About this document =&lt;br /&gt;
* This document shows several examples of useful commands that can be run in the dCache Administration Console.&lt;br /&gt;
* Administration console can be accessed through '''[[https://www.dcache.org/downloads/gui/ PCells GUI]]''' or through '''SSHv2''' as follows (in the example, '''dccore.pic.es''' is the physical machine running the '''admin''' cell):&lt;br /&gt;
 ssh -2 -x -o StrictHostKeyChecking=no -l admin -c blowfish -p 22224 dccore.pic.es&lt;br /&gt;
* In this document we show what we consider the most important commands for the everyday's administration tasks, and basically the ones that may be useful for the Manager On Duty. Maybe some important commands are missing, but will be added as soon as we detect that these may be important for the MoD.&lt;br /&gt;
* This document is divided in two main blocks:&lt;br /&gt;
# '''Pool commands''': shows useful commands that can be run on pools.&lt;br /&gt;
# '''Service commands''': show useful commands that can be run on servers (this will include doors)&lt;br /&gt;
= The basics =&lt;br /&gt;
* If you access the Administration Console through '''SSHv2''' you should access to the different cells as follows:&lt;br /&gt;
 \? [command]...  # display help for shell commands&lt;br /&gt;
 \c cell[@domain] [user]  # connect to cell&lt;br /&gt;
 \exception [trace]  # controls display of stack traces&lt;br /&gt;
 \h [command]...  # display help for cell commands&lt;br /&gt;
 \l [cell[@domain]|pool/poolgroup]...  # list cells&lt;br /&gt;
 \q # quit&lt;br /&gt;
 '''\s (cell[@domain]|pool/poolgroup)[,(cell[@domain]|pool/poolgroup)]... command...  # send command'''&lt;br /&gt;
 \sl pnfsid|path command...  # send to locations&lt;br /&gt;
 \sn command...  # send pnfsmanager command&lt;br /&gt;
 \sp command...  # send poolmanager command&lt;br /&gt;
 \timeout [seconds]  # sets the command timeout&lt;br /&gt;
* With '''\s''' you will be able to access to any '''cell[@domain]'''s, while branches of this command such like '''\sn''' or '''\sp''' are useful to (respectively) direct access to the ''namespace'' or ''poolmanager'' cells without the need of specifying the ''cell[@domain]''.&lt;br /&gt;
&lt;br /&gt;
= Pool commands =&lt;br /&gt;
== Introduction ==&lt;br /&gt;
* Any command run on a pool is a temporary change: on any pool service restart configuration will be restored back to the default value or to the value set in the '''setup''' file (locate in '''/dcpool*/vpool*/setup''').&lt;br /&gt;
:* In example, whenever we set a pool to ''rdonly'', on restart, once the ''initialization'' process finishes, pool will switch back to ''enabled''.&lt;br /&gt;
* If you want to make permanent changes, you should '''save''' changes. Running the '''save''' command will update the already mentioned '''setup''' file.&lt;br /&gt;
:* In example, whenever we set a pool to ''rdonly'' '''and''' we ''save'' the configuration, on a restart, once the ''initialization'' process finishes, pool will remain ''rdonly''.&lt;br /&gt;
&lt;br /&gt;
== Disable / enable pools ==&lt;br /&gt;
=== Command help ===&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? help hsm'''&lt;br /&gt;
 pool disable [options] [&amp;lt;errorCode&amp;gt; [&amp;lt;errorMessage&amp;gt;]] # suspend sending 'up messages'&lt;br /&gt;
      OPTIONS :&lt;br /&gt;
        -fetch    #  disallows fetch (transfer to client)&lt;br /&gt;
        -stage    #  disallows staging (from HSM)&lt;br /&gt;
        -store    #  disallows store (transfer from client)&lt;br /&gt;
        -p2p-client&lt;br /&gt;
        -rdonly   #  := store,stage,p2p-client&lt;br /&gt;
        -strict   #  := disallows everything&lt;br /&gt;
 pool enable # start sending 'up messages' again&lt;br /&gt;
 pool suppress hsmload on|off&lt;br /&gt;
&lt;br /&gt;
=== Disable / enable pool examples ===&lt;br /&gt;
* Disallow store + stage + p2p-client (set pool in read only mode)&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''pool disable -rdonly'''&lt;br /&gt;
* Enable pool (set pool to RW)&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''pool enable'''&lt;br /&gt;
&lt;br /&gt;
== HSM configuration ==&lt;br /&gt;
=== Command help ===&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? help hsm'''&lt;br /&gt;
 hsm create &amp;lt;type&amp;gt; [&amp;lt;name&amp;gt; [&amp;lt;provider&amp;gt;]] [-&amp;lt;key&amp;gt;=&amp;lt;value&amp;gt;] ...&lt;br /&gt;
 hsm ls [&amp;lt;name&amp;gt;] ...&lt;br /&gt;
 hsm remove &amp;lt;name&amp;gt;&lt;br /&gt;
 hsm set &amp;lt;name&amp;gt; [-&amp;lt;key&amp;gt;=&amp;lt;value&amp;gt;] ...&lt;br /&gt;
 hsm show providers # show available nearline storage providers&lt;br /&gt;
 hsm unset &amp;lt;name&amp;gt; [-&amp;lt;key&amp;gt;] ...&lt;br /&gt;
=== HSM configuration examples ===&lt;br /&gt;
* Create a ''enstore'' HSM with the ''real-encp.sh'' client script (this example can be found in the '''setup''' file):&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''hsm create enstore enstore script -pnfs=/pnfs/fs/usr -command=/opt/enstore/bin/real-encp.sh -c:gets=200 -c:puts=20 -c:removes=2'''&lt;br /&gt;
* Show ''enstore'' configuration:&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''hsm ls enstore'''&lt;br /&gt;
 enstore(enstore):script&lt;br /&gt;
   pnfs                /pnfs/fs/usr&lt;br /&gt;
   command             /opt/enstore/bin/real-encp.sh&lt;br /&gt;
   c:gets              200&lt;br /&gt;
   c:puts              20&lt;br /&gt;
   c:removes           2&lt;br /&gt;
* Set maximum restores to 400:&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''hsm set enstore -c:gets=400'''&lt;br /&gt;
&lt;br /&gt;
== Mover management ==&lt;br /&gt;
=== Command help ===&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? help hsm'''&lt;br /&gt;
 mover kill &amp;lt;jobid&amp;gt;  # terminate a file transfer connection&lt;br /&gt;
 mover ls [-binary [jobId] ]&lt;br /&gt;
 mover queue ls [-l]  # list all mover queues in this pool&lt;br /&gt;
 mover remove [&amp;lt;jobid&amp;gt;]  # #OBSOLETE command&lt;br /&gt;
 mover set max active [OPTIONS] &amp;lt;maxactivemovers&amp;gt;  # set the maximum number of active client transfers&lt;br /&gt;
=== Mover management examples ===&lt;br /&gt;
* Show current '''ftp''' transfers:&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? mover ls -l -queue=ftp'''&lt;br /&gt;
 33743014 : RUNNING : 0000D5B91029797545859181EB738C25E93C IoMode=READ h={SU=0;SA=0;S=None} bytes=12113543168 time/sec=3893 LM=0 si={vo-cms.cms}&lt;br /&gt;
 33743019 : RUNNING : 00008862CFF7A1C74513A617D364A4162DAA IoMode=READ h={SU=0;SA=0;S=None} bytes=10561388544 time/sec=3409 LM=0 si={vo-cms.cms}&lt;br /&gt;
 33743076 : RUNNING : 0000736CFC0DAF494816BFE7CC32D3192900 IoMode=READ h={SU=0;SA=0;S=None} bytes=2034630656 time/sec=2478 LM=0 si={vo-cms.cms}&lt;br /&gt;
 33743086 : RUNNING : 0000C5F1B9D6EEC04DEEA077CA6753E30DE0 IoMode=READ h={SU=0;SA=0;S=None} bytes=488898560 time/sec=1357 LM=1 si={vo-cms.cms}&lt;br /&gt;
 33743103 : RUNNING : 0000BBE684CB4BA44AB5ACB0D13C5DD25C8C IoMode=READ h={SU=0;SA=0;S=None} bytes=135921664 time/sec=239 LM=20 si={vo-cms.cms}&lt;br /&gt;
* Show all mover queue properties:&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? mover queue ls -l'''&lt;br /&gt;
 regular 0 0 0&lt;br /&gt;
 p2p 0 40 0&lt;br /&gt;
 ftp 11 500 0&lt;br /&gt;
 dcap 0 10 0&lt;br /&gt;
 nfs4 0 100 0&lt;br /&gt;
 xrootd 406 1500 0&lt;br /&gt;
 xrootd-wan 0 700 0&lt;br /&gt;
 webdav 0 0 0&lt;br /&gt;
* Set to 400 the maximum active client transfers for the '''ftp''' queue:&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? mover set max active -queue=ftp 400'''&lt;br /&gt;
 Max Active Io Movers set to 400&lt;br /&gt;
&lt;br /&gt;
== File / replica management ==&lt;br /&gt;
=== Command help ===&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? help hsm'''&lt;br /&gt;
 rep ls [-l[=s,l,u,nc,p]] [-s[=kmgt]] [-storage=&amp;lt;glob&amp;gt;] | &amp;lt;pnfsId&amp;gt;...&lt;br /&gt;
   Format I  : &amp;lt;pnfsId&amp;gt;...&lt;br /&gt;
   Format II : [-l[=&amp;lt;selectionOptions&amp;gt;]] [-storage=&amp;lt;glob&amp;gt;] [-s]&lt;br /&gt;
                Options :&lt;br /&gt;
                -l[=splunc]  # selected list&lt;br /&gt;
                   s  : sticky files&lt;br /&gt;
                   p  : precious files&lt;br /&gt;
                   l  : locked files&lt;br /&gt;
                   u  : files in use&lt;br /&gt;
                   nc : files which are not cached&lt;br /&gt;
                   e  : files which error condition&lt;br /&gt;
                -storage=&amp;lt;glob&amp;gt;   # select only replicas&lt;br /&gt;
                                    of files with storage-&lt;br /&gt;
                                    info that matches &amp;lt;glob&amp;gt;&lt;br /&gt;
                -s[=kmgt] [-sum]       # statistics&lt;br /&gt;
                   k  : data amount in KBytes&lt;br /&gt;
                   m  : data amount in MBytes&lt;br /&gt;
                   g  : data amount in GBytes&lt;br /&gt;
                   t  : data amount in TBytes&lt;br /&gt;
   Output is a list of repository entries, one per line&lt;br /&gt;
   each line has the followin syntax:&lt;br /&gt;
      &amp;lt;pnfsid&amp;gt; &amp;lt;state&amp;gt; &amp;lt;size&amp;gt; &amp;lt;storageinfo&amp;gt;&lt;br /&gt;
   state is a sequence of state bits inclosed in angular &amp;quot;&amp;lt;&amp;gt;&amp;quot; brackets &lt;br /&gt;
   bit 1 is &amp;quot;C&amp;quot; if entry is cached or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 2 is &amp;quot;P&amp;quot; if entry is precious or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 3 is &amp;quot;C&amp;quot; if entry is being transfered &amp;quot;from client&amp;quot; or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 4 is &amp;quot;S&amp;quot; if entry is being transfered &amp;quot;from store&amp;quot; or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 5 is &amp;quot;c&amp;quot; if entry is being transfered &amp;quot;to client&amp;quot; or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 6 is &amp;quot;s&amp;quot; if entry is being transfered &amp;quot;to store&amp;quot; or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 7 is &amp;quot;R&amp;quot; if entry is removed or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 8 is is always &amp;quot;-&amp;quot; &lt;br /&gt;
   bit 9 is &amp;quot;X&amp;quot; if entry is sticky or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 10 is &amp;quot;E&amp;quot; if entry is in error state or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 11 is &amp;quot;L(x)(y)&amp;quot; if entry is in locked or &amp;quot;-&amp;quot; if not &lt;br /&gt;
          x is epoch until which the entry is locked, 0 for non expiring lock &lt;br /&gt;
          y is the link count&lt;br /&gt;
 rep rm &amp;lt;pnfsid&amp;gt; [-force] # removes the pnfsfile from the cache&lt;br /&gt;
 rep rmclass &amp;lt;storageClass&amp;gt; # removes the from the cache&lt;br /&gt;
 rep set broken &amp;lt;pnfsid&amp;gt;&lt;br /&gt;
 rep set cached &amp;lt;pnfsId&amp;gt; # DON'T USE, Potentially dangerous&lt;br /&gt;
 rep set precious &amp;lt;pnfsId&amp;gt;&lt;br /&gt;
 rep set sticky [OPTIONS] [&amp;lt;pnfsid&amp;gt;] on|off  # change sticky flags&lt;br /&gt;
 rep sticky ls &amp;lt;pnfsid&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mcaubet</name></author>
	</entry>
	<entry>
		<id>https://pwiki.pic.es/index.php?title=DCache_Administration_Console_Commands&amp;diff=196</id>
		<title>DCache Administration Console Commands</title>
		<link rel="alternate" type="text/html" href="https://pwiki.pic.es/index.php?title=DCache_Administration_Console_Commands&amp;diff=196"/>
		<updated>2017-07-31T09:38:02Z</updated>

		<summary type="html">&lt;p&gt;Mcaubet: /* Command help */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= About this document =&lt;br /&gt;
* This document shows several examples of useful commands that can be run in the dCache Administration Console.&lt;br /&gt;
* Administration console can be accessed through '''[[https://www.dcache.org/downloads/gui/ PCells GUI]]''' or through '''SSHv2''' as follows (in the example, '''dccore.pic.es''' is the physical machine running the '''admin''' cell):&lt;br /&gt;
 ssh -2 -x -o StrictHostKeyChecking=no -l admin -c blowfish -p 22224 dccore.pic.es&lt;br /&gt;
* In this document we show what we consider the most important commands for the everyday's administration tasks, and basically the ones that may be useful for the Manager On Duty. Maybe some important commands are missing, but will be added as soon as we detect that these may be important for the MoD.&lt;br /&gt;
* This document is divided in two main blocks:&lt;br /&gt;
# '''Pool commands''': shows useful commands that can be run on pools.&lt;br /&gt;
# '''Service commands''': show useful commands that can be run on servers (this will include doors)&lt;br /&gt;
= The basics =&lt;br /&gt;
* If you access the Administration Console through '''SSHv2''' you should access to the different cells as follows:&lt;br /&gt;
 \? [command]...  # display help for shell commands&lt;br /&gt;
 \c cell[@domain] [user]  # connect to cell&lt;br /&gt;
 \exception [trace]  # controls display of stack traces&lt;br /&gt;
 \h [command]...  # display help for cell commands&lt;br /&gt;
 \l [cell[@domain]|pool/poolgroup]...  # list cells&lt;br /&gt;
 \q # quit&lt;br /&gt;
 '''\s (cell[@domain]|pool/poolgroup)[,(cell[@domain]|pool/poolgroup)]... command...  # send command'''&lt;br /&gt;
 \sl pnfsid|path command...  # send to locations&lt;br /&gt;
 \sn command...  # send pnfsmanager command&lt;br /&gt;
 \sp command...  # send poolmanager command&lt;br /&gt;
 \timeout [seconds]  # sets the command timeout&lt;br /&gt;
* With '''\s''' you will be able to access to any '''cell[@domain]'''s, while branches of this command such like '''\sn''' or '''\sp''' are useful to (respectively) direct access to the ''namespace'' or ''poolmanager'' cells without the need of specifying the ''cell[@domain]''.&lt;br /&gt;
&lt;br /&gt;
= Pool commands =&lt;br /&gt;
== Introduction ==&lt;br /&gt;
* Any command run on a pool is a temporary change: on any pool service restart configuration will be restored back to the default value or to the value set in the '''setup''' file (locate in '''/dcpool*/vpool*/setup''').&lt;br /&gt;
:* In example, whenever we set a pool to ''rdonly'', on restart, once the ''initialization'' process finishes, pool will switch back to ''enabled''.&lt;br /&gt;
* If you want to make permanent changes, you should '''save''' changes. Running the '''save''' command will update the already mentioned '''setup''' file.&lt;br /&gt;
:* In example, whenever we set a pool to ''rdonly'' '''and''' we ''save'' the configuration, on a restart, once the ''initialization'' process finishes, pool will remain ''rdonly''.&lt;br /&gt;
&lt;br /&gt;
== Disable / enable pools ==&lt;br /&gt;
=== Command help ===&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? help hsm'''&lt;br /&gt;
 'pool disable [options] [&amp;lt;errorCode&amp;gt; [&amp;lt;errorMessage&amp;gt;]] # suspend sending 'up messages''&lt;br /&gt;
      OPTIONS :&lt;br /&gt;
        -fetch    #  disallows fetch (transfer to client)&lt;br /&gt;
        -stage    #  disallows staging (from HSM)&lt;br /&gt;
        -store    #  disallows store (transfer from client)&lt;br /&gt;
        -p2p-client&lt;br /&gt;
        -rdonly   #  := store,stage,p2p-client&lt;br /&gt;
        -strict   #  := disallows everything&lt;br /&gt;
 'pool enable # start sending 'up messages' again'&lt;br /&gt;
 'pool suppress hsmload on|off'&lt;br /&gt;
&lt;br /&gt;
=== Disable / enable pool examples ===&lt;br /&gt;
* Disallow store + stage + p2p-client (set pool in read only mode)&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''pool disable -rdonly'''&lt;br /&gt;
* Enable pool (set pool to RW)&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''pool enable'''&lt;br /&gt;
&lt;br /&gt;
== HSM configuration ==&lt;br /&gt;
=== Command help ===&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? help hsm'''&lt;br /&gt;
 hsm create &amp;lt;type&amp;gt; [&amp;lt;name&amp;gt; [&amp;lt;provider&amp;gt;]] [-&amp;lt;key&amp;gt;=&amp;lt;value&amp;gt;] ...&lt;br /&gt;
 hsm ls [&amp;lt;name&amp;gt;] ...&lt;br /&gt;
 hsm remove &amp;lt;name&amp;gt;&lt;br /&gt;
 hsm set &amp;lt;name&amp;gt; [-&amp;lt;key&amp;gt;=&amp;lt;value&amp;gt;] ...&lt;br /&gt;
 hsm show providers # show available nearline storage providers&lt;br /&gt;
 hsm unset &amp;lt;name&amp;gt; [-&amp;lt;key&amp;gt;] ...&lt;br /&gt;
=== HSM configuration examples ===&lt;br /&gt;
* Create a ''enstore'' HSM with the ''real-encp.sh'' client script (this example can be found in the '''setup''' file):&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''hsm create enstore enstore script -pnfs=/pnfs/fs/usr -command=/opt/enstore/bin/real-encp.sh -c:gets=200 -c:puts=20 -c:removes=2'''&lt;br /&gt;
* Show ''enstore'' configuration:&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''hsm ls enstore'''&lt;br /&gt;
 enstore(enstore):script&lt;br /&gt;
   pnfs                /pnfs/fs/usr&lt;br /&gt;
   command             /opt/enstore/bin/real-encp.sh&lt;br /&gt;
   c:gets              200&lt;br /&gt;
   c:puts              20&lt;br /&gt;
   c:removes           2&lt;br /&gt;
* Set maximum restores to 400:&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''hsm set enstore -c:gets=400'''&lt;br /&gt;
&lt;br /&gt;
== Mover management ==&lt;br /&gt;
=== Command help ===&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? help hsm'''&lt;br /&gt;
 mover kill &amp;lt;jobid&amp;gt;  # terminate a file transfer connection&lt;br /&gt;
 mover ls [-binary [jobId] ]&lt;br /&gt;
 mover queue ls [-l]  # list all mover queues in this pool&lt;br /&gt;
 mover remove [&amp;lt;jobid&amp;gt;]  # #OBSOLETE command&lt;br /&gt;
 mover set max active [OPTIONS] &amp;lt;maxactivemovers&amp;gt;  # set the maximum number of active client transfers&lt;br /&gt;
=== Mover management examples ===&lt;br /&gt;
* Show current '''ftp''' transfers:&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? mover ls -l -queue=ftp'''&lt;br /&gt;
 33743014 : RUNNING : 0000D5B91029797545859181EB738C25E93C IoMode=READ h={SU=0;SA=0;S=None} bytes=12113543168 time/sec=3893 LM=0 si={vo-cms.cms}&lt;br /&gt;
 33743019 : RUNNING : 00008862CFF7A1C74513A617D364A4162DAA IoMode=READ h={SU=0;SA=0;S=None} bytes=10561388544 time/sec=3409 LM=0 si={vo-cms.cms}&lt;br /&gt;
 33743076 : RUNNING : 0000736CFC0DAF494816BFE7CC32D3192900 IoMode=READ h={SU=0;SA=0;S=None} bytes=2034630656 time/sec=2478 LM=0 si={vo-cms.cms}&lt;br /&gt;
 33743086 : RUNNING : 0000C5F1B9D6EEC04DEEA077CA6753E30DE0 IoMode=READ h={SU=0;SA=0;S=None} bytes=488898560 time/sec=1357 LM=1 si={vo-cms.cms}&lt;br /&gt;
 33743103 : RUNNING : 0000BBE684CB4BA44AB5ACB0D13C5DD25C8C IoMode=READ h={SU=0;SA=0;S=None} bytes=135921664 time/sec=239 LM=20 si={vo-cms.cms}&lt;br /&gt;
* Show all mover queue properties:&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? mover queue ls -l'''&lt;br /&gt;
 regular 0 0 0&lt;br /&gt;
 p2p 0 40 0&lt;br /&gt;
 ftp 11 500 0&lt;br /&gt;
 dcap 0 10 0&lt;br /&gt;
 nfs4 0 100 0&lt;br /&gt;
 xrootd 406 1500 0&lt;br /&gt;
 xrootd-wan 0 700 0&lt;br /&gt;
 webdav 0 0 0&lt;br /&gt;
* Set to 400 the maximum active client transfers for the '''ftp''' queue:&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? mover set max active -queue=ftp 400'''&lt;br /&gt;
 Max Active Io Movers set to 400&lt;br /&gt;
&lt;br /&gt;
== File / replica management ==&lt;br /&gt;
=== Command help ===&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? help hsm'''&lt;br /&gt;
 rep ls [-l[=s,l,u,nc,p]] [-s[=kmgt]] [-storage=&amp;lt;glob&amp;gt;] | &amp;lt;pnfsId&amp;gt;...&lt;br /&gt;
   Format I  : &amp;lt;pnfsId&amp;gt;...&lt;br /&gt;
   Format II : [-l[=&amp;lt;selectionOptions&amp;gt;]] [-storage=&amp;lt;glob&amp;gt;] [-s]&lt;br /&gt;
                Options :&lt;br /&gt;
                -l[=splunc]  # selected list&lt;br /&gt;
                   s  : sticky files&lt;br /&gt;
                   p  : precious files&lt;br /&gt;
                   l  : locked files&lt;br /&gt;
                   u  : files in use&lt;br /&gt;
                   nc : files which are not cached&lt;br /&gt;
                   e  : files which error condition&lt;br /&gt;
                -storage=&amp;lt;glob&amp;gt;   # select only replicas&lt;br /&gt;
                                    of files with storage-&lt;br /&gt;
                                    info that matches &amp;lt;glob&amp;gt;&lt;br /&gt;
                -s[=kmgt] [-sum]       # statistics&lt;br /&gt;
                   k  : data amount in KBytes&lt;br /&gt;
                   m  : data amount in MBytes&lt;br /&gt;
                   g  : data amount in GBytes&lt;br /&gt;
                   t  : data amount in TBytes&lt;br /&gt;
   Output is a list of repository entries, one per line&lt;br /&gt;
   each line has the followin syntax:&lt;br /&gt;
      &amp;lt;pnfsid&amp;gt; &amp;lt;state&amp;gt; &amp;lt;size&amp;gt; &amp;lt;storageinfo&amp;gt;&lt;br /&gt;
   state is a sequence of state bits inclosed in angular &amp;quot;&amp;lt;&amp;gt;&amp;quot; brackets &lt;br /&gt;
   bit 1 is &amp;quot;C&amp;quot; if entry is cached or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 2 is &amp;quot;P&amp;quot; if entry is precious or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 3 is &amp;quot;C&amp;quot; if entry is being transfered &amp;quot;from client&amp;quot; or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 4 is &amp;quot;S&amp;quot; if entry is being transfered &amp;quot;from store&amp;quot; or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 5 is &amp;quot;c&amp;quot; if entry is being transfered &amp;quot;to client&amp;quot; or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 6 is &amp;quot;s&amp;quot; if entry is being transfered &amp;quot;to store&amp;quot; or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 7 is &amp;quot;R&amp;quot; if entry is removed or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 8 is is always &amp;quot;-&amp;quot; &lt;br /&gt;
   bit 9 is &amp;quot;X&amp;quot; if entry is sticky or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 10 is &amp;quot;E&amp;quot; if entry is in error state or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 11 is &amp;quot;L(x)(y)&amp;quot; if entry is in locked or &amp;quot;-&amp;quot; if not &lt;br /&gt;
          x is epoch until which the entry is locked, 0 for non expiring lock &lt;br /&gt;
          y is the link count&lt;br /&gt;
 rep rm &amp;lt;pnfsid&amp;gt; [-force] # removes the pnfsfile from the cache&lt;br /&gt;
 rep rmclass &amp;lt;storageClass&amp;gt; # removes the from the cache&lt;br /&gt;
 rep set broken &amp;lt;pnfsid&amp;gt;&lt;br /&gt;
 rep set cached &amp;lt;pnfsId&amp;gt; # DON'T USE, Potentially dangerous&lt;br /&gt;
 rep set precious &amp;lt;pnfsId&amp;gt;&lt;br /&gt;
 rep set sticky [OPTIONS] [&amp;lt;pnfsid&amp;gt;] on|off  # change sticky flags&lt;br /&gt;
 rep sticky ls &amp;lt;pnfsid&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mcaubet</name></author>
	</entry>
	<entry>
		<id>https://pwiki.pic.es/index.php?title=DCache_Administration_Console_Commands&amp;diff=195</id>
		<title>DCache Administration Console Commands</title>
		<link rel="alternate" type="text/html" href="https://pwiki.pic.es/index.php?title=DCache_Administration_Console_Commands&amp;diff=195"/>
		<updated>2017-07-31T09:37:47Z</updated>

		<summary type="html">&lt;p&gt;Mcaubet: /* Command help */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= About this document =&lt;br /&gt;
* This document shows several examples of useful commands that can be run in the dCache Administration Console.&lt;br /&gt;
* Administration console can be accessed through '''[[https://www.dcache.org/downloads/gui/ PCells GUI]]''' or through '''SSHv2''' as follows (in the example, '''dccore.pic.es''' is the physical machine running the '''admin''' cell):&lt;br /&gt;
 ssh -2 -x -o StrictHostKeyChecking=no -l admin -c blowfish -p 22224 dccore.pic.es&lt;br /&gt;
* In this document we show what we consider the most important commands for the everyday's administration tasks, and basically the ones that may be useful for the Manager On Duty. Maybe some important commands are missing, but will be added as soon as we detect that these may be important for the MoD.&lt;br /&gt;
* This document is divided in two main blocks:&lt;br /&gt;
# '''Pool commands''': shows useful commands that can be run on pools.&lt;br /&gt;
# '''Service commands''': show useful commands that can be run on servers (this will include doors)&lt;br /&gt;
= The basics =&lt;br /&gt;
* If you access the Administration Console through '''SSHv2''' you should access to the different cells as follows:&lt;br /&gt;
 \? [command]...  # display help for shell commands&lt;br /&gt;
 \c cell[@domain] [user]  # connect to cell&lt;br /&gt;
 \exception [trace]  # controls display of stack traces&lt;br /&gt;
 \h [command]...  # display help for cell commands&lt;br /&gt;
 \l [cell[@domain]|pool/poolgroup]...  # list cells&lt;br /&gt;
 \q # quit&lt;br /&gt;
 '''\s (cell[@domain]|pool/poolgroup)[,(cell[@domain]|pool/poolgroup)]... command...  # send command'''&lt;br /&gt;
 \sl pnfsid|path command...  # send to locations&lt;br /&gt;
 \sn command...  # send pnfsmanager command&lt;br /&gt;
 \sp command...  # send poolmanager command&lt;br /&gt;
 \timeout [seconds]  # sets the command timeout&lt;br /&gt;
* With '''\s''' you will be able to access to any '''cell[@domain]'''s, while branches of this command such like '''\sn''' or '''\sp''' are useful to (respectively) direct access to the ''namespace'' or ''poolmanager'' cells without the need of specifying the ''cell[@domain]''.&lt;br /&gt;
&lt;br /&gt;
= Pool commands =&lt;br /&gt;
== Introduction ==&lt;br /&gt;
* Any command run on a pool is a temporary change: on any pool service restart configuration will be restored back to the default value or to the value set in the '''setup''' file (locate in '''/dcpool*/vpool*/setup''').&lt;br /&gt;
:* In example, whenever we set a pool to ''rdonly'', on restart, once the ''initialization'' process finishes, pool will switch back to ''enabled''.&lt;br /&gt;
* If you want to make permanent changes, you should '''save''' changes. Running the '''save''' command will update the already mentioned '''setup''' file.&lt;br /&gt;
:* In example, whenever we set a pool to ''rdonly'' '''and''' we ''save'' the configuration, on a restart, once the ''initialization'' process finishes, pool will remain ''rdonly''.&lt;br /&gt;
&lt;br /&gt;
== Disable / enable pools ==&lt;br /&gt;
=== Command help ===&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? help hsm'''&lt;br /&gt;
 pool disable [options] [&amp;lt;errorCode&amp;gt; [&amp;lt;errorMessage&amp;gt;]] # suspend sending 'up messages'&lt;br /&gt;
      OPTIONS :&lt;br /&gt;
        -fetch    #  disallows fetch (transfer to client)&lt;br /&gt;
        -stage    #  disallows staging (from HSM)&lt;br /&gt;
        -store    #  disallows store (transfer from client)&lt;br /&gt;
        -p2p-client&lt;br /&gt;
        -rdonly   #  := store,stage,p2p-client&lt;br /&gt;
        -strict   #  := disallows everything&lt;br /&gt;
 pool enable # start sending 'up messages' again&lt;br /&gt;
 pool suppress hsmload on|off&lt;br /&gt;
=== Disable / enable pool examples ===&lt;br /&gt;
* Disallow store + stage + p2p-client (set pool in read only mode)&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''pool disable -rdonly'''&lt;br /&gt;
* Enable pool (set pool to RW)&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''pool enable'''&lt;br /&gt;
&lt;br /&gt;
== HSM configuration ==&lt;br /&gt;
=== Command help ===&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? help hsm'''&lt;br /&gt;
 hsm create &amp;lt;type&amp;gt; [&amp;lt;name&amp;gt; [&amp;lt;provider&amp;gt;]] [-&amp;lt;key&amp;gt;=&amp;lt;value&amp;gt;] ...&lt;br /&gt;
 hsm ls [&amp;lt;name&amp;gt;] ...&lt;br /&gt;
 hsm remove &amp;lt;name&amp;gt;&lt;br /&gt;
 hsm set &amp;lt;name&amp;gt; [-&amp;lt;key&amp;gt;=&amp;lt;value&amp;gt;] ...&lt;br /&gt;
 hsm show providers # show available nearline storage providers&lt;br /&gt;
 hsm unset &amp;lt;name&amp;gt; [-&amp;lt;key&amp;gt;] ...&lt;br /&gt;
=== HSM configuration examples ===&lt;br /&gt;
* Create a ''enstore'' HSM with the ''real-encp.sh'' client script (this example can be found in the '''setup''' file):&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''hsm create enstore enstore script -pnfs=/pnfs/fs/usr -command=/opt/enstore/bin/real-encp.sh -c:gets=200 -c:puts=20 -c:removes=2'''&lt;br /&gt;
* Show ''enstore'' configuration:&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''hsm ls enstore'''&lt;br /&gt;
 enstore(enstore):script&lt;br /&gt;
   pnfs                /pnfs/fs/usr&lt;br /&gt;
   command             /opt/enstore/bin/real-encp.sh&lt;br /&gt;
   c:gets              200&lt;br /&gt;
   c:puts              20&lt;br /&gt;
   c:removes           2&lt;br /&gt;
* Set maximum restores to 400:&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''hsm set enstore -c:gets=400'''&lt;br /&gt;
&lt;br /&gt;
== Mover management ==&lt;br /&gt;
=== Command help ===&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? help hsm'''&lt;br /&gt;
 mover kill &amp;lt;jobid&amp;gt;  # terminate a file transfer connection&lt;br /&gt;
 mover ls [-binary [jobId] ]&lt;br /&gt;
 mover queue ls [-l]  # list all mover queues in this pool&lt;br /&gt;
 mover remove [&amp;lt;jobid&amp;gt;]  # #OBSOLETE command&lt;br /&gt;
 mover set max active [OPTIONS] &amp;lt;maxactivemovers&amp;gt;  # set the maximum number of active client transfers&lt;br /&gt;
=== Mover management examples ===&lt;br /&gt;
* Show current '''ftp''' transfers:&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? mover ls -l -queue=ftp'''&lt;br /&gt;
 33743014 : RUNNING : 0000D5B91029797545859181EB738C25E93C IoMode=READ h={SU=0;SA=0;S=None} bytes=12113543168 time/sec=3893 LM=0 si={vo-cms.cms}&lt;br /&gt;
 33743019 : RUNNING : 00008862CFF7A1C74513A617D364A4162DAA IoMode=READ h={SU=0;SA=0;S=None} bytes=10561388544 time/sec=3409 LM=0 si={vo-cms.cms}&lt;br /&gt;
 33743076 : RUNNING : 0000736CFC0DAF494816BFE7CC32D3192900 IoMode=READ h={SU=0;SA=0;S=None} bytes=2034630656 time/sec=2478 LM=0 si={vo-cms.cms}&lt;br /&gt;
 33743086 : RUNNING : 0000C5F1B9D6EEC04DEEA077CA6753E30DE0 IoMode=READ h={SU=0;SA=0;S=None} bytes=488898560 time/sec=1357 LM=1 si={vo-cms.cms}&lt;br /&gt;
 33743103 : RUNNING : 0000BBE684CB4BA44AB5ACB0D13C5DD25C8C IoMode=READ h={SU=0;SA=0;S=None} bytes=135921664 time/sec=239 LM=20 si={vo-cms.cms}&lt;br /&gt;
* Show all mover queue properties:&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? mover queue ls -l'''&lt;br /&gt;
 regular 0 0 0&lt;br /&gt;
 p2p 0 40 0&lt;br /&gt;
 ftp 11 500 0&lt;br /&gt;
 dcap 0 10 0&lt;br /&gt;
 nfs4 0 100 0&lt;br /&gt;
 xrootd 406 1500 0&lt;br /&gt;
 xrootd-wan 0 700 0&lt;br /&gt;
 webdav 0 0 0&lt;br /&gt;
* Set to 400 the maximum active client transfers for the '''ftp''' queue:&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? mover set max active -queue=ftp 400'''&lt;br /&gt;
 Max Active Io Movers set to 400&lt;br /&gt;
&lt;br /&gt;
== File / replica management ==&lt;br /&gt;
=== Command help ===&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? help hsm'''&lt;br /&gt;
 rep ls [-l[=s,l,u,nc,p]] [-s[=kmgt]] [-storage=&amp;lt;glob&amp;gt;] | &amp;lt;pnfsId&amp;gt;...&lt;br /&gt;
   Format I  : &amp;lt;pnfsId&amp;gt;...&lt;br /&gt;
   Format II : [-l[=&amp;lt;selectionOptions&amp;gt;]] [-storage=&amp;lt;glob&amp;gt;] [-s]&lt;br /&gt;
                Options :&lt;br /&gt;
                -l[=splunc]  # selected list&lt;br /&gt;
                   s  : sticky files&lt;br /&gt;
                   p  : precious files&lt;br /&gt;
                   l  : locked files&lt;br /&gt;
                   u  : files in use&lt;br /&gt;
                   nc : files which are not cached&lt;br /&gt;
                   e  : files which error condition&lt;br /&gt;
                -storage=&amp;lt;glob&amp;gt;   # select only replicas&lt;br /&gt;
                                    of files with storage-&lt;br /&gt;
                                    info that matches &amp;lt;glob&amp;gt;&lt;br /&gt;
                -s[=kmgt] [-sum]       # statistics&lt;br /&gt;
                   k  : data amount in KBytes&lt;br /&gt;
                   m  : data amount in MBytes&lt;br /&gt;
                   g  : data amount in GBytes&lt;br /&gt;
                   t  : data amount in TBytes&lt;br /&gt;
   Output is a list of repository entries, one per line&lt;br /&gt;
   each line has the followin syntax:&lt;br /&gt;
      &amp;lt;pnfsid&amp;gt; &amp;lt;state&amp;gt; &amp;lt;size&amp;gt; &amp;lt;storageinfo&amp;gt;&lt;br /&gt;
   state is a sequence of state bits inclosed in angular &amp;quot;&amp;lt;&amp;gt;&amp;quot; brackets &lt;br /&gt;
   bit 1 is &amp;quot;C&amp;quot; if entry is cached or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 2 is &amp;quot;P&amp;quot; if entry is precious or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 3 is &amp;quot;C&amp;quot; if entry is being transfered &amp;quot;from client&amp;quot; or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 4 is &amp;quot;S&amp;quot; if entry is being transfered &amp;quot;from store&amp;quot; or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 5 is &amp;quot;c&amp;quot; if entry is being transfered &amp;quot;to client&amp;quot; or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 6 is &amp;quot;s&amp;quot; if entry is being transfered &amp;quot;to store&amp;quot; or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 7 is &amp;quot;R&amp;quot; if entry is removed or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 8 is is always &amp;quot;-&amp;quot; &lt;br /&gt;
   bit 9 is &amp;quot;X&amp;quot; if entry is sticky or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 10 is &amp;quot;E&amp;quot; if entry is in error state or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 11 is &amp;quot;L(x)(y)&amp;quot; if entry is in locked or &amp;quot;-&amp;quot; if not &lt;br /&gt;
          x is epoch until which the entry is locked, 0 for non expiring lock &lt;br /&gt;
          y is the link count&lt;br /&gt;
 rep rm &amp;lt;pnfsid&amp;gt; [-force] # removes the pnfsfile from the cache&lt;br /&gt;
 rep rmclass &amp;lt;storageClass&amp;gt; # removes the from the cache&lt;br /&gt;
 rep set broken &amp;lt;pnfsid&amp;gt;&lt;br /&gt;
 rep set cached &amp;lt;pnfsId&amp;gt; # DON'T USE, Potentially dangerous&lt;br /&gt;
 rep set precious &amp;lt;pnfsId&amp;gt;&lt;br /&gt;
 rep set sticky [OPTIONS] [&amp;lt;pnfsid&amp;gt;] on|off  # change sticky flags&lt;br /&gt;
 rep sticky ls &amp;lt;pnfsid&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mcaubet</name></author>
	</entry>
	<entry>
		<id>https://pwiki.pic.es/index.php?title=DCache_Administration_Console_Commands&amp;diff=194</id>
		<title>DCache Administration Console Commands</title>
		<link rel="alternate" type="text/html" href="https://pwiki.pic.es/index.php?title=DCache_Administration_Console_Commands&amp;diff=194"/>
		<updated>2017-07-31T09:37:23Z</updated>

		<summary type="html">&lt;p&gt;Mcaubet: /* Mover management */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= About this document =&lt;br /&gt;
* This document shows several examples of useful commands that can be run in the dCache Administration Console.&lt;br /&gt;
* Administration console can be accessed through '''[[https://www.dcache.org/downloads/gui/ PCells GUI]]''' or through '''SSHv2''' as follows (in the example, '''dccore.pic.es''' is the physical machine running the '''admin''' cell):&lt;br /&gt;
 ssh -2 -x -o StrictHostKeyChecking=no -l admin -c blowfish -p 22224 dccore.pic.es&lt;br /&gt;
* In this document we show what we consider the most important commands for the everyday's administration tasks, and basically the ones that may be useful for the Manager On Duty. Maybe some important commands are missing, but will be added as soon as we detect that these may be important for the MoD.&lt;br /&gt;
* This document is divided in two main blocks:&lt;br /&gt;
# '''Pool commands''': shows useful commands that can be run on pools.&lt;br /&gt;
# '''Service commands''': show useful commands that can be run on servers (this will include doors)&lt;br /&gt;
= The basics =&lt;br /&gt;
* If you access the Administration Console through '''SSHv2''' you should access to the different cells as follows:&lt;br /&gt;
 \? [command]...  # display help for shell commands&lt;br /&gt;
 \c cell[@domain] [user]  # connect to cell&lt;br /&gt;
 \exception [trace]  # controls display of stack traces&lt;br /&gt;
 \h [command]...  # display help for cell commands&lt;br /&gt;
 \l [cell[@domain]|pool/poolgroup]...  # list cells&lt;br /&gt;
 \q # quit&lt;br /&gt;
 '''\s (cell[@domain]|pool/poolgroup)[,(cell[@domain]|pool/poolgroup)]... command...  # send command'''&lt;br /&gt;
 \sl pnfsid|path command...  # send to locations&lt;br /&gt;
 \sn command...  # send pnfsmanager command&lt;br /&gt;
 \sp command...  # send poolmanager command&lt;br /&gt;
 \timeout [seconds]  # sets the command timeout&lt;br /&gt;
* With '''\s''' you will be able to access to any '''cell[@domain]'''s, while branches of this command such like '''\sn''' or '''\sp''' are useful to (respectively) direct access to the ''namespace'' or ''poolmanager'' cells without the need of specifying the ''cell[@domain]''.&lt;br /&gt;
&lt;br /&gt;
= Pool commands =&lt;br /&gt;
== Introduction ==&lt;br /&gt;
* Any command run on a pool is a temporary change: on any pool service restart configuration will be restored back to the default value or to the value set in the '''setup''' file (locate in '''/dcpool*/vpool*/setup''').&lt;br /&gt;
:* In example, whenever we set a pool to ''rdonly'', on restart, once the ''initialization'' process finishes, pool will switch back to ''enabled''.&lt;br /&gt;
* If you want to make permanent changes, you should '''save''' changes. Running the '''save''' command will update the already mentioned '''setup''' file.&lt;br /&gt;
:* In example, whenever we set a pool to ''rdonly'' '''and''' we ''save'' the configuration, on a restart, once the ''initialization'' process finishes, pool will remain ''rdonly''.&lt;br /&gt;
&lt;br /&gt;
== Disable / enable pools ==&lt;br /&gt;
=== Command help ===&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? help hsm'''&lt;br /&gt;
 pool disable [options] [&amp;lt;errorCode&amp;gt; [&amp;lt;errorMessage&amp;gt;]] # suspend sending 'up messages'&lt;br /&gt;
      OPTIONS :&lt;br /&gt;
        -fetch    #  disallows fetch (transfer to client)&lt;br /&gt;
        -stage    #  disallows staging (from HSM)&lt;br /&gt;
        -store    #  disallows store (transfer from client)&lt;br /&gt;
        -p2p-client&lt;br /&gt;
        -rdonly   #  := store,stage,p2p-client&lt;br /&gt;
        -strict   #  := disallows everything&lt;br /&gt;
 pool enable # start sending 'up messages' again&lt;br /&gt;
 pool suppress hsmload on|off&lt;br /&gt;
=== Disable / enable pool examples ===&lt;br /&gt;
* Disallow store + stage + p2p-client (set pool in read only mode)&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''pool disable -rdonly'''&lt;br /&gt;
* Enable pool (set pool to RW)&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''pool enable'''&lt;br /&gt;
&lt;br /&gt;
== HSM configuration ==&lt;br /&gt;
=== Command help ===&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? help hsm'''&lt;br /&gt;
 hsm create &amp;lt;type&amp;gt; [&amp;lt;name&amp;gt; [&amp;lt;provider&amp;gt;]] [-&amp;lt;key&amp;gt;=&amp;lt;value&amp;gt;] ...&lt;br /&gt;
 hsm ls [&amp;lt;name&amp;gt;] ...&lt;br /&gt;
 hsm remove &amp;lt;name&amp;gt;&lt;br /&gt;
 hsm set &amp;lt;name&amp;gt; [-&amp;lt;key&amp;gt;=&amp;lt;value&amp;gt;] ...&lt;br /&gt;
 hsm show providers # show available nearline storage providers&lt;br /&gt;
 hsm unset &amp;lt;name&amp;gt; [-&amp;lt;key&amp;gt;] ...&lt;br /&gt;
=== HSM configuration examples ===&lt;br /&gt;
* Create a ''enstore'' HSM with the ''real-encp.sh'' client script (this example can be found in the '''setup''' file):&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''hsm create enstore enstore script -pnfs=/pnfs/fs/usr -command=/opt/enstore/bin/real-encp.sh -c:gets=200 -c:puts=20 -c:removes=2'''&lt;br /&gt;
* Show ''enstore'' configuration:&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''hsm ls enstore'''&lt;br /&gt;
 enstore(enstore):script&lt;br /&gt;
   pnfs                /pnfs/fs/usr&lt;br /&gt;
   command             /opt/enstore/bin/real-encp.sh&lt;br /&gt;
   c:gets              200&lt;br /&gt;
   c:puts              20&lt;br /&gt;
   c:removes           2&lt;br /&gt;
* Set maximum restores to 400:&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''hsm set enstore -c:gets=400'''&lt;br /&gt;
&lt;br /&gt;
== Mover management ==&lt;br /&gt;
=== Command help ===&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? help hsm'''&lt;br /&gt;
 mover kill &amp;lt;jobid&amp;gt;  # terminate a file transfer connection&lt;br /&gt;
 mover ls [-binary [jobId] ]&lt;br /&gt;
 mover queue ls [-l]  # list all mover queues in this pool&lt;br /&gt;
 mover remove [&amp;lt;jobid&amp;gt;]  # #OBSOLETE command&lt;br /&gt;
 mover set max active [OPTIONS] &amp;lt;maxactivemovers&amp;gt;  # set the maximum number of active client transfers&lt;br /&gt;
=== Mover management examples ===&lt;br /&gt;
* Show current '''ftp''' transfers:&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? mover ls -l -queue=ftp'''&lt;br /&gt;
 33743014 : RUNNING : 0000D5B91029797545859181EB738C25E93C IoMode=READ h={SU=0;SA=0;S=None} bytes=12113543168 time/sec=3893 LM=0 si={vo-cms.cms}&lt;br /&gt;
 33743019 : RUNNING : 00008862CFF7A1C74513A617D364A4162DAA IoMode=READ h={SU=0;SA=0;S=None} bytes=10561388544 time/sec=3409 LM=0 si={vo-cms.cms}&lt;br /&gt;
 33743076 : RUNNING : 0000736CFC0DAF494816BFE7CC32D3192900 IoMode=READ h={SU=0;SA=0;S=None} bytes=2034630656 time/sec=2478 LM=0 si={vo-cms.cms}&lt;br /&gt;
 33743086 : RUNNING : 0000C5F1B9D6EEC04DEEA077CA6753E30DE0 IoMode=READ h={SU=0;SA=0;S=None} bytes=488898560 time/sec=1357 LM=1 si={vo-cms.cms}&lt;br /&gt;
 33743103 : RUNNING : 0000BBE684CB4BA44AB5ACB0D13C5DD25C8C IoMode=READ h={SU=0;SA=0;S=None} bytes=135921664 time/sec=239 LM=20 si={vo-cms.cms}&lt;br /&gt;
* Show all mover queue properties:&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? mover queue ls -l'''&lt;br /&gt;
 regular 0 0 0&lt;br /&gt;
 p2p 0 40 0&lt;br /&gt;
 ftp 11 500 0&lt;br /&gt;
 dcap 0 10 0&lt;br /&gt;
 nfs4 0 100 0&lt;br /&gt;
 xrootd 406 1500 0&lt;br /&gt;
 xrootd-wan 0 700 0&lt;br /&gt;
 webdav 0 0 0&lt;br /&gt;
* Set to 400 the maximum active client transfers for the '''ftp''' queue:&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? mover set max active -queue=ftp 400'''&lt;br /&gt;
 Max Active Io Movers set to 400&lt;br /&gt;
&lt;br /&gt;
== File / replica management ==&lt;br /&gt;
=== Command help ===&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? help hsm'''&lt;br /&gt;
 rep ls [-l[=s,l,u,nc,p]] [-s[=kmgt]] [-storage=&amp;lt;glob&amp;gt;] | &amp;lt;pnfsId&amp;gt;...&lt;br /&gt;
   Format I  : &amp;lt;pnfsId&amp;gt;...&lt;br /&gt;
   Format II : [-l[=&amp;lt;selectionOptions&amp;gt;]] [-storage=&amp;lt;glob&amp;gt;] [-s]&lt;br /&gt;
                Options :&lt;br /&gt;
                -l[=splunc]  # selected list&lt;br /&gt;
                   s  : sticky files&lt;br /&gt;
                   p  : precious files&lt;br /&gt;
                   l  : locked files&lt;br /&gt;
                   u  : files in use&lt;br /&gt;
                   nc : files which are not cached&lt;br /&gt;
                   e  : files which error condition&lt;br /&gt;
                -storage=&amp;lt;glob&amp;gt;   # select only replicas&lt;br /&gt;
                                    of files with storage-&lt;br /&gt;
                                    info that matches &amp;lt;glob&amp;gt;&lt;br /&gt;
                -s[=kmgt] [-sum]       # statistics&lt;br /&gt;
                   k  : data amount in KBytes&lt;br /&gt;
                   m  : data amount in MBytes&lt;br /&gt;
                   g  : data amount in GBytes&lt;br /&gt;
                   t  : data amount in TBytes&lt;br /&gt;
   Output is a list of repository entries, one per line&lt;br /&gt;
   each line has the followin syntax:&lt;br /&gt;
  &amp;lt;pnfsid&amp;gt; &amp;lt;state&amp;gt; &amp;lt;size&amp;gt; &amp;lt;storageinfo&amp;gt;&lt;br /&gt;
   state is a sequence of state bits inclosed in angular &amp;quot;&amp;lt;&amp;gt;&amp;quot; brackets &lt;br /&gt;
   bit 1 is &amp;quot;C&amp;quot; if entry is cached or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 2 is &amp;quot;P&amp;quot; if entry is precious or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 3 is &amp;quot;C&amp;quot; if entry is being transfered &amp;quot;from client&amp;quot; or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 4 is &amp;quot;S&amp;quot; if entry is being transfered &amp;quot;from store&amp;quot; or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 5 is &amp;quot;c&amp;quot; if entry is being transfered &amp;quot;to client&amp;quot; or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 6 is &amp;quot;s&amp;quot; if entry is being transfered &amp;quot;to store&amp;quot; or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 7 is &amp;quot;R&amp;quot; if entry is removed or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 8 is is always &amp;quot;-&amp;quot; &lt;br /&gt;
   bit 9 is &amp;quot;X&amp;quot; if entry is sticky or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 10 is &amp;quot;E&amp;quot; if entry is in error state or &amp;quot;-&amp;quot; if not &lt;br /&gt;
   bit 11 is &amp;quot;L(x)(y)&amp;quot; if entry is in locked or &amp;quot;-&amp;quot; if not &lt;br /&gt;
          x is epoch until which the entry is locked, 0 for non expiring lock &lt;br /&gt;
          y is the link count&lt;br /&gt;
 rep rm &amp;lt;pnfsid&amp;gt; [-force] # removes the pnfsfile from the cache&lt;br /&gt;
 rep rmclass &amp;lt;storageClass&amp;gt; # removes the from the cache&lt;br /&gt;
 rep set broken &amp;lt;pnfsid&amp;gt;&lt;br /&gt;
 rep set cached &amp;lt;pnfsId&amp;gt; # DON'T USE, Potentially dangerous&lt;br /&gt;
 rep set precious &amp;lt;pnfsId&amp;gt;&lt;br /&gt;
 rep set sticky [OPTIONS] [&amp;lt;pnfsid&amp;gt;] on|off  # change sticky flags&lt;br /&gt;
 rep sticky ls &amp;lt;pnfsid&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mcaubet</name></author>
	</entry>
	<entry>
		<id>https://pwiki.pic.es/index.php?title=DCache_Administration_Console_Commands&amp;diff=193</id>
		<title>DCache Administration Console Commands</title>
		<link rel="alternate" type="text/html" href="https://pwiki.pic.es/index.php?title=DCache_Administration_Console_Commands&amp;diff=193"/>
		<updated>2017-07-31T09:35:16Z</updated>

		<summary type="html">&lt;p&gt;Mcaubet: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= About this document =&lt;br /&gt;
* This document shows several examples of useful commands that can be run in the dCache Administration Console.&lt;br /&gt;
* Administration console can be accessed through '''[[https://www.dcache.org/downloads/gui/ PCells GUI]]''' or through '''SSHv2''' as follows (in the example, '''dccore.pic.es''' is the physical machine running the '''admin''' cell):&lt;br /&gt;
 ssh -2 -x -o StrictHostKeyChecking=no -l admin -c blowfish -p 22224 dccore.pic.es&lt;br /&gt;
* In this document we show what we consider the most important commands for the everyday's administration tasks, and basically the ones that may be useful for the Manager On Duty. Maybe some important commands are missing, but will be added as soon as we detect that these may be important for the MoD.&lt;br /&gt;
* This document is divided in two main blocks:&lt;br /&gt;
# '''Pool commands''': shows useful commands that can be run on pools.&lt;br /&gt;
# '''Service commands''': show useful commands that can be run on servers (this will include doors)&lt;br /&gt;
= The basics =&lt;br /&gt;
* If you access the Administration Console through '''SSHv2''' you should access to the different cells as follows:&lt;br /&gt;
 \? [command]...  # display help for shell commands&lt;br /&gt;
 \c cell[@domain] [user]  # connect to cell&lt;br /&gt;
 \exception [trace]  # controls display of stack traces&lt;br /&gt;
 \h [command]...  # display help for cell commands&lt;br /&gt;
 \l [cell[@domain]|pool/poolgroup]...  # list cells&lt;br /&gt;
 \q # quit&lt;br /&gt;
 '''\s (cell[@domain]|pool/poolgroup)[,(cell[@domain]|pool/poolgroup)]... command...  # send command'''&lt;br /&gt;
 \sl pnfsid|path command...  # send to locations&lt;br /&gt;
 \sn command...  # send pnfsmanager command&lt;br /&gt;
 \sp command...  # send poolmanager command&lt;br /&gt;
 \timeout [seconds]  # sets the command timeout&lt;br /&gt;
* With '''\s''' you will be able to access to any '''cell[@domain]'''s, while branches of this command such like '''\sn''' or '''\sp''' are useful to (respectively) direct access to the ''namespace'' or ''poolmanager'' cells without the need of specifying the ''cell[@domain]''.&lt;br /&gt;
&lt;br /&gt;
= Pool commands =&lt;br /&gt;
== Introduction ==&lt;br /&gt;
* Any command run on a pool is a temporary change: on any pool service restart configuration will be restored back to the default value or to the value set in the '''setup''' file (locate in '''/dcpool*/vpool*/setup''').&lt;br /&gt;
:* In example, whenever we set a pool to ''rdonly'', on restart, once the ''initialization'' process finishes, pool will switch back to ''enabled''.&lt;br /&gt;
* If you want to make permanent changes, you should '''save''' changes. Running the '''save''' command will update the already mentioned '''setup''' file.&lt;br /&gt;
:* In example, whenever we set a pool to ''rdonly'' '''and''' we ''save'' the configuration, on a restart, once the ''initialization'' process finishes, pool will remain ''rdonly''.&lt;br /&gt;
&lt;br /&gt;
== Disable / enable pools ==&lt;br /&gt;
=== Command help ===&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? help hsm'''&lt;br /&gt;
 pool disable [options] [&amp;lt;errorCode&amp;gt; [&amp;lt;errorMessage&amp;gt;]] # suspend sending 'up messages'&lt;br /&gt;
      OPTIONS :&lt;br /&gt;
        -fetch    #  disallows fetch (transfer to client)&lt;br /&gt;
        -stage    #  disallows staging (from HSM)&lt;br /&gt;
        -store    #  disallows store (transfer from client)&lt;br /&gt;
        -p2p-client&lt;br /&gt;
        -rdonly   #  := store,stage,p2p-client&lt;br /&gt;
        -strict   #  := disallows everything&lt;br /&gt;
 pool enable # start sending 'up messages' again&lt;br /&gt;
 pool suppress hsmload on|off&lt;br /&gt;
=== Disable / enable pool examples ===&lt;br /&gt;
* Disallow store + stage + p2p-client (set pool in read only mode)&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''pool disable -rdonly'''&lt;br /&gt;
* Enable pool (set pool to RW)&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''pool enable'''&lt;br /&gt;
&lt;br /&gt;
== HSM configuration ==&lt;br /&gt;
=== Command help ===&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? help hsm'''&lt;br /&gt;
 hsm create &amp;lt;type&amp;gt; [&amp;lt;name&amp;gt; [&amp;lt;provider&amp;gt;]] [-&amp;lt;key&amp;gt;=&amp;lt;value&amp;gt;] ...&lt;br /&gt;
 hsm ls [&amp;lt;name&amp;gt;] ...&lt;br /&gt;
 hsm remove &amp;lt;name&amp;gt;&lt;br /&gt;
 hsm set &amp;lt;name&amp;gt; [-&amp;lt;key&amp;gt;=&amp;lt;value&amp;gt;] ...&lt;br /&gt;
 hsm show providers # show available nearline storage providers&lt;br /&gt;
 hsm unset &amp;lt;name&amp;gt; [-&amp;lt;key&amp;gt;] ...&lt;br /&gt;
=== HSM configuration examples ===&lt;br /&gt;
* Create a ''enstore'' HSM with the ''real-encp.sh'' client script (this example can be found in the '''setup''' file):&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''hsm create enstore enstore script -pnfs=/pnfs/fs/usr -command=/opt/enstore/bin/real-encp.sh -c:gets=200 -c:puts=20 -c:removes=2'''&lt;br /&gt;
* Show ''enstore'' configuration:&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''hsm ls enstore'''&lt;br /&gt;
 enstore(enstore):script&lt;br /&gt;
   pnfs                /pnfs/fs/usr&lt;br /&gt;
   command             /opt/enstore/bin/real-encp.sh&lt;br /&gt;
   c:gets              200&lt;br /&gt;
   c:puts              20&lt;br /&gt;
   c:removes           2&lt;br /&gt;
* Set maximum restores to 400:&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''hsm set enstore -c:gets=400'''&lt;br /&gt;
&lt;br /&gt;
== Mover management ==&lt;br /&gt;
=== Command help ===&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? help hsm'''&lt;br /&gt;
 mover kill &amp;lt;jobid&amp;gt;  # terminate a file transfer connection&lt;br /&gt;
 mover ls [-binary [jobId] ]&lt;br /&gt;
 mover queue ls [-l]  # list all mover queues in this pool&lt;br /&gt;
 mover remove [&amp;lt;jobid&amp;gt;]  # #OBSOLETE command&lt;br /&gt;
 mover set max active [OPTIONS] &amp;lt;maxactivemovers&amp;gt;  # set the maximum number of active client transfers&lt;br /&gt;
=== Mover management examples ===&lt;br /&gt;
* Show current '''ftp''' transfers:&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? mover ls -l -queue=ftp'''&lt;br /&gt;
 33743014 : RUNNING : 0000D5B91029797545859181EB738C25E93C IoMode=READ h={SU=0;SA=0;S=None} bytes=12113543168 time/sec=3893 LM=0 si={vo-cms.cms}&lt;br /&gt;
 33743019 : RUNNING : 00008862CFF7A1C74513A617D364A4162DAA IoMode=READ h={SU=0;SA=0;S=None} bytes=10561388544 time/sec=3409 LM=0 si={vo-cms.cms}&lt;br /&gt;
 33743076 : RUNNING : 0000736CFC0DAF494816BFE7CC32D3192900 IoMode=READ h={SU=0;SA=0;S=None} bytes=2034630656 time/sec=2478 LM=0 si={vo-cms.cms}&lt;br /&gt;
 33743086 : RUNNING : 0000C5F1B9D6EEC04DEEA077CA6753E30DE0 IoMode=READ h={SU=0;SA=0;S=None} bytes=488898560 time/sec=1357 LM=1 si={vo-cms.cms}&lt;br /&gt;
 33743103 : RUNNING : 0000BBE684CB4BA44AB5ACB0D13C5DD25C8C IoMode=READ h={SU=0;SA=0;S=None} bytes=135921664 time/sec=239 LM=20 si={vo-cms.cms}&lt;br /&gt;
* Show all mover queue properties:&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? mover queue ls -l'''&lt;br /&gt;
 regular 0 0 0&lt;br /&gt;
 p2p 0 40 0&lt;br /&gt;
 ftp 11 500 0&lt;br /&gt;
 dcap 0 10 0&lt;br /&gt;
 nfs4 0 100 0&lt;br /&gt;
 xrootd 406 1500 0&lt;br /&gt;
 xrootd-wan 0 700 0&lt;br /&gt;
 webdav 0 0 0&lt;br /&gt;
* Set to 400 the maximum active client transfers for the '''ftp''' queue:&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? mover set max active -queue=ftp 400'''&lt;br /&gt;
 Max Active Io Movers set to 400&lt;/div&gt;</summary>
		<author><name>Mcaubet</name></author>
	</entry>
	<entry>
		<id>https://pwiki.pic.es/index.php?title=DCache_Administration_Console_Commands&amp;diff=192</id>
		<title>DCache Administration Console Commands</title>
		<link rel="alternate" type="text/html" href="https://pwiki.pic.es/index.php?title=DCache_Administration_Console_Commands&amp;diff=192"/>
		<updated>2017-07-31T09:28:17Z</updated>

		<summary type="html">&lt;p&gt;Mcaubet: /* Disable / enable pool examples */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= About this document =&lt;br /&gt;
* This document shows several examples of useful commands that can be run in the dCache Administration Console.&lt;br /&gt;
* Administration console can be accessed through '''[[https://www.dcache.org/downloads/gui/ PCells GUI]]''' or through '''SSHv2''' as follows (in the example, '''dccore.pic.es''' is the physical machine running the '''admin''' cell):&lt;br /&gt;
 ssh -2 -x -o StrictHostKeyChecking=no -l admin -c blowfish -p 22224 dccore.pic.es&lt;br /&gt;
* In this document we show what we consider the most important commands for the everyday's administration tasks, and basically the ones that may be useful for the Manager On Duty. Maybe some important commands are missing, but will be added as soon as we detect that these may be important for the MoD.&lt;br /&gt;
* This document is divided in two main blocks:&lt;br /&gt;
# '''Pool commands''': shows useful commands that can be run on pools.&lt;br /&gt;
# '''Service commands''': show useful commands that can be run on servers (this will include doors)&lt;br /&gt;
= The basics =&lt;br /&gt;
* If you access the Administration Console through '''SSHv2''' you should access to the different cells as follows:&lt;br /&gt;
 \? [command]...  # display help for shell commands&lt;br /&gt;
 \c cell[@domain] [user]  # connect to cell&lt;br /&gt;
 \exception [trace]  # controls display of stack traces&lt;br /&gt;
 \h [command]...  # display help for cell commands&lt;br /&gt;
 \l [cell[@domain]|pool/poolgroup]...  # list cells&lt;br /&gt;
 \q # quit&lt;br /&gt;
 '''\s (cell[@domain]|pool/poolgroup)[,(cell[@domain]|pool/poolgroup)]... command...  # send command'''&lt;br /&gt;
 \sl pnfsid|path command...  # send to locations&lt;br /&gt;
 \sn command...  # send pnfsmanager command&lt;br /&gt;
 \sp command...  # send poolmanager command&lt;br /&gt;
 \timeout [seconds]  # sets the command timeout&lt;br /&gt;
* With '''\s''' you will be able to access to any '''cell[@domain]'''s, while branches of this command such like '''\sn''' or '''\sp''' are useful to (respectively) direct access to the ''namespace'' or ''poolmanager'' cells without the need of specifying the ''cell[@domain]''.&lt;br /&gt;
&lt;br /&gt;
= Pool commands =&lt;br /&gt;
== Introduction ==&lt;br /&gt;
* Any command run on a pool is a temporary change: on any pool service restart configuration will be restored back to the default value or to the value set in the '''setup''' file (locate in '''/dcpool*/vpool*/setup''').&lt;br /&gt;
:* In example, whenever we set a pool to ''rdonly'', on restart, once the ''initialization'' process finishes, pool will switch back to ''enabled''.&lt;br /&gt;
* If you want to make permanent changes, you should '''save''' changes. Running the '''save''' command will update the already mentioned '''setup''' file.&lt;br /&gt;
:* In example, whenever we set a pool to ''rdonly'' '''and''' we ''save'' the configuration, on a restart, once the ''initialization'' process finishes, pool will remain ''rdonly''.&lt;br /&gt;
&lt;br /&gt;
== Disable / enable pools ==&lt;br /&gt;
=== Command help ===&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? help hsm'''&lt;br /&gt;
 pool disable [options] [&amp;lt;errorCode&amp;gt; [&amp;lt;errorMessage&amp;gt;]] # suspend sending 'up messages'&lt;br /&gt;
      OPTIONS :&lt;br /&gt;
        -fetch    #  disallows fetch (transfer to client)&lt;br /&gt;
        -stage    #  disallows staging (from HSM)&lt;br /&gt;
        -store    #  disallows store (transfer from client)&lt;br /&gt;
        -p2p-client&lt;br /&gt;
        -rdonly   #  := store,stage,p2p-client&lt;br /&gt;
        -strict   #  := disallows everything&lt;br /&gt;
 pool enable # start sending 'up messages' again&lt;br /&gt;
 pool suppress hsmload on|off&lt;br /&gt;
=== Disable / enable pool examples ===&lt;br /&gt;
* Disallow store + stage + p2p-client (set pool in read only mode)&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''pool disable -rdonly'''&lt;br /&gt;
* Enable pool (set pool to RW)&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''pool enable'''&lt;br /&gt;
&lt;br /&gt;
== HSM configuration ==&lt;br /&gt;
=== Command help ===&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? help hsm'''&lt;br /&gt;
 hsm create &amp;lt;type&amp;gt; [&amp;lt;name&amp;gt; [&amp;lt;provider&amp;gt;]] [-&amp;lt;key&amp;gt;=&amp;lt;value&amp;gt;] ...&lt;br /&gt;
 hsm ls [&amp;lt;name&amp;gt;] ...&lt;br /&gt;
 hsm remove &amp;lt;name&amp;gt;&lt;br /&gt;
 hsm set &amp;lt;name&amp;gt; [-&amp;lt;key&amp;gt;=&amp;lt;value&amp;gt;] ...&lt;br /&gt;
 hsm show providers # show available nearline storage providers&lt;br /&gt;
 hsm unset &amp;lt;name&amp;gt; [-&amp;lt;key&amp;gt;] ...&lt;br /&gt;
=== HSM configuration examples ===&lt;br /&gt;
:* Create a ''enstore'' HSM with the ''real-encp.sh'' client script (this example can be found in the '''setup''' file):&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''hsm create enstore enstore script -pnfs=/pnfs/fs/usr -command=/opt/enstore/bin/real-encp.sh -c:gets=200 -c:puts=20 -c:removes=2'''&lt;br /&gt;
:* Show ''enstore'' configuration:&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''hsm ls enstore'''&lt;br /&gt;
 enstore(enstore):script&lt;br /&gt;
   pnfs                /pnfs/fs/usr&lt;br /&gt;
   command             /opt/enstore/bin/real-encp.sh&lt;br /&gt;
   c:gets              200&lt;br /&gt;
   c:puts              20&lt;br /&gt;
   c:removes           2&lt;br /&gt;
:* Set maximum restores to 400:&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''hsm set enstore -c:gets=400'''&lt;br /&gt;
&lt;br /&gt;
== Mover management ==&lt;br /&gt;
=== Command help ===&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? help hsm'''&lt;br /&gt;
 mover kill &amp;lt;jobid&amp;gt;  # terminate a file transfer connection&lt;br /&gt;
 mover ls [-binary [jobId] ]&lt;br /&gt;
 mover queue ls [-l]  # list all mover queues in this pool&lt;br /&gt;
 mover remove [&amp;lt;jobid&amp;gt;]  # #OBSOLETE command&lt;br /&gt;
 mover set max active [OPTIONS] &amp;lt;maxactivemovers&amp;gt;  # set the maximum number of active client transfers&lt;br /&gt;
=== Mover management examples ===&lt;/div&gt;</summary>
		<author><name>Mcaubet</name></author>
	</entry>
	<entry>
		<id>https://pwiki.pic.es/index.php?title=DCache_Administration_Console_Commands&amp;diff=191</id>
		<title>DCache Administration Console Commands</title>
		<link rel="alternate" type="text/html" href="https://pwiki.pic.es/index.php?title=DCache_Administration_Console_Commands&amp;diff=191"/>
		<updated>2017-07-31T09:27:56Z</updated>

		<summary type="html">&lt;p&gt;Mcaubet: /* Disable / enable pool examples */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= About this document =&lt;br /&gt;
* This document shows several examples of useful commands that can be run in the dCache Administration Console.&lt;br /&gt;
* Administration console can be accessed through '''[[https://www.dcache.org/downloads/gui/ PCells GUI]]''' or through '''SSHv2''' as follows (in the example, '''dccore.pic.es''' is the physical machine running the '''admin''' cell):&lt;br /&gt;
 ssh -2 -x -o StrictHostKeyChecking=no -l admin -c blowfish -p 22224 dccore.pic.es&lt;br /&gt;
* In this document we show what we consider the most important commands for the everyday's administration tasks, and basically the ones that may be useful for the Manager On Duty. Maybe some important commands are missing, but will be added as soon as we detect that these may be important for the MoD.&lt;br /&gt;
* This document is divided in two main blocks:&lt;br /&gt;
# '''Pool commands''': shows useful commands that can be run on pools.&lt;br /&gt;
# '''Service commands''': show useful commands that can be run on servers (this will include doors)&lt;br /&gt;
= The basics =&lt;br /&gt;
* If you access the Administration Console through '''SSHv2''' you should access to the different cells as follows:&lt;br /&gt;
 \? [command]...  # display help for shell commands&lt;br /&gt;
 \c cell[@domain] [user]  # connect to cell&lt;br /&gt;
 \exception [trace]  # controls display of stack traces&lt;br /&gt;
 \h [command]...  # display help for cell commands&lt;br /&gt;
 \l [cell[@domain]|pool/poolgroup]...  # list cells&lt;br /&gt;
 \q # quit&lt;br /&gt;
 '''\s (cell[@domain]|pool/poolgroup)[,(cell[@domain]|pool/poolgroup)]... command...  # send command'''&lt;br /&gt;
 \sl pnfsid|path command...  # send to locations&lt;br /&gt;
 \sn command...  # send pnfsmanager command&lt;br /&gt;
 \sp command...  # send poolmanager command&lt;br /&gt;
 \timeout [seconds]  # sets the command timeout&lt;br /&gt;
* With '''\s''' you will be able to access to any '''cell[@domain]'''s, while branches of this command such like '''\sn''' or '''\sp''' are useful to (respectively) direct access to the ''namespace'' or ''poolmanager'' cells without the need of specifying the ''cell[@domain]''.&lt;br /&gt;
&lt;br /&gt;
= Pool commands =&lt;br /&gt;
== Introduction ==&lt;br /&gt;
* Any command run on a pool is a temporary change: on any pool service restart configuration will be restored back to the default value or to the value set in the '''setup''' file (locate in '''/dcpool*/vpool*/setup''').&lt;br /&gt;
:* In example, whenever we set a pool to ''rdonly'', on restart, once the ''initialization'' process finishes, pool will switch back to ''enabled''.&lt;br /&gt;
* If you want to make permanent changes, you should '''save''' changes. Running the '''save''' command will update the already mentioned '''setup''' file.&lt;br /&gt;
:* In example, whenever we set a pool to ''rdonly'' '''and''' we ''save'' the configuration, on a restart, once the ''initialization'' process finishes, pool will remain ''rdonly''.&lt;br /&gt;
&lt;br /&gt;
== Disable / enable pools ==&lt;br /&gt;
=== Command help ===&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? help hsm'''&lt;br /&gt;
 pool disable [options] [&amp;lt;errorCode&amp;gt; [&amp;lt;errorMessage&amp;gt;]] # suspend sending 'up messages'&lt;br /&gt;
      OPTIONS :&lt;br /&gt;
        -fetch    #  disallows fetch (transfer to client)&lt;br /&gt;
        -stage    #  disallows staging (from HSM)&lt;br /&gt;
        -store    #  disallows store (transfer from client)&lt;br /&gt;
        -p2p-client&lt;br /&gt;
        -rdonly   #  := store,stage,p2p-client&lt;br /&gt;
        -strict   #  := disallows everything&lt;br /&gt;
 pool enable # start sending 'up messages' again&lt;br /&gt;
 pool suppress hsmload on|off&lt;br /&gt;
=== Disable / enable pool examples ===&lt;br /&gt;
====== Disallow store + stage + p2p-client (set pool in read only mode) ======&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''pool disable -rdonly'''&lt;br /&gt;
===== Enable pool (set pool to RW) =====&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''pool enable'''&lt;br /&gt;
&lt;br /&gt;
== HSM configuration ==&lt;br /&gt;
=== Command help ===&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? help hsm'''&lt;br /&gt;
 hsm create &amp;lt;type&amp;gt; [&amp;lt;name&amp;gt; [&amp;lt;provider&amp;gt;]] [-&amp;lt;key&amp;gt;=&amp;lt;value&amp;gt;] ...&lt;br /&gt;
 hsm ls [&amp;lt;name&amp;gt;] ...&lt;br /&gt;
 hsm remove &amp;lt;name&amp;gt;&lt;br /&gt;
 hsm set &amp;lt;name&amp;gt; [-&amp;lt;key&amp;gt;=&amp;lt;value&amp;gt;] ...&lt;br /&gt;
 hsm show providers # show available nearline storage providers&lt;br /&gt;
 hsm unset &amp;lt;name&amp;gt; [-&amp;lt;key&amp;gt;] ...&lt;br /&gt;
=== HSM configuration examples ===&lt;br /&gt;
:* Create a ''enstore'' HSM with the ''real-encp.sh'' client script (this example can be found in the '''setup''' file):&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''hsm create enstore enstore script -pnfs=/pnfs/fs/usr -command=/opt/enstore/bin/real-encp.sh -c:gets=200 -c:puts=20 -c:removes=2'''&lt;br /&gt;
:* Show ''enstore'' configuration:&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''hsm ls enstore'''&lt;br /&gt;
 enstore(enstore):script&lt;br /&gt;
   pnfs                /pnfs/fs/usr&lt;br /&gt;
   command             /opt/enstore/bin/real-encp.sh&lt;br /&gt;
   c:gets              200&lt;br /&gt;
   c:puts              20&lt;br /&gt;
   c:removes           2&lt;br /&gt;
:* Set maximum restores to 400:&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''hsm set enstore -c:gets=400'''&lt;br /&gt;
&lt;br /&gt;
== Mover management ==&lt;br /&gt;
=== Command help ===&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? help hsm'''&lt;br /&gt;
 mover kill &amp;lt;jobid&amp;gt;  # terminate a file transfer connection&lt;br /&gt;
 mover ls [-binary [jobId] ]&lt;br /&gt;
 mover queue ls [-l]  # list all mover queues in this pool&lt;br /&gt;
 mover remove [&amp;lt;jobid&amp;gt;]  # #OBSOLETE command&lt;br /&gt;
 mover set max active [OPTIONS] &amp;lt;maxactivemovers&amp;gt;  # set the maximum number of active client transfers&lt;br /&gt;
=== Mover management examples ===&lt;/div&gt;</summary>
		<author><name>Mcaubet</name></author>
	</entry>
	<entry>
		<id>https://pwiki.pic.es/index.php?title=DCache_Administration_Console_Commands&amp;diff=190</id>
		<title>DCache Administration Console Commands</title>
		<link rel="alternate" type="text/html" href="https://pwiki.pic.es/index.php?title=DCache_Administration_Console_Commands&amp;diff=190"/>
		<updated>2017-07-31T09:27:20Z</updated>

		<summary type="html">&lt;p&gt;Mcaubet: /* Disable / enable pool examples */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= About this document =&lt;br /&gt;
* This document shows several examples of useful commands that can be run in the dCache Administration Console.&lt;br /&gt;
* Administration console can be accessed through '''[[https://www.dcache.org/downloads/gui/ PCells GUI]]''' or through '''SSHv2''' as follows (in the example, '''dccore.pic.es''' is the physical machine running the '''admin''' cell):&lt;br /&gt;
 ssh -2 -x -o StrictHostKeyChecking=no -l admin -c blowfish -p 22224 dccore.pic.es&lt;br /&gt;
* In this document we show what we consider the most important commands for the everyday's administration tasks, and basically the ones that may be useful for the Manager On Duty. Maybe some important commands are missing, but will be added as soon as we detect that these may be important for the MoD.&lt;br /&gt;
* This document is divided in two main blocks:&lt;br /&gt;
# '''Pool commands''': shows useful commands that can be run on pools.&lt;br /&gt;
# '''Service commands''': show useful commands that can be run on servers (this will include doors)&lt;br /&gt;
= The basics =&lt;br /&gt;
* If you access the Administration Console through '''SSHv2''' you should access to the different cells as follows:&lt;br /&gt;
 \? [command]...  # display help for shell commands&lt;br /&gt;
 \c cell[@domain] [user]  # connect to cell&lt;br /&gt;
 \exception [trace]  # controls display of stack traces&lt;br /&gt;
 \h [command]...  # display help for cell commands&lt;br /&gt;
 \l [cell[@domain]|pool/poolgroup]...  # list cells&lt;br /&gt;
 \q # quit&lt;br /&gt;
 '''\s (cell[@domain]|pool/poolgroup)[,(cell[@domain]|pool/poolgroup)]... command...  # send command'''&lt;br /&gt;
 \sl pnfsid|path command...  # send to locations&lt;br /&gt;
 \sn command...  # send pnfsmanager command&lt;br /&gt;
 \sp command...  # send poolmanager command&lt;br /&gt;
 \timeout [seconds]  # sets the command timeout&lt;br /&gt;
* With '''\s''' you will be able to access to any '''cell[@domain]'''s, while branches of this command such like '''\sn''' or '''\sp''' are useful to (respectively) direct access to the ''namespace'' or ''poolmanager'' cells without the need of specifying the ''cell[@domain]''.&lt;br /&gt;
&lt;br /&gt;
= Pool commands =&lt;br /&gt;
== Introduction ==&lt;br /&gt;
* Any command run on a pool is a temporary change: on any pool service restart configuration will be restored back to the default value or to the value set in the '''setup''' file (locate in '''/dcpool*/vpool*/setup''').&lt;br /&gt;
:* In example, whenever we set a pool to ''rdonly'', on restart, once the ''initialization'' process finishes, pool will switch back to ''enabled''.&lt;br /&gt;
* If you want to make permanent changes, you should '''save''' changes. Running the '''save''' command will update the already mentioned '''setup''' file.&lt;br /&gt;
:* In example, whenever we set a pool to ''rdonly'' '''and''' we ''save'' the configuration, on a restart, once the ''initialization'' process finishes, pool will remain ''rdonly''.&lt;br /&gt;
&lt;br /&gt;
== Disable / enable pools ==&lt;br /&gt;
=== Command help ===&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? help hsm'''&lt;br /&gt;
 pool disable [options] [&amp;lt;errorCode&amp;gt; [&amp;lt;errorMessage&amp;gt;]] # suspend sending 'up messages'&lt;br /&gt;
      OPTIONS :&lt;br /&gt;
        -fetch    #  disallows fetch (transfer to client)&lt;br /&gt;
        -stage    #  disallows staging (from HSM)&lt;br /&gt;
        -store    #  disallows store (transfer from client)&lt;br /&gt;
        -p2p-client&lt;br /&gt;
        -rdonly   #  := store,stage,p2p-client&lt;br /&gt;
        -strict   #  := disallows everything&lt;br /&gt;
 pool enable # start sending 'up messages' again&lt;br /&gt;
 pool suppress hsmload on|off&lt;br /&gt;
=== Disable / enable pool examples ===&lt;br /&gt;
===== Disallow store + stage + p2p-client (set pool in read only mode) =====&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''pool disable -rdonly'''&lt;br /&gt;
===== Enable pool (set pool to RW) =====&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''pool enable'''&lt;br /&gt;
&lt;br /&gt;
== HSM configuration ==&lt;br /&gt;
=== Command help ===&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? help hsm'''&lt;br /&gt;
 hsm create &amp;lt;type&amp;gt; [&amp;lt;name&amp;gt; [&amp;lt;provider&amp;gt;]] [-&amp;lt;key&amp;gt;=&amp;lt;value&amp;gt;] ...&lt;br /&gt;
 hsm ls [&amp;lt;name&amp;gt;] ...&lt;br /&gt;
 hsm remove &amp;lt;name&amp;gt;&lt;br /&gt;
 hsm set &amp;lt;name&amp;gt; [-&amp;lt;key&amp;gt;=&amp;lt;value&amp;gt;] ...&lt;br /&gt;
 hsm show providers # show available nearline storage providers&lt;br /&gt;
 hsm unset &amp;lt;name&amp;gt; [-&amp;lt;key&amp;gt;] ...&lt;br /&gt;
=== HSM configuration examples ===&lt;br /&gt;
:* Create a ''enstore'' HSM with the ''real-encp.sh'' client script (this example can be found in the '''setup''' file):&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''hsm create enstore enstore script -pnfs=/pnfs/fs/usr -command=/opt/enstore/bin/real-encp.sh -c:gets=200 -c:puts=20 -c:removes=2'''&lt;br /&gt;
:* Show ''enstore'' configuration:&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''hsm ls enstore'''&lt;br /&gt;
 enstore(enstore):script&lt;br /&gt;
   pnfs                /pnfs/fs/usr&lt;br /&gt;
   command             /opt/enstore/bin/real-encp.sh&lt;br /&gt;
   c:gets              200&lt;br /&gt;
   c:puts              20&lt;br /&gt;
   c:removes           2&lt;br /&gt;
:* Set maximum restores to 400:&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''hsm set enstore -c:gets=400'''&lt;br /&gt;
&lt;br /&gt;
== Mover management ==&lt;br /&gt;
=== Command help ===&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? help hsm'''&lt;br /&gt;
 mover kill &amp;lt;jobid&amp;gt;  # terminate a file transfer connection&lt;br /&gt;
 mover ls [-binary [jobId] ]&lt;br /&gt;
 mover queue ls [-l]  # list all mover queues in this pool&lt;br /&gt;
 mover remove [&amp;lt;jobid&amp;gt;]  # #OBSOLETE command&lt;br /&gt;
 mover set max active [OPTIONS] &amp;lt;maxactivemovers&amp;gt;  # set the maximum number of active client transfers&lt;br /&gt;
=== Mover management examples ===&lt;/div&gt;</summary>
		<author><name>Mcaubet</name></author>
	</entry>
	<entry>
		<id>https://pwiki.pic.es/index.php?title=DCache_Administration_Console_Commands&amp;diff=189</id>
		<title>DCache Administration Console Commands</title>
		<link rel="alternate" type="text/html" href="https://pwiki.pic.es/index.php?title=DCache_Administration_Console_Commands&amp;diff=189"/>
		<updated>2017-07-31T09:26:51Z</updated>

		<summary type="html">&lt;p&gt;Mcaubet: /* Mover management */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= About this document =&lt;br /&gt;
* This document shows several examples of useful commands that can be run in the dCache Administration Console.&lt;br /&gt;
* Administration console can be accessed through '''[[https://www.dcache.org/downloads/gui/ PCells GUI]]''' or through '''SSHv2''' as follows (in the example, '''dccore.pic.es''' is the physical machine running the '''admin''' cell):&lt;br /&gt;
 ssh -2 -x -o StrictHostKeyChecking=no -l admin -c blowfish -p 22224 dccore.pic.es&lt;br /&gt;
* In this document we show what we consider the most important commands for the everyday's administration tasks, and basically the ones that may be useful for the Manager On Duty. Maybe some important commands are missing, but will be added as soon as we detect that these may be important for the MoD.&lt;br /&gt;
* This document is divided in two main blocks:&lt;br /&gt;
# '''Pool commands''': shows useful commands that can be run on pools.&lt;br /&gt;
# '''Service commands''': show useful commands that can be run on servers (this will include doors)&lt;br /&gt;
= The basics =&lt;br /&gt;
* If you access the Administration Console through '''SSHv2''' you should access to the different cells as follows:&lt;br /&gt;
 \? [command]...  # display help for shell commands&lt;br /&gt;
 \c cell[@domain] [user]  # connect to cell&lt;br /&gt;
 \exception [trace]  # controls display of stack traces&lt;br /&gt;
 \h [command]...  # display help for cell commands&lt;br /&gt;
 \l [cell[@domain]|pool/poolgroup]...  # list cells&lt;br /&gt;
 \q # quit&lt;br /&gt;
 '''\s (cell[@domain]|pool/poolgroup)[,(cell[@domain]|pool/poolgroup)]... command...  # send command'''&lt;br /&gt;
 \sl pnfsid|path command...  # send to locations&lt;br /&gt;
 \sn command...  # send pnfsmanager command&lt;br /&gt;
 \sp command...  # send poolmanager command&lt;br /&gt;
 \timeout [seconds]  # sets the command timeout&lt;br /&gt;
* With '''\s''' you will be able to access to any '''cell[@domain]'''s, while branches of this command such like '''\sn''' or '''\sp''' are useful to (respectively) direct access to the ''namespace'' or ''poolmanager'' cells without the need of specifying the ''cell[@domain]''.&lt;br /&gt;
&lt;br /&gt;
= Pool commands =&lt;br /&gt;
== Introduction ==&lt;br /&gt;
* Any command run on a pool is a temporary change: on any pool service restart configuration will be restored back to the default value or to the value set in the '''setup''' file (locate in '''/dcpool*/vpool*/setup''').&lt;br /&gt;
:* In example, whenever we set a pool to ''rdonly'', on restart, once the ''initialization'' process finishes, pool will switch back to ''enabled''.&lt;br /&gt;
* If you want to make permanent changes, you should '''save''' changes. Running the '''save''' command will update the already mentioned '''setup''' file.&lt;br /&gt;
:* In example, whenever we set a pool to ''rdonly'' '''and''' we ''save'' the configuration, on a restart, once the ''initialization'' process finishes, pool will remain ''rdonly''.&lt;br /&gt;
&lt;br /&gt;
== Disable / enable pools ==&lt;br /&gt;
=== Command help ===&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? help hsm'''&lt;br /&gt;
 pool disable [options] [&amp;lt;errorCode&amp;gt; [&amp;lt;errorMessage&amp;gt;]] # suspend sending 'up messages'&lt;br /&gt;
      OPTIONS :&lt;br /&gt;
        -fetch    #  disallows fetch (transfer to client)&lt;br /&gt;
        -stage    #  disallows staging (from HSM)&lt;br /&gt;
        -store    #  disallows store (transfer from client)&lt;br /&gt;
        -p2p-client&lt;br /&gt;
        -rdonly   #  := store,stage,p2p-client&lt;br /&gt;
        -strict   #  := disallows everything&lt;br /&gt;
 pool enable # start sending 'up messages' again&lt;br /&gt;
 pool suppress hsmload on|off&lt;br /&gt;
=== Disable / enable pool examples ===&lt;br /&gt;
:* Disallow store + stage + p2p-client (set pool in read only mode)&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''pool disable -rdonly'''&lt;br /&gt;
:* Enable pool (set pool to RW)&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''pool enable'''&lt;br /&gt;
&lt;br /&gt;
== HSM configuration ==&lt;br /&gt;
=== Command help ===&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? help hsm'''&lt;br /&gt;
 hsm create &amp;lt;type&amp;gt; [&amp;lt;name&amp;gt; [&amp;lt;provider&amp;gt;]] [-&amp;lt;key&amp;gt;=&amp;lt;value&amp;gt;] ...&lt;br /&gt;
 hsm ls [&amp;lt;name&amp;gt;] ...&lt;br /&gt;
 hsm remove &amp;lt;name&amp;gt;&lt;br /&gt;
 hsm set &amp;lt;name&amp;gt; [-&amp;lt;key&amp;gt;=&amp;lt;value&amp;gt;] ...&lt;br /&gt;
 hsm show providers # show available nearline storage providers&lt;br /&gt;
 hsm unset &amp;lt;name&amp;gt; [-&amp;lt;key&amp;gt;] ...&lt;br /&gt;
=== HSM configuration examples ===&lt;br /&gt;
:* Create a ''enstore'' HSM with the ''real-encp.sh'' client script (this example can be found in the '''setup''' file):&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''hsm create enstore enstore script -pnfs=/pnfs/fs/usr -command=/opt/enstore/bin/real-encp.sh -c:gets=200 -c:puts=20 -c:removes=2'''&lt;br /&gt;
:* Show ''enstore'' configuration:&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''hsm ls enstore'''&lt;br /&gt;
 enstore(enstore):script&lt;br /&gt;
   pnfs                /pnfs/fs/usr&lt;br /&gt;
   command             /opt/enstore/bin/real-encp.sh&lt;br /&gt;
   c:gets              200&lt;br /&gt;
   c:puts              20&lt;br /&gt;
   c:removes           2&lt;br /&gt;
:* Set maximum restores to 400:&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''hsm set enstore -c:gets=400'''&lt;br /&gt;
&lt;br /&gt;
== Mover management ==&lt;br /&gt;
=== Command help ===&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? help hsm'''&lt;br /&gt;
 mover kill &amp;lt;jobid&amp;gt;  # terminate a file transfer connection&lt;br /&gt;
 mover ls [-binary [jobId] ]&lt;br /&gt;
 mover queue ls [-l]  # list all mover queues in this pool&lt;br /&gt;
 mover remove [&amp;lt;jobid&amp;gt;]  # #OBSOLETE command&lt;br /&gt;
 mover set max active [OPTIONS] &amp;lt;maxactivemovers&amp;gt;  # set the maximum number of active client transfers&lt;br /&gt;
=== Mover management examples ===&lt;/div&gt;</summary>
		<author><name>Mcaubet</name></author>
	</entry>
	<entry>
		<id>https://pwiki.pic.es/index.php?title=DCache_Administration_Console_Commands&amp;diff=188</id>
		<title>DCache Administration Console Commands</title>
		<link rel="alternate" type="text/html" href="https://pwiki.pic.es/index.php?title=DCache_Administration_Console_Commands&amp;diff=188"/>
		<updated>2017-07-31T09:21:03Z</updated>

		<summary type="html">&lt;p&gt;Mcaubet: /* Disable / enable pools */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= About this document =&lt;br /&gt;
* This document shows several examples of useful commands that can be run in the dCache Administration Console.&lt;br /&gt;
* Administration console can be accessed through '''[[https://www.dcache.org/downloads/gui/ PCells GUI]]''' or through '''SSHv2''' as follows (in the example, '''dccore.pic.es''' is the physical machine running the '''admin''' cell):&lt;br /&gt;
 ssh -2 -x -o StrictHostKeyChecking=no -l admin -c blowfish -p 22224 dccore.pic.es&lt;br /&gt;
* In this document we show what we consider the most important commands for the everyday's administration tasks, and basically the ones that may be useful for the Manager On Duty. Maybe some important commands are missing, but will be added as soon as we detect that these may be important for the MoD.&lt;br /&gt;
* This document is divided in two main blocks:&lt;br /&gt;
# '''Pool commands''': shows useful commands that can be run on pools.&lt;br /&gt;
# '''Service commands''': show useful commands that can be run on servers (this will include doors)&lt;br /&gt;
= The basics =&lt;br /&gt;
* If you access the Administration Console through '''SSHv2''' you should access to the different cells as follows:&lt;br /&gt;
 \? [command]...  # display help for shell commands&lt;br /&gt;
 \c cell[@domain] [user]  # connect to cell&lt;br /&gt;
 \exception [trace]  # controls display of stack traces&lt;br /&gt;
 \h [command]...  # display help for cell commands&lt;br /&gt;
 \l [cell[@domain]|pool/poolgroup]...  # list cells&lt;br /&gt;
 \q # quit&lt;br /&gt;
 '''\s (cell[@domain]|pool/poolgroup)[,(cell[@domain]|pool/poolgroup)]... command...  # send command'''&lt;br /&gt;
 \sl pnfsid|path command...  # send to locations&lt;br /&gt;
 \sn command...  # send pnfsmanager command&lt;br /&gt;
 \sp command...  # send poolmanager command&lt;br /&gt;
 \timeout [seconds]  # sets the command timeout&lt;br /&gt;
* With '''\s''' you will be able to access to any '''cell[@domain]'''s, while branches of this command such like '''\sn''' or '''\sp''' are useful to (respectively) direct access to the ''namespace'' or ''poolmanager'' cells without the need of specifying the ''cell[@domain]''.&lt;br /&gt;
&lt;br /&gt;
= Pool commands =&lt;br /&gt;
== Introduction ==&lt;br /&gt;
* Any command run on a pool is a temporary change: on any pool service restart configuration will be restored back to the default value or to the value set in the '''setup''' file (locate in '''/dcpool*/vpool*/setup''').&lt;br /&gt;
:* In example, whenever we set a pool to ''rdonly'', on restart, once the ''initialization'' process finishes, pool will switch back to ''enabled''.&lt;br /&gt;
* If you want to make permanent changes, you should '''save''' changes. Running the '''save''' command will update the already mentioned '''setup''' file.&lt;br /&gt;
:* In example, whenever we set a pool to ''rdonly'' '''and''' we ''save'' the configuration, on a restart, once the ''initialization'' process finishes, pool will remain ''rdonly''.&lt;br /&gt;
&lt;br /&gt;
== Disable / enable pools ==&lt;br /&gt;
=== Command help ===&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? help hsm'''&lt;br /&gt;
 pool disable [options] [&amp;lt;errorCode&amp;gt; [&amp;lt;errorMessage&amp;gt;]] # suspend sending 'up messages'&lt;br /&gt;
      OPTIONS :&lt;br /&gt;
        -fetch    #  disallows fetch (transfer to client)&lt;br /&gt;
        -stage    #  disallows staging (from HSM)&lt;br /&gt;
        -store    #  disallows store (transfer from client)&lt;br /&gt;
        -p2p-client&lt;br /&gt;
        -rdonly   #  := store,stage,p2p-client&lt;br /&gt;
        -strict   #  := disallows everything&lt;br /&gt;
 pool enable # start sending 'up messages' again&lt;br /&gt;
 pool suppress hsmload on|off&lt;br /&gt;
=== Disable / enable pool examples ===&lt;br /&gt;
:* Disallow store + stage + p2p-client (set pool in read only mode)&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''pool disable -rdonly'''&lt;br /&gt;
:* Enable pool (set pool to RW)&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''pool enable'''&lt;br /&gt;
&lt;br /&gt;
== HSM configuration ==&lt;br /&gt;
=== Command help ===&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? help hsm'''&lt;br /&gt;
 hsm create &amp;lt;type&amp;gt; [&amp;lt;name&amp;gt; [&amp;lt;provider&amp;gt;]] [-&amp;lt;key&amp;gt;=&amp;lt;value&amp;gt;] ...&lt;br /&gt;
 hsm ls [&amp;lt;name&amp;gt;] ...&lt;br /&gt;
 hsm remove &amp;lt;name&amp;gt;&lt;br /&gt;
 hsm set &amp;lt;name&amp;gt; [-&amp;lt;key&amp;gt;=&amp;lt;value&amp;gt;] ...&lt;br /&gt;
 hsm show providers # show available nearline storage providers&lt;br /&gt;
 hsm unset &amp;lt;name&amp;gt; [-&amp;lt;key&amp;gt;] ...&lt;br /&gt;
=== HSM configuration examples ===&lt;br /&gt;
:* Create a ''enstore'' HSM with the ''real-encp.sh'' client script (this example can be found in the '''setup''' file):&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''hsm create enstore enstore script -pnfs=/pnfs/fs/usr -command=/opt/enstore/bin/real-encp.sh -c:gets=200 -c:puts=20 -c:removes=2'''&lt;br /&gt;
:* Show ''enstore'' configuration:&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''hsm ls enstore'''&lt;br /&gt;
 enstore(enstore):script&lt;br /&gt;
   pnfs                /pnfs/fs/usr&lt;br /&gt;
   command             /opt/enstore/bin/real-encp.sh&lt;br /&gt;
   c:gets              200&lt;br /&gt;
   c:puts              20&lt;br /&gt;
   c:removes           2&lt;br /&gt;
:* Set maximum restores to 400:&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''hsm set enstore -c:gets=400'''&lt;br /&gt;
&lt;br /&gt;
== Mover management ==&lt;br /&gt;
=== Command help ===&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? help hsm'''&lt;br /&gt;
 mover kill &amp;lt;jobid&amp;gt;  # terminate a file transfer connection&lt;br /&gt;
 mover ls [-binary [jobId] ]&lt;br /&gt;
 mover queue ls [-l]  # list all mover queues in this pool&lt;br /&gt;
 mover remove [&amp;lt;jobid&amp;gt;]  # #OBSOLETE command&lt;br /&gt;
 mover set max active [OPTIONS] &amp;lt;maxactivemovers&amp;gt;  # set the maximum number of active client transfers&lt;/div&gt;</summary>
		<author><name>Mcaubet</name></author>
	</entry>
	<entry>
		<id>https://pwiki.pic.es/index.php?title=DCache_Administration_Console_Commands&amp;diff=187</id>
		<title>DCache Administration Console Commands</title>
		<link rel="alternate" type="text/html" href="https://pwiki.pic.es/index.php?title=DCache_Administration_Console_Commands&amp;diff=187"/>
		<updated>2017-07-31T09:20:51Z</updated>

		<summary type="html">&lt;p&gt;Mcaubet: /* HSM configuration */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= About this document =&lt;br /&gt;
* This document shows several examples of useful commands that can be run in the dCache Administration Console.&lt;br /&gt;
* Administration console can be accessed through '''[[https://www.dcache.org/downloads/gui/ PCells GUI]]''' or through '''SSHv2''' as follows (in the example, '''dccore.pic.es''' is the physical machine running the '''admin''' cell):&lt;br /&gt;
 ssh -2 -x -o StrictHostKeyChecking=no -l admin -c blowfish -p 22224 dccore.pic.es&lt;br /&gt;
* In this document we show what we consider the most important commands for the everyday's administration tasks, and basically the ones that may be useful for the Manager On Duty. Maybe some important commands are missing, but will be added as soon as we detect that these may be important for the MoD.&lt;br /&gt;
* This document is divided in two main blocks:&lt;br /&gt;
# '''Pool commands''': shows useful commands that can be run on pools.&lt;br /&gt;
# '''Service commands''': show useful commands that can be run on servers (this will include doors)&lt;br /&gt;
= The basics =&lt;br /&gt;
* If you access the Administration Console through '''SSHv2''' you should access to the different cells as follows:&lt;br /&gt;
 \? [command]...  # display help for shell commands&lt;br /&gt;
 \c cell[@domain] [user]  # connect to cell&lt;br /&gt;
 \exception [trace]  # controls display of stack traces&lt;br /&gt;
 \h [command]...  # display help for cell commands&lt;br /&gt;
 \l [cell[@domain]|pool/poolgroup]...  # list cells&lt;br /&gt;
 \q # quit&lt;br /&gt;
 '''\s (cell[@domain]|pool/poolgroup)[,(cell[@domain]|pool/poolgroup)]... command...  # send command'''&lt;br /&gt;
 \sl pnfsid|path command...  # send to locations&lt;br /&gt;
 \sn command...  # send pnfsmanager command&lt;br /&gt;
 \sp command...  # send poolmanager command&lt;br /&gt;
 \timeout [seconds]  # sets the command timeout&lt;br /&gt;
* With '''\s''' you will be able to access to any '''cell[@domain]'''s, while branches of this command such like '''\sn''' or '''\sp''' are useful to (respectively) direct access to the ''namespace'' or ''poolmanager'' cells without the need of specifying the ''cell[@domain]''.&lt;br /&gt;
&lt;br /&gt;
= Pool commands =&lt;br /&gt;
== Introduction ==&lt;br /&gt;
* Any command run on a pool is a temporary change: on any pool service restart configuration will be restored back to the default value or to the value set in the '''setup''' file (locate in '''/dcpool*/vpool*/setup''').&lt;br /&gt;
:* In example, whenever we set a pool to ''rdonly'', on restart, once the ''initialization'' process finishes, pool will switch back to ''enabled''.&lt;br /&gt;
* If you want to make permanent changes, you should '''save''' changes. Running the '''save''' command will update the already mentioned '''setup''' file.&lt;br /&gt;
:* In example, whenever we set a pool to ''rdonly'' '''and''' we ''save'' the configuration, on a restart, once the ''initialization'' process finishes, pool will remain ''rdonly''.&lt;br /&gt;
&lt;br /&gt;
== Disable / enable pools ==&lt;br /&gt;
* Command help ('''\s dc???_? help hsm'''):&lt;br /&gt;
 pool disable [options] [&amp;lt;errorCode&amp;gt; [&amp;lt;errorMessage&amp;gt;]] # suspend sending 'up messages'&lt;br /&gt;
      OPTIONS :&lt;br /&gt;
        -fetch    #  disallows fetch (transfer to client)&lt;br /&gt;
        -stage    #  disallows staging (from HSM)&lt;br /&gt;
        -store    #  disallows store (transfer from client)&lt;br /&gt;
        -p2p-client&lt;br /&gt;
        -rdonly   #  := store,stage,p2p-client&lt;br /&gt;
        -strict   #  := disallows everything&lt;br /&gt;
 pool enable # start sending 'up messages' again&lt;br /&gt;
 pool suppress hsmload on|off&lt;br /&gt;
=== Disable / enable pool examples ===&lt;br /&gt;
:* Disallow store + stage + p2p-client (set pool in read only mode)&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''pool disable -rdonly'''&lt;br /&gt;
:* Enable pool (set pool to RW)&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''pool enable'''&lt;br /&gt;
&lt;br /&gt;
== HSM configuration ==&lt;br /&gt;
=== Command help ===&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? help hsm'''&lt;br /&gt;
 hsm create &amp;lt;type&amp;gt; [&amp;lt;name&amp;gt; [&amp;lt;provider&amp;gt;]] [-&amp;lt;key&amp;gt;=&amp;lt;value&amp;gt;] ...&lt;br /&gt;
 hsm ls [&amp;lt;name&amp;gt;] ...&lt;br /&gt;
 hsm remove &amp;lt;name&amp;gt;&lt;br /&gt;
 hsm set &amp;lt;name&amp;gt; [-&amp;lt;key&amp;gt;=&amp;lt;value&amp;gt;] ...&lt;br /&gt;
 hsm show providers # show available nearline storage providers&lt;br /&gt;
 hsm unset &amp;lt;name&amp;gt; [-&amp;lt;key&amp;gt;] ...&lt;br /&gt;
=== HSM configuration examples ===&lt;br /&gt;
:* Create a ''enstore'' HSM with the ''real-encp.sh'' client script (this example can be found in the '''setup''' file):&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''hsm create enstore enstore script -pnfs=/pnfs/fs/usr -command=/opt/enstore/bin/real-encp.sh -c:gets=200 -c:puts=20 -c:removes=2'''&lt;br /&gt;
:* Show ''enstore'' configuration:&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''hsm ls enstore'''&lt;br /&gt;
 enstore(enstore):script&lt;br /&gt;
   pnfs                /pnfs/fs/usr&lt;br /&gt;
   command             /opt/enstore/bin/real-encp.sh&lt;br /&gt;
   c:gets              200&lt;br /&gt;
   c:puts              20&lt;br /&gt;
   c:removes           2&lt;br /&gt;
:* Set maximum restores to 400:&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''hsm set enstore -c:gets=400'''&lt;br /&gt;
&lt;br /&gt;
== Mover management ==&lt;br /&gt;
=== Command help ===&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''\s dc???_? help hsm'''&lt;br /&gt;
 mover kill &amp;lt;jobid&amp;gt;  # terminate a file transfer connection&lt;br /&gt;
 mover ls [-binary [jobId] ]&lt;br /&gt;
 mover queue ls [-l]  # list all mover queues in this pool&lt;br /&gt;
 mover remove [&amp;lt;jobid&amp;gt;]  # #OBSOLETE command&lt;br /&gt;
 mover set max active [OPTIONS] &amp;lt;maxactivemovers&amp;gt;  # set the maximum number of active client transfers&lt;/div&gt;</summary>
		<author><name>Mcaubet</name></author>
	</entry>
	<entry>
		<id>https://pwiki.pic.es/index.php?title=DCache_Administration_Console_Commands&amp;diff=186</id>
		<title>DCache Administration Console Commands</title>
		<link rel="alternate" type="text/html" href="https://pwiki.pic.es/index.php?title=DCache_Administration_Console_Commands&amp;diff=186"/>
		<updated>2017-07-31T09:16:24Z</updated>

		<summary type="html">&lt;p&gt;Mcaubet: /* The basics */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= About this document =&lt;br /&gt;
* This document shows several examples of useful commands that can be run in the dCache Administration Console.&lt;br /&gt;
* Administration console can be accessed through '''[[https://www.dcache.org/downloads/gui/ PCells GUI]]''' or through '''SSHv2''' as follows (in the example, '''dccore.pic.es''' is the physical machine running the '''admin''' cell):&lt;br /&gt;
 ssh -2 -x -o StrictHostKeyChecking=no -l admin -c blowfish -p 22224 dccore.pic.es&lt;br /&gt;
* In this document we show what we consider the most important commands for the everyday's administration tasks, and basically the ones that may be useful for the Manager On Duty. Maybe some important commands are missing, but will be added as soon as we detect that these may be important for the MoD.&lt;br /&gt;
* This document is divided in two main blocks:&lt;br /&gt;
# '''Pool commands''': shows useful commands that can be run on pools.&lt;br /&gt;
# '''Service commands''': show useful commands that can be run on servers (this will include doors)&lt;br /&gt;
= The basics =&lt;br /&gt;
* If you access the Administration Console through '''SSHv2''' you should access to the different cells as follows:&lt;br /&gt;
 \? [command]...  # display help for shell commands&lt;br /&gt;
 \c cell[@domain] [user]  # connect to cell&lt;br /&gt;
 \exception [trace]  # controls display of stack traces&lt;br /&gt;
 \h [command]...  # display help for cell commands&lt;br /&gt;
 \l [cell[@domain]|pool/poolgroup]...  # list cells&lt;br /&gt;
 \q # quit&lt;br /&gt;
 '''\s (cell[@domain]|pool/poolgroup)[,(cell[@domain]|pool/poolgroup)]... command...  # send command'''&lt;br /&gt;
 \sl pnfsid|path command...  # send to locations&lt;br /&gt;
 \sn command...  # send pnfsmanager command&lt;br /&gt;
 \sp command...  # send poolmanager command&lt;br /&gt;
 \timeout [seconds]  # sets the command timeout&lt;br /&gt;
* With '''\s''' you will be able to access to any '''cell[@domain]'''s, while branches of this command such like '''\sn''' or '''\sp''' are useful to (respectively) direct access to the ''namespace'' or ''poolmanager'' cells without the need of specifying the ''cell[@domain]''.&lt;br /&gt;
&lt;br /&gt;
= Pool commands =&lt;br /&gt;
== Introduction ==&lt;br /&gt;
* Any command run on a pool is a temporary change: on any pool service restart configuration will be restored back to the default value or to the value set in the '''setup''' file (locate in '''/dcpool*/vpool*/setup''').&lt;br /&gt;
:* In example, whenever we set a pool to ''rdonly'', on restart, once the ''initialization'' process finishes, pool will switch back to ''enabled''.&lt;br /&gt;
* If you want to make permanent changes, you should '''save''' changes. Running the '''save''' command will update the already mentioned '''setup''' file.&lt;br /&gt;
:* In example, whenever we set a pool to ''rdonly'' '''and''' we ''save'' the configuration, on a restart, once the ''initialization'' process finishes, pool will remain ''rdonly''.&lt;br /&gt;
&lt;br /&gt;
== Disable / enable pools ==&lt;br /&gt;
* Command help ('''\s dc???_? help hsm'''):&lt;br /&gt;
 pool disable [options] [&amp;lt;errorCode&amp;gt; [&amp;lt;errorMessage&amp;gt;]] # suspend sending 'up messages'&lt;br /&gt;
      OPTIONS :&lt;br /&gt;
        -fetch    #  disallows fetch (transfer to client)&lt;br /&gt;
        -stage    #  disallows staging (from HSM)&lt;br /&gt;
        -store    #  disallows store (transfer from client)&lt;br /&gt;
        -p2p-client&lt;br /&gt;
        -rdonly   #  := store,stage,p2p-client&lt;br /&gt;
        -strict   #  := disallows everything&lt;br /&gt;
 pool enable # start sending 'up messages' again&lt;br /&gt;
 pool suppress hsmload on|off&lt;br /&gt;
=== Disable / enable pool examples ===&lt;br /&gt;
:* Disallow store + stage + p2p-client (set pool in read only mode)&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''pool disable -rdonly'''&lt;br /&gt;
:* Enable pool (set pool to RW)&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''pool enable'''&lt;br /&gt;
&lt;br /&gt;
== HSM configuration ==&lt;br /&gt;
* Command help ('''\s dc???_? help hsm'''):&lt;br /&gt;
 hsm create &amp;lt;type&amp;gt; [&amp;lt;name&amp;gt; [&amp;lt;provider&amp;gt;]] [-&amp;lt;key&amp;gt;=&amp;lt;value&amp;gt;] ...&lt;br /&gt;
 hsm ls [&amp;lt;name&amp;gt;] ...&lt;br /&gt;
 hsm remove &amp;lt;name&amp;gt;&lt;br /&gt;
 hsm set &amp;lt;name&amp;gt; [-&amp;lt;key&amp;gt;=&amp;lt;value&amp;gt;] ...&lt;br /&gt;
 hsm show providers # show available nearline storage providers&lt;br /&gt;
 hsm unset &amp;lt;name&amp;gt; [-&amp;lt;key&amp;gt;] ...&lt;br /&gt;
=== HSM configuration examples ===&lt;br /&gt;
:* Create a ''enstore'' HSM with the ''real-encp.sh'' client script (this example can be found in the '''setup''' file):&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''hsm create enstore enstore script -pnfs=/pnfs/fs/usr -command=/opt/enstore/bin/real-encp.sh -c:gets=200 -c:puts=20 -c:removes=2'''&lt;br /&gt;
:* Show ''enstore'' configuration:&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''hsm ls enstore'''&lt;br /&gt;
 enstore(enstore):script&lt;br /&gt;
   pnfs                /pnfs/fs/usr&lt;br /&gt;
   command             /opt/enstore/bin/real-encp.sh&lt;br /&gt;
   c:gets              200&lt;br /&gt;
   c:puts              20&lt;br /&gt;
   c:removes           2&lt;br /&gt;
:* Set maximum restores to 400:&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''hsm set enstore -c:gets=400'''&lt;/div&gt;</summary>
		<author><name>Mcaubet</name></author>
	</entry>
	<entry>
		<id>https://pwiki.pic.es/index.php?title=DCache_Administration_Console_Commands&amp;diff=185</id>
		<title>DCache Administration Console Commands</title>
		<link rel="alternate" type="text/html" href="https://pwiki.pic.es/index.php?title=DCache_Administration_Console_Commands&amp;diff=185"/>
		<updated>2017-07-31T09:15:40Z</updated>

		<summary type="html">&lt;p&gt;Mcaubet: /* The basics */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= About this document =&lt;br /&gt;
* This document shows several examples of useful commands that can be run in the dCache Administration Console.&lt;br /&gt;
* Administration console can be accessed through '''[[https://www.dcache.org/downloads/gui/ PCells GUI]]''' or through '''SSHv2''' as follows (in the example, '''dccore.pic.es''' is the physical machine running the '''admin''' cell):&lt;br /&gt;
 ssh -2 -x -o StrictHostKeyChecking=no -l admin -c blowfish -p 22224 dccore.pic.es&lt;br /&gt;
* In this document we show what we consider the most important commands for the everyday's administration tasks, and basically the ones that may be useful for the Manager On Duty. Maybe some important commands are missing, but will be added as soon as we detect that these may be important for the MoD.&lt;br /&gt;
* This document is divided in two main blocks:&lt;br /&gt;
# '''Pool commands''': shows useful commands that can be run on pools.&lt;br /&gt;
# '''Service commands''': show useful commands that can be run on servers (this will include doors)&lt;br /&gt;
= The basics =&lt;br /&gt;
* If you access the Administration Console through '''SSHv2''' you should access to the different cells as follows:&lt;br /&gt;
 \? [command]...  # display help for shell commands&lt;br /&gt;
 \c cell[@domain] [user]  # connect to cell&lt;br /&gt;
 \exception [trace]  # controls display of stack traces&lt;br /&gt;
 \h [command]...  # display help for cell commands&lt;br /&gt;
 \l [cell[@domain]|pool/poolgroup]...  # list cells&lt;br /&gt;
 \q # quit&lt;br /&gt;
 '''\s (cell[@domain]|pool/poolgroup)[,(cell[@domain]|pool/poolgroup)]... command...  # send command'''&lt;br /&gt;
 \sl pnfsid|path command...  # send to locations&lt;br /&gt;
 \sn command...  # send pnfsmanager command&lt;br /&gt;
 \sp command...  # send poolmanager command&lt;br /&gt;
 \timeout [seconds]  # sets the command timeout&lt;br /&gt;
* With '''\s''' you will be able to access to any '''cell[@domain]'''s, while branches of this command such like '''\sn''' or '''\sp''' are useful to (respectively) direct access to the ''namespace'' or ''poolmanager'' cells without the need of specifying the ''cell[@domain]''.&lt;br /&gt;
&lt;br /&gt;
== Pool commands ==&lt;br /&gt;
=== Introduction ===&lt;br /&gt;
* Any command run on a pool is a temporary change: on any pool service restart configuration will be restored back to the default value or to the value set in the '''setup''' file (locate in '''/dcpool*/vpool*/setup''').&lt;br /&gt;
:* In example, whenever we set a pool to ''rdonly'', on restart, once the ''initialization'' process finishes, pool will switch back to ''enabled''.&lt;br /&gt;
* If you want to make permanent changes, you should '''save''' changes. Running the '''save''' command will update the already mentioned '''setup''' file.&lt;br /&gt;
:* In example, whenever we set a pool to ''rdonly'' '''and''' we ''save'' the configuration, on a restart, once the ''initialization'' process finishes, pool will remain ''rdonly''.&lt;br /&gt;
&lt;br /&gt;
=== Disable / enable pools ===&lt;br /&gt;
* Command help ('''\s dc???_? help hsm'''):&lt;br /&gt;
 pool disable [options] [&amp;lt;errorCode&amp;gt; [&amp;lt;errorMessage&amp;gt;]] # suspend sending 'up messages'&lt;br /&gt;
      OPTIONS :&lt;br /&gt;
        -fetch    #  disallows fetch (transfer to client)&lt;br /&gt;
        -stage    #  disallows staging (from HSM)&lt;br /&gt;
        -store    #  disallows store (transfer from client)&lt;br /&gt;
        -p2p-client&lt;br /&gt;
        -rdonly   #  := store,stage,p2p-client&lt;br /&gt;
        -strict   #  := disallows everything&lt;br /&gt;
 pool enable # start sending 'up messages' again&lt;br /&gt;
 pool suppress hsmload on|off&lt;br /&gt;
==== Disable / enable pool examples ====&lt;br /&gt;
:* Disallow store + stage + p2p-client (set pool in read only mode)&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''pool disable -rdonly'''&lt;br /&gt;
:* Enable pool (set pool to RW)&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''pool enable'''&lt;br /&gt;
&lt;br /&gt;
=== HSM configuration ===&lt;br /&gt;
* Command help ('''\s dc???_? help hsm'''):&lt;br /&gt;
 hsm create &amp;lt;type&amp;gt; [&amp;lt;name&amp;gt; [&amp;lt;provider&amp;gt;]] [-&amp;lt;key&amp;gt;=&amp;lt;value&amp;gt;] ...&lt;br /&gt;
 hsm ls [&amp;lt;name&amp;gt;] ...&lt;br /&gt;
 hsm remove &amp;lt;name&amp;gt;&lt;br /&gt;
 hsm set &amp;lt;name&amp;gt; [-&amp;lt;key&amp;gt;=&amp;lt;value&amp;gt;] ...&lt;br /&gt;
 hsm show providers # show available nearline storage providers&lt;br /&gt;
 hsm unset &amp;lt;name&amp;gt; [-&amp;lt;key&amp;gt;] ...&lt;br /&gt;
==== HSM configuration examples ====&lt;br /&gt;
:* Create a ''enstore'' HSM with the ''real-encp.sh'' client script (this example can be found in the '''setup''' file):&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''hsm create enstore enstore script -pnfs=/pnfs/fs/usr -command=/opt/enstore/bin/real-encp.sh -c:gets=200 -c:puts=20 -c:removes=2'''&lt;br /&gt;
:* Show ''enstore'' configuration:&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''hsm ls enstore'''&lt;br /&gt;
 enstore(enstore):script&lt;br /&gt;
   pnfs                /pnfs/fs/usr&lt;br /&gt;
   command             /opt/enstore/bin/real-encp.sh&lt;br /&gt;
   c:gets              200&lt;br /&gt;
   c:puts              20&lt;br /&gt;
   c:removes           2&lt;br /&gt;
:* Set maximum restores to 400:&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''hsm set enstore -c:gets=400'''&lt;/div&gt;</summary>
		<author><name>Mcaubet</name></author>
	</entry>
	<entry>
		<id>https://pwiki.pic.es/index.php?title=DCache_Administration_Console_Commands&amp;diff=184</id>
		<title>DCache Administration Console Commands</title>
		<link rel="alternate" type="text/html" href="https://pwiki.pic.es/index.php?title=DCache_Administration_Console_Commands&amp;diff=184"/>
		<updated>2017-07-31T09:14:35Z</updated>

		<summary type="html">&lt;p&gt;Mcaubet: /* The basics */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= About this document =&lt;br /&gt;
* This document shows several examples of useful commands that can be run in the dCache Administration Console.&lt;br /&gt;
* Administration console can be accessed through '''[[https://www.dcache.org/downloads/gui/ PCells GUI]]''' or through '''SSHv2''' as follows (in the example, '''dccore.pic.es''' is the physical machine running the '''admin''' cell):&lt;br /&gt;
 ssh -2 -x -o StrictHostKeyChecking=no -l admin -c blowfish -p 22224 dccore.pic.es&lt;br /&gt;
* In this document we show what we consider the most important commands for the everyday's administration tasks, and basically the ones that may be useful for the Manager On Duty. Maybe some important commands are missing, but will be added as soon as we detect that these may be important for the MoD.&lt;br /&gt;
* This document is divided in two main blocks:&lt;br /&gt;
# '''Pool commands''': shows useful commands that can be run on pools.&lt;br /&gt;
# '''Service commands''': show useful commands that can be run on servers (this will include doors)&lt;br /&gt;
== The basics ==&lt;br /&gt;
* If you access the Administration Console through '''SSHv2''' you should access to the different cells as follows:&lt;br /&gt;
 \? [command]...  # display help for shell commands&lt;br /&gt;
 \c cell[@domain] [user]  # connect to cell&lt;br /&gt;
 \exception [trace]  # controls display of stack traces&lt;br /&gt;
 \h [command]...  # display help for cell commands&lt;br /&gt;
 \l [cell[@domain]|pool/poolgroup]...  # list cells&lt;br /&gt;
 \q # quit&lt;br /&gt;
 '''\s (cell[@domain]|pool/poolgroup)[,(cell[@domain]|pool/poolgroup)]... command...  # send command'''&lt;br /&gt;
 \sl pnfsid|path command...  # send to locations&lt;br /&gt;
 \sn command...  # send pnfsmanager command&lt;br /&gt;
 \sp command...  # send poolmanager command&lt;br /&gt;
 \timeout [seconds]  # sets the command timeout&lt;br /&gt;
* With '''\s''' you will be able to access to any '''cell[@domain]'''s, while branches of this command such like '''\sn''' or '''\sp''' are useful to (respectively) direct access to the ''namespace'' or ''poolmanager'' cells without the need of specifying the ''cell[@domain]''.&lt;br /&gt;
&lt;br /&gt;
== Pool commands ==&lt;br /&gt;
=== Introduction ===&lt;br /&gt;
* Any command run on a pool is a temporary change: on any pool service restart configuration will be restored back to the default value or to the value set in the '''setup''' file (locate in '''/dcpool*/vpool*/setup''').&lt;br /&gt;
:* In example, whenever we set a pool to ''rdonly'', on restart, once the ''initialization'' process finishes, pool will switch back to ''enabled''.&lt;br /&gt;
* If you want to make permanent changes, you should '''save''' changes. Running the '''save''' command will update the already mentioned '''setup''' file.&lt;br /&gt;
:* In example, whenever we set a pool to ''rdonly'' '''and''' we ''save'' the configuration, on a restart, once the ''initialization'' process finishes, pool will remain ''rdonly''.&lt;br /&gt;
&lt;br /&gt;
=== Disable / enable pools ===&lt;br /&gt;
* Command help ('''\s dc???_? help hsm'''):&lt;br /&gt;
 pool disable [options] [&amp;lt;errorCode&amp;gt; [&amp;lt;errorMessage&amp;gt;]] # suspend sending 'up messages'&lt;br /&gt;
      OPTIONS :&lt;br /&gt;
        -fetch    #  disallows fetch (transfer to client)&lt;br /&gt;
        -stage    #  disallows staging (from HSM)&lt;br /&gt;
        -store    #  disallows store (transfer from client)&lt;br /&gt;
        -p2p-client&lt;br /&gt;
        -rdonly   #  := store,stage,p2p-client&lt;br /&gt;
        -strict   #  := disallows everything&lt;br /&gt;
 pool enable # start sending 'up messages' again&lt;br /&gt;
 pool suppress hsmload on|off&lt;br /&gt;
==== Disable / enable pool examples ====&lt;br /&gt;
:* Disallow store + stage + p2p-client (set pool in read only mode)&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''pool disable -rdonly'''&lt;br /&gt;
:* Enable pool (set pool to RW)&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''pool enable'''&lt;br /&gt;
&lt;br /&gt;
=== HSM configuration ===&lt;br /&gt;
* Command help ('''\s dc???_? help hsm'''):&lt;br /&gt;
 hsm create &amp;lt;type&amp;gt; [&amp;lt;name&amp;gt; [&amp;lt;provider&amp;gt;]] [-&amp;lt;key&amp;gt;=&amp;lt;value&amp;gt;] ...&lt;br /&gt;
 hsm ls [&amp;lt;name&amp;gt;] ...&lt;br /&gt;
 hsm remove &amp;lt;name&amp;gt;&lt;br /&gt;
 hsm set &amp;lt;name&amp;gt; [-&amp;lt;key&amp;gt;=&amp;lt;value&amp;gt;] ...&lt;br /&gt;
 hsm show providers # show available nearline storage providers&lt;br /&gt;
 hsm unset &amp;lt;name&amp;gt; [-&amp;lt;key&amp;gt;] ...&lt;br /&gt;
==== HSM configuration examples ====&lt;br /&gt;
:* Create a ''enstore'' HSM with the ''real-encp.sh'' client script (this example can be found in the '''setup''' file):&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''hsm create enstore enstore script -pnfs=/pnfs/fs/usr -command=/opt/enstore/bin/real-encp.sh -c:gets=200 -c:puts=20 -c:removes=2'''&lt;br /&gt;
:* Show ''enstore'' configuration:&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''hsm ls enstore'''&lt;br /&gt;
 enstore(enstore):script&lt;br /&gt;
   pnfs                /pnfs/fs/usr&lt;br /&gt;
   command             /opt/enstore/bin/real-encp.sh&lt;br /&gt;
   c:gets              200&lt;br /&gt;
   c:puts              20&lt;br /&gt;
   c:removes           2&lt;br /&gt;
:* Set maximum restores to 400:&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''hsm set enstore -c:gets=400'''&lt;/div&gt;</summary>
		<author><name>Mcaubet</name></author>
	</entry>
	<entry>
		<id>https://pwiki.pic.es/index.php?title=DCache_Administration_Console_Commands&amp;diff=183</id>
		<title>DCache Administration Console Commands</title>
		<link rel="alternate" type="text/html" href="https://pwiki.pic.es/index.php?title=DCache_Administration_Console_Commands&amp;diff=183"/>
		<updated>2017-07-31T09:13:19Z</updated>

		<summary type="html">&lt;p&gt;Mcaubet: /* The basics = */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= About this document =&lt;br /&gt;
* This document shows several examples of useful commands that can be run in the dCache Administration Console.&lt;br /&gt;
* Administration console can be accessed through '''[[https://www.dcache.org/downloads/gui/ PCells GUI]]''' or through '''SSHv2''' as follows (in the example, '''dccore.pic.es''' is the physical machine running the '''admin''' cell):&lt;br /&gt;
 ssh -2 -x -o StrictHostKeyChecking=no -l admin -c blowfish -p 22224 dccore.pic.es&lt;br /&gt;
* In this document we show what we consider the most important commands for the everyday's administration tasks, and basically the ones that may be useful for the Manager On Duty. Maybe some important commands are missing, but will be added as soon as we detect that these may be important for the MoD.&lt;br /&gt;
* This document is divided in two main blocks:&lt;br /&gt;
# '''Pool commands''': shows useful commands that can be run on pools.&lt;br /&gt;
# '''Service commands''': show useful commands that can be run on servers (this will include doors)&lt;br /&gt;
== The basics ==&lt;br /&gt;
* If you access the Administration Console through '''SSHv2''' you should access to the different cells as follows:&lt;br /&gt;
 \? [command]...  # display help for shell commands&lt;br /&gt;
 \c cell[@domain] [user]  # connect to cell&lt;br /&gt;
 \exception [trace]  # controls display of stack traces&lt;br /&gt;
 \h [command]...  # display help for cell commands&lt;br /&gt;
 \l [cell[@domain]|pool/poolgroup]...  # list cells&lt;br /&gt;
 \q # quit&lt;br /&gt;
 '''\s (cell[@domain]|pool/poolgroup)[,(cell[@domain]|pool/poolgroup)]... command...  # send command'''&lt;br /&gt;
 \sl pnfsid|path command...  # send to locations&lt;br /&gt;
 \sn command...  # send pnfsmanager command&lt;br /&gt;
 \sp command...  # send poolmanager command&lt;br /&gt;
 \timeout [seconds]  # sets the command timeout&lt;br /&gt;
* With '''\s''' you will be able to access to all '''cell[@domain]'''s, while branches of this command such like '''\sn''' or '''\sp''' are useful to directly access to the ''namespace'' or ''poolmanager'' cells without the needing of specifying the ''cell[@domain]''.&lt;br /&gt;
&lt;br /&gt;
== Pool commands ==&lt;br /&gt;
=== Introduction ===&lt;br /&gt;
* Any command run on a pool is a temporary change: on any pool service restart configuration will be restored back to the default value or to the value set in the '''setup''' file (locate in '''/dcpool*/vpool*/setup''').&lt;br /&gt;
:* In example, whenever we set a pool to ''rdonly'', on restart, once the ''initialization'' process finishes, pool will switch back to ''enabled''.&lt;br /&gt;
* If you want to make permanent changes, you should '''save''' changes. Running the '''save''' command will update the already mentioned '''setup''' file.&lt;br /&gt;
:* In example, whenever we set a pool to ''rdonly'' '''and''' we ''save'' the configuration, on a restart, once the ''initialization'' process finishes, pool will remain ''rdonly''.&lt;br /&gt;
&lt;br /&gt;
=== Disable / enable pools ===&lt;br /&gt;
* Command help ('''\s dc???_? help hsm'''):&lt;br /&gt;
 pool disable [options] [&amp;lt;errorCode&amp;gt; [&amp;lt;errorMessage&amp;gt;]] # suspend sending 'up messages'&lt;br /&gt;
      OPTIONS :&lt;br /&gt;
        -fetch    #  disallows fetch (transfer to client)&lt;br /&gt;
        -stage    #  disallows staging (from HSM)&lt;br /&gt;
        -store    #  disallows store (transfer from client)&lt;br /&gt;
        -p2p-client&lt;br /&gt;
        -rdonly   #  := store,stage,p2p-client&lt;br /&gt;
        -strict   #  := disallows everything&lt;br /&gt;
 pool enable # start sending 'up messages' again&lt;br /&gt;
 pool suppress hsmload on|off&lt;br /&gt;
==== Disable / enable pool examples ====&lt;br /&gt;
:* Disallow store + stage + p2p-client (set pool in read only mode)&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''pool disable -rdonly'''&lt;br /&gt;
:* Enable pool (set pool to RW)&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''pool enable'''&lt;br /&gt;
&lt;br /&gt;
=== HSM configuration ===&lt;br /&gt;
* Command help ('''\s dc???_? help hsm'''):&lt;br /&gt;
 hsm create &amp;lt;type&amp;gt; [&amp;lt;name&amp;gt; [&amp;lt;provider&amp;gt;]] [-&amp;lt;key&amp;gt;=&amp;lt;value&amp;gt;] ...&lt;br /&gt;
 hsm ls [&amp;lt;name&amp;gt;] ...&lt;br /&gt;
 hsm remove &amp;lt;name&amp;gt;&lt;br /&gt;
 hsm set &amp;lt;name&amp;gt; [-&amp;lt;key&amp;gt;=&amp;lt;value&amp;gt;] ...&lt;br /&gt;
 hsm show providers # show available nearline storage providers&lt;br /&gt;
 hsm unset &amp;lt;name&amp;gt; [-&amp;lt;key&amp;gt;] ...&lt;br /&gt;
==== HSM configuration examples ====&lt;br /&gt;
:* Create a ''enstore'' HSM with the ''real-encp.sh'' client script (this example can be found in the '''setup''' file):&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''hsm create enstore enstore script -pnfs=/pnfs/fs/usr -command=/opt/enstore/bin/real-encp.sh -c:gets=200 -c:puts=20 -c:removes=2'''&lt;br /&gt;
:* Show ''enstore'' configuration:&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''hsm ls enstore'''&lt;br /&gt;
 enstore(enstore):script&lt;br /&gt;
   pnfs                /pnfs/fs/usr&lt;br /&gt;
   command             /opt/enstore/bin/real-encp.sh&lt;br /&gt;
   c:gets              200&lt;br /&gt;
   c:puts              20&lt;br /&gt;
   c:removes           2&lt;br /&gt;
:* Set maximum restores to 400:&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''hsm set enstore -c:gets=400'''&lt;/div&gt;</summary>
		<author><name>Mcaubet</name></author>
	</entry>
	<entry>
		<id>https://pwiki.pic.es/index.php?title=DCache_Administration_Console_Commands&amp;diff=182</id>
		<title>DCache Administration Console Commands</title>
		<link rel="alternate" type="text/html" href="https://pwiki.pic.es/index.php?title=DCache_Administration_Console_Commands&amp;diff=182"/>
		<updated>2017-07-31T09:12:26Z</updated>

		<summary type="html">&lt;p&gt;Mcaubet: /* HSM configuration examples */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= About this document =&lt;br /&gt;
* This document shows several examples of useful commands that can be run in the dCache Administration Console.&lt;br /&gt;
* Administration console can be accessed through '''[[https://www.dcache.org/downloads/gui/ PCells GUI]]''' or through '''SSHv2''' as follows (in the example, '''dccore.pic.es''' is the physical machine running the '''admin''' cell):&lt;br /&gt;
 ssh -2 -x -o StrictHostKeyChecking=no -l admin -c blowfish -p 22224 dccore.pic.es&lt;br /&gt;
* In this document we show what we consider the most important commands for the everyday's administration tasks, and basically the ones that may be useful for the Manager On Duty. Maybe some important commands are missing, but will be added as soon as we detect that these may be important for the MoD.&lt;br /&gt;
* This document is divided in two main blocks:&lt;br /&gt;
# '''Pool commands''': shows useful commands that can be run on pools.&lt;br /&gt;
# '''Service commands''': show useful commands that can be run on servers (this will include doors)&lt;br /&gt;
== The basics ===&lt;br /&gt;
* If you access the Administration Console through '''SSHv2''' you should access to the different cells as follows:&lt;br /&gt;
 \? [command]...  # display help for shell commands&lt;br /&gt;
 \c cell[@domain] [user]  # connect to cell&lt;br /&gt;
 \exception [trace]  # controls display of stack traces&lt;br /&gt;
 \h [command]...  # display help for cell commands&lt;br /&gt;
 \l [cell[@domain]|pool/poolgroup]...  # list cells&lt;br /&gt;
 \q # quit&lt;br /&gt;
 '''\s (cell[@domain]|pool/poolgroup)[,(cell[@domain]|pool/poolgroup)]... command...  # send command'''&lt;br /&gt;
 \sl pnfsid|path command...  # send to locations&lt;br /&gt;
 \sn command...  # send pnfsmanager command&lt;br /&gt;
 \sp command...  # send poolmanager command&lt;br /&gt;
 \timeout [seconds]  # sets the command timeout&lt;br /&gt;
* With '''\s''' you will be able to access to all '''cell[@domain]'''s, while branches of this command such like '''\sn''' or '''\sp''' are useful to directly access to the ''namespace'' or ''poolmanager'' cells without the needing of specifying the ''cell[@domain]''.&lt;br /&gt;
== Pool commands ==&lt;br /&gt;
=== Introduction ===&lt;br /&gt;
* Any command run on a pool is a temporary change: on any pool service restart configuration will be restored back to the default value or to the value set in the '''setup''' file (locate in '''/dcpool*/vpool*/setup''').&lt;br /&gt;
:* In example, whenever we set a pool to ''rdonly'', on restart, once the ''initialization'' process finishes, pool will switch back to ''enabled''.&lt;br /&gt;
* If you want to make permanent changes, you should '''save''' changes. Running the '''save''' command will update the already mentioned '''setup''' file.&lt;br /&gt;
:* In example, whenever we set a pool to ''rdonly'' '''and''' we ''save'' the configuration, on a restart, once the ''initialization'' process finishes, pool will remain ''rdonly''.&lt;br /&gt;
&lt;br /&gt;
=== Disable / enable pools ===&lt;br /&gt;
* Command help ('''\s dc???_? help hsm'''):&lt;br /&gt;
 pool disable [options] [&amp;lt;errorCode&amp;gt; [&amp;lt;errorMessage&amp;gt;]] # suspend sending 'up messages'&lt;br /&gt;
      OPTIONS :&lt;br /&gt;
        -fetch    #  disallows fetch (transfer to client)&lt;br /&gt;
        -stage    #  disallows staging (from HSM)&lt;br /&gt;
        -store    #  disallows store (transfer from client)&lt;br /&gt;
        -p2p-client&lt;br /&gt;
        -rdonly   #  := store,stage,p2p-client&lt;br /&gt;
        -strict   #  := disallows everything&lt;br /&gt;
 pool enable # start sending 'up messages' again&lt;br /&gt;
 pool suppress hsmload on|off&lt;br /&gt;
==== Disable / enable pool examples ====&lt;br /&gt;
:* Disallow store + stage + p2p-client (set pool in read only mode)&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''pool disable -rdonly'''&lt;br /&gt;
:* Enable pool (set pool to RW)&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''pool enable'''&lt;br /&gt;
&lt;br /&gt;
=== HSM configuration ===&lt;br /&gt;
* Command help ('''\s dc???_? help hsm'''):&lt;br /&gt;
 hsm create &amp;lt;type&amp;gt; [&amp;lt;name&amp;gt; [&amp;lt;provider&amp;gt;]] [-&amp;lt;key&amp;gt;=&amp;lt;value&amp;gt;] ...&lt;br /&gt;
 hsm ls [&amp;lt;name&amp;gt;] ...&lt;br /&gt;
 hsm remove &amp;lt;name&amp;gt;&lt;br /&gt;
 hsm set &amp;lt;name&amp;gt; [-&amp;lt;key&amp;gt;=&amp;lt;value&amp;gt;] ...&lt;br /&gt;
 hsm show providers # show available nearline storage providers&lt;br /&gt;
 hsm unset &amp;lt;name&amp;gt; [-&amp;lt;key&amp;gt;] ...&lt;br /&gt;
==== HSM configuration examples ====&lt;br /&gt;
:* Create a ''enstore'' HSM with the ''real-encp.sh'' client script (this example can be found in the '''setup''' file):&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''hsm create enstore enstore script -pnfs=/pnfs/fs/usr -command=/opt/enstore/bin/real-encp.sh -c:gets=200 -c:puts=20 -c:removes=2'''&lt;br /&gt;
:* Show ''enstore'' configuration:&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''hsm ls enstore'''&lt;br /&gt;
 enstore(enstore):script&lt;br /&gt;
   pnfs                /pnfs/fs/usr&lt;br /&gt;
   command             /opt/enstore/bin/real-encp.sh&lt;br /&gt;
   c:gets              200&lt;br /&gt;
   c:puts              20&lt;br /&gt;
   c:removes           2&lt;br /&gt;
:* Set maximum restores to 400:&lt;br /&gt;
 '''''[dccore01] (local) admin &amp;gt;''''' '''hsm set enstore -c:gets=400'''&lt;/div&gt;</summary>
		<author><name>Mcaubet</name></author>
	</entry>
</feed>