Initial add of defaria.com
[clearscm.git] / defaria.com / blogs / Status / archives / week_2006_09_10.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" id="sixapart-standard">
4 <head>
5    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6    <meta name="generator" content="Movable Type 5.2.3" />
7
8    <link rel="stylesheet" href="http://defaria.com/blogs/Status/styles-site.css" type="text/css" />
9    <link rel="alternate" type="application/atom+xml" title="Atom" href="http://defaria.com/blogs/Status/atom.xml" />
10    <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="http://defaria.com/blogs/Status/index.xml"$>" />
11
12    <title>Status for Andrew DeFaria: September 10, 2006 - September 16, 2006 Archives</title>
13
14    <link rel="start" href="http://defaria.com/blogs/Status/" title="Home" />
15    <link rel="prev" href="http://defaria.com/blogs/Status/archives/week_2006_08_27.html" title="August 27, 2006 - September  2, 2006" />
16    <link rel="next" href="http://defaria.com/blogs/Status/archives/week_2006_09_17.html" title="September 17, 2006 - September 23, 2006" />
17 </head>
18 <body class="layout-one-column">
19    <div id="container">
20       <div id="container-inner" class="pkg">
21
22          <div id="banner">
23             <div id="banner-inner" class="pkg">
24                <h1 id="banner-header"><a href="http://defaria.com/blogs/Status/" accesskey="1">Status for Andrew DeFaria</a></h1>
25                <h2 id="banner-description">Searchable status reports and work log</h2>
26             </div>
27          </div>
28
29          <div id="pagebody">
30             <div id="pagebody-inner" class="pkg">
31                <div id="alpha">
32                   <div id="alpha-inner" class="pkg">
33                      
34                      <p class="content-nav">
35                         <a href="http://defaria.com/blogs/Status/archives/week_2006_08_27.html">&laquo; August 27, 2006 - September  2, 2006</a> |
36                         <a href="http://defaria.com/blogs/Status/">Main</a>
37                         | <a href="http://defaria.com/blogs/Status/archives/week_2006_09_17.html">September 17, 2006 - September 23, 2006 &raquo;</a>
38                      </p>
39                      
40                      
41                      
42
43                      <h2 class="date-header">September 15, 2006</h2>
44                      <a id="a000565"></a>
45                      <div class="entry" id="entry-565">
46                         <h3 class="entry-header">enable_ldap</h3>
47                         <div class="entry-content">
48                            <div class="entry-body">
49                               <ul>
50   <li>Added LDAP calls to enable_ldap to check the parms as we go</li>
51 </ul>
52                               
53                               <h2>Integrating LDAP to enable_ldap</h2>
54
55 <p>I decided it would be good if as enable_ldap gathers parameters, it checks to see if they are correct. It does this by actually calling LDAP calls to validate the things like the server, port, etc. The goal is to make enable_ldap insure that the parameters are indeed correct. Unfortunately this makes enable_ldap dependent on the Net::LDAP module but I think it's worth it to allow enable_ldap to check the parameters and the mapping the user is describing.</p>
56
57 <p>I still need to tighten up the code where it queries LDAP and attempts to prove to the user that the mapping is correct. As I understand it you are basically attempting to map a Clearquest field to an LDAP field so that Clearquest can find the correct record. Once that linkage is established Clearquest can "pull" the password from LDAP and thus authenticate the user's password to the LDAP password.</p>
58
59 <p>What enable_ldap does is effectively this, however, it's not that informative to simply say "The user ID 'foo' was found in the LDAP directory" rather I want to say "The user id 'foo' corresponds with '&lt;fullname&gt;'". However does "fullname" always appear exactly as that in LDAP?</p>
60
61 <p>Additionally, I need to handle the cases where it's not a match or where say multiple entries are returned (not sure how that can happen unless the user specifies an attribute that can have dups or perhaps enters in a wildcard, e.g. "defaria*").</p>
62                               
63                               <p class="entry-footer">
64                                  <span class="post-footers">Posted by  at  2:33 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000565.html">Permalink</a>
65                                  
66                                  
67                               </p>
68                            </div>
69                         </div>
70                      </div>
71                      
72                      
73
74                      <h2 class="date-header">September 11, 2006</h2>
75                      <a id="a000564"></a>
76                      <div class="entry" id="entry-564">
77                         <h3 class="entry-header">Clearquest License Server</h3>
78                         <div class="entry-content">
79                            <div class="entry-body">
80                               <ul>
81   <li>Investigated Clearquest License server</li>
82 </ul>
83
84 <p><b>Time Spent:</b> 3 Hours</p>
85                               
86                               <p>Dylan Ko wrote:</p>
87
88 <blockquote type="cite">
89   <p>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.</p>
90
91   <p>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.</p>
92 </blockquote>
93
94 <p>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 <b>Start: All Programs: Rational Software: Rational License Key Administrator</b>. 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.</p>
95
96 <p>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.</p>
97
98 <p>I then restarted both FlexLM and Clearcase on sons-clearcase.</p>
99
100 <p>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.</p>
101
102 <h3>Adding a FlexLM License Server to your Desktop</h3>
103
104 <ul>
105   <li>Select <b>Start: All Programs: Rational Software: Rational
106 License Key Administrator</b>:<br>
107     <br>
108     <img src="/blogs/Status/images/RLKA_sons-clearcase.jpg" alt=""></li>
109 </ul>
110 <ul>
111   <li>Select <b>License Keys: License Key Wizard<br>
112     <br>
113     </b><img src="/blogs/Status/images/LKA_Wizard.jpg" alt=""><br>
114   </li>
115 </ul>
116 <ul>
117   <li>Select <b>Next<br>
118     </b><br>
119     <img src="/blogs/Status/images/Server_Name_and_Port.jpg" alt=""><br>
120     <br>
121   </li>
122   <li>Select <b>Advanced Server Options:<br>
123     <br>
124     </b><img src="/blogs/Status/images/Client_Server_Configuration.jpg" alt=""><br>
125     <br>
126   </li>
127   <li>Select <b>Add Server:<br>
128     </b><br>
129     <img src="/blogs/Status/images/Client_Server_Configuration2.jpg" alt=""><br>
130     <br>
131   </li>
132   <li>Click on <b>Values</b> under the <b>Settings</b> on the right
133 on the <font color="#ff0000">Server Name</font> column type sons-sc-cc
134 and <b>Enter</b>. The server name should change from "New Server"
135 -&gt; "sons-sc-cc":<br>
136     <br>
137     <img src="/blogs/Status/images/Client_Server_Configuration3.jpg" alt=""><br>
138     <br>
139 At this point you can toggle on or off either sons-clearcase or
140 sons-sc-cc as a license server provider.<br>
141     <br>
142   </li>
143   <li>Select <b>OK</b> to close this dialog box. You should see
144 something like:<br>
145     <br>
146     <img src="/blogs/Status/images/RLKA_both.jpg" alt=""><br>
147     <br>
148 Note that there are 3 lines, two serviced by sons-clearcase (Rational
149 ClearCase LT and Rational ClearQuest) and one serviced by sons-sc-cc
150 (Rational ClearQuest). Also note that if you stop FlexLM on
151 sons-clearcase and refresh or return the Rational Key License
152 Administrator then licenses served by sons-clearcase will not be listed
153 (since the server cannot be contacted.<br>
154   </li>
155 </ul>
156
157 <p>Similarly, all desktops (or Clearquest GUI clients) will have to adjust
158 their FlexLM License Key Server in a similar manner. Also note that you
159 can, instead of adding a server, simply click on the sons-clearcase
160 server then click on <b>Values</b> under the <b>Settings</b> on the
161 right on the <font color="#ff0000">Server Name</font> column and
162 replace sons-clearcase with sons-sc-cc.</p>
163
164 <p>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.</p>
165                               
166                               <p class="entry-footer">
167                                  <span class="post-footers">Posted by  at  8:35 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000564.html">Permalink</a>
168                                  
169                                  
170                               </p>
171                            </div>
172                         </div>
173                      </div>
174                      
175                      
176
177                      <h2 class="date-header">September 10, 2006</h2>
178                      <a id="a000563"></a>
179                      <div class="entry" id="entry-563">
180                         <h3 class="entry-header">Clearquest Install</h3>
181                         <div class="entry-content">
182                            <div class="entry-body">
183                               <ul>
184   <li>Looked into Clearquest install area</li>
185 </ul>
186                               
187                               <h2>Silent Install and Multiple License Servers</h2>
188
189 <p>I had hoped to be able to user the /g parm to setup.exe so that the install would be silent and automatic. Clearquest now installs without need for a reboot. But silent install installs silently but then reboots! Ugh!</p>
190
191 <p>Also wanted to be able to specify multiple license servers as TI uses 3 of them. I hoped that merely updating sitedefs.dat to list three of them, comma separated would work. But it doesn't. Perhaps spaces? Also need to check siteprep to see if the area can be reprepped with 3 license servers</p>
192                               
193                               <p class="entry-footer">
194                                  <span class="post-footers">Posted by  at 12:37 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000563.html">Permalink</a>
195                                  
196                                  
197                               </p>
198                            </div>
199                         </div>
200                      </div>
201                      
202                   </div>
203                </div>
204             </div>
205          </div>
206       </div>
207    </div>
208 </body>
209 </html>