Initial add of defaria.com
[clearscm.git] / defaria.com / blogs / Status / archives / 000154.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: Lock Vobs jobs</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/000153.html" title="Ah comfort!" />
16    <link rel="next" href="http://defaria.com/blogs/Status/archives/000155.html" title="Lockvobs" />
17
18    
19
20    
21
22    <script type="text/javascript" src="http://defaria.com/blogs/Status/mt-site.js"></script>
23 </head>
24 <body class="layout-one-column" onload="individualArchivesOnLoad(commenter_name)">
25    <div id="container">
26       <div id="container-inner" class="pkg">
27
28          <div id="banner">
29             <div id="banner-inner" class="pkg">
30                <h1 id="banner-header"><a href="http://defaria.com/blogs/Status/" accesskey="1">Status for Andrew DeFaria</a></h1>
31                <h2 id="banner-description">Searchable status reports and work log</h2>
32             </div>
33          </div>
34
35          <div id="pagebody">
36             <div id="pagebody-inner" class="pkg">
37                <div id="alpha">
38                   <div id="alpha-inner" class="pkg">
39
40                      <p class="content-nav">
41                         <a href="http://defaria.com/blogs/Status/archives/000153.html">&laquo; Ah comfort!</a> |
42                         <a href="http://defaria.com/blogs/Status/">Main</a>
43                         | <a href="http://defaria.com/blogs/Status/archives/000155.html">Lockvobs &raquo;</a>
44                      </p>
45
46                      <a id="a000154"></a>
47                      <div class="entry" id="entry-154">
48                         <h3 class="entry-header">Lock Vobs jobs</h3>
49                         <div class="entry-content">
50                            <div class="entry-body">
51                               <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>
52
53 <blockquote><tt>albd_log: Error: Unable to connect to SMTP server "172.16.101.56[6400]": Bad file descriptor.</tt></blockquote>
54
55 <p>Well 172.16.101.56 happens to be notesadmin01:</p>
56
57 <pre>
58 C09-272-A:nslookup 172.16.101.56
59 Server:  dhcp01.ameriquest.net
60 Address:  172.16.101.100
61
62 Name:    notesadmin01.ameriquest.net
63 Address:  172.16.101.56
64 </pre>
65
66 <p>Why are we trying to email through notesadmin01 instead of notesmail01?</p>
67
68 <p>Meantime I unlocked the vobs...</p>
69
70 <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>
71 <pre>
72 C09-272-A:nslookup appsmtp
73 Server:  dhcp01.ameriquest.net
74 Address:  172.16.101.100
75
76 Name:    notesadmin01.ameriquest.net
77 Address:  172.16.101.56
78 Aliases:  appsmtp.ameriquest.net
79 </pre>
80 <p>I guess the questions are:</p>
81
82 <ul>
83
84   <li>What is the official SMTP host that we can rely on?</li>
85   <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>
86
87 </ul>
88
89 <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>
90
91 <ul>
92
93   <li>ccase_lock_vobs.bat: Simple bat file that fires off Perl on...</li>
94   <li>lock_vobs.pl: This locks the vobs and sends email</li>
95   <li>ccase_unlock_vobs.bat: Simple bat file that fires off Perl on...</li>
96   <li>unlock_vobs.pl: This unlocks the vob and sends email</li>
97
98 </ul>
99
100 <p>Additionally these Perl scripts use C:/Winnt/System32/blat.exe to send mail.</p>
101
102 <p>Finally the task_registry file was modified to add these custom jobs.</li>
103
104 <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>
105
106 <h3>Suggestions:</h3>
107
108 <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>
109
110 <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>
111
112 <p>Finally I think there should be a script set up to reproduce/reinstall this environment.</p>
113
114 <p>IOW our stuff should also be version controlled and scripts written to automate it's installation and workings.</p>
115                            </div>
116                            <div id="more" class="entry-more">
117                               
118                            </div>
119                         </div>
120                         <p class="entry-footer">
121                            <span class="post-footers">Posted by  on April  5, 2004  6:35 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000154.html">Permalink</a>
122                         </p>
123                      </div>
124
125                      
126
127                      
128                   </div>
129                </div>
130             </div>
131          </div>
132       </div>
133    </div>
134 </body>
135 </html>