- Investigated Clearquest License server
Time Spent: 3 Hours
Dylan Ko wrote:
I have already turned on the sons-clearcase. As we are busy integrating on several projects now, we can not afford to have sons-clearcase down and thus cripple the ClearQuest and the sync between SC and SH office.
We’ll have to find some other appropriate time to turn off sons-clearcase and look into these issues further. Preferably that time that both sites are off – between 3AM to 9AM PST.
OK, here's what I found out so far. Using adefaria as a test machine I first checked to see what FlexLM license server was being used on that machine by selecting Start: All Programs: Rational Software: Rational License Key Administrator. It was using just sons-clearcase. Next I attempting to talk to Clearquest by both the Clearquest GUI and cqc. Then I stopped the FlexLM service on sons-clearcase. I then started the Clearquest GUI and it complained about no license server. Interestingly cqc continued to work. This may be because cqc/cqd opens the Clearquest database in a read only mode.
Next I added sons-sc-cc as a FlexLM License server and retested. Both the Clearcase GUI and cqc were able to obtain a license from sons-sc-cc with no problems. I even shutdown Clearcase on sons-clearcase and I was still able to use Clearcase GUI and cqc from adefaria with no problems.
I then restarted both FlexLM and Clearcase on sons-clearcase.
Dylan, perhaps you want to test this on your workstation. Try adding sons-sc-cc as a FlexLM license server for your desktop. You can toggle off sons-clearcase as a license server and attempt to access Clearquest. You can then stop the FlexLM service on sons-clearcase and test Clearquest access from your machine again. Finally try shutting down Clearcase on sons-clearcase and retest Clearquest access from your machine.
Adding a FlexLM License Server to your Desktop
- Select Start: All Programs: Rational Software: Rational
License Key Administrator:
- Select License Keys: License Key Wizard
- Select Next
- Select Advanced Server Options:
- Select Add Server:
- Click on Values under the Settings on the right
on the Server Name column type sons-sc-cc
and Enter. The server name should change from "New Server"
-> "sons-sc-cc":
At this point you can toggle on or off either sons-clearcase or
sons-sc-cc as a license server provider.
- Select OK to close this dialog box. You should see
something like:
Note that there are 3 lines, two serviced by sons-clearcase (Rational
ClearCase LT and Rational ClearQuest) and one serviced by sons-sc-cc
(Rational ClearQuest). Also note that if you stop FlexLM on
sons-clearcase and refresh or return the Rational Key License
Administrator then licenses served by sons-clearcase will not be listed
(since the server cannot be contacted.
Similarly, all desktops (or Clearquest GUI clients) will have to adjust
their FlexLM License Key Server in a similar manner. Also note that you
can, instead of adding a server, simply click on the sons-clearcase
server then click on Values under the Settings on the
right on the Server Name column and
replace sons-clearcase with sons-sc-cc.
If the test is successful then I believe that sons-clearcase can be powered off. Again, I think we should still run about a week this way and if things are OK then I can rmreplica the US replicas leaving only the China (sons-cc) ones and the SantaClara (sons-sc-cc) ones.