Initial add of defaria.com
[clearscm.git] / defaria.com / blogs / Status / archives / 2004_07.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: July 2004 Archives</title>
13
14    <link rel="start" href="http://defaria.com/blogs/Status/" title="Home" />
15    <link rel="prev" href="http://defaria.com/blogs/Status/archives/2004_06.html" title="June 2004" />
16    <link rel="next" href="http://defaria.com/blogs/Status/archives/2004_08.html" title="August 2004" />
17 </head>
18 <body class="layout-one-column">
19    <div id="container">
20       <div id="container-inner" class="pkg">
21
22          <div id="banner">
23             <div id="banner-inner" class="pkg">
24                <h1 id="banner-header"><a href="http://defaria.com/blogs/Status/" accesskey="1">Status for Andrew DeFaria</a></h1>
25                <h2 id="banner-description">Searchable status reports and work log</h2>
26             </div>
27          </div>
28
29          <div id="pagebody">
30             <div id="pagebody-inner" class="pkg">
31                <div id="alpha">
32                   <div id="alpha-inner" class="pkg">
33                      
34                      <p class="content-nav">
35                         <a href="http://defaria.com/blogs/Status/archives/2004_06.html">&laquo; June 2004</a> |
36                         <a href="http://defaria.com/blogs/Status/">Main</a>
37                         | <a href="http://defaria.com/blogs/Status/archives/2004_08.html">August 2004 &raquo;</a>
38                      </p>
39                      
40                      
41                      
42
43                      <h2 class="date-header">July 30, 2004</h2>
44                      <a id="a000222"></a>
45                      <div class="entry" id="entry-222">
46                         <h3 class="entry-header">TTE/Server move to Cartwright</h3>
47                         <div class="entry-content">
48                            <div class="entry-body">
49                               <ul>
50
51 <li>Had AD groups created in one day!</li>
52
53 <li>Supported the server move to Cartwright. The move invalidated all Clearcase/Multisite licenses! Got emergency licenses</li>
54
55 <ul>
56                               
57                               <p class="entry-footer">
58                                  <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>
59                                  
60                                  
61                               </p>
62                            </div>
63                         </div>
64                      </div>
65                      
66                      
67
68                      <h2 class="date-header">July 29, 2004</h2>
69                      <a id="a000221"></a>
70                      <div class="entry" id="entry-221">
71                         <h3 class="entry-header">Nag/TTE/Print CSS</h3>
72                         <div class="entry-content">
73                            <div class="entry-body">
74                               <ul>
75
76 <li>Finished nag. Started nagging David Chu and TTE-EMP people. Worked well with TTE-EMP people....</li>
77
78 <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>
79
80 <li>Changed web pages to use new print CSS</li>
81
82 </ul>
83                               
84                               <p class="entry-footer">
85                                  <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>
86                                  
87                                  
88                               </p>
89                            </div>
90                         </div>
91                      </div>
92                      
93                      
94
95                      <h2 class="date-header">July 28, 2004</h2>
96                      <a id="a000219"></a>
97                      <div class="entry" id="entry-219">
98                         <h3 class="entry-header">Tools push/Lockvobs</h3>
99                         <div class="entry-content">
100                            <div class="entry-body">
101                               <ul>
102
103 <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>
104
105 <li>Changed Lockvobs to use an exclusion list of vobs to not [un]lock vobs</li>
106
107 <li>Helped new guy, John Luu, with his set up</li>
108
109 </ul>
110                               
111                               <p class="entry-footer">
112                                  <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>
113                                  
114                                  
115                               </p>
116                            </div>
117                         </div>
118                      </div>
119                      
120                      
121
122                      <h2 class="date-header">July 27, 2004</h2>
123                      <a id="a000220"></a>
124                      <div class="entry" id="entry-220">
125                         <h3 class="entry-header">Nag</h3>
126                         <div class="entry-content">
127                            <div class="entry-body">
128                               <ul>
129
130 <p><li>Implementing email reminder</li></p>
131
132 </ul>
133                               
134                               <p class="entry-footer">
135                                  <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>
136                                  
137                                  
138                               </p>
139                            </div>
140                         </div>
141                      </div>
142                      
143                      
144
145                      <h2 class="date-header">July 23, 2004</h2>
146                      <a id="a000218"></a>
147                      <div class="entry" id="entry-218">
148                         <h3 class="entry-header">Logger/Display modules - backups</h3>
149                         <div class="entry-content">
150                            <div class="entry-body">
151                               <ul>
152
153 <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>
154
155 <li>Modified Display module to accept optional filehandle and to display errors and warnings to STDERR</li>
156
157 <li>Checked in initial Logger Object. Now uses Display module</li>
158
159 </ul>
160                               
161                               <p class="entry-footer">
162                                  <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>
163                                  
164                                  
165                               </p>
166                            </div>
167                         </div>
168                      </div>
169                      
170                      
171
172                      <h2 class="date-header">July 22, 2004</h2>
173                      <a id="a000217"></a>
174                      <div class="entry" id="entry-217">
175                         <h3 class="entry-header">Logger</h3>
176                         <div class="entry-content">
177                            <div class="entry-body">
178                               <ul>
179
180 <li>Worked on a Logger object</li>
181
182 <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>
183
184 </ul>
185                               
186                               <p class="entry-footer">
187                                  <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>
188                                  
189                                  
190                               </p>
191                            </div>
192                         </div>
193                      </div>
194                      
195                      
196
197                      <h2 class="date-header">July 21, 2004</h2>
198                      <a id="a000216"></a>
199                      <div class="entry" id="entry-216">
200                         <h3 class="entry-header">Mktriggers/restoring view</h3>
201                         <div class="entry-content">
202                            <div class="entry-body">
203                               <ul>
204
205 <li>Finally got view restored. Recovered the triggers.dat file and the NoPBLs trigger</li>
206
207 <li>Implemented both the NoPBLs and Permissions triggers</li>
208
209 <li>Implemented vobsize</li>
210
211 </ul>
212
213
214                               
215                               <p class="entry-footer">
216                                  <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>
217                                  
218                                  
219                               </p>
220                            </div>
221                         </div>
222                      </div>
223                      
224                      
225
226                      <h2 class="date-header">July 20, 2004</h2>
227                      <a id="a000215"></a>
228                      <div class="entry" id="entry-215">
229                         <h3 class="entry-header">Permissions Trigger</h3>
230                         <div class="entry-content">
231                            <div class="entry-body">
232                               <p>Implemented Permissions trigger.</p>
233                               
234                               <p class="entry-footer">
235                                  <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>
236                                  
237                                  
238                               </p>
239                            </div>
240                         </div>
241                      </div>
242                      
243                      
244
245                      <h2 class="date-header">July 19, 2004</h2>
246                      <a id="a000214"></a>
247                      <div class="entry" id="entry-214">
248                         <h3 class="entry-header">Permissions Trigger</h3>
249                         <div class="entry-content">
250                            <div class="entry-body">
251                               <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>
252
253 <ul>
254
255 <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>
256
257 <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>
258  
259 <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>
260
261 <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>
262
263 </ul>
264
265 <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>
266
267 <blockquote>
268   Core_automation 
269   <blockquote>
270     Empower <font color="#eeeeee">CC-EAG-AS, CC-EAG-ESB</font>
271     <blockquote>
272       Functions <font color="#eeeeee">CC-EAG-VIP</font><br>
273       Results <font color="#eeeeee">CC-EAG-VMS</font><br>
274       Common
275     </blockquote>
276   </blockquote>
277 </blockquote>
278
279 <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>
280
281 <ul>
282
283 <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>
284
285 <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>
286
287 </ul>
288
289 <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>
290
291 <div class="code">
292 <pre>
293 $vob_group_owner = GetGroupOwner (vob) 
294 $current_group   = GetCurrentGroup (CLEARCASE_PRIMARY_GROUP as per "creds") 
295
296 if (permissions element exists in the current folder) { 
297   if (IsAMember (Parse ($permissions_element), $current_group) {
298     &lt;<i>allow checkout</i>&gt;
299   } else { 
300     &lt;<i>recurse to check parent folder stopping at vob root</i>&gt; 
301     &lt;<i>disallow checkout</i>&gt;
302   } 
303 }
304 </pre>
305 </div>
306                               
307                               <p class="entry-footer">
308                                  <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>
309                                  
310                                  
311                               </p>
312                            </div>
313                         </div>
314                      </div>
315                      
316                      
317
318                      <h2 class="date-header">July 16, 2004</h2>
319                      <a id="a000213"></a>
320                      <div class="entry" id="entry-213">
321                         <h3 class="entry-header">TTE/BUCS</h3>
322                         <div class="entry-content">
323                            <div class="entry-body">
324                               <ul>
325
326 <li>Helped Don with BUCS</li>
327
328 <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>
329
330 </ul>
331                               
332                               <p class="entry-footer">
333                                  <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>
334                                  
335                                  
336                               </p>
337                            </div>
338                         </div>
339                      </div>
340                      
341                      
342
343                      <h2 class="date-header">July 15, 2004</h2>
344                      <a id="a000212"></a>
345                      <div class="entry" id="entry-212">
346                         <h3 class="entry-header">tagit/findview/Clearquest Web</h3>
347                         <div class="entry-content">
348                            <div class="entry-body">
349                               <ul>
350
351 <li>Fixed tagit to tag into the current region</li>
352
353 <li>Adjusted findview to total views and accept multiple view search strings</li>
354
355 <li>Helped Anje, Timmie and Mike with new Clearquest web installation in the lab</li>
356
357 </ul>
358                               
359                               <p class="entry-footer">
360                                  <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>
361                                  
362                                  
363                               </p>
364                            </div>
365                         </div>
366                      </div>
367                      
368                      
369
370                      <h2 class="date-header">July 12, 2004</h2>
371                      <a id="a000211"></a>
372                      <div class="entry" id="entry-211">
373                         <h3 class="entry-header">Moving views</h3>
374                         <div class="entry-content">
375                            <div class="entry-body">
376                               <ul>
377
378 <li>Consulted with ASAP regarding moving of views from a desktop to the server</li>
379
380 <li>Helped Subba move a vob to the server</li>
381
382 <li>Consulted with Babu regarding designing of Multisite replacement scheme</li>
383
384 </ul>
385                               
386                               <p class="entry-footer">
387                                  <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>
388                                  
389                                  
390                               </p>
391                            </div>
392                         </div>
393                      </div>
394                      
395                      
396
397                      <h2 class="date-header">July  8, 2004</h2>
398                      <a id="a000210"></a>
399                      <div class="entry" id="entry-210">
400                         <h3 class="entry-header">Display.pm/ASAP View moves/Backups/Compare to Previous</h3>
401                         <div class="entry-content">
402                            <div class="entry-body">
403                               <ul>
404
405 <li>Created Display.pm Perl module</li>
406
407 <li>Consulted with ASAP Re: Moving views</li>
408
409 <li>Spoke with Rory Re: Backups</li>
410
411 <li>Worked some more with Rational regarding the <i>Compare to Previous</i> problem</li>
412
413 </ul>
414                               
415                               <p class="entry-footer">
416                                  <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>
417                                  
418                                  
419                               </p>
420                            </div>
421                         </div>
422                      </div>
423                      
424                      
425
426                      <h2 class="date-header">July  7, 2004</h2>
427                      <a id="a000209"></a>
428                      <div class="entry" id="entry-209">
429                         <h3 class="entry-header">mirror_backup coding/Compare to previous</h3>
430                         <div class="entry-content">
431                            <div class="entry-body">
432                               <ul>
433
434 <li>Started coding mirror_backup</li>
435
436 <li>Worked with Rational on <i>Compare to previous fails in snapshot view</i></li>
437
438 </ul>
439                               
440                               <p class="entry-footer">
441                                  <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>
442                                  
443                                  
444                               </p>
445                            </div>
446                         </div>
447                      </div>
448                      
449                      
450
451                      <h2 class="date-header">July  6, 2004</h2>
452                      <a id="a000207"></a>
453                      <div class="entry" id="entry-207">
454                         <h3 class="entry-header">GetCCGroups.vbs/PowerBuilder</h3>
455                         <div class="entry-content">
456                            <div class="entry-body">
457                               <ul>
458
459 <li>Updated GetCCGroups.vbs to send email from servers</li>
460
461 <li>Documented PowerBuilder/Clearcase Performance.</li>
462
463 </ul>
464                               
465                               <p class="entry-footer">
466                                  <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>
467                                  
468                                  
469                               </p>
470                            </div>
471                         </div>
472                      </div>
473                      
474                      
475
476                      <h2 class="date-header">July  5, 2004</h2>
477                      <a id="a000208"></a>
478                      <div class="entry" id="entry-208">
479                         <h3 class="entry-header">PowerBuilder Testing</h3>
480                         <div class="entry-content">
481                            <div class="entry-body">
482                               <p>Created various views to perform performance testing of PowerBuilder builds.</p>
483                               
484                               <p class="entry-footer">
485                                  <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>
486                                  
487                                  
488                               </p>
489                            </div>
490                         </div>
491                      </div>
492                      
493                      
494
495                      <h2 class="date-header">July  1, 2004</h2>
496                      <a id="a000206"></a>
497                      <div class="entry" id="entry-206">
498                         <h3 class="entry-header">BUCS Build Measurements</h3>
499                         <div class="entry-content">
500                            <div class="entry-body">
501                               <ul>
502
503 <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>
504
505 <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>
506
507 </ul>
508                               
509                               <p class="entry-footer">
510                                  <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>
511                                  
512                                  
513                               </p>
514                            </div>
515                         </div>
516                      </div>
517                      
518                   </div>
519                </div>
520             </div>
521          </div>
522       </div>
523    </div>
524 </body>
525 </html>