Initial add of defaria.com
[clearscm.git] / defaria.com / blogs / Status / archives / week_2004_08_29.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: August 29, 2004 - September  4, 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/week_2004_08_22.html" title="August 22, 2004 - August 28, 2004" />
16    <link rel="next" href="http://defaria.com/blogs/Status/archives/week_2004_09_05.html" title="September  5, 2004 - September 11, 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/week_2004_08_22.html">&laquo; August 22, 2004 - August 28, 2004</a> |
36                         <a href="http://defaria.com/blogs/Status/">Main</a>
37                         | <a href="http://defaria.com/blogs/Status/archives/week_2004_09_05.html">September  5, 2004 - September 11, 2004 &raquo;</a>
38                      </p>
39                      
40                      
41                      
42
43                      <h2 class="date-header">September  2, 2004</h2>
44                      <a id="a000241"></a>
45                      <div class="entry" id="entry-241">
46                         <h3 class="entry-header">setccconf</h3>
47                         <div class="entry-content">
48                            <div class="entry-body">
49                               <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>
50
51 <ul>
52
53 <li>Region</li>
54
55 <li>CLEARCASE_PRIMARY_GROUP</li>
56
57 <li>CLEARCASE_GROUPS (if required)</li>
58
59 </ul>
60
61 <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>
62
63 <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>
64                               
65                               <p class="entry-footer">
66                                  <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>
67                                  
68                                  
69                               </p>
70                            </div>
71                         </div>
72                      </div>
73                      
74                      
75
76                      <h2 class="date-header">September  1, 2004</h2>
77                      <a id="a000242"></a>
78                      <div class="entry" id="entry-242">
79                         <h3 class="entry-header">CLEARCASE_PRIMARY_GROUP</h3>
80                         <div class="entry-content">
81                            <div class="entry-body">
82                               <p>Worked on setccconf.vbs</p>
83                               
84                               <p class="entry-footer">
85                                  <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>
86                                  
87                                  
88                               </p>
89                            </div>
90                         </div>
91                      </div>
92                      
93                      
94
95                      <h2 class="date-header">August 30, 2004</h2>
96                      <a id="a000239"></a>
97                      <div class="entry" id="entry-239">
98                         <h3 class="entry-header">Informatica/CLEARCASE_PRIMARY_GROUP</h3>
99                         <div class="entry-content">
100                            <div class="entry-body">
101                               <ul>
102
103 <li>Rearranged Informatica script code to be more oriented to what Don needs</li>
104
105 <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>
106
107 </ul>
108                               
109                               <p>In order to make the pushing of Rational Tools more automatic it's important to either eliminate all user specific settings or to come up with a way to determine the setting for the user at login time. As such I have been researching if the CLEARCASE_PRIMARY_GROUP needs to be set at all. In most cases it doesn't need to be. (It was thought that mkelem would make the element and that the protect trigger would -chgrp &lt;<i>vob group owner</i>&gt; of the element. But if the user does not have CLEARCASE_PRIMARY_GROUP set then they are often considered part of <i>Domain Users</i> which isn't usually on the vob's group list). However today I found out a case where it needs to be. <a href="http://www.ibm.com/support/docview.wss?rs=0&q1=CLEARCASE_PRIMARY_GROUP&uid=swg21135509&loc=en_US&cs=utf-8&cc=us&lang=en">According to What is the CLEARCASE_PRIMARY_GROUP variable used for?</a></p>
110
111 <blockquote>
112   <p>If the vob is owned by <b>more than one group</b> and a user is a 
113   member of <b>more than one</b> of those groups and the user's group list 
114   does <b>not</b> exceed 32,  they need the CLEARCASE_PRIMARY_GROUP 
115   variable set in order to create elements in that vob.</p>
116
117   <p>If the vob is owned by <b>more than one</b> group and a user is a 
118   member of <b>more than one</b> of those groups and the user's group list 
119   <b>does</b> exceed 32, they need the CLEARCASE_PRIMARY_GROUP & 
120   CLEARCASE_GROUPS variable set in order to create elements in that vob. 
121   </p>
122 </blockquote>
123
124 <p>Unfortunately this is the situation that we have. In particular Core_automation is owned by more than one group and users are members of more than one of those groups. Thus CLEARCASE_PRIMARY_GROUP needs to be set.</p>
125
126 <p>Also, we tend to have many groups and if we have more than 32 groups we can run into problems. Setting CLEARCASE_GROUPS helps narrow the problem down but a user can only be a member of at the maximum 33 Clearcase oriented groups or else they will need to be shifting around CLEARCASE_GROUPS in order to operate.</p>
127
128 <p>So what I'm proposing is that the Clearquest Tools database functionality be expanded yet again to provide for associating a userid to the appropriate CLEARCASE_PRIMARY_GROUP and appropriate CLEARCASE_GROUPS. Some of this functionality is already present in the Tools database. What it lacks is the ability to designate which of the groups is the users primary group.</p>
129
130 <p>There's also the issue of backfilling the Tools database and filling out the necessarily information for the users currently entered into the Tools database as well as filling the Tools database from that Access database...</p>
131                               
132                               <p class="entry-footer">
133                                  <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>
134                                  
135                                  
136                               </p>
137                            </div>
138                         </div>
139                      </div>
140                      
141                   </div>
142                </div>
143             </div>
144          </div>
145       </div>
146    </div>
147 </body>
148 </html>