How does one find the ClearCase registry server na

2019-07-30 08:40发布

问题:

I want to use the cleartool lsview -quick command but it requires a host name argument, also called a "registry server". Can one use a cleartool command or examine a client log file to determine which host/registry server a given view is using?

回答1:

I should have looked harder. The answer is cleartool hostinfo -long which will include the Registry host in the output listing.



回答2:

cleartool hostinfo is not ideal, because not always meant to be parsed (on Unix for instance, it can be truncated)

On Windows, I would prefer fetching that information directly from the registry, which should be under HKLM\Software\Atria\ClearCase\CurrentVersion - (I'll check tomorrow)

 reg query HKLM\Software\Atria\ClearCase\CurrentVersion -v AtriaRegy

(a bit like when you have to manually switch registry server)



标签: clearcase