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">
5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6 <meta name="generator" content="Movable Type 5.2.3" />
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"$>" />
12 <title>Status for Andrew DeFaria: April 4, 2004 - April 10, 2004 Archives</title>
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" />
18 <body class="layout-one-column">
20 <div id="container-inner" class="pkg">
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>
30 <div id="pagebody-inner" class="pkg">
32 <div id="alpha-inner" class="pkg">
34 <p class="content-nav">
35 <a href="http://defaria.com/blogs/Status/archives/week_2004_03_07.html">« 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 »</a>
43 <h2 class="date-header">April 7, 2004</h2>
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>
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>
53 <p>Modified protect trigger to use current owner instead of original creator of the VOB to change the ownership of new elements.</p>
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>
66 <h2 class="date-header">April 6, 2004</h2>
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>
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>
76 <p>Also worked with Subba to clean up and clear out some UCM vobs.</p>
78 <p>Spend some time trying to get MySQL running under Cygwin.</p>
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>
91 <h2 class="date-header">April 5, 2004</h2>
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>
99 <blockquote><tt>albd_log: Error: Unable to connect to SMTP server "172.16.101.56[6400]": Bad file descriptor.</tt></blockquote>
101 <p>Well 172.16.101.56 happens to be notesadmin01:</p>
104 C09-272-A:nslookup 172.16.101.56
105 Server: dhcp01.ameriquest.net
106 Address: 172.16.101.100
108 Name: notesadmin01.ameriquest.net
109 Address: 172.16.101.56
112 <p>Why are we trying to email through notesadmin01 instead of notesmail01?</p>
114 <p>Meantime I unlocked the vobs...</p>
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>
118 C09-272-A:nslookup appsmtp
119 Server: dhcp01.ameriquest.net
120 Address: 172.16.101.100
122 Name: notesadmin01.ameriquest.net
123 Address: 172.16.101.56
124 Aliases: appsmtp.ameriquest.net
126 <p>I guess the questions are:</p>
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>
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>
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>
146 <p>Additionally these Perl scripts use C:/Winnt/System32/blat.exe to send mail.</p>
148 <p>Finally the task_registry file was modified to add these custom jobs.</li>
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>
152 <h3>Suggestions:</h3>
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>
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>
158 <p>Finally I think there should be a script set up to reproduce/reinstall this environment.</p>
160 <p>IOW our stuff should also be version controlled and scripts written to automate it's installation and workings.</p>
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>