Initial add of defaria.com
[clearscm.git] / defaria.com / blogs / Status / archives / week_2004_04_04.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: April  4, 2004 - April 10, 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_03_07.html" title="March  7, 2004 - March 13, 2004" />
16    <link rel="next" href="http://defaria.com/blogs/Status/archives/week_2004_04_11.html" title="April 11, 2004 - April 17, 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_03_07.html">&laquo; March  7, 2004 - March 13, 2004</a> |
36                         <a href="http://defaria.com/blogs/Status/">Main</a>
37                         | <a href="http://defaria.com/blogs/Status/archives/week_2004_04_11.html">April 11, 2004 - April 17, 2004 &raquo;</a>
38                      </p>
39                      
40                      
41                      
42
43                      <h2 class="date-header">April  7, 2004</h2>
44                      <a id="a000156"></a>
45                      <div class="entry" id="entry-156">
46                         <h3 class="entry-header">VIP Imports</h3>
47                         <div class="entry-content">
48                            <div class="entry-body">
49                               <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>
50
51 <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>
52
53 <p>Modified protect trigger to use current owner instead of original creator of the VOB to change the ownership of new elements.</p>
54                               
55                               <p class="entry-footer">
56                                  <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>
57                                  
58                                  
59                               </p>
60                            </div>
61                         </div>
62                      </div>
63                      
64                      
65
66                      <h2 class="date-header">April  6, 2004</h2>
67                      <a id="a000155"></a>
68                      <div class="entry" id="entry-155">
69                         <h3 class="entry-header">Lockvobs</h3>
70                         <div class="entry-content">
71                            <div class="entry-body">
72                               <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>
73
74 <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>
75
76 <p>Also worked with Subba to clean up and clear out some UCM vobs.</p>
77
78 <p>Spend some time trying to get MySQL running under Cygwin.</p>
79                               
80                               <p class="entry-footer">
81                                  <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>
82                                  
83                                  
84                               </p>
85                            </div>
86                         </div>
87                      </div>
88                      
89                      
90
91                      <h2 class="date-header">April  5, 2004</h2>
92                      <a id="a000154"></a>
93                      <div class="entry" id="entry-154">
94                         <h3 class="entry-header">Lock Vobs jobs</h3>
95                         <div class="entry-content">
96                            <div class="entry-body">
97                               <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>
98
99 <blockquote><tt>albd_log: Error: Unable to connect to SMTP server "172.16.101.56[6400]": Bad file descriptor.</tt></blockquote>
100
101 <p>Well 172.16.101.56 happens to be notesadmin01:</p>
102
103 <pre>
104 C09-272-A:nslookup 172.16.101.56
105 Server:  dhcp01.ameriquest.net
106 Address:  172.16.101.100
107
108 Name:    notesadmin01.ameriquest.net
109 Address:  172.16.101.56
110 </pre>
111
112 <p>Why are we trying to email through notesadmin01 instead of notesmail01?</p>
113
114 <p>Meantime I unlocked the vobs...</p>
115
116 <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>
117 <pre>
118 C09-272-A:nslookup appsmtp
119 Server:  dhcp01.ameriquest.net
120 Address:  172.16.101.100
121
122 Name:    notesadmin01.ameriquest.net
123 Address:  172.16.101.56
124 Aliases:  appsmtp.ameriquest.net
125 </pre>
126 <p>I guess the questions are:</p>
127
128 <ul>
129
130   <li>What is the official SMTP host that we can rely on?</li>
131   <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>
132
133 </ul>
134
135 <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>
136
137 <ul>
138
139   <li>ccase_lock_vobs.bat: Simple bat file that fires off Perl on...</li>
140   <li>lock_vobs.pl: This locks the vobs and sends email</li>
141   <li>ccase_unlock_vobs.bat: Simple bat file that fires off Perl on...</li>
142   <li>unlock_vobs.pl: This unlocks the vob and sends email</li>
143
144 </ul>
145
146 <p>Additionally these Perl scripts use C:/Winnt/System32/blat.exe to send mail.</p>
147
148 <p>Finally the task_registry file was modified to add these custom jobs.</li>
149
150 <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>
151
152 <h3>Suggestions:</h3>
153
154 <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>
155
156 <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>
157
158 <p>Finally I think there should be a script set up to reproduce/reinstall this environment.</p>
159
160 <p>IOW our stuff should also be version controlled and scripts written to automate it's installation and workings.</p>
161                               
162                               <p class="entry-footer">
163                                  <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>
164                                  
165                                  
166                               </p>
167                            </div>
168                         </div>
169                      </div>
170                      
171                   </div>
172                </div>
173             </div>
174          </div>
175       </div>
176    </div>
177 </body>
178 </html>