Initial add of defaria.com
[clearscm.git] / defaria.com / blogs / Status / archives / cat_ameriquest.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: Ameriquest Archives</title>
13 </head>
14 <body class="layout-one-column">
15    <div id="container">
16       <div id="container-inner" class="pkg">
17
18          <div id="banner">
19             <div id="banner-inner" class="pkg">
20                <h1 id="banner-header"><a href="http://defaria.com/blogs/Status/" accesskey="1">Status for Andrew DeFaria</a></h1>
21                <h2 id="banner-description">Searchable status reports and work log</h2>
22             </div>
23          </div>
24
25          <div id="pagebody">
26             <div id="pagebody-inner" class="pkg">
27                <div id="alpha">
28                   <div id="alpha-inner" class="pkg">
29                      
30                      <p class="content-nav">
31                         <a href="http://defaria.com/blogs/Status/">Main</a>
32                      </p>
33                      
34                      
35                      
36
37                      <h2 class="date-header">September 22, 2004</h2>
38                      <a id="a000251"></a>
39                      <div class="entry" id="entry-251">
40                         <h3 class="entry-header">gs.vbs/Backups</h3>
41                         <div class="entry-content">
42                            <div class="entry-body">
43                               <ul>
44
45 <li>Coded up gs.vbs, which will dump out the group heirarchy, whenever that arrives</li>
46
47 <li>Resolved the lockvobs.pl for backup issue - now working!</li>
48
49 <li>Spoke with server guy about new server's configuirations. Rtnlprod04 & 5 should be available by Monday!</li>
50
51 <li>Worked with Adam trying to get his login working</li>
52
53 </ul>
54                               
55                               <p class="entry-footer">
56                                  <span class="post-footers">Posted by  at  6:33 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000251.html">Permalink</a>
57                                  
58                                  
59                               </p>
60                            </div>
61                         </div>
62                      </div>
63                      
64                      
65
66                      <h2 class="date-header">September 21, 2004</h2>
67                      <a id="a000249"></a>
68                      <div class="entry" id="entry-249">
69                         <h3 class="entry-header">Group structure/View Server Problems</h3>
70                         <div class="entry-content">
71                            <div class="entry-body">
72                               <ul>
73
74 <li>Finished designing group structure - about to make AD requests</li>
75
76 <li><p>View server had a problem again. More and more it seems to be a problem with the NIC card on rtnlprod02. Managed to log into rtnlprod02 and look around. Couldn't see any processes at all in the TaskManager even though the 4 CPUs were 70-90% busy! Couldn't look at the Network tab - said there was no network adapter. Additionally the following appeared in the System event log:</p>
77
78 <pre>
79 Event Type:     Error
80 Event Source:   NIC Agents
81 Event Category: Service 
82 Event ID:       1285
83 Date:           9/21/2004
84 Time:           2:07:32 PM
85 User:           N/A
86 Computer:       RTNLPROD02
87 Description:
88 NIC Agent: Connectivity has been lost for the NIC in slot 0, port 1. [SNMP TRAP: 18006 in CPQNIC.MIB]
89 Data:
90 0000: 00 00 06 00 00 00 00 00   ........
91 0008: 01 00                     ..      
92 </pre>
93
94 </li>
95
96 </ul>
97                               
98                               <p class="entry-footer">
99                                  <span class="post-footers">Posted by  at  7:18 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000249.html">Permalink</a>
100                                  
101                                  
102                               </p>
103                            </div>
104                         </div>
105                      </div>
106                      
107                      
108
109                      <h2 class="date-header">September 20, 2004</h2>
110                      <a id="a000250"></a>
111                      <div class="entry" id="entry-250">
112                         <h3 class="entry-header">cmconfig.vbs</h3>
113                         <div class="entry-content">
114                            <div class="entry-body">
115                               <p>Held code review for cmconfig.vbs. Spent the rest of the day implementing changes. Some changes were minor while a few others were good catches of possible problems.</p>
116                               
117                               <p class="entry-footer">
118                                  <span class="post-footers">Posted by  at  7:19 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000250.html">Permalink</a>
119                                  
120                                  
121                               </p>
122                            </div>
123                         </div>
124                      </div>
125                      
126                      
127
128                      <h2 class="date-header">September 16, 2004</h2>
129                      <a id="a000248"></a>
130                      <div class="entry" id="entry-248">
131                         <h3 class="entry-header">Finished up populate_groups.vbs</h3>
132                         <div class="entry-content">
133                            <div class="entry-body">
134                               <ul>
135
136 <li>Investigated the group structure to document that is it not really heirarchical. We need to get it more tree like</li>
137
138 <li>Finished up coding populate_groups.vbs. Code now will walk the tree (that is when we get a tree!) and add users to the TOOLS database including their groups, gathered from walking the tree. If we do not have a tree to walk then the groups will be incomplete. Similarly if we tell populate_groups to populate from a node in the tree then only the groups in that node down will be gathered properly.</li>
139
140 </ul>
141                               
142                               <p class="entry-footer">
143                                  <span class="post-footers">Posted by  at  7:43 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000248.html">Permalink</a>
144                                  
145                                  
146                               </p>
147                            </div>
148                         </div>
149                      </div>
150                      
151                      
152
153                      <h2 class="date-header">September 15, 2004</h2>
154                      <a id="a000247"></a>
155                      <div class="entry" id="entry-247">
156                         <h3 class="entry-header">Populate users</h3>
157                         <div class="entry-content">
158                            <div class="entry-body">
159                               <ul>
160
161 <li>Worked mainly on a script to backfill and populate users into the TOOLS database</li>
162
163 <li>View server acted up again. Rebooted it but then it didn't come up!  Got the server guys involved and they booted it to the <i>Last Known Good Configuration</i>. This means that the Server Heap Size registry tweaks have been backed out. This also means that we'll probably have the view server having problems again soon. We need to schedule a maintainance period to reboot the view server with the proper registry tweaks. I can't imagine that that setting caused a problem with rebooting as it's the same setting as rtnlprod01 which is the same hardware. I looked at the event log a little bit and I think that rtnlprod02's problems may be a failing NIC card. I guess time will tell...</li>
164
165 </ul>
166                               
167                               <p class="entry-footer">
168                                  <span class="post-footers">Posted by  at  8:57 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000247.html">Permalink</a>
169                                  
170                                  
171                               </p>
172                            </div>
173                         </div>
174                      </div>
175                      
176                      
177
178                      <h2 class="date-header">September 14, 2004</h2>
179                      <a id="a000245"></a>
180                      <div class="entry" id="entry-245">
181                         <h3 class="entry-header">Code complete for cmconfig.vbs</h3>
182                         <div class="entry-content">
183                            <div class="entry-body">
184                               <p>Working mainly on cmconfig.vbs. Solution for the env problem was to set both the user environment and the process environment then call cmverfiy.cmd from cmconfig.vbs. The code now does the folowing:</p>
185
186 <ol>
187   <li>Configure Clearquest using installutil</li>
188
189   <li>Verify connection to Clearquest</li>
190
191   <li>Connect to the TOOLS database and verify that the user exists there</li>
192
193   <li>Verify the user is in the proper Clearcase Active Directory group</li>
194
195   <li>Set CLEARCASE_PRIMARY_GROUP and CLEARCASE_GROUPS properly for the user based on the users TOOLS record</li>
196
197   <li>Set the Clearcase region as per the user's TOOLS record</li>
198
199   <li>Configure user's Clearquest email settings</li>
200
201   <li>Add registry entry to execute PMO-CM.cmd</li>
202
203   <li>Add registry entry indicating the version of this script that was used</li>
204
205   <li>Update the following fields in the user's record in the TOOLS database:
206
207   <ul>
208      <li>machineName (set to hostname if machineName was blank or set to "My Computer" or "Unknown")</li>
209
210     <li>machineName2 (set to hostname if machineName was NOT blank or set to "My Computer" or "Unknown")</li>
211
212     <li>idAddedtoCC (if #4 succeeds)</li>
213
214     <li>isDeployed (if no other errors occur)</li>
215
216     <li>isAddedtoCQ (if #3 succeeds)</li>
217   </ul>
218
219   <li>Runs cmverify to verify that all is OK</li>
220 </ul>
221                               
222                               <p class="entry-footer">
223                                  <span class="post-footers">Posted by  at  6:01 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000245.html">Permalink</a>
224                                  
225                                  
226                               </p>
227                            </div>
228                         </div>
229                      </div>
230                      
231                      
232
233                      <h2 class="date-header">September 13, 2004</h2>
234                      <a id="a000246"></a>
235                      <div class="entry" id="entry-246">
236                         <h3 class="entry-header">Env var problems</h3>
237                         <div class="entry-content">
238                            <div class="entry-body">
239                               <p>There is a slight problem with the "set everything and verify it" script cmconfig.cmd. The idea was that that one script would perform 3 separate actions:</p>
240
241 <ol>
242   <li>Set up Clearquest configuration parameters (installutil)</li>
243
244   <li>Set up Clearcase configuration parameters (as per the logged in user) (setccconf.vbs)</li>
245
246   <li>Verify the installation (cmverify.cmd)</li>
247 </ol>
248
249 <p>The problem is with #2 being VBScript and #3 happening as a result of executing from the cmconfig.cmd script. While setccconf.vbs does indeed set the proper configuration environment variables as soon as it ends those settings are no longer set anymore by the evoking script only. All other (new) processes know about the change to the environment variables. To illustrate this odd phenomena:</p>
250
251 <div class="code">
252 <pre>
253 $ <u>type setenv_var.vbs</u>
254 Set sh  = WScript.CreateObject ("WScript.Shell")
255 Set env = sh.Environment ("USER")
256
257 env ("foo") = "bar"
258 $ <u>type senenv_var.cmd</u>
259 @echo off
260 set foo=bar
261 $ <u>echo foo = %foo%</u>
262 foo = %foo%
263 $ <u>cscript setenv_var.vbs</u>
264 $ <u>echo foo = %foo%</u>
265 foo = %foo%
266 $ <u>call setenv_var.cmd</u>
267 $ <u>echo foo = %foo%</u>
268 foo = bar
269 $ <u>cmd /c echo foo = %foo%</u>
270 foo = bar
271 </pre>
272 </div>
273
274 <p>Why it works for a .cmd script but not for a .vbs script I don't know.</p>
275
276 <p>So I will change cmconfig.cmd to do #1 and #2 above but skip #3. This means two things:</p>
277
278 <ol>
279   <li>Customers will have to run cmconfig.cmd first, then cmverify.cmd second</li>
280
281   <li>The running of cmverify.cmd must be done in a separate, new cmd session</li>
282 </ol>
283
284 <p>The reason for #2 is that even after cmconfig.cmd is run environment variables such as CLEARCASE_PRIMARY_GROUP and CLEARCASE_GROUPS will not have been "exported" into that cmd's environment (unless somebody can tell me how to set the parent's environment variables from VBScript...).</p>
285
286 <p>For the point and click crowd this should be OK. The email message you send the customer should have two links: one to cmconfig.cmd and one to cmverify.cmd. If the customer clicks the cmconfig.cmd link then cmconfig.cmd should run, in it's own process, and go away. Subsequently if the user clicks on cmverify.cmd that will run in it's own cmd process and it should pick up the appropriate environment variable settings.</p>
287
288 <p>There have been many requests for enhancements to the configuration scripts including updating the TOOLS database on successful verification and performing additional checks such as "is this user really in the AD group". I believe I will only be able to solve the above problem by having the setccconf.vbs script actually envoke the cmverify.cmd directly so that the environment variables that setccconf.vbs just set are exported into the cmverify.cmd's environment.</p>
289                               
290                               <p class="entry-footer">
291                                  <span class="post-footers">Posted by  at  6:07 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000246.html">Permalink</a>
292                                  
293                                  
294                               </p>
295                            </div>
296                         </div>
297                      </div>
298                      
299                      
300
301                      <h2 class="date-header">September  9, 2004</h2>
302                      <a id="a000244"></a>
303                      <div class="entry" id="entry-244">
304                         <h3 class="entry-header">Server Heap Size/Comment PINE code</h3>
305                         <div class="entry-content">
306                            <div class="entry-body">
307                               <ul>
308
309 <li>Investigated why the view server keeps needing a reboot. Found out that the server heap size was never increased. Fixed that.</li>
310
311 <li>Coded up a new trigger called COMMENT_PINE_CODE</li>
312
313 </ul>
314                               
315                               <p class="entry-footer">
316                                  <span class="post-footers">Posted by  at  5:57 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000244.html">Permalink</a>
317                                  
318                                  
319                               </p>
320                            </div>
321                         </div>
322                      </div>
323                      
324                      
325
326                      <h2 class="date-header">September  8, 2004</h2>
327                      <a id="a000243"></a>
328                      <div class="entry" id="entry-243">
329                         <h3 class="entry-header">Fixed corrupted SQL files for BUCS</h3>
330                         <div class="entry-content">
331                            <div class="entry-body">
332                               <ul>
333
334 <li>Fixed corrupted SQL files for BUCS</li>
335
336 </ul>
337                               
338                               <p class="entry-footer">
339                                  <span class="post-footers">Posted by  at  5:55 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000243.html">Permalink</a>
340                                  
341                                  
342                               </p>
343                            </div>
344                         </div>
345                      </div>
346                      
347                      
348
349                      <h2 class="date-header">September  2, 2004</h2>
350                      <a id="a000241"></a>
351                      <div class="entry" id="entry-241">
352                         <h3 class="entry-header">setccconf</h3>
353                         <div class="entry-content">
354                            <div class="entry-body">
355                               <p>Found that there are situations where one needs to have CLEARCASE_PRIMARY_GROUP set. Worked with Mike to implement groups in the TOOLS database. Spent a large part of today implementing setccconfig.vbs. This command will replace setregion and sets 3 things:</p>
356
357 <ul>
358
359 <li>Region</li>
360
361 <li>CLEARCASE_PRIMARY_GROUP</li>
362
363 <li>CLEARCASE_GROUPS (if required)</li>
364
365 </ul>
366
367 <p>In order to do this the username is used to retrieve information from the TOOLS database. If the username is found then we get the project record and obtain the region. Next we check CC Primary Group and CC Groups. These fields will not always be filled in (previous entries lacked them but future entries should have them filled in. We then set CLEARCASE_PRIMARY_GROUP and CLEARCASE_GROUPS if there are any.</p>
368
369 <p>CC Groups in the TOOLS database will contain all Clearcase groups that the user belongs to - including their Primary group.  In a lot of cases the user's CC Groups will be only one and equal to the Primary group. In that case CLEARCASE_GROUPS is not set. If the user is a member of more than one group then it will be their Primary group and additional groups in the CC Groups field. In that case Primary group is removed from that list and the rest are set into CLEARCASE_GROUPS.</p>
370                               
371                               <p class="entry-footer">
372                                  <span class="post-footers">Posted by  at  2:57 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000241.html">Permalink</a>
373                                  
374                                  
375                               </p>
376                            </div>
377                         </div>
378                      </div>
379                      
380                      
381
382                      <h2 class="date-header">September  1, 2004</h2>
383                      <a id="a000242"></a>
384                      <div class="entry" id="entry-242">
385                         <h3 class="entry-header">CLEARCASE_PRIMARY_GROUP</h3>
386                         <div class="entry-content">
387                            <div class="entry-body">
388                               <p>Worked on setccconf.vbs</p>
389                               
390                               <p class="entry-footer">
391                                  <span class="post-footers">Posted by  at  4:05 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000242.html">Permalink</a>
392                                  
393                                  
394                               </p>
395                            </div>
396                         </div>
397                      </div>
398                      
399                      
400
401                      <h2 class="date-header">August 30, 2004</h2>
402                      <a id="a000239"></a>
403                      <div class="entry" id="entry-239">
404                         <h3 class="entry-header">Informatica/CLEARCASE_PRIMARY_GROUP</h3>
405                         <div class="entry-content">
406                            <div class="entry-body">
407                               <ul>
408
409 <li>Rearranged Informatica script code to be more oriented to what Don needs</li>
410
411 <li>Helped William Dean with issues regarding Clearcase. I think we are all OK now so I closed the Paragrine ticket for this. This has, however, opened up the issue that CLEARCASE_PRIMARY_GROUP needs to be set in some cases</li>
412
413 </ul>
414                               
415                               <p class="entry-more-link">
416                                  <a href="http://defaria.com/blogs/Status/archives/000239.html#more">Continue reading "Informatica/CLEARCASE_PRIMARY_GROUP" &raquo;</a>
417                               </p>
418                               
419                               <p class="entry-footer">
420                                  <span class="post-footers">Posted by  at  6:11 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000239.html">Permalink</a>
421                                  
422                                  
423                               </p>
424                            </div>
425                         </div>
426                      </div>
427                      
428                      
429
430                      <h2 class="date-header">August 26, 2004</h2>
431                      <a id="a000237"></a>
432                      <div class="entry" id="entry-237">
433                         <h3 class="entry-header">Permissions problems</h3>
434                         <div class="entry-content">
435                            <div class="entry-body">
436                               <ul>
437
438 <li>Spent most of the day wrestling with permissions problems. Anje was having problems as vobadm with EAG vobs in a UCM view. Attempted to recreate the problem and understand why it's not allowing her to create elements. Seems the EAG_VMS vob is owned by AsapAdm and group CC-EAG-VMS but vobadm is not the owner. vobadm is in the group and the group has write permission but vobadm can't write.</li>
439
440 <li>Started writing WSH keystroke module for the Informatica process that Don is working on</li>
441
442 </ul>
443                               
444                               <p class="entry-footer">
445                                  <span class="post-footers">Posted by  at  7:21 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000237.html">Permalink</a>
446                                  
447                                  
448                               </p>
449                            </div>
450                         </div>
451                      </div>
452                      
453                      
454
455                      <h2 class="date-header">August 25, 2004</h2>
456                      <a id="a000238"></a>
457                      <div class="entry" id="entry-238">
458                         <h3 class="entry-header">Implementing Groups</h3>
459                         <div class="entry-content">
460                            <div class="entry-body">
461                               <ul>
462
463 <li>Noticed the CC-TTE-EMP-* groups have been created. One has the wrong name (should be CC-TTE-EMP-SCR but is CC-TTE-EMP-SRC. My fault! Typo when I requested the group). Applied these groups to the folders in Core_automation</li>
464
465 <li>Changed protect trigger to set group owner to that of the parent directory. This is needed for this fix</li>
466
467 <li>Removed Permissions trigger. This trigger was ineffective and is no longer needed</li>
468
469 </ul>
470                               
471                               <p class="entry-footer">
472                                  <span class="post-footers">Posted by  at  7:28 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000238.html">Permalink</a>
473                                  
474                                  
475                               </p>
476                            </div>
477                         </div>
478                      </div>
479                      
480                      
481
482                      <h2 class="date-header">August 23, 2004</h2>
483                      <a id="a000236"></a>
484                      <div class="entry" id="entry-236">
485                         <h3 class="entry-header">cmverify/protect</h3>
486                         <div class="entry-content">
487                            <div class="entry-body">
488                               <ul>
489
490 <li>Changed cmverify to report username in the logfile name and in report itself</li>
491
492 <li>Changed protect trigger to use the parent directoy's group as the group owner for new elements</li>
493
494 </ul>
495                               
496                               <p class="entry-footer">
497                                  <span class="post-footers">Posted by  at 11:19 AM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000236.html">Permalink</a>
498                                  
499                                  
500                               </p>
501                            </div>
502                         </div>
503                      </div>
504                      
505                      
506
507                      <h2 class="date-header">August 19, 2004</h2>
508                      <a id="a000235"></a>
509                      <div class="entry" id="entry-235">
510                         <h3 class="entry-header">Group Permissions/mktriggers</h3>
511                         <div class="entry-content">
512                            <div class="entry-body">
513                               <ul>
514
515 <li>Started documenting usage of groups within groups</li>
516
517 <li>Helped John with mktriggers modifications</li>
518
519 <ul>
520                               
521                               <p class="entry-footer">
522                                  <span class="post-footers">Posted by  at  7:10 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000235.html">Permalink</a>
523                                  
524                                  
525                               </p>
526                            </div>
527                         </div>
528                      </div>
529                      
530                      
531
532                      <h2 class="date-header">August 18, 2004</h2>
533                      <a id="a000234"></a>
534                      <div class="entry" id="entry-234">
535                         <h3 class="entry-header">Group Permissions/cmconfig</h3>
536                         <div class="entry-content">
537                            <div class="entry-body">
538                               <ul>
539
540 <li>Wrapped up the 3 things we want to do to configure during install into a cmd script - cmconfig.cmd</lI>
541
542 <li>Performed a lot of investigation regarding group permissions problem - writing web page for this</li>
543
544 </ul>
545                               
546                               <p class="entry-footer">
547                                  <span class="post-footers">Posted by  at  5:06 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000234.html">Permalink</a>
548                                  
549                                  
550                               </p>
551                            </div>
552                         </div>
553                      </div>
554                      
555                      
556
557                      <h2 class="date-header">August 17, 2004</h2>
558                      <a id="a000233"></a>
559                      <div class="entry" id="entry-233">
560                         <h3 class="entry-header">cqverify/TOOLS</h3>
561                         <div class="entry-content">
562                            <div class="entry-body">
563                               <ul>
564
565 <li>Submitted a few task for improvements with the TOOLS database</li>
566
567 <li>Changed cqverify to deliniate between username not found and password wrong. Changed return status such that if the username is not in the Clearquest database that's an error. But if the user is in the Clearquest database but the password is not default then that's just a warning</li>
568
569 <li>Assisted TTE member to add ASAP_WinRunner to his view</li>
570
571 </ul>
572                               
573                               <p class="entry-footer">
574                                  <span class="post-footers">Posted by  at  6:42 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000233.html">Permalink</a>
575                                  
576                                  
577                               </p>
578                            </div>
579                         </div>
580                      </div>
581                      
582                      
583
584                      <h2 class="date-header">August 16, 2004</h2>
585                      <a id="a000232"></a>
586                      <div class="entry" id="entry-232">
587                         <h3 class="entry-header">Setregion/c[qc]verify</h3>
588                         <div class="entry-content">
589                            <div class="entry-body">
590                               <ul>
591
592 <li>Implemented setregion.vbs. This command will set the region for the passed in region name. Or, if no region is given, it uses the users ID and the TOOLS database to determine that user's home region</li>
593
594 <li>Requested SQL folk to allow monitoring of SQL service</li>
595
596 <li>Changed cqverify to attempt connecting to Clearquest database using the user's username and password</li>
597
598 <li>Changed ccverify to not consider an empty CLEARCASE_PRIMARY_GROUP as an error</li>
599
600 </ul>
601                               
602                               <p class="entry-footer">
603                                  <span class="post-footers">Posted by  at  1:27 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000232.html">Permalink</a>
604                                  
605                                  
606                               </p>
607                            </div>
608                         </div>
609                      </div>
610                      
611                      
612
613                      <h2 class="date-header">August 13, 2004</h2>
614                      <a id="a000231"></a>
615                      <div class="entry" id="entry-231">
616                         <h3 class="entry-header">What'sUP/set region</h3>
617                         <div class="entry-content">
618                            <div class="entry-body">
619                               <ul>
620
621 <li>Worked on setting up What's Up alarms and alerts</li>
622
623 <li>Created setregion.vbs. This script will set the region to the passed in region. If nothing is passed in it will attempt to find the region associated with the project for the currently logged in user through the CQ TOOLS database. If it can't find it then it will leave the registry setting alone</li>
624
625 </ul>
626                               
627                               <p class="entry-footer">
628                                  <span class="post-footers">Posted by  at  6:31 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000231.html">Permalink</a>
629                                  
630                                  
631                               </p>
632                            </div>
633                         </div>
634                      </div>
635                      
636                      
637
638                      <h2 class="date-header">August 12, 2004</h2>
639                      <a id="a000230"></a>
640                      <div class="entry" id="entry-230">
641                         <h3 class="entry-header">Tools Push</h3>
642                         <div class="entry-content">
643                            <div class="entry-body">
644                               <ul>
645
646 <li>Spent most of the day investigating how best to solve the issue of supplying Desktop Support a group/region for a user. Started writing VBScript to interrogate the CQ TOOLS database. Have the code functionally working but we need to add Region to a Project in CQ TOOLS. Also need to orient all of our <group>.reg files to be <region>.reg files.</li>
647
648 <li>Implemented COMMENT_SQL_CODE trigger for BUCS_SRC</li>
649
650 </ul>
651                               
652                               <p class="entry-footer">
653                                  <span class="post-footers">Posted by  at  8:47 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000230.html">Permalink</a>
654                                  
655                                  
656                               </p>
657                            </div>
658                         </div>
659                      </div>
660                      
661                      
662
663                      <h2 class="date-header">August 11, 2004</h2>
664                      <a id="a000229"></a>
665                      <div class="entry" id="entry-229">
666                         <h3 class="entry-header">Cron problems/Server Problems/CC Groups</h3>
667                         <div class="entry-content">
668                            <div class="entry-body">
669                               <ul>
670
671 <li>Had problems with cron not being able to find scripts</li>
672
673 <li>Spent much of the day researching whether or not we need to use CLEARCASE_PRIMARY_GROUP at all</li>
674
675 <li>View server needed rebooting</li>
676
677 </ul>
678                               
679                               <p class="entry-footer">
680                                  <span class="post-footers">Posted by  at  5:48 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000229.html">Permalink</a>
681                                  
682                                  
683                               </p>
684                            </div>
685                         </div>
686                      </div>
687                      
688                      
689
690                      <h2 class="date-header">August 10, 2004</h2>
691                      <a id="a000228"></a>
692                      <div class="entry" id="entry-228">
693                         <h3 class="entry-header">AD Groups/setup</h3>
694                         <div class="entry-content">
695                            <div class="entry-body">
696                               <ul>
697
698 <li>Worked on trying to sort out the differences between AD groups/groups.dat and the .reg files. Need to investigate if all this is required in the first place.</li>
699
700 <li>Finished up setup_cygwin. Added links for .inputrc, .Xdefaults and .vimrc. Added stuff for verbose and debug</li>
701
702 </ul>
703                               
704                               <p class="entry-footer">
705                                  <span class="post-footers">Posted by  at  5:56 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000228.html">Permalink</a>
706                                  
707                                  
708                               </p>
709                            </div>
710                         </div>
711                      </div>
712                      
713                      
714
715                      <h2 class="date-header">August  9, 2004</h2>
716                      <a id="a000227"></a>
717                      <div class="entry" id="entry-227">
718                         <h3 class="entry-header">Env/CQ Down/Groups</h3>
719                         <div class="entry-content">
720                            <div class="entry-body">
721                               <ul>
722
723 <li>Added more of an environment into CM_TOOLS</li>
724
725 <li>Clearquest has been down all day. Server threw a shoe. Won't be up 'til tomorrow</li>
726
727 <li>Seems we may not have a 1-to-1 correspondance between groups.dat/AD Groups and .reg files. Trying to work out the problems here</li>
728
729 </ul>
730                               
731                               <p class="entry-footer">
732                                  <span class="post-footers">Posted by  at  7:04 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000227.html">Permalink</a>
733                                  
734                                  
735                               </p>
736                            </div>
737                         </div>
738                      </div>
739                      
740                      
741
742                      <h2 class="date-header">August  5, 2004</h2>
743                      <a id="a000226"></a>
744                      <div class="entry" id="entry-226">
745                         <h3 class="entry-header">CC-TTE/CommentSQLCode/whosin</h3>
746                         <div class="entry-content">
747                            <div class="entry-body">
748                               <ul>
749
750 <li>Had problems with the Permissions trigger. Something we forgot or didn't think about. If the user attempts to add elements to source control they should be permitted in folders that have .perms. However part of adding to source control checks out the parent directory first. At the parent directory level there is no .perms to permit the user to check out the parent directory! This causes Add to Source Control to fail. Solution was to change the algorithm to account for this</li>
751
752 <li>Finished up CommentSQLCode trigger. Added stuff to triggers.dat and documented things in CM_DOCS. Waiting for code review.</li>
753
754 <li>Got this bright idea to take GetCCGroups.vbs and make another script that will simply dump the users for the given groups. Useful command line tool called whois</li>
755
756 <li>Worked on trying to get PC to install the new Rational Web Server for John</li>
757
758 </ul>
759                               
760                               <p class="entry-footer">
761                                  <span class="post-footers">Posted by  at  4:38 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000226.html">Permalink</a>
762                                  
763                                  
764                               </p>
765                            </div>
766                         </div>
767                      </div>
768                      
769                      
770
771                      <h2 class="date-header">August  4, 2004</h2>
772                      <a id="a000225"></a>
773                      <div class="entry" id="entry-225">
774                         <h3 class="entry-header">CommentSQLCode Trigger</h3>
775                         <div class="entry-content">
776                            <div class="entry-body">
777                               <ul>
778
779 <p><li>Implemented CommentSQLCode Trigger - need to do code review, triggers.dat, and documentation</li></p>
780
781 <p><li>Assisted Loren, Padma and William in getting the Permisisons working</li></p>
782
783 </ul>
784                               
785                               <p class="entry-footer">
786                                  <span class="post-footers">Posted by  at  6:35 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000225.html">Permalink</a>
787                                  
788                                  
789                               </p>
790                            </div>
791                         </div>
792                      </div>
793                      
794                      
795
796                      <h2 class="date-header">August  3, 2004</h2>
797                      <a id="a000224"></a>
798                      <div class="entry" id="entry-224">
799                         <h3 class="entry-header">New Trigger</h3>
800                         <div class="entry-content">
801                            <div class="entry-body">
802                               <p>Here are the requirements as I understand them for the trigger that Steve Lipson wants for the SQL checkins. Basically he desires a trigger that will capture the checkin comment and other information and insert that information in the form of a comment at the top of the checked in element. This trigger will:</p>
803
804 <ul>
805   <li>Be a postop trigger for the checkin action</li>
806   <li><b>Not</b> be an all element trigger rather it will be attached to certain file elements in the vob</li>
807   <li>Be made for the &lt;<i>fill in vob name here</i>&gt; vob</li>
808   <li>Only work on file elements - directory elements are to be skipped</li>
809   <li>Only work on file elements that have an extension of .sql - other elements will be skipped</li>
810 </ul>
811
812 <p>Roughly the psuedo code for this trigger will be:</p>
813
814 <div class="code"><pre>
815 # Get name of element and its type
816 $pname        = $ENV{CLEARCASE_PN};
817 $element_type = $ENV{CLEARCASE_ELTYPE};
818
819 # Skip directories and elements that aren't .sql
820 exit if $element_type =~ /directory/i || $pname !~ /\.sql$/i;
821
822 # Get comment and user
823 $comment   = $ENV{CLEARCASE_COMMENT};
824 $userid    = $ENV{CLEARCASE_USER};
825
826 # Format timestamp
827 $timestamp = getCurrentTime;
828
829 # Parse output of lsactivity -cact -long
830 ($activity_id, $activity_title, $activity_owner) = parseLSActivity;
831
832 # Open up $pname for reading and $pname.trig for writting
833 open PNAME_IN, $pname
834   or die "Unable to open $pname for reading - $!\n";
835
836 open PNAME_OUT, ">$pname.trig"
837   or dir "Unable to open $pname.trig for writing - $!\n";
838
839 # Add comment to top of file
840 print $PNAME_OUT &lt;&lt;END;
841 -- Date:            $timestamp
842 -- Activity: $activity_id: $activity_title
843 -- Owner:    $activity_owner ($userid)
844 -- Comment:  $comment
845 END
846
847 # Append $pname
848 while (<PNAME_IN>) {
849   print PNAME_OUT $_;
850 } # while
851
852 close PNAME;
853 close PNAME_OUT;
854
855 # Switch $pname.trig -> $pname
856 unlink $pname;
857 rename "$pname.trig", $pname;
858
859 # Allow checkin to proceed
860 exit 0;
861 </pre></div>
862                               
863                               <p class="entry-footer">
864                                  <span class="post-footers">Posted by  at  6:54 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000224.html">Permalink</a>
865                                  
866                                  
867                               </p>
868                            </div>
869                         </div>
870                      </div>
871                      
872                      
873
874                      <h2 class="date-header">August  2, 2004</h2>
875                      <a id="a000223"></a>
876                      <div class="entry" id="entry-223">
877                         <h3 class="entry-header">Server move (cont)</h3>
878                         <div class="entry-content">
879                            <div class="entry-body">
880                               <p>OK, licenses are all OK now. BTW hostid is not a combination of IP address and MAC address - it's simply MAC address of the NIC card. Problem appears to be that during the server move the NIC card changed! I verified this with the Rational rep this morning. The current MAC address of the NIC card as shown by ipconfig /all (it's the Physical Address) is 00-0f-20-6d-09-97. I gave the old license strings to the rep and she determined our old MAC address of the NIC card was 00-0b-cd-9b-f4-27.</p>
881
882 <p>Looking at the Device Manager on the servers I notice that we have two Network Adapters listed:</p>
883
884 <ol>
885   <li>HP NC7781 Gigabit Server Adapter</li>
886   <li>HP NC7781 Gigabit Server Adapter #2</li>
887 </ol>
888
889 <p>Why we have 2 NIC cards I don't know (perhaps merely for the ability to be multihomed). Normally I see #1 being disabled and #2 being enabled. Rtnlprod01 is like this. Rtnlprod02 has #1 enabled and #2 disabled. For the vob and view servers this does not matter. Either card will work. For rtnlprod03 however, since licenses are tied to the NIC card's MAC address, switching from #1 -> #2 (or #2 -> #1 as I suspect has happened here) will invalidate all licenses. We need to insure that the network adapter for rtnlprod03 remains nailed at either #1 or #2.</p>
890
891 <p>Since it appears that the network adapter has changed and since I have obtained a new set of licenses for this new network adapter and still have the old set, I have installed both sets so that in the event that the network adapter switches again we'll be covered. However, if we order additional licenses for say card #1 and somehow we get switched to card #2, those additional licenses will not be represented, hence the desire to nail the NIC card to either one or the other.</p>
892                               
893                               <p class="entry-footer">
894                                  <span class="post-footers">Posted by  at  6:47 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000223.html">Permalink</a>
895                                  
896                                  
897                               </p>
898                            </div>
899                         </div>
900                      </div>
901                      
902                      
903
904                      <h2 class="date-header">July 30, 2004</h2>
905                      <a id="a000222"></a>
906                      <div class="entry" id="entry-222">
907                         <h3 class="entry-header">TTE/Server move to Cartwright</h3>
908                         <div class="entry-content">
909                            <div class="entry-body">
910                               <ul>
911
912 <li>Had AD groups created in one day!</li>
913
914 <li>Supported the server move to Cartwright. The move invalidated all Clearcase/Multisite licenses! Got emergency licenses</li>
915
916 <ul>
917                               
918                               <p class="entry-footer">
919                                  <span class="post-footers">Posted by  at  6:42 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000222.html">Permalink</a>
920                                  
921                                  
922                               </p>
923                            </div>
924                         </div>
925                      </div>
926                      
927                      
928
929                      <h2 class="date-header">July 29, 2004</h2>
930                      <a id="a000221"></a>
931                      <div class="entry" id="entry-221">
932                         <h3 class="entry-header">Nag/TTE/Print CSS</h3>
933                         <div class="entry-content">
934                            <div class="entry-body">
935                               <ul>
936
937 <li>Finished nag. Started nagging David Chu and TTE-EMP people. Worked well with TTE-EMP people....</li>
938
939 <li>Requested creation of AD groups for TTE-EMP. Created in one day! Yippie!. Showed Loren how to make .perms files. Still need to address the issue of Empower people being in which CC group...</li>
940
941 <li>Changed web pages to use new print CSS</li>
942
943 </ul>
944                               
945                               <p class="entry-footer">
946                                  <span class="post-footers">Posted by  at  6:22 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000221.html">Permalink</a>
947                                  
948                                  
949                               </p>
950                            </div>
951                         </div>
952                      </div>
953                      
954                      
955
956                      <h2 class="date-header">July 28, 2004</h2>
957                      <a id="a000219"></a>
958                      <div class="entry" id="entry-219">
959                         <h3 class="entry-header">Tools push/Lockvobs</h3>
960                         <div class="entry-content">
961                            <div class="entry-body">
962                               <ul>
963
964 <li>Met with Victor Larson and William Fagerberg regarding tools push. We went over my install scripts and they will attempt to package up an msi file that will install Clearcase and TUP and add the appropriate registry entries for the user. We in CM just need to ensure that we have the appropriate reg file set up before the pushes occur.</li>
965
966 <li>Changed Lockvobs to use an exclusion list of vobs to not [un]lock vobs</li>
967
968 <li>Helped new guy, John Luu, with his set up</li>
969
970 </ul>
971                               
972                               <p class="entry-footer">
973                                  <span class="post-footers">Posted by  at  9:47 AM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000219.html">Permalink</a>
974                                  
975                                  
976                               </p>
977                            </div>
978                         </div>
979                      </div>
980                      
981                      
982
983                      <h2 class="date-header">July 27, 2004</h2>
984                      <a id="a000220"></a>
985                      <div class="entry" id="entry-220">
986                         <h3 class="entry-header">Nag</h3>
987                         <div class="entry-content">
988                            <div class="entry-body">
989                               <ul>
990
991 <p><li>Implementing email reminder</li></p>
992
993 </ul>
994                               
995                               <p class="entry-footer">
996                                  <span class="post-footers">Posted by  at  9:56 AM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000220.html">Permalink</a>
997                                  
998                                  
999                               </p>
1000                            </div>
1001                         </div>
1002                      </div>
1003                      
1004                      
1005
1006                      <h2 class="date-header">July 23, 2004</h2>
1007                      <a id="a000218"></a>
1008                      <div class="entry" id="entry-218">
1009                         <h3 class="entry-header">Logger/Display modules - backups</h3>
1010                         <div class="entry-content">
1011                            <div class="entry-body">
1012                               <ul>
1013
1014 <li>Attended backup meeting. It may be that we cannot use <b>diskpart</b> to break hardware mirrors! Spoke with a Rusty Young and he wants a copy of our requirements and may present us with other options like <i>Volume Shadow Copy</i>, SAN, etc.</li>
1015
1016 <li>Modified Display module to accept optional filehandle and to display errors and warnings to STDERR</li>
1017
1018 <li>Checked in initial Logger Object. Now uses Display module</li>
1019
1020 </ul>
1021                               
1022                               <p class="entry-footer">
1023                                  <span class="post-footers">Posted by  at 11:49 AM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000218.html">Permalink</a>
1024                                  
1025                                  
1026                               </p>
1027                            </div>
1028                         </div>
1029                      </div>
1030                      
1031                      
1032
1033                      <h2 class="date-header">July 22, 2004</h2>
1034                      <a id="a000217"></a>
1035                      <div class="entry" id="entry-217">
1036                         <h3 class="entry-header">Logger</h3>
1037                         <div class="entry-content">
1038                            <div class="entry-body">
1039                               <ul>
1040
1041 <li>Worked on a Logger object</li>
1042
1043 <li>Resolved long standing <i>Compare does not work in snapshot view</i> issue. Turns out that certain vobs had forward slashes instead of backslashes in their storage paths for the vob tags. Changed to backslashes and compare works again. Strange! Bug in Rational code. Cleaned up all vob tags. View tags do not appear to be affected. May think about changing <i>tagit</i> to tag things with only backslashes...</li>
1044
1045 </ul>
1046                               
1047                               <p class="entry-footer">
1048                                  <span class="post-footers">Posted by  at  5:26 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000217.html">Permalink</a>
1049                                  
1050                                  
1051                               </p>
1052                            </div>
1053                         </div>
1054                      </div>
1055                      
1056                      
1057
1058                      <h2 class="date-header">July 21, 2004</h2>
1059                      <a id="a000216"></a>
1060                      <div class="entry" id="entry-216">
1061                         <h3 class="entry-header">Mktriggers/restoring view</h3>
1062                         <div class="entry-content">
1063                            <div class="entry-body">
1064                               <ul>
1065
1066 <li>Finally got view restored. Recovered the triggers.dat file and the NoPBLs trigger</li>
1067
1068 <li>Implemented both the NoPBLs and Permissions triggers</li>
1069
1070 <li>Implemented vobsize</li>
1071
1072 </ul>
1073
1074
1075                               
1076                               <p class="entry-footer">
1077                                  <span class="post-footers">Posted by  at  3:15 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000216.html">Permalink</a>
1078                                  
1079                                  
1080                               </p>
1081                            </div>
1082                         </div>
1083                      </div>
1084                      
1085                      
1086
1087                      <h2 class="date-header">July 20, 2004</h2>
1088                      <a id="a000215"></a>
1089                      <div class="entry" id="entry-215">
1090                         <h3 class="entry-header">Permissions Trigger</h3>
1091                         <div class="entry-content">
1092                            <div class="entry-body">
1093                               <p>Implemented Permissions trigger.</p>
1094                               
1095                               <p class="entry-footer">
1096                                  <span class="post-footers">Posted by  at  3:12 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000215.html">Permalink</a>
1097                                  
1098                                  
1099                               </p>
1100                            </div>
1101                         </div>
1102                      </div>
1103                      
1104                      
1105
1106                      <h2 class="date-header">July 19, 2004</h2>
1107                      <a id="a000214"></a>
1108                      <div class="entry" id="entry-214">
1109                         <h3 class="entry-header">Permissions Trigger</h3>
1110                         <div class="entry-content">
1111                            <div class="entry-body">
1112                               <p>I've given the "permissions trigger" some thought and would like to formalize the requirements a bit. The new trigger will have the following characteristics:</p>
1113
1114 <ul>
1115
1116 <li>Since multiple groups will be allowed write access to the vob they will need to be added as additional groups on the vob group list. </li>
1117
1118 <li>Determination of what users get additional write capability will be on Active Directory groups. IOW you can grant write access to say the CC-PMO group but not specifically to Mike Hrenko who is a member of the CC-PMO group. Additionally CC-PMO would need to appear on the vob group list in this example.</li>
1119  
1120 <li>The trigger will use CLEARCASE_PRIMARY_GROUP to determine what group the user is. This avoids having to do LDAP lookups and it's the way that Clearcase does it anyway. CLEARCASE_PRIMARY_GROUP will not be used verbatim - if it were then anybody would "fake" out the trigger by merely setting CLEARCASE_PRIMARY_GROUP. Instead "creds" will be called to ascertain the effective primary group.</li>
1121
1122 <li>A permissions element will be created that will contain a list of groups, one per line, that are allowed write access from this folder downward. The vob's initial or primary group owner (CC-TTE in the case of Core_automation) will always have write permission. Furthermore the permissions element should be secured such that only vob's primary group owner can modify it. Otherwise other groups could easily modify the permissions element thus granting write permissions to arbitrary groups.</li>
1123
1124 </ul>
1125
1126 <p>Let's see an example of how this will work and how the trigger will respond. Let's assume the following directory structure:</p>
1127
1128 <blockquote>
1129   Core_automation 
1130   <blockquote>
1131     Empower <font color="#eeeeee">CC-EAG-AS, CC-EAG-ESB</font>
1132     <blockquote>
1133       Functions <font color="#eeeeee">CC-EAG-VIP</font><br>
1134       Results <font color="#eeeeee">CC-EAG-VMS</font><br>
1135       Common
1136     </blockquote>
1137   </blockquote>
1138 </blockquote>
1139
1140 <p>Further let's assume that the permissions element is at the Empower level and contains the groups CC-EAG-AS and CC-EAG-ESB. This says that those two groups (as well as CC-TTE as primary group owners of the vob) have write permission (the ability to checkout) elements from Core_automation/Empower downward. Additionally let's say that we have a permissions element at Empower/Functions that lists CC-EAG-VIP and Empower/Results has a permissions element that lists CC-EAG-VMS. The following can be said:</p>
1141
1142 <ul>
1143
1144 <li>Members of CC-EAG-AS and CC-EAG-ESB have write permissions to Empower, Empower/Functions, Empower/Results and Empower/Common. Further, if new folders are created under Empower, CC-EAG-AS and CC-EAG-ESB will have write permissions to those new folders as well (IOW the write permissions are inherited by new folders that are created)</li>
1145
1146 <li>Members of CC-EAG-VIP have write permissions to Empower/Functions and any new folders created under Functions, but they do not have write permissions to Empower/Results nor Empower/Common. Similarly CC-EAG-VMS has write permissions to Empower/Results but not to Empower/Functions nor Empower/Common</li>
1147
1148 </ul>
1149
1150 <p>The pseudo code for the trigger is roughly as follows. Note that the trigger gets fired during checkout of an element only (it is assumed if the user successfully checked out the element then, at the time, he had write permissions and should be allowed to check in the element):</p>
1151
1152 <div class="code">
1153 <pre>
1154 $vob_group_owner = GetGroupOwner (vob) 
1155 $current_group   = GetCurrentGroup (CLEARCASE_PRIMARY_GROUP as per "creds") 
1156
1157 if (permissions element exists in the current folder) { 
1158   if (IsAMember (Parse ($permissions_element), $current_group) {
1159     &lt;<i>allow checkout</i>&gt;
1160   } else { 
1161     &lt;<i>recurse to check parent folder stopping at vob root</i>&gt; 
1162     &lt;<i>disallow checkout</i>&gt;
1163   } 
1164 }
1165 </pre>
1166 </div>
1167                               
1168                               <p class="entry-footer">
1169                                  <span class="post-footers">Posted by  at  3:07 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000214.html">Permalink</a>
1170                                  
1171                                  
1172                               </p>
1173                            </div>
1174                         </div>
1175                      </div>
1176                      
1177                      
1178
1179                      <h2 class="date-header">July 16, 2004</h2>
1180                      <a id="a000213"></a>
1181                      <div class="entry" id="entry-213">
1182                         <h3 class="entry-header">TTE/BUCS</h3>
1183                         <div class="entry-content">
1184                            <div class="entry-body">
1185                               <ul>
1186
1187 <li>Helped Don with BUCS</li>
1188
1189 <li>Attended meeting with TTE regarding how to better use Clearcase. Need to create a trigger that allows or disallows write access to certain areas of their vob</li>
1190
1191 </ul>
1192                               
1193                               <p class="entry-footer">
1194                                  <span class="post-footers">Posted by  at  5:47 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000213.html">Permalink</a>
1195                                  
1196                                  
1197                               </p>
1198                            </div>
1199                         </div>
1200                      </div>
1201                      
1202                      
1203
1204                      <h2 class="date-header">July 15, 2004</h2>
1205                      <a id="a000212"></a>
1206                      <div class="entry" id="entry-212">
1207                         <h3 class="entry-header">tagit/findview/Clearquest Web</h3>
1208                         <div class="entry-content">
1209                            <div class="entry-body">
1210                               <ul>
1211
1212 <li>Fixed tagit to tag into the current region</li>
1213
1214 <li>Adjusted findview to total views and accept multiple view search strings</li>
1215
1216 <li>Helped Anje, Timmie and Mike with new Clearquest web installation in the lab</li>
1217
1218 </ul>
1219                               
1220                               <p class="entry-footer">
1221                                  <span class="post-footers">Posted by  at  6:50 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000212.html">Permalink</a>
1222                                  
1223                                  
1224                               </p>
1225                            </div>
1226                         </div>
1227                      </div>
1228                      
1229                      
1230
1231                      <h2 class="date-header">July 12, 2004</h2>
1232                      <a id="a000211"></a>
1233                      <div class="entry" id="entry-211">
1234                         <h3 class="entry-header">Moving views</h3>
1235                         <div class="entry-content">
1236                            <div class="entry-body">
1237                               <ul>
1238
1239 <li>Consulted with ASAP regarding moving of views from a desktop to the server</li>
1240
1241 <li>Helped Subba move a vob to the server</li>
1242
1243 <li>Consulted with Babu regarding designing of Multisite replacement scheme</li>
1244
1245 </ul>
1246                               
1247                               <p class="entry-footer">
1248                                  <span class="post-footers">Posted by  at  9:06 AM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000211.html">Permalink</a>
1249                                  
1250                                  
1251                               </p>
1252                            </div>
1253                         </div>
1254                      </div>
1255                      
1256                      
1257
1258                      <h2 class="date-header">July  8, 2004</h2>
1259                      <a id="a000210"></a>
1260                      <div class="entry" id="entry-210">
1261                         <h3 class="entry-header">Display.pm/ASAP View moves/Backups/Compare to Previous</h3>
1262                         <div class="entry-content">
1263                            <div class="entry-body">
1264                               <ul>
1265
1266 <li>Created Display.pm Perl module</li>
1267
1268 <li>Consulted with ASAP Re: Moving views</li>
1269
1270 <li>Spoke with Rory Re: Backups</li>
1271
1272 <li>Worked some more with Rational regarding the <i>Compare to Previous</i> problem</li>
1273
1274 </ul>
1275                               
1276                               <p class="entry-footer">
1277                                  <span class="post-footers">Posted by  at  7:21 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000210.html">Permalink</a>
1278                                  
1279                                  
1280                               </p>
1281                            </div>
1282                         </div>
1283                      </div>
1284                      
1285                      
1286
1287                      <h2 class="date-header">July  7, 2004</h2>
1288                      <a id="a000209"></a>
1289                      <div class="entry" id="entry-209">
1290                         <h3 class="entry-header">mirror_backup coding/Compare to previous</h3>
1291                         <div class="entry-content">
1292                            <div class="entry-body">
1293                               <ul>
1294
1295 <li>Started coding mirror_backup</li>
1296
1297 <li>Worked with Rational on <i>Compare to previous fails in snapshot view</i></li>
1298
1299 </ul>
1300                               
1301                               <p class="entry-footer">
1302                                  <span class="post-footers">Posted by  at  7:14 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000209.html">Permalink</a>
1303                                  
1304                                  
1305                               </p>
1306                            </div>
1307                         </div>
1308                      </div>
1309                      
1310                      
1311
1312                      <h2 class="date-header">July  6, 2004</h2>
1313                      <a id="a000207"></a>
1314                      <div class="entry" id="entry-207">
1315                         <h3 class="entry-header">GetCCGroups.vbs/PowerBuilder</h3>
1316                         <div class="entry-content">
1317                            <div class="entry-body">
1318                               <ul>
1319
1320 <li>Updated GetCCGroups.vbs to send email from servers</li>
1321
1322 <li>Documented PowerBuilder/Clearcase Performance.</li>
1323
1324 </ul>
1325                               
1326                               <p class="entry-footer">
1327                                  <span class="post-footers">Posted by  at 10:56 AM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000207.html">Permalink</a>
1328                                  
1329                                  
1330                               </p>
1331                            </div>
1332                         </div>
1333                      </div>
1334                      
1335                      
1336
1337                      <h2 class="date-header">July  5, 2004</h2>
1338                      <a id="a000208"></a>
1339                      <div class="entry" id="entry-208">
1340                         <h3 class="entry-header">PowerBuilder Testing</h3>
1341                         <div class="entry-content">
1342                            <div class="entry-body">
1343                               <p>Created various views to perform performance testing of PowerBuilder builds.</p>
1344                               
1345                               <p class="entry-footer">
1346                                  <span class="post-footers">Posted by  at  7:09 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000208.html">Permalink</a>
1347                                  
1348                                  
1349                               </p>
1350                            </div>
1351                         </div>
1352                      </div>
1353                      
1354                      
1355
1356                      <h2 class="date-header">July  1, 2004</h2>
1357                      <a id="a000206"></a>
1358                      <div class="entry" id="entry-206">
1359                         <h3 class="entry-header">BUCS Build Measurements</h3>
1360                         <div class="entry-content">
1361                            <div class="entry-body">
1362                               <ul>
1363
1364 <li>Completed BUCS Build Measurements. Managed to cut some of the build time by using outofdate and exclude_checkout options. Performed builds on each of Local/Remote snapshot views and Local/Remote dynamic views. Remote dynamic views are by far still the slowest with most of the time being spent in refreshing elements from Clearcase.</li>
1365
1366 <li>The GetCCGroups.vbs email process failed today. Turns out the code cannot send email. Posted a question about this on the newsgroup. Need to change the VB Script to set the mail server apparently</li>
1367
1368 </ul>
1369                               
1370                               <p class="entry-footer">
1371                                  <span class="post-footers">Posted by  at  2:34 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000206.html">Permalink</a>
1372                                  
1373                                  
1374                               </p>
1375                            </div>
1376                         </div>
1377                      </div>
1378                      
1379                      
1380
1381                      <h2 class="date-header">June 25, 2004</h2>
1382                      <a id="a000205"></a>
1383                      <div class="entry" id="entry-205">
1384                         <h3 class="entry-header">Finished backup script</h3>
1385                         <div class="entry-content">
1386                            <div class="entry-body">
1387                               <p>The backup script is ready for deployment. It was determined to lock all vobs at once, back them all up then unlock the vobs. I also implemented the 7 days of history option. History is stored under d:\vobstore\backup as numbered directories (0-6 for Sun-Sat). The script now manages that area by first moving the current backup under d:\backup -> d:\vobstore\backup\<current day #> after first clearing out d:\vobstore\backup\<current day #> (if it existed). It was decided to put the history stuff under vobstore because this way we can tell the backup people "Just exclude d:\vobstore but get everything else".</p>
1388
1389 <p>I was experiencing "Access denied" errors irradically until I found out that there may be .being-deleted files as described <a href="http://www-1.ibm.com/support/docview.wss?rs=0&q1=being-deleted&uid=swg21129318&loc=en_US&cs=utf-8&cc=us&lang=en">here</a>. To solve this I implemented exclusions on the xcopy command (/exclude:d:\backup\exclude.strings) which tells xcopy to exclude things in the "c" directory - i.e. the cleartext pool - which Clearcase can easily recreate without data loss. This also has the effect of reducing the backup copy size in some cases significantly (e.g. \ASAP_Docs goes from 2.1 gig down to 1 gig!).</p>
1390
1391 <p>Here's a rough psuedo code of what the script does:</p>
1392
1393 <div id="code">
1394 <pre>
1395 Obtain a list of all vobs
1396 Lock all vobs
1397 foreach @vobs
1398   if d:\vobstore\backup\$current_day\$vob exists then
1399     remove it
1400   end if
1401   move d:\backup\$vob -> d:\vobstore\backup\$current_day\$vob
1402   copy $vob's storage area -> d:\backup\$vob
1403 Next
1404 Unlock all vobs
1405 </pre>
1406 </div>
1407 <p>Cutting out the copying of cleartext pool has reduced the current backup time from 56 minutes (yes it grew) to 33 minutes.</p>
1408
1409 <p>Now, where are we WRT the SQL backup scripts?....</p>
1410                               
1411                               <p class="entry-footer">
1412                                  <span class="post-footers">Posted by  at  3:37 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000205.html">Permalink</a>
1413                                  
1414                                  
1415                               </p>
1416                            </div>
1417                         </div>
1418                      </div>
1419                      
1420                      
1421
1422                      <h2 class="date-header">June 23, 2004</h2>
1423                      <a id="a000202"></a>
1424                      <div class="entry" id="entry-202">
1425                         <h3 class="entry-header">Multisite/backup.pl</h3>
1426                         <div class="entry-content">
1427                            <div class="entry-body">
1428                               <p>Spent some time trying to multisite a test vob (\defaria). Realized that we will have a problem in that we will need a machine (server or client) dedicated to handling the multisite region in order to lock vobs and backup things.</p>
1429
1430 <p>Had a meeting WRT multisite approach. It was determined that will we switch to using a script to make a copy of the vobs and back up from there. Started writing script...</p>
1431                               
1432                               <p class="entry-footer">
1433                                  <span class="post-footers">Posted by  at  9:21 AM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000202.html">Permalink</a>
1434                                  
1435                                  
1436                               </p>
1437                            </div>
1438                         </div>
1439                      </div>
1440                      
1441                      
1442
1443                      <h2 class="date-header">June 21, 2004</h2>
1444                      <a id="a000204"></a>
1445                      <div class="entry" id="entry-204">
1446                         <h3 class="entry-header">XML</h3>
1447                         <div class="entry-content">
1448                            <div class="entry-body">
1449                               <p>Spent most of the day investigating XML and XSL.</p>
1450                               
1451                               <p class="entry-footer">
1452                                  <span class="post-footers">Posted by  at  9:29 AM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000204.html">Permalink</a>
1453                                  
1454                                  
1455                               </p>
1456                            </div>
1457                         </div>
1458                      </div>
1459                      
1460                      
1461
1462                      <h2 class="date-header">June 18, 2004</h2>
1463                      <a id="a000201"></a>
1464                      <div class="entry" id="entry-201">
1465                         <h3 class="entry-header">XML</h3>
1466                         <div class="entry-content">
1467                            <div class="entry-body">
1468                               <ul>
1469
1470 <li>Spent most of the day studying XML</li>
1471
1472 <li>Added debugging code to LogActivity trigger</li>
1473
1474 <li>Worked on problem Sujay's people had with 0 length document</li>
1475
1476 </ul>
1477                               
1478                               <p class="entry-footer">
1479                                  <span class="post-footers">Posted by  at  1:55 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000201.html">Permalink</a>
1480                                  
1481                                  
1482                               </p>
1483                            </div>
1484                         </div>
1485                      </div>
1486                      
1487                      
1488
1489                      <h2 class="date-header">June 16, 2004</h2>
1490                      <a id="a000199"></a>
1491                      <div class="entry" id="entry-199">
1492                         <h3 class="entry-header">AD/CC Registry</h3>
1493                         <div class="entry-content">
1494                            <div class="entry-body">
1495                               <ul>
1496
1497 <li>Activated reporting of Active Directory groups</li>
1498
1499 <li>Cleaned up Clearcase Registry</li>
1500
1501 </ul>
1502                               
1503                               <p class="entry-footer">
1504                                  <span class="post-footers">Posted by  at  2:17 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000199.html">Permalink</a>
1505                                  
1506                                  
1507                               </p>
1508                            </div>
1509                         </div>
1510                      </div>
1511                      
1512                      
1513
1514                      <h2 class="date-header">June 15, 2004</h2>
1515                      <a id="a000200"></a>
1516                      <div class="entry" id="entry-200">
1517                         <h3 class="entry-header">BUCS/VOB Snapshots/RequistePro</h3>
1518                         <div class="entry-content">
1519                            <div class="entry-body">
1520                               <ul>
1521
1522 <li>More working with Babu re: BUC$ build script</li>
1523
1524 <li>Investigated and prototyped vob_snapshot backups</li>
1525
1526 <li>Incorporated Requisite Pro into a FAQ web page</li>
1527
1528 </ul>
1529                               
1530                               <p class="entry-footer">
1531                                  <span class="post-footers">Posted by  at  2:21 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000200.html">Permalink</a>
1532                                  
1533                                  
1534                               </p>
1535                            </div>
1536                         </div>
1537                      </div>
1538                      
1539                      
1540
1541                      
1542                      <a id="a000198"></a>
1543                      <div class="entry" id="entry-198">
1544                         <h3 class="entry-header">Clearcase Web Server</h3>
1545                         <div class="entry-content">
1546                            <div class="entry-body">
1547                               <p>The Clearcase web service died today. I don't know why but the following is what I did to get it back up and running. </p>
1548
1549 <p>Server is back up.</p>
1550
1551 <p>Problem analysis:</p>
1552
1553 <p>Not really sure where things went wrong however when I looked at it the Rational Web Platform (rwp - which is really just Apache with Tomcat under the hood) was not running. rwp creates error logs but they are hard to parse because there are many of them with apparently random numbers tacked on. I believe these numbers represent the date in some form but haven't figured out how to decode them.</p>
1554
1555 <p>Anyway, I tried moving them aside and to restart the rwp server so that it would be clear what the error file was. Couldn't move all the log files out of the way because some were busy. Wish I had a good tool to figure out who has a file open.</p>
1556
1557 <p>The error message when trying to start rwp was "The Rational Web Platform HTTP Service Terminated with Service-Specific Error 1". Searching the Rational Support site yielded that the reason the service could not start was because some other process was using port 80. Typically this is due to somebody else runnig IIS. No IIS running. Tried netstat but could not find who was using port 80. Tried telneting to port 80 and got "Connection failed" so whoever was using port 80 did not want to talk to me! :-)</p>
1558
1559 <p>Finally I tried running rwp.exe from the command line with --help hoping for help about rwp's possible command line opts. Instead rwp started and ran! Clearcase web was back up but I did not like having rwp running in a console window and if I were to log out I feared that the rwp process would end. So I went to the Services applet and tried to start (since there was no stop) rwp. It started and the rwp running in the console ended. For safety's sake I restarted the rwp service through the Services applet. I believe Clearcase web is OK for now and we are doign server maintainance tonight anyway...<br />
1560 </p>
1561                               
1562                               <p class="entry-footer">
1563                                  <span class="post-footers">Posted by  at 10:44 AM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000198.html">Permalink</a>
1564                                  
1565                                  
1566                               </p>
1567                            </div>
1568                         </div>
1569                      </div>
1570                      
1571                      
1572
1573                      <h2 class="date-header">June  9, 2004</h2>
1574                      <a id="a000197"></a>
1575                      <div class="entry" id="entry-197">
1576                         <h3 class="entry-header">PB/ASAP VOB Moves</h3>
1577                         <div class="entry-content">
1578                            <div class="entry-body">
1579                               <ul>
1580
1581 <li>Joined PowerBuilder newsgroup to try to find out how to solve the Orca Script problems. Looks like I'm gonna learn way more about PB than I wanted to</li>
1582
1583 <li>Tested moving PVOB and Src vob from vobstore to ASAP_VOBS. Works OK.</li>
1584
1585 <li>Learned that we can use the DOS command MOVE which moves the VOBs simply by manipulating the directory entries. This means moving a large vob takes no longer than a small vobs. This is probably possible because we are on the same filesystem</li>
1586
1587 <li>WRT these ASAP vobs, we need to <tt>ct find -all -exec "cleartool protect -chown &lt;owner&gt; %CLEARCASE_PN%"</tt></li>
1588
1589 </ul>
1590
1591                               
1592                               <p class="entry-footer">
1593                                  <span class="post-footers">Posted by  at  7:08 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000197.html">Permalink</a>
1594                                  
1595                                  
1596                               </p>
1597                            </div>
1598                         </div>
1599                      </div>
1600                      
1601                      
1602
1603                      <h2 class="date-header">June  8, 2004</h2>
1604                      <a id="a000196"></a>
1605                      <div class="entry" id="entry-196">
1606                         <h3 class="entry-header">ActiveState Perl</h3>
1607                         <div class="entry-content">
1608                            <div class="entry-body">
1609                               <ul>
1610
1611 <li>Spent most of the day installing a Networked ActiveState Perl. Had permission problems with making elements in my dynamic view! Don't know why? Tried a clearfsimport and that caused the Perl to fail. I think it didn't properly copy permissions. So I ended up having to <b>Add to Source Control</b> all the files by hand (since I don't have scripting tools)</li>
1612
1613 <li>Consulted with Subba about ASAP VOB Move test</li>
1614
1615 <li>Babu gave me an assignment to learn <i>OrcaScript</i> which is a scripting language for PowerBuidlder. Oh boy!</li>
1616
1617 </ul>
1618                               
1619                               <p class="entry-footer">
1620                                  <span class="post-footers">Posted by  at  7:07 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000196.html">Permalink</a>
1621                                  
1622                                  
1623                               </p>
1624                            </div>
1625                         </div>
1626                      </div>
1627                      
1628                      
1629
1630                      <h2 class="date-header">June  4, 2004</h2>
1631                      <a id="a000195"></a>
1632                      <div class="entry" id="entry-195">
1633                         <h3 class="entry-header">AD Groups</h3>
1634                         <div class="entry-content">
1635                            <div class="entry-body">
1636                               <p>Worked on getccgroups.vbs most of the day. Managed to get it to recurse for groups within groups and to sort the arrays of names. Need to implement the email portion though.</p>
1637                               
1638                               <p class="entry-footer">
1639                                  <span class="post-footers">Posted by  at  5:43 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000195.html">Permalink</a>
1640                                  
1641                                  
1642                               </p>
1643                            </div>
1644                         </div>
1645                      </div>
1646                      
1647                      
1648
1649                      <h2 class="date-header">June  3, 2004</h2>
1650                      <a id="a000194"></a>
1651                      <div class="entry" id="entry-194">
1652                         <h3 class="entry-header">More meetings</h3>
1653                         <div class="entry-content">
1654                            <div class="entry-body">
1655                               <ul>
1656
1657 <li>Yet even more meetings</li>
1658
1659 <li>Documented installation scripts. Fixed them to dynamically mktag for \ccverify</li>
1660
1661 <li>Helped Rick Cunneen with VOB questions</li>
1662
1663 </ul>
1664                               
1665                               <p class="entry-footer">
1666                                  <span class="post-footers">Posted by  at  7:23 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000194.html">Permalink</a>
1667                                  
1668                                  
1669                               </p>
1670                            </div>
1671                         </div>
1672                      </div>
1673                      
1674                      
1675
1676                      <h2 class="date-header">June  2, 2004</h2>
1677                      <a id="a000193"></a>
1678                      <div class="entry" id="entry-193">
1679                         <h3 class="entry-header">Meetings, Bloody Meetings</h3>
1680                         <div class="entry-content">
1681                            <div class="entry-body">
1682                               <ul>
1683
1684 <li>Attended several (3) meetings today so not much got done</li>
1685
1686 <li>Fixed some minor problems with verification scripts</li>
1687
1688 </ul>
1689                               
1690                               <p class="entry-footer">
1691                                  <span class="post-footers">Posted by  at  7:10 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000193.html">Permalink</a>
1692                                  
1693                                  
1694                               </p>
1695                            </div>
1696                         </div>
1697                      </div>
1698                      
1699                      
1700
1701                      <h2 class="date-header">June  1, 2004</h2>
1702                      <a id="a000192"></a>
1703                      <div class="entry" id="entry-192">
1704                         <h3 class="entry-header">CMVerify</h3>
1705                         <div class="entry-content">
1706                            <div class="entry-body">
1707                               <ul>
1708
1709 <li>Worked mostly on [cm|cc|cq]verify scripts. Got them checked in as working</li>
1710
1711 <li>Worked a little bit on the GetCCGroups vbs scripts</li>
1712
1713 </ul>
1714                               
1715                               <p class="entry-footer">
1716                                  <span class="post-footers">Posted by  at  7:34 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000192.html">Permalink</a>
1717                                  
1718                                  
1719                               </p>
1720                            </div>
1721                         </div>
1722                      </div>
1723                      
1724                      
1725
1726                      <h2 class="date-header">May 28, 2004</h2>
1727                      <a id="a000191"></a>
1728                      <div class="entry" id="entry-191">
1729                         <h3 class="entry-header">Updated install scripts/started verification scripts</h3>
1730                         <div class="entry-content">
1731                            <div class="entry-body">
1732                               <ul>
1733
1734 <li>Updated install scripts: Added running of PMO-CM.cmd to HKEY_LOCAL_MACHINE key Added checking of pre-existing installation of Clearcase and/or Clearquest and skipping the install if it's already installed.</li>
1735
1736 <li>Started putting together verfication scripts</li>
1737
1738 </ul>
1739                               
1740                               <p class="entry-footer">
1741                                  <span class="post-footers">Posted by  at  4:23 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000191.html">Permalink</a>
1742                                  
1743                                  
1744                               </p>
1745                            </div>
1746                         </div>
1747                      </div>
1748                      
1749                      
1750
1751                      <h2 class="date-header">May 27, 2004</h2>
1752                      <a id="a000190"></a>
1753                      <div class="entry" id="entry-190">
1754                         <h3 class="entry-header">VBScript/install command</h3>
1755                         <div class="entry-content">
1756                            <div class="entry-body">
1757                               <ul>
1758
1759 <li>Worked most of the day learning VBScript for the LDAP thing</li>
1760
1761 <li>Modified PMO.cmd so that it implements new fucntionality</li>
1762
1763 </ul>
1764                               
1765                               <p class="entry-footer">
1766                                  <span class="post-footers">Posted by  at  5:52 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000190.html">Permalink</a>
1767                                  
1768                                  
1769                               </p>
1770                            </div>
1771                         </div>
1772                      </div>
1773                      
1774                      
1775
1776                      <h2 class="date-header">May 26, 2004</h2>
1777                      <a id="a000189"></a>
1778                      <div class="entry" id="entry-189">
1779                         <h3 class="entry-header">FlexLM/GetCCGroups</h3>
1780                         <div class="entry-content">
1781                            <div class="entry-body">
1782                               <ul>
1783
1784 <li>Spent like 4 hours wrestling with FlexLM but finally got the thing to work and log license usage</li>
1785
1786 <li>Dustin gave me a VB Script that gets names for a group. Massaged it (read rewrote it) into GetCCGroups.vbs. This dumps out the names into files like CC-ASAP.grp, CC-PMO.grp, etc.</li>
1787
1788 </ul>
1789                               
1790                               <p class="entry-footer">
1791                                  <span class="post-footers">Posted by  at  7:33 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000189.html">Permalink</a>
1792                                  
1793                                  
1794                               </p>
1795                            </div>
1796                         </div>
1797                      </div>
1798                      
1799                      
1800
1801                      <h2 class="date-header">May 25, 2004</h2>
1802                      <a id="a000188"></a>
1803                      <div class="entry" id="entry-188">
1804                         <h3 class="entry-header">Evil Twin/LDAP/Diff</h3>
1805                         <div class="entry-content">
1806                            <div class="entry-body">
1807                               <ul>
1808
1809 <li>Finished up coding evil twin and went through a quick review with Don. Need to setup some test cases before implementing</li>
1810
1811 <li>Received some info from Dustin Sauter regarding LDAP access. He was quite helpful and even provided me with a utility ot show the members of a group as well as shared the LDAP schema.</li>
1812
1813 <li>Submitted clearbugnt and sysinfo for the view/vob server for the problem about ct diff</li>
1814
1815 </ul>
1816                               
1817                               <p class="entry-footer">
1818                                  <span class="post-footers">Posted by  at  6:42 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000188.html">Permalink</a>
1819                                  
1820                                  
1821                               </p>
1822                            </div>
1823                         </div>
1824                      </div>
1825                      
1826                      
1827
1828                      <h2 class="date-header">May 24, 2004</h2>
1829                      <a id="a000187"></a>
1830                      <div class="entry" id="entry-187">
1831                         <h3 class="entry-header">Evil Twin</h3>
1832                         <div class="entry-content">
1833                            <div class="entry-body">
1834                               <ul>
1835
1836 <li>Transformed Triggers document back into html</li>
1837
1838 <li>Worked on Evil Twin trigger</li>
1839
1840 <li>Consulted with Mike regarding moving ASAP to it's own share</li>
1841
1842 </ul>
1843                               
1844                               <p class="entry-footer">
1845                                  <span class="post-footers">Posted by  at  6:16 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000187.html">Permalink</a>
1846                                  
1847                                  
1848                               </p>
1849                            </div>
1850                         </div>
1851                      </div>
1852                      
1853                      
1854
1855                      <h2 class="date-header">May 21, 2004</h2>
1856                      <a id="a000186"></a>
1857                      <div class="entry" id="entry-186">
1858                         <h3 class="entry-header">tail/trigger</h3>
1859                         <div class="entry-content">
1860                            <div class="entry-body">
1861                               <ul>
1862
1863 <li>Worked on implementing tail</li>
1864
1865 <li>Worked with Sujay a bit on the ASAP_BUS_REQ trigger. Need to get a testign environment</li>
1866
1867 </ul>
1868                               
1869                               <p class="entry-footer">
1870                                  <span class="post-footers">Posted by  at  6:22 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000186.html">Permalink</a>
1871                                  
1872                                  
1873                               </p>
1874                            </div>
1875                         </div>
1876                      </div>
1877                      
1878                      
1879
1880                      <h2 class="date-header">May 20, 2004</h2>
1881                      <a id="a000185"></a>
1882                      <div class="entry" id="entry-185">
1883                         <h3 class="entry-header">BUCS</h3>
1884                         <div class="entry-content">
1885                            <div class="entry-body">
1886                               <ul>
1887
1888 <p><li>Attended a few meetings which took up my time</li></p>
1889
1890 <p><li>Worked about 2 1/2 hours on rmelem'ing some files for BUCS</li></p>
1891
1892 <p><li>Added installation of TUP to install script for CCADMIN. Need to propogate this to the other install scripts. Involved adding stuff to HKLM RunOnce for TUP install</li></p>
1893
1894 </ul>
1895                               
1896                               <p class="entry-footer">
1897                                  <span class="post-footers">Posted by  at  5:28 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000185.html">Permalink</a>
1898                                  
1899                                  
1900                               </p>
1901                            </div>
1902                         </div>
1903                      </div>
1904                      
1905                      
1906
1907                      <h2 class="date-header">May 19, 2004</h2>
1908                      <a id="a000184"></a>
1909                      <div class="entry" id="entry-184">
1910                         <h3 class="entry-header">Diff Problem/Ant Build</h3>
1911                         <div class="entry-content">
1912                            <div class="entry-body">
1913                               <ul>
1914
1915 <li>Worked a little on the problem with Core_automation and diff</li>
1916
1917 <li>Installed Ant and JDK into CM_TOOLS and performed a build of ASAP_Infrastructure!</li>
1918
1919 <li>Performed code review of <a href="/eviltwin.php">INHIBIT_DUPLICATE_ELE</a></li>
1920
1921 </ul>
1922                               
1923                               <p class="entry-footer">
1924                                  <span class="post-footers">Posted by  at  6:19 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000184.html">Permalink</a>
1925                                  
1926                                  
1927                               </p>
1928                            </div>
1929                         </div>
1930                      </div>
1931                      
1932                      
1933
1934                      <h2 class="date-header">May 18, 2004</h2>
1935                      <a id="a000183"></a>
1936                      <div class="entry" id="entry-183">
1937                         <h3 class="entry-header">LogActivity/ASAP & ASAP_BUS_REQ/.reg files</h3>
1938                         <div class="entry-content">
1939                            <div class="entry-body">
1940                               <ul>
1941
1942 <p><li>Wrote LogActivity trigger which will log activity to an HTML log file. It requires one parameter, the path to where to put the log file. Thereafter it writes log files of the format <vob name>_yyyy-mm-dd.html.</li></p>
1943
1944 <p><li>Added LogActivity trigger to ASAP_Docs and ASAP_BUS_REQ vobs</li></p>
1945
1946 <p><li>Changed old ASAP_NOTIFY trigger to use the generic NotifyTrigger.pl script with a message file for ASAP and another one with a different message file for ASAP_BUS_REQ</li></p>
1947
1948 <p><li>Adjusted triggers.dat to reflect this</li></p>
1949
1950 <p><li>Modified etc/*.reg file to include Clearquest settings in an ASCII form</li></p>
1951
1952 </ul>
1953                               
1954                               <p class="entry-footer">
1955                                  <span class="post-footers">Posted by  at  5:17 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000183.html">Permalink</a>
1956                                  
1957                                  
1958                               </p>
1959                            </div>
1960                         </div>
1961                      </div>
1962                      
1963                      
1964
1965                      <h2 class="date-header">May 17, 2004</h2>
1966                      <a id="a000182"></a>
1967                      <div class="entry" id="entry-182">
1968                         <h3 class="entry-header">ASAP_NOTIFY/PMO view/Install Scripts</h3>
1969                         <div class="entry-content">
1970                            <div class="entry-body">
1971                               <ul>
1972
1973 <li>Created new tools view named PMO</li>
1974
1975 <li>Installed ASAP_NOTIFY trigger</li>
1976
1977 <li>Created installation scripts</li>
1978
1979 </ul>
1980
1981                               
1982                               <p class="entry-more-link">
1983                                  <a href="http://defaria.com/blogs/Status/archives/000182.html#more">Continue reading "ASAP_NOTIFY/PMO view/Install Scripts" &raquo;</a>
1984                               </p>
1985                               
1986                               <p class="entry-footer">
1987                                  <span class="post-footers">Posted by  at  4:45 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000182.html">Permalink</a>
1988                                  
1989                                  
1990                               </p>
1991                            </div>
1992                         </div>
1993                      </div>
1994                      
1995                      
1996
1997                      <h2 class="date-header">May 14, 2004</h2>
1998                      <a id="a000181"></a>
1999                      <div class="entry" id="entry-181">
2000                         <h3 class="entry-header">BUCS PVOB</h3>
2001                         <div class="entry-content">
2002                            <div class="entry-body">
2003                               <ul>
2004
2005 <p><li>Worked with Don on BUCS import. Problem was that the PVOB was not created with the proper name. Tried repairing the situation but was unable to. Don gave up is recreating the BUCS and BUCS_PVOB properly (again).</li></p>
2006
2007 </ul>
2008                               
2009                               <p class="entry-footer">
2010                                  <span class="post-footers">Posted by  at  2:43 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000181.html">Permalink</a>
2011                                  
2012                                  
2013                               </p>
2014                            </div>
2015                         </div>
2016                      </div>
2017                      
2018                      
2019
2020                      <h2 class="date-header">May 13, 2004</h2>
2021                      <a id="a000180"></a>
2022                      <div class="entry" id="entry-180">
2023                         <h3 class="entry-header">Lab/ASAP_NOTIFY Trigger</h3>
2024                         <div class="entry-content">
2025                            <div class="entry-body">
2026                               <ul>
2027
2028 <li>Finished up the lab by reregistring the views properly. Also found and tagged the INDIA vobs and views. One thing left on the environment is the Clearquest stuff but I have no idea what the username/passwords might be. I would like to get Mike on this but he's out. Oh well, the licenses are stille expiring in two days anyhow...</li>
2029
2030 <li>Reworked the ASAP_NOTIFY trigger:</br>
2031
2032 <br>I have changed the trigger that you sent us to operate correctly in the Clearcase environment. This involved quite a few steps:
2033
2034 <ul>
2035 <li>Changed to use the proper Perl conventions of -w and use strict.</li>
2036 <li>Changed to work under ccperl, thus guaranteeing that it will work for all Clearcase clients</li>
2037 <li>Changed to use Net::SMTP, which is already in ccperl, instead of requiring sendmail.pm</li>
2038 <li>General code clean up. Also made a few subroutine to help logic flow.</li>
2039 <li>Changed to write html logfiles to their web server</li>
2040 <li>Changed to send link to html log file in the email.</li>
2041 <li>Added this ASAP_NOTIFY trigger to the mktriggers mechanism.</li>
2042 </ul>
2043 </li>
2044
2045 <li>Started investigating Ant</li>
2046 </ul>
2047                               
2048                               <p class="entry-footer">
2049                                  <span class="post-footers">Posted by  at  6:58 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000180.html">Permalink</a>
2050                                  
2051                                  
2052                               </p>
2053                            </div>
2054                         </div>
2055                      </div>
2056                      
2057                      
2058
2059                      <h2 class="date-header">May 12, 2004</h2>
2060                      <a id="a000179"></a>
2061                      <div class="entry" id="entry-179">
2062                         <h3 class="entry-header">Installs/Code Review/rgy_backup</h3>
2063                         <div class="entry-content">
2064                            <div class="entry-body">
2065                               <ul>
2066
2067 <li>Used Altris to connect to Nash's computer to investigate her create view problem. Turns out her install was not done properly and she lacked MVFS. Instructed her to speak with Desktop folks to get a proper install</li>
2068
2069 <li>Installed licenses onto the lab machines. Clearcase and Multisite are now functioning in the lab... Well at least until May 15th! Also need to reregister vobs and views to have the new machine names in them. Haven't finished the views yet...</li>
2070
2071 <li>Assisted Rick Cunneen with some issues he had with the Evil Twin Trigger</li>
2072
2073 <li>Code reviewed ASAP's <a href="/Notification.php">Notification Trigger</a>.</li>
2074
2075 <li>Fixed rgy_backup on rtnlprod01. Don't know how it was broke nor how exactly I fixed it. I suspect that perhaps the backup registry server field in the Clearcase Control Panel Applet was mispelled. Sure looked right to me! Anyways I set it to blank thinking that might fix it but it didn't. When setting back I guess I typed it in correctly where it was incorrect before</li>
2076
2077 <li>Looked over Don's changed to the Evil Twin Trigger</li>
2078
2079 </ul>
2080                               
2081                               <p class="entry-footer">
2082                                  <span class="post-footers">Posted by  at  7:07 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000179.html">Permalink</a>
2083                                  
2084                                  
2085                               </p>
2086                            </div>
2087                         </div>
2088                      </div>
2089                      
2090                      
2091
2092                      <h2 class="date-header">May 11, 2004</h2>
2093                      <a id="a000178"></a>
2094                      <div class="entry" id="entry-178">
2095                         <h3 class="entry-header">Lab</h3>
2096                         <div class="entry-content">
2097                            <div class="entry-body">
2098                               <ul>
2099
2100 <p><li>Updated the lab to get Clearcase runnnig</li></p>
2101
2102 <p><li>Closed ASAP_BUS_REQ vob ticket</li></p>
2103
2104 </ul>
2105                               
2106                               <p class="entry-footer">
2107                                  <span class="post-footers">Posted by  at  4:31 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000178.html">Permalink</a>
2108                                  
2109                                  
2110                               </p>
2111                            </div>
2112                         </div>
2113                      </div>
2114                      
2115                      
2116
2117                      <h2 class="date-header">May 10, 2004</h2>
2118                      <a id="a000177"></a>
2119                      <div class="entry" id="entry-177">
2120                         <h3 class="entry-header">ASAP_BUS_REQ move</h3>
2121                         <div class="entry-content">
2122                            <div class="entry-body">
2123                               In trying to test this out before actually implementing this on the production vob I found that this does not appear to work as expected. Here's what I did:
2124
2125 <ol>
2126
2127 <li>Created a new share on the production server (rtnlprod01) named defaria</li>
2128 <li>Set share permissions to Everyone: Full Control (for now).</li>
2129 <li>Created a private vob defaria2 with a path of \\rtnlprod01\defaria\defaria2.vbs. This vob is owned by vobadm and the group is CC-PMO.</li>
2130 <li>Mounted the vob on my desktop and through my already existing defaria view I copied some files into the vob root directory as well as made a subfolder with some files in there too.</li>
2131 <li>Added all files and folders to source control. This is now my test vob.</li>
2132 <li>Unmounted the \defaria2 vob from my desktop. (Note I also had to find and kill the vob_server, db_server and vobrpc_server processes on the vob server that were associated with this vob, \defaria2, as unmounting a vob does not stop these processes)</li>
2133 <li>Changed the share permission on the \\rtnlprod01\defaria share by removing Everyone and adding two groups: CC-PMO, which I am a part of, which will serve as the read/write test group and CC-TTE, which I am not a part of, which will serve as the read only test group. These two groups were added with Full Control to the share. Since CC-TTE is not a member of the vob group list they will fall into using the "other" permissions setting for the vob, which will limit them to read only. CC-PMO, being part of the vob group list will use the "group" permissions setting which will provide read/write.</li>
2134 <li>Next I remounted the vob on my desktop and checked out a file. So far so good. (I'm acting as a member of CC-PMO - a read/writer at this time)</li>
2135 <li>When I went to check in this file, however, I received the following error: "mvfs: ERROR: view=defaria vob=\defaria2 - ClearCase vob error see view_log on host rtnlprod02 for more info"</li>
2136 <li>Checking rtnlprod02 (the view server)'s view log shows me: 'view_server.exe(5684): Error: Unable to construct cleartext for object "0x46" in VOB "rtnlprod01:D:\defaria\defaria2.vbs": error detected by ClearCase subsystem' and 'text_file_delta: Error: Unable to open file  \\rtnlprod01\defaria\defaria2.vbs\s\sdft\1f\a\0-8d2a90ad41134b1e9cddf04d42034d38-tk": Permission denied'</li>
2137 <li>Unmounted the vob again and went to the server and killed the vob_server/db_server/vobrpc_process again</li>
2138 <li>Added Everyone: Full Control back to the share point (leaving both CC-PMO and CC-TTE)</li>
2139 <li>Remounted the vob on my desktop. The first thing that I noticed was that the element did not have a checked out symbol next to it and it was accessible. Checked out and checked in the element again. No problems.</li>
2140
2141 </ol>
2142
2143 <p>So it seems that there is some process in the Clearcase Explorer that requires that the share point have Everyone: Full Control set (or at least something more than just CC-PMO and CC-TTE). Note that if I click somewhere out of the directory, like to the subfolder then go back I get the "mvfs: ERROR..." again. I see no errors in the cleartool command line - just in Clearcase Explorer.</p>
2144
2145 <p>Seems the answer to the problem is to add clearcase_albd to the share permissions. I also added vobadm and the CCADMIN group</p>
2146                               
2147                               <p class="entry-footer">
2148                                  <span class="post-footers">Posted by  at  4:10 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000177.html">Permalink</a>
2149                                  
2150                                  
2151                               </p>
2152                            </div>
2153                         </div>
2154                      </div>
2155                      
2156                      
2157
2158                      <h2 class="date-header">May  7, 2004</h2>
2159                      <a id="a000174"></a>
2160                      <div class="entry" id="entry-174">
2161                         <h3 class="entry-header">ASAP_BUS_REQ</h3>
2162                         <div class="entry-content">
2163                            <div class="entry-body">
2164                               <ul>
2165
2166 <p><li>Responded to ASAP's request to move their vob in order to allow read only access to another group</li></p>
2167
2168 <p><li>Packed...</li></p>
2169
2170 </ul>
2171                               
2172                               <p class="entry-footer">
2173                                  <span class="post-footers">Posted by  at 10:36 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000174.html">Permalink</a>
2174                                  
2175                                  
2176                               </p>
2177                            </div>
2178                         </div>
2179                      </div>
2180                      
2181                      
2182
2183                      <h2 class="date-header">May  6, 2004</h2>
2184                      <a id="a000173"></a>
2185                      <div class="entry" id="entry-173">
2186                         <h3 class="entry-header">ASAP_BUS_REQ/Flex LM</h3>
2187                         <div class="entry-content">
2188                            <div class="entry-body">
2189                               <ul>
2190
2191 <li>Worked on ASAP_BUS_REQ request to set up a read only group</li>
2192
2193 <li>Worked on Steve Nameroff's request to set up FlexLM monitoring</li>
2194
2195 </ul>
2196                               
2197                               <p class="entry-more-link">
2198                                  <a href="http://defaria.com/blogs/Status/archives/000173.html#more">Continue reading "ASAP_BUS_REQ/Flex LM" &raquo;</a>
2199                               </p>
2200                               
2201                               <p class="entry-footer">
2202                                  <span class="post-footers">Posted by  at  5:50 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000173.html">Permalink</a>
2203                                  
2204                                  
2205                               </p>
2206                            </div>
2207                         </div>
2208                      </div>
2209                      
2210                      
2211
2212                      <h2 class="date-header">May  5, 2004</h2>
2213                      <a id="a000172"></a>
2214                      <div class="entry" id="entry-172">
2215                         <h3 class="entry-header">Test web</h3>
2216                         <div class="entry-content">
2217                            <div class="entry-body">
2218                               <p>Spend most of my time setting up a test environment for the web pages. Problem is that the web server (Apache) cannot see the M drive when started as a service so it must refer to a snapshot view. Created webview for this purpose. But how does on test when in order to do so would require to publish your changes?</p>
2219
2220 <p>So I created another view, webtest. But how does Apache reference two different DocumentRoot's? We don't have the power of aliasing, and there's the two web servers to consider: c09-272-a and rtnlprod02.</p>
2221
2222 <p>Ended up configuring Apache to listen on two different ports at the same time using VirtualHosts on both servers.</p>
2223
2224 <p>Then I hit a problem with snapshot views not honoring symlinks properly - it copies the elements instead - and difficulty in updating such things. You see I was attempting to share css and images folders by means of a symlink. Abandoned that idea. Still need to hammer out where I have full URL's and pay attention to the different ports, etc...</p>
2225
2226 <p>Emailed Rory Valle regarding backups, he says they are being done. Also prodded James Portugal again about LDAP access. Finally attended the CM Staff meeting</p>
2227
2228                               
2229                               <p class="entry-footer">
2230                                  <span class="post-footers">Posted by  at  5:45 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000172.html">Permalink</a>
2231                                  
2232                                  
2233                               </p>
2234                            </div>
2235                         </div>
2236                      </div>
2237                      
2238                      
2239
2240                      <h2 class="date-header">May  4, 2004</h2>
2241                      <a id="a000171"></a>
2242                      <div class="entry" id="entry-171">
2243                         <h3 class="entry-header">Core_automation and web pages</h3>
2244                         <div class="entry-content">
2245                            <div class="entry-body">
2246                               <ul>
2247
2248 <li>Worked hard with the TTE group to try to resolve the problem with comparing versions. Reproduced problem in a snapshot view. Seems there is still some permissions problem lurking. Can compare in dynamic view. Can compare in an ASCII fashion. Cannot compare in a GUI fashion with any other version than version 0 (or other empty data container. Tried fix_prot. Tried vob_sidwalk. Nothing is working. Contacted Rational. Working with Rational on this problem.</li>
2249
2250 <li>Moved web pages into CM_DOCS vob. Reconfigured web servers to point there. Changed LicenseMonitoring to work in this new context. Created webview snapshot view to access this with. Would like to use a dynamic view but Apache can't seem to see the M drive (Probably because it's running as a service).</li>
2251
2252 </ul>
2253                               
2254                               <p class="entry-footer">
2255                                  <span class="post-footers">Posted by  at  8:59 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000171.html">Permalink</a>
2256                                  
2257                                  
2258                               </p>
2259                            </div>
2260                         </div>
2261                      </div>
2262                      
2263                      
2264
2265                      <h2 class="date-header">May  3, 2004</h2>
2266                      <a id="a000170"></a>
2267                      <div class="entry" id="entry-170">
2268                         <h3 class="entry-header">Core_automation</h3>
2269                         <div class="entry-content">
2270                            <div class="entry-body">
2271                               <ul>
2272
2273 <li>Helped Bruce Durbin create a dynamic view</li>
2274
2275 <li>Worked with Loren Gifford on a problem he was having comparing elements</li>
2276
2277 <li>Eventually needed to create new vob and import Core_automation to it</li>
2278
2279 <li>Went to get cell phone.</li>
2280
2281 <li>Wrote findview to search for views in all regions</li>
2282
2283 </ul>
2284                               
2285                               <p class="entry-more-link">
2286                                  <a href="http://defaria.com/blogs/Status/archives/000170.html#more">Continue reading "Core_automation" &raquo;</a>
2287                               </p>
2288                               
2289                               <p class="entry-footer">
2290                                  <span class="post-footers">Posted by  at  3:09 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000170.html">Permalink</a>
2291                                  
2292                                  
2293                               </p>
2294                            </div>
2295                         </div>
2296                      </div>
2297                      
2298                      
2299
2300                      <h2 class="date-header">April 30, 2004</h2>
2301                      <a id="a000169"></a>
2302                      <div class="entry" id="entry-169">
2303                         <h3 class="entry-header">rgy_backup and server upgrade</h3>
2304                         <div class="entry-content">
2305                            <div class="entry-body">
2306                               <ul>
2307
2308 <li>Spent time trying to understand the Clearcase scheduler and why rgy_backup is not being performed. Apparently modifications were made to the Clearcase scheduler on rtnlprod01 in particular by Paul Kruchmer (or whoever). The net result was the cascading jobs were failing. This should be working more correctly on the new server</li>
2309
2310 <li><b>Dave & Busters</b> - Enuff said</li>
2311
2312 <li>Back at the farm for the server swap: Things went well in the beginning - didn't even need to run reregister script. Then some problems occurred. Eventually we nailed it down to only one real problem - the inability of plain users to create views. Mentioned we should create one plain user in each production group so we can "play" plain user. Eventually Mike discovered that Windows 2003 Server tighened up security on the Share Permissions (not the permissions of the shared folder but the permissions of the share itself) such that <b>Full Control</b> for <b>Everybody</b> is now by default off. Toggled that on and all is well</li>
2313
2314 <li>Added lockvobs jobs to new rtnlprod01. Script was failing due to recent relative path fixes. Works from the shell but not from the Clearcase Scheduler perspective. Backed out changes for now</li>
2315
2316 </ul>
2317                               
2318                               <p class="entry-footer">
2319                                  <span class="post-footers">Posted by  at 11:14 AM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000169.html">Permalink</a>
2320                                  
2321                                  
2322                               </p>
2323                            </div>
2324                         </div>
2325                      </div>
2326                      
2327                      
2328
2329                      <h2 class="date-header">April 28, 2004</h2>
2330                      <a id="a000168"></a>
2331                      <div class="entry" id="entry-168">
2332                         <h3 class="entry-header">Meetings/Script review/Backup Registry Service</h3>
2333                         <div class="entry-content">
2334                            <div class="entry-body">
2335                               <ul>
2336
2337 <li>Attended 3 meetings today which, by far, occupied most of my time</li>
2338
2339 <li>Script review meeting was good. In particular I've implemented the following changes to reregister</li>
2340
2341 <ul>
2342
2343 <li>Script not loops through regions for vobs as well as views</li>
2344
2345 <li>Script now uses -host on lsvob and lsregion to restrict execution to the vob and view hosts only</li>
2346
2347 <li>Script mktag's for both public and private vobs</li>
2348
2349 </ul>
2350
2351 <li>Cleaned up the registry a little bit. Subba created some vobs in cs-nt that were:
2352
2353 <ol>
2354
2355 <li>Not public</li>
2356
2357 <li>Not in the pmo-nt region</li>
2358
2359 </ol><br>
2360
2361 Also cleaned up a vob or two that was tagged in another region as private while it was public in the pmo-nt region. This happens semi-silently in that if you mktag -vob -region &lt;<i>other region</i>&gt;... the mktag will prompt for registry password, giving you the <i>illusion</i> that it is making the tag in <i>other region</i> as public when it is not. <u>If you are mktag'ing into another region a public vob you must explicitly state -public!</u></li>
2362
2363 <li>Investigated backup registry service. It is not working in the current environment. Here's how I believe it is supposed to work:
2364
2365 <ul>
2366
2367 <li>You must, of course, configure backup registry server setting on all clients to point to the backup registry server properly. This we had already done.</li>
2368
2369 <li>You can manually take a snapshot of the registry by executing rgy_backup. If run on any machine other than the designated backup registry server it will merely ask the current registry server what the backup registry server is and set the backup registry server key in the Windows registry. If run on the backup registry server it will copy a snapshot of the registry files in $CCASE_DIR/var/rgy/backup. It appends a date timestamp to the file name and in the non timestamped filename, records a pointer to this file (e.g. the backup/vob_tag file contains the machine relative path to vob_tag_<timestamp>).</li>
2370
2371 <li>Clearcase relies on the Clearcase scheduler and the <b>Standard Daily Job</b> to perform daily snapshots of the registry via rgy_backup. There are two problems with this:
2372
2373 <ol>
2374
2375 <li>Currently the <b>Standard Daily Job</b> is not even scheduled by default!</li>
2376
2377 <li>One can envision crude developing in the backup directory after months of these daily jobs! I'm not sure how or if there is a mechanism for cleaning up such stuff</li>
2378
2379 </ol>
2380
2381 </ul>
2382
2383 </ul>
2384                               
2385                               <p class="entry-footer">
2386                                  <span class="post-footers">Posted by  at  7:04 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000168.html">Permalink</a>
2387                                  
2388                                  
2389                               </p>
2390                            </div>
2391                         </div>
2392                      </div>
2393                      
2394                      
2395
2396                      <h2 class="date-header">April 27, 2004</h2>
2397                      <a id="a000166"></a>
2398                      <div class="entry" id="entry-166">
2399                         <h3 class="entry-header">Server Swap Prep</h3>
2400                         <div class="entry-content">
2401                            <div class="entry-body">
2402                               <ul>
2403
2404 <li>Sent email to Rory Valle for him to install the backup software and start backing up the new servers</li>
2405
2406 <li>Already tested the transfer of [un]lock vobs jobs. Need to have the new servers up and to activate this to test them</li>
2407
2408 <li>Scheduled review meeting for reregister script</li>
2409
2410 <li>Checked the local users/groups on the old and new servers and they appear to be OK</li>
2411
2412 <li>Re: Genius move: Verified that EntData_ARCH wants R/W access for others denied but Core_automation will go with the standard vob permissions</li>
2413
2414 </ul>
2415                               
2416                               <p class="entry-footer">
2417                                  <span class="post-footers">Posted by  at  5:17 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000166.html">Permalink</a>
2418                                  
2419                                  
2420                               </p>
2421                            </div>
2422                         </div>
2423                      </div>
2424                      
2425                      
2426
2427                      <h2 class="date-header">April 26, 2004</h2>
2428                      <a id="a000165"></a>
2429                      <div class="entry" id="entry-165">
2430                         <h3 class="entry-header">CRPS/Genius Move</h3>
2431                         <div class="entry-content">
2432                            <div class="entry-body">
2433                               <ul>
2434
2435 <li>Recieved laptop today</li>
2436 <li>Fixed problem with tables for IE</li>
2437 <li>Worked on CRPS</li>
2438 <li>Figured out how to move Genius vobs</li>
2439 <li>Helped Subba with a vob import</li>
2440
2441 </ul>
2442                               
2443                               <p class="entry-more-link">
2444                                  <a href="http://defaria.com/blogs/Status/archives/000165.html#more">Continue reading "CRPS/Genius Move" &raquo;</a>
2445                               </p>
2446                               
2447                               <p class="entry-footer">
2448                                  <span class="post-footers">Posted by  at 10:30 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000165.html">Permalink</a>
2449                                  
2450                                  
2451                               </p>
2452                            </div>
2453                         </div>
2454                      </div>
2455                      
2456                      
2457
2458                      <h2 class="date-header">April 23, 2004</h2>
2459                      <a id="a000164"></a>
2460                      <div class="entry" id="entry-164">
2461                         <h3 class="entry-header">Genius move</h3>
2462                         <div class="entry-content">
2463                            <div class="entry-body">
2464                               <ul>
2465
2466 <li>Attempted to move Core_automation and EntData_ARCH vobs to prod01 but failed</li>
2467
2468 <li> Worked with security people to get vobadm password back</li>
2469
2470 <li>Worked a little to configure RWP for Perl CGI</li>
2471
2472 </ul>
2473
2474 <h3> Vob move problems</h3>
2475
2476 <p>First problem with the move of these vobs was that vobadm's password had changed. Therefore I had to perform this vob move in an unfamilar environment. Also, ownerships and permissions on these vobs are odd as they were done before we started standardizing things. As ccadmin1 I was eventually able to copy the vob storage but was not able to register these vobs at the new location.  Attempts to do so would fail with </p>
2477
2478 <div class="code">
2479 cleartool: Error: Failed to record hostname "rtnlprod01" in storage directory<br>
2480 "D:\vobstore\EntData_ARCH.vbs". Check that root or the ClearCase<br> administrators group has permission to write to this directory.<br>
2481 </div>
2482
2483 <p>Even after changing ownerships this was still failing. I suggest we take soem time to get the ownerships and permissions standardized on these vobs in the Genuis region before we attempt to move them again (that and perhaps doing some test moving...)</p>
2484
2485 <h3>Vobadm password problems</h3>
2486
2487 <p>AFAICT somebody changed the vobadm password. Now I'm not pointing any fingers however nobody in our group did and the only other group who knows the vobadm password is...  Well you fill in the rest! Anyways, for some reason at about 3 Pm that somebody must have changed the password back.</p>
2488                               
2489                               <p class="entry-footer">
2490                                  <span class="post-footers">Posted by  at  3:11 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000164.html">Permalink</a>
2491                                  
2492                                  
2493                               </p>
2494                            </div>
2495                         </div>
2496                      </div>
2497                      
2498                      
2499
2500                      <h2 class="date-header">April 22, 2004</h2>
2501                      <a id="a000163"></a>
2502                      <div class="entry" id="entry-163">
2503                         <h3 class="entry-header">Web views/register/Pauls Vob</h3>
2504                         <div class="entry-content">
2505                            <div class="entry-body">
2506                               <ul>
2507
2508 <li>Removed web views from rtnlprod03</li>
2509 <li>Worked with Timmie regarding move of Genius vobs</li>
2510 <li>Fixed reregister to handle web views</li>
2511 <li>Worked with Paul to create CM_Docs vob</li>
2512 <li>Helped Subba import some code and setup stuff for cs-nt</li>
2513 <li>Started Clearcase Problem Reporting System</li>
2514
2515 </ul>
2516                               
2517                               <p class="entry-more-link">
2518                                  <a href="http://defaria.com/blogs/Status/archives/000163.html#more">Continue reading "Web views/register/Pauls Vob" &raquo;</a>
2519                               </p>
2520                               
2521                               <p class="entry-footer">
2522                                  <span class="post-footers">Posted by  at  2:31 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000163.html">Permalink</a>
2523                                  
2524                                  
2525                               </p>
2526                            </div>
2527                         </div>
2528                      </div>
2529                      
2530                      
2531
2532                      <h2 class="date-header">April 21, 2004</h2>
2533                      <a id="a000162"></a>
2534                      <div class="entry" id="entry-162">
2535                         <h3 class="entry-header"></h3>
2536                         <div class="entry-content">
2537                            <div class="entry-body">
2538                               <ul>
2539
2540 <li>Requested LDAP access from James Portugal</li>
2541 <li>Spoke to Tom regarding Niku. Says we'll only need to report time and that he'll hold a brown bag seminar for it</li>
2542 <li>Requested that rtnlprod01/02 be renamed to 04/05</li>
2543 <li>Converted web pages to new standard template</li>
2544 <li>Set up RWP on prodfix01 so that it can access user FAQs</li>
2545 <li>Checked that Clearcase web is working on prodfix02</li>
2546 <li>Changed reregister to handle UCM PVOBS in a more intelligent way</li>
2547
2548 </ul>
2549                               
2550                               <p class="entry-footer">
2551                                  <span class="post-footers">Posted by  at  7:56 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000162.html">Permalink</a>
2552                                  
2553                                  
2554                               </p>
2555                            </div>
2556                         </div>
2557                      </div>
2558                      
2559                      
2560
2561                      <h2 class="date-header">April 20, 2004</h2>
2562                      <a id="a000161"></a>
2563                      <div class="entry" id="entry-161">
2564                         <h3 class="entry-header">M Drive problem, LDAP stuff, Installation Areas</h3>
2565                         <div class="entry-content">
2566                            <div class="entry-body">
2567                               <ul>
2568
2569 <li>M drive problem appears to be a networking problem at Eric's location</li>
2570
2571 <li>Condensed Client release areas to one release area</li>
2572
2573 <li>Attempted to access LDAP through Perl</li>
2574
2575 </ul>
2576                               
2577                               <p class="entry-more-link">
2578                                  <a href="http://defaria.com/blogs/Status/archives/000161.html#more">Continue reading "M Drive problem, LDAP stuff, Installation Areas" &raquo;</a>
2579                               </p>
2580                               
2581                               <p class="entry-footer">
2582                                  <span class="post-footers">Posted by  at  4:29 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000161.html">Permalink</a>
2583                                  
2584                                  
2585                               </p>
2586                            </div>
2587                         </div>
2588                      </div>
2589                      
2590                      
2591
2592                      <h2 class="date-header">April 19, 2004</h2>
2593                      <a id="a000160"></a>
2594                      <div class="entry" id="entry-160">
2595                         <h3 class="entry-header">reregister, ccperl, fix FAQ, view private files</h3>
2596                         <div class="entry-content">
2597                            <div class="entry-body">
2598                               <ul>
2599
2600 <li>Finished reregister script. This script will reregister all vobs and views that were based on rtnlprod02. This is needed since the new server will not have the same IP address as the old server.</li>
2601
2602 <li>Changed mktriggers to use ccperl unqualified instead of fully qualifying it. This will allow the triggers to work on the servers as well as the clients</li>
2603
2604 <li>Added FAQ entry describing view private and derived objects</li>
2605
2606 <li>Fixed the FAQ pages. Mike had switched rtnlprod02 over to using rwp. This broke the FAQ pages since they used Apache under Cygwin. Reported rwp to the old FAQ pages.</li>
2607
2608 </ul>
2609                               
2610                               <p class="entry-footer">
2611                                  <span class="post-footers">Posted by  at  4:21 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000160.html">Permalink</a>
2612                                  
2613                                  
2614                               </p>
2615                            </div>
2616                         </div>
2617                      </div>
2618                      
2619                      
2620
2621                      <h2 class="date-header">April 16, 2004</h2>
2622                      <a id="a000159"></a>
2623                      <div class="entry" id="entry-159">
2624                         <h3 class="entry-header">Reregistering Clearcase objects</h3>
2625                         <div class="entry-content">
2626                            <div class="entry-body">
2627                               <ul>
2628
2629 <li>Worked with Mike trying to get Clearcase web to function correctly</li>
2630
2631 <li>Since the IP address of the new servers will be different I worked on a script that will reregister views and vobs. This reregistering and retragging should fix up the IP address problem</li>
2632
2633 </ul>
2634                               
2635                               <p class="entry-footer">
2636                                  <span class="post-footers">Posted by  at 10:34 AM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000159.html">Permalink</a>
2637                                  
2638                                  
2639                               </p>
2640                            </div>
2641                         </div>
2642                      </div>
2643                      
2644                      
2645
2646                      <h2 class="date-header">April 15, 2004</h2>
2647                      <a id="a000158"></a>
2648                      <div class="entry" id="entry-158">
2649                         <h3 class="entry-header">Clearcase & Clearquest Web</h3>
2650                         <div class="entry-content">
2651                            <div class="entry-body">
2652                               Today...
2653
2654 <ul>
2655
2656 <li><p>Partitioned drive</p></li>
2657 <li><p>Installed Windows XP</p></li>
2658 <li><p>Attended Peregrine Training</p></li>
2659 <li><p>Configured Clearquest web</p></li>
2660 <li><p>Worked with Michael on Clearcase web problems</p></li>
2661 <li><p>Worked on problem with accessing Clearcase due to outgrowing the lockmgr's limits</p></li>
2662 <li><p>Implemented Heap Size fix and Lockmgr fix to new production servers</p></li>
2663
2664 </ul>
2665                               
2666                               <p class="entry-more-link">
2667                                  <a href="http://defaria.com/blogs/Status/archives/000158.html#more">Continue reading "Clearcase & Clearquest Web" &raquo;</a>
2668                               </p>
2669                               
2670                               <p class="entry-footer">
2671                                  <span class="post-footers">Posted by  at  7:37 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000158.html">Permalink</a>
2672                                  
2673                                  
2674                               </p>
2675                            </div>
2676                         </div>
2677                      </div>
2678                      
2679                      
2680
2681                      <h2 class="date-header">April 13, 2004</h2>
2682                      <a id="a000157"></a>
2683                      <div class="entry" id="entry-157">
2684                         <h3 class="entry-header">The new servers have arrived!</h3>
2685                         <div class="entry-content">
2686                            <div class="entry-body">
2687                               <p>The new servers have arrived and I have been testing them today. Here's what I managed to do:</p>
2688
2689 <ul>
2690
2691 <li>Installed Clearcase server software on new machines.</li>
2692 <li>Configured storage locations for vobs/views</li>
2693 <li>Practiced moving a vob and view over to the new servers. The view even had a checked out file.</li>
2694 <li>Once set up on the new servers accessed the view and insured that I could access it and that the checked out element was still accessible.</li>
2695
2696 </ul>
2697
2698 <p>In setting up prodfix01 as a the vob server I encountered some problems attempting to set the storage location. The default wizard was not the right way to go. Instead I had to:</p>
2699
2700 <div class="code">
2701 cleartool> mkstgloc -vob -host prodfix01 -hpath D:\vobstore -gpath \\prodfix01\vobstore vobstore \\prodfix01\vobstore
2702 </div>
2703
2704 <p>Naturally this will not due as this machine will eventually be renamed as rtnlprod01, not prodfix01. This will need to be adjusted during the downtime.
2705 Just some notes from my testing session:</p>
2706
2707 <blockquote>
2708
2709 <p>After setting up the servers I had to create the storage locations as above. I called them vobstore and viewstore instead of ccvobstg/ccviewstg. Personally I find the former more descriptive.</p>
2710
2711 <p>I tried to simply mktag for the vob and view on the new server but that would not work. Instead I had to:</p>
2712
2713 <div class="code">
2714 cleartool register -replace -view \\path\to\view<br>
2715 cleartool register -replace -vob \\path\to\vob<br>
2716 cleartool mktag -replace -view -tag <viewtag> \\path\to\view<br>
2717 cleartool mktag -replace -vob -tag <vobtag> \\path\to\vob<br>
2718 cleartool startview <viewtag><br>
2719 cleartool mount <vobtag><br>
2720 </div>
2721
2722 <p>Again, if we slide the server into place after changing the DNS/Machine name <-> IP address mapping this should not be an issue.</p>
2723
2724 </blockquote>
2725
2726 <p>We should be ready to go, perhaps this coming Thursday evening (sometime after 7 Pm). What we would need to do is:</p>
2727
2728 <ol>
2729
2730 <li>Announce to the Clearcase community that Clearcase will be down for a few hours Thursday night (7 Pm - 9 Pm)</li>
2731 <li>At 7 Pm stop Clearcase on rtnlprod01 and rtnlprod02</li>
2732 <li><tt>xcopy <rtnlprod01:/vobstore> <prodfix01:/vobstore> /e /i /f /h /k /x > C:\vobstore_xcopy.log 2>&1</tt></li>
2733 <li><tt>xcopy <rtnlprod02:/viewstore> <prodfix02:/viewstore> /e /i /f /h /k /x > C:\viewstore_xcopy.log 2>&1</tt></li>
2734 <li>Shutdown rtnlprod01 and rtnlprod02</li>
2735 <li>Switch DNS so that prodfix01 -> rtnlprod01 and prodfix02 -> rtnlprod02</li>
2736 <li>Test vob/view access from desktop clients.</li>
2737 </ol>
2738                               
2739                               <p class="entry-footer">
2740                                  <span class="post-footers">Posted by  at  6:11 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000157.html">Permalink</a>
2741                                  
2742                                  
2743                               </p>
2744                            </div>
2745                         </div>
2746                      </div>
2747                      
2748                      
2749
2750                      <h2 class="date-header">April  7, 2004</h2>
2751                      <a id="a000156"></a>
2752                      <div class="entry" id="entry-156">
2753                         <h3 class="entry-header">VIP Imports</h3>
2754                         <div class="entry-content">
2755                            <div class="entry-body">
2756                               <p>Imported source into many vobs today with Subba. Had some problems with the vob server (db_VISTA error -922). Ended up stopping and restarting Clearcase on rtnlprod01.</p>
2757
2758 <p>Was assigned to set up both Clearcase web and Clearquest web. Luckily Clearcase web is already up on rtnlprod03. Need to set up Clearquest web...</p>
2759
2760 <p>Modified protect trigger to use current owner instead of original creator of the VOB to change the ownership of new elements.</p>
2761                               
2762                               <p class="entry-footer">
2763                                  <span class="post-footers">Posted by  at  1:59 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000156.html">Permalink</a>
2764                                  
2765                                  
2766                               </p>
2767                            </div>
2768                         </div>
2769                      </div>
2770                      
2771                      
2772
2773                      <h2 class="date-header">April  6, 2004</h2>
2774                      <a id="a000155"></a>
2775                      <div class="entry" id="entry-155">
2776                         <h3 class="entry-header">Lockvobs</h3>
2777                         <div class="entry-content">
2778                            <div class="entry-body">
2779                               <p>Re-wrote the lock vobs script in Perl to be much more flexible. It now locks or unlocks (-u) vobs. Also you can supply an -smtphost which defaults to notesmail01. Finally you can specify either -to or -errors-to as a list of email addresses that the report is send to. The later, -errors-to, are for people who only want to be notified if there is an error (i.e. me! :-).</p>
2780
2781 <p>Changed bat files accordingly and tested out adding these to the Clearcase Job Scheduler on my machine. Have not yet added this to "production" (rtnlprod01). Perhaps tomorrow...</p>
2782
2783 <p>Also worked with Subba to clean up and clear out some UCM vobs.</p>
2784
2785 <p>Spend some time trying to get MySQL running under Cygwin.</p>
2786                               
2787                               <p class="entry-footer">
2788                                  <span class="post-footers">Posted by  at  6:54 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000155.html">Permalink</a>
2789                                  
2790                                  
2791                               </p>
2792                            </div>
2793                         </div>
2794                      </div>
2795                      
2796                      
2797
2798                      <h2 class="date-header">April  5, 2004</h2>
2799                      <a id="a000154"></a>
2800                      <div class="entry" id="entry-154">
2801                         <h3 class="entry-header">Lock Vobs jobs</h3>
2802                         <div class="entry-content">
2803                            <div class="entry-body">
2804                               <p>Came in today and noticed that Notes was complaining that a network operation had failed. Also saw a couple of messages that Clearcase was having problems so I started investigating. Apparently the albd_server was not running on rtnlprod01. Scanning the logs I found:</p>
2805
2806 <blockquote><tt>albd_log: Error: Unable to connect to SMTP server "172.16.101.56[6400]": Bad file descriptor.</tt></blockquote>
2807
2808 <p>Well 172.16.101.56 happens to be notesadmin01:</p>
2809
2810 <pre>
2811 C09-272-A:nslookup 172.16.101.56
2812 Server:  dhcp01.ameriquest.net
2813 Address:  172.16.101.100
2814
2815 Name:    notesadmin01.ameriquest.net
2816 Address:  172.16.101.56
2817 </pre>
2818
2819 <p>Why are we trying to email through notesadmin01 instead of notesmail01?</p>
2820
2821 <p>Meantime I unlocked the vobs...</p>
2822
2823 <p>Looking at the SMTP setting in Control Panel: Clearcase: Options I find the SMTP Host set to appsmtp.ameriquest.net which is an alias to notestadmin01.ameriquest.net:</p>
2824 <pre>
2825 C09-272-A:nslookup appsmtp
2826 Server:  dhcp01.ameriquest.net
2827 Address:  172.16.101.100
2828
2829 Name:    notesadmin01.ameriquest.net
2830 Address:  172.16.101.56
2831 Aliases:  appsmtp.ameriquest.net
2832 </pre>
2833 <p>I guess the questions are:</p>
2834
2835 <ul>
2836
2837   <li>What is the official SMTP host that we can rely on?</li>
2838   <li>Why does the [un]lock vobs job have problems and eventually kill the albd_server process simply because it cannot contact the SMTP host?</li>
2839
2840 </ul>
2841
2842 <p>Further investigation yields the following: The lock and unlock vobs scripts apparently appear in .../Rational/Clearcase/var/scheduler/tasks. There are 4 files involved:</p>
2843
2844 <ul>
2845
2846   <li>ccase_lock_vobs.bat: Simple bat file that fires off Perl on...</li>
2847   <li>lock_vobs.pl: This locks the vobs and sends email</li>
2848   <li>ccase_unlock_vobs.bat: Simple bat file that fires off Perl on...</li>
2849   <li>unlock_vobs.pl: This unlocks the vob and sends email</li>
2850
2851 </ul>
2852
2853 <p>Additionally these Perl scripts use C:/Winnt/System32/blat.exe to send mail.</p>
2854
2855 <p>Finally the task_registry file was modified to add these custom jobs.</li>
2856
2857 <p>I believe that this was done by perhaps Paul and/or Brian and it is fine work and does the job. However, seeing as we are about to reburn this system to Windows 2003 Server such work would be lost! And who would remember where this blat came from and that it needed to be reinstalled?</p>
2858
2859 <h3>Suggestions:</h3>
2860
2861 <p>I think we should use the Rational supplied tool, notify, instead of blat. This way we would not need to remember to find and reinstall this blat thing. I think Brian had problems getting notify to work and instead fell back on something he knew, blat, to get this working. Additionally IMHO blat should not be in the Windows directory! If we must use blat then perhaps we should install it into CM_TOOLS/bin.</p>
2862
2863 <p>Additionally I suggest that we relocate the .bat files and Perl scripts to CM_TOOLS/bin also and task_registry file should be pointed to CM_TOOLS/bin.</p>
2864
2865 <p>Finally I think there should be a script set up to reproduce/reinstall this environment.</p>
2866
2867 <p>IOW our stuff should also be version controlled and scripts written to automate it's installation and workings.</p>
2868                               
2869                               <p class="entry-footer">
2870                                  <span class="post-footers">Posted by  at  6:35 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000154.html">Permalink</a>
2871                                  
2872                                  
2873                               </p>
2874                            </div>
2875                         </div>
2876                      </div>
2877                      
2878                      
2879
2880                      <h2 class="date-header">March 11, 2004</h2>
2881                      <a id="a000153"></a>
2882                      <div class="entry" id="entry-153">
2883                         <h3 class="entry-header">Ah comfort!</h3>
2884                         <div class="entry-content">
2885                            <div class="entry-body">
2886                               <p>Ah the comfort of being able to get through the firewall! It feels so good. Now I can read email from my home and use IM again! Yippie!</p>
2887
2888 <p>Alas my system will be moving in two days as I am moving too! Things will be hectic for the short term.</p>
2889
2890 <p>At work I worked on the script to add triggers to the vobs a bit more. Still need to convert it to Perl...</p>
2891
2892 <p>Started investigating adding storage to the servers. This may get a little tricky. Need to meet with Brian and Babu about this.</p>
2893
2894 <p>Played with the web server some more - now pointing it into the actual vob. Had a hell of time doing this as things were acting weird. Rebooted my system and wham! Everythings good now...</p>
2895                               
2896                               <p class="entry-footer">
2897                                  <span class="post-footers">Posted by  at  8:59 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000153.html">Permalink</a>
2898                                  
2899                                  
2900                               </p>
2901                            </div>
2902                         </div>
2903                      </div>
2904                      
2905                      
2906
2907                      <h2 class="date-header">March 10, 2004</h2>
2908                      <a id="a000152"></a>
2909                      <div class="entry" id="entry-152">
2910                         <h3 class="entry-header">Web server</h3>
2911                         <div class="entry-content">
2912                            <div class="entry-body">
2913                               <p>This afternoon, after returning from the training I did:
2914
2915 <ul>
2916
2917 <li><p>Worked on problem with case perserving MVFS. Two of the servers had case perserving set off so I fixed that. While working on another problem one of those servers rebooted. Oh well, at least that fixes it's case preserving. The other server was later rebooted. Still clients need to make sure that they have case preserving set on and need to reboot. Unfortunately this was not set properly during the rollout.</p></li>
2918
2919 <li><p>Worked on a problem view with no success. Unable to get it to work. Keep getting <i>unknown error in view server</i> - not very helpful.</p></li>
2920
2921 <li><p>Got my user ID finally! Was able to run Lotus Notes. Oh boy, what joy! Anyways I was able to send email via Ameriquest's email server. Still can't pop nor imap it though.</p></li>
2922
2923 <li><p>Installed Cygwin on some of the servers as well as set up my environment. Need to get my new user ID added into the Clearcase group. Can now ssh into some of the servers to perform actions.</p></li>
2924
2925 <li><p>Set up Apache under Cygwin on one server. Babu asked me to see if I could make a read only web server to view thing.</p></li>
2926
2927 </ul>
2928                               
2929                               <p class="entry-footer">
2930                                  <span class="post-footers">Posted by  at  8:57 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000152.html">Permalink</a>
2931                                  
2932                                  
2933                               </p>
2934                            </div>
2935                         </div>
2936                      </div>
2937                      
2938                      
2939
2940                      
2941                      <a id="a000151"></a>
2942                      <div class="entry" id="entry-151">
2943                         <h3 class="entry-header">Back from San Jose</h3>
2944                         <div class="entry-content">
2945                            <div class="entry-body">
2946                               <p>Well I got an apartment! It's called <i>The Lake</i> and it sure has a large lake. The apartment is a 1 bedroom with a loft and it's 1000 square feet. I have the lake right off my patio. This means that I need to move in this coming weekend! Gotta get busy.</p>
2947
2948 <p>My car's transmission decided to die so I could not drive down and had to fly in instead. Well the flight was nice but it was too damn short! :-) Looks like I'll need a new car. Wonder if I can get the Eclipse back...</p>
2949
2950 <p>Today at work I get in and started downloading the tarball of <i>my stuff</i>. Wonder when I'll get my own userid? Then Babu tells me to come with him. Off to another Clearcase Training class that he's holding in another Ameriquest building (Apparently there are a lot of Ameriquest buildings and we might be moving to one of them. This other building was brand new and quite nice). The class was OK but they were not ready for us so we had to make due with a small conference room and just use Babu's laptop for class exercises. Then Babu cuts out and leaves me to finish up the training! It's only my 3rd day here and I'm supposed to train!?! Oh well. It wasn't that bad but I was not prepared for that.</p>
2951
2952 <p>Got a ton of things to do and to keep track of</p>
2953                               
2954                               <p class="entry-footer">
2955                                  <span class="post-footers">Posted by  at 12:45 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000151.html">Permalink</a>
2956                                  
2957                                  
2958                               </p>
2959                            </div>
2960                         </div>
2961                      </div>
2962                      
2963                      
2964
2965                      <h2 class="date-header">March  5, 2004</h2>
2966                      <a id="a000149"></a>
2967                      <div class="entry" id="entry-149">
2968                         <h3 class="entry-header">Day 2</h3>
2969                         <div class="entry-content">
2970                            <div class="entry-body">
2971                               <p>Long day yesterday (9 Am - 11 Pm).</p>
2972
2973 <p>Today I:</p>
2974
2975 <ol>
2976
2977 <li><p>Attended the 9 Am meeting</p></li>
2978 <li><p>Wasn't able to lock the old ASAP_Docs vob so I rm'ed the tag instead</p></li>
2979 <li><p>Checked in the CheckinPre trigger</p></li>
2980 <li><p>Setup web server on my deskctop</p></li>
2981 <li><p>Removed a number of test vobs</p></li>
2982
2983 </ol>
2984                               
2985                               <p class="entry-footer">
2986                                  <span class="post-footers">Posted by  at 11:17 AM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000149.html">Permalink</a>
2987                                  
2988                                  
2989                               </p>
2990                            </div>
2991                         </div>
2992                      </div>
2993                      
2994                      
2995
2996                      <h2 class="date-header">March  4, 2004</h2>
2997                      <a id="a000148"></a>
2998                      <div class="entry" id="entry-148">
2999                         <h3 class="entry-header">1st day at Ameriquest</h3>
3000                         <div class="entry-content">
3001                            <div class="entry-body">
3002                               <p>Well made it here. We're on the 9th floor of this building. Argh, having to go through all of the <i>new things</i> like badges, user ids, etc. Apparently this shop is much more closed up than the old place. I cannot, for example, get through to my machine at home for email and the like. I can get to my home page. Guess I'm gonna have to implement that web mail thing after all!</p>
3003
3004 <p>Can't ftp home, can't use IM. No IMAP. No POP. Apparently they also restrict other web sites like sports related stuff, etc.</p>
3005
3006 <p>Interesting in that they apparently use Lotus Notes for email. Argh! This is gonna be a fight regarding tools and the like. </p>
3007
3008 <p>Created a vob, view, etc today. We are supposed to be doing a lot of client installs today and tomorrow.</p>
3009
3010 <p>Managed to install Cygwin partially and get some semblence of my environment.</p>
3011                               
3012                               <p class="entry-footer">
3013                                  <span class="post-footers">Posted by  at 11:40 AM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000148.html">Permalink</a>
3014                                  
3015                                  
3016                               </p>
3017                            </div>
3018                         </div>
3019                      </div>
3020                      
3021                   </div>
3022                </div>
3023             </div>
3024          </div>
3025       </div>
3026    </div>
3027 </body>
3028 </html>