Question & Answer
Question
Is there documentation that explains how to configure IBM® Rational® ClearCase® to use a single magic file on Windows® Linux® and UNIX®?
Answer
Environment Variable
Set the MAGIC_PATH environmental variable on all clients to point to a central shared location.
Review IBM Rational ClearCase Information Center on the topic of cc.magic,default.magic for more information.
Also refer to technote 1122471 About the ClearCase Magic file for additional information.
Note: A reboot of the server (where the magic file is located) and clients is not necessary.
Windows Example:
Set the MAGIC_PATH environmental variable on all clients to point to a UNC location.
Command line:
set MAGIC_PATH=\\machine\share\magic
GUI:
UNIX/Linux Example:
Set the MAGIC_PATH environmental variable on all clients to point to an exported location.
setenv MAGIC_PATH=/net/host/export
Windows and UNIX/Linux:
In the event there is a network outage or if that share is not available, you may want to have the MAGIC_PATH environmental variable also set to an alternate path and even the default path on the local systems so that ClearCase can still work.
For example:
MAGIC_PATH=<share-path>; <alt-share-path>; <local-path>
A semi-colon separated list of paths is all that is required.
Note: Be aware if modifications have been made to one magic file (global one) on the primary share and that share becomes unavailable, the new definitions in the global magic file will not be available in the other magic files until a version of the global magic file is copied to all necessary hosts.
Refer to technote 1219216 Evaluating multiple magic files for additional information.
Related Information
Was this topic helpful?
Document Information
Modified date:
29 September 2018
UID
swg21127381