You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+16-7Lines changed: 16 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,13 +6,19 @@ It supports expiring, local file caching to reduce the number of calls triggered
6
6
7
7
Support for multiple URLs provides a simple mechanism to ensure high-availability for configuration information. The cache_config tool will attempt to pull configuration from each URL, stopping after the first successful pull happens.
8
8
9
+
## Installation
10
+
11
+
On Windows, put the cache_config.exe file in the HTCondor bin directory.
12
+
13
+
On other OSes, put the cache_config.py file in the HTCondor bin directory.
@@ -23,6 +29,9 @@ cache_config checks for an existing, local, cache file to determine whether the
23
29
acquired, with its own TTL to avoid deadlock cases. cache_config then gets the configuration file by attempting to read from the list of URLs for the configuration data. If any error occurs in reading from the first URL, the second is attempted, then the third, and so on, until configuration is successfully fetched and cached. Should all URLs fail, cache_config returns the existing, stale, configuration with additional configuration settings embedded in the output that publish the details of the failures.
24
30
25
31
32
+
## Installation
33
+
34
+
26
35
## HTCondor Configuration
27
36
28
37
In using cache_config with HTCondor it is recommended you copy it to your condor\bin directory (the BIN directory in your current HTCondor configuration). When configuring HTCondor, it is recommended you have a local configuration file that will get HTCondor up and running, then use the following line within that file to fetch the detailed configuration for the machine:
@@ -31,7 +40,7 @@ In using cache_config with HTCondor it is recommended you copy it to your condor
31
40
32
41
The above line should appear last in your local configuration file to ensure that any configuration sent to HTCondor via the fetch URL overrides any of the local bootstrap configuration.
33
42
34
-
Note: If using CacheConfig for Windows replace `$(BIN)\cache_config.py` with `$(BIN)\cache_config.exe` in the configuration line above.
43
+
Note: If using cache_config for Windows replace `$(BIN)\cache_config.py` with `$(BIN)\cache_config.exe` in the configuration line above.
35
44
36
45
37
46
## Using `cache_config` with CycleServer
@@ -46,11 +55,11 @@ To fetch your configuration from a CycleServer instance, make your configuration
46
55
## See Also
47
56
48
57
*[HTCondor][htcondor] - high throughput computing from the University of Wisconsin
49
-
* For more information on "Configuration with Pipes" in HTCondor, please see the HTCondor manual. In the 7.6 manual the appropriate section is [3.3.1.4][configwithpipes]
58
+
* For more information on "Configuration with Pipes" in HTCondor, please see the HTCondor manual. In the 8.0 manual the appropriate section is [3.3.1.4][configwithpipes]
50
59
51
60
## Copyright
52
61
53
-
Copyright (C) 2007-2012, Cycle Computing, LLC.
62
+
Copyright (C) 2007-2013, Cycle Computing, LLC.
54
63
55
64
## License
56
65
@@ -63,4 +72,4 @@ Unless required by applicable law or agreed to in writing, software distributed
0 commit comments