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: June 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/2004_05.html" title="May 2004" />
16 <link rel="next" href="http://defaria.com/blogs/Status/archives/2004_07.html" title="July 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/2004_05.html">« May 2004</a> |
36 <a href="http://defaria.com/blogs/Status/">Main</a>
37 | <a href="http://defaria.com/blogs/Status/archives/2004_07.html">July 2004 »</a>
43 <h2 class="date-header">June 25, 2004</h2>
45 <div class="entry" id="entry-205">
46 <h3 class="entry-header">Finished backup script</h3>
47 <div class="entry-content">
48 <div class="entry-body">
49 <p>The backup script is ready for deployment. It was determined to lock all vobs at once, back them all up then unlock the vobs. I also implemented the 7 days of history option. History is stored under d:\vobstore\backup as numbered directories (0-6 for Sun-Sat). The script now manages that area by first moving the current backup under d:\backup -> d:\vobstore\backup\<current day #> after first clearing out d:\vobstore\backup\<current day #> (if it existed). It was decided to put the history stuff under vobstore because this way we can tell the backup people "Just exclude d:\vobstore but get everything else".</p>
51 <p>I was experiencing "Access denied" errors irradically until I found out that there may be .being-deleted files as described <a href="http://www-1.ibm.com/support/docview.wss?rs=0&q1=being-deleted&uid=swg21129318&loc=en_US&cs=utf-8&cc=us&lang=en">here</a>. To solve this I implemented exclusions on the xcopy command (/exclude:d:\backup\exclude.strings) which tells xcopy to exclude things in the "c" directory - i.e. the cleartext pool - which Clearcase can easily recreate without data loss. This also has the effect of reducing the backup copy size in some cases significantly (e.g. \ASAP_Docs goes from 2.1 gig down to 1 gig!).</p>
53 <p>Here's a rough psuedo code of what the script does:</p>
57 Obtain a list of all vobs
60 if d:\vobstore\backup\$current_day\$vob exists then
63 move d:\backup\$vob -> d:\vobstore\backup\$current_day\$vob
64 copy $vob's storage area -> d:\backup\$vob
69 <p>Cutting out the copying of cleartext pool has reduced the current backup time from 56 minutes (yes it grew) to 33 minutes.</p>
71 <p>Now, where are we WRT the SQL backup scripts?....</p>
73 <p class="entry-footer">
74 <span class="post-footers">Posted by at 3:37 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000205.html">Permalink</a>
84 <h2 class="date-header">June 23, 2004</h2>
86 <div class="entry" id="entry-202">
87 <h3 class="entry-header">Multisite/backup.pl</h3>
88 <div class="entry-content">
89 <div class="entry-body">
90 <p>Spent some time trying to multisite a test vob (\defaria). Realized that we will have a problem in that we will need a machine (server or client) dedicated to handling the multisite region in order to lock vobs and backup things.</p>
92 <p>Had a meeting WRT multisite approach. It was determined that will we switch to using a script to make a copy of the vobs and back up from there. Started writing script...</p>
94 <p class="entry-footer">
95 <span class="post-footers">Posted by at 9:21 AM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000202.html">Permalink</a>
105 <h2 class="date-header">June 21, 2004</h2>
107 <div class="entry" id="entry-204">
108 <h3 class="entry-header">XML</h3>
109 <div class="entry-content">
110 <div class="entry-body">
111 <p>Spent most of the day investigating XML and XSL.</p>
113 <p class="entry-footer">
114 <span class="post-footers">Posted by at 9:29 AM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000204.html">Permalink</a>
124 <h2 class="date-header">June 18, 2004</h2>
126 <div class="entry" id="entry-201">
127 <h3 class="entry-header">XML</h3>
128 <div class="entry-content">
129 <div class="entry-body">
132 <li>Spent most of the day studying XML</li>
134 <li>Added debugging code to LogActivity trigger</li>
136 <li>Worked on problem Sujay's people had with 0 length document</li>
140 <p class="entry-footer">
141 <span class="post-footers">Posted by at 1:55 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000201.html">Permalink</a>
151 <h2 class="date-header">June 16, 2004</h2>
153 <div class="entry" id="entry-199">
154 <h3 class="entry-header">AD/CC Registry</h3>
155 <div class="entry-content">
156 <div class="entry-body">
159 <li>Activated reporting of Active Directory groups</li>
161 <li>Cleaned up Clearcase Registry</li>
165 <p class="entry-footer">
166 <span class="post-footers">Posted by at 2:17 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000199.html">Permalink</a>
176 <h2 class="date-header">June 15, 2004</h2>
178 <div class="entry" id="entry-200">
179 <h3 class="entry-header">BUCS/VOB Snapshots/RequistePro</h3>
180 <div class="entry-content">
181 <div class="entry-body">
184 <li>More working with Babu re: BUC$ build script</li>
186 <li>Investigated and prototyped vob_snapshot backups</li>
188 <li>Incorporated Requisite Pro into a FAQ web page</li>
192 <p class="entry-footer">
193 <span class="post-footers">Posted by at 2:21 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000200.html">Permalink</a>
205 <div class="entry" id="entry-198">
206 <h3 class="entry-header">Clearcase Web Server</h3>
207 <div class="entry-content">
208 <div class="entry-body">
209 <p>The Clearcase web service died today. I don't know why but the following is what I did to get it back up and running. </p>
211 <p>Server is back up.</p>
213 <p>Problem analysis:</p>
215 <p>Not really sure where things went wrong however when I looked at it the Rational Web Platform (rwp - which is really just Apache with Tomcat under the hood) was not running. rwp creates error logs but they are hard to parse because there are many of them with apparently random numbers tacked on. I believe these numbers represent the date in some form but haven't figured out how to decode them.</p>
217 <p>Anyway, I tried moving them aside and to restart the rwp server so that it would be clear what the error file was. Couldn't move all the log files out of the way because some were busy. Wish I had a good tool to figure out who has a file open.</p>
219 <p>The error message when trying to start rwp was "The Rational Web Platform HTTP Service Terminated with Service-Specific Error 1". Searching the Rational Support site yielded that the reason the service could not start was because some other process was using port 80. Typically this is due to somebody else runnig IIS. No IIS running. Tried netstat but could not find who was using port 80. Tried telneting to port 80 and got "Connection failed" so whoever was using port 80 did not want to talk to me! :-)</p>
221 <p>Finally I tried running rwp.exe from the command line with --help hoping for help about rwp's possible command line opts. Instead rwp started and ran! Clearcase web was back up but I did not like having rwp running in a console window and if I were to log out I feared that the rwp process would end. So I went to the Services applet and tried to start (since there was no stop) rwp. It started and the rwp running in the console ended. For safety's sake I restarted the rwp service through the Services applet. I believe Clearcase web is OK for now and we are doign server maintainance tonight anyway...<br />
224 <p class="entry-footer">
225 <span class="post-footers">Posted by at 10:44 AM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000198.html">Permalink</a>
235 <h2 class="date-header">June 9, 2004</h2>
237 <div class="entry" id="entry-197">
238 <h3 class="entry-header">PB/ASAP VOB Moves</h3>
239 <div class="entry-content">
240 <div class="entry-body">
243 <li>Joined PowerBuilder newsgroup to try to find out how to solve the Orca Script problems. Looks like I'm gonna learn way more about PB than I wanted to</li>
245 <li>Tested moving PVOB and Src vob from vobstore to ASAP_VOBS. Works OK.</li>
247 <li>Learned that we can use the DOS command MOVE which moves the VOBs simply by manipulating the directory entries. This means moving a large vob takes no longer than a small vobs. This is probably possible because we are on the same filesystem</li>
249 <li>WRT these ASAP vobs, we need to <tt>ct find -all -exec "cleartool protect -chown <owner> %CLEARCASE_PN%"</tt></li>
254 <p class="entry-footer">
255 <span class="post-footers">Posted by at 7:08 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000197.html">Permalink</a>
265 <h2 class="date-header">June 8, 2004</h2>
267 <div class="entry" id="entry-196">
268 <h3 class="entry-header">ActiveState Perl</h3>
269 <div class="entry-content">
270 <div class="entry-body">
273 <li>Spent most of the day installing a Networked ActiveState Perl. Had permission problems with making elements in my dynamic view! Don't know why? Tried a clearfsimport and that caused the Perl to fail. I think it didn't properly copy permissions. So I ended up having to <b>Add to Source Control</b> all the files by hand (since I don't have scripting tools)</li>
275 <li>Consulted with Subba about ASAP VOB Move test</li>
277 <li>Babu gave me an assignment to learn <i>OrcaScript</i> which is a scripting language for PowerBuidlder. Oh boy!</li>
281 <p class="entry-footer">
282 <span class="post-footers">Posted by at 7:07 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000196.html">Permalink</a>
292 <h2 class="date-header">June 4, 2004</h2>
294 <div class="entry" id="entry-195">
295 <h3 class="entry-header">AD Groups</h3>
296 <div class="entry-content">
297 <div class="entry-body">
298 <p>Worked on getccgroups.vbs most of the day. Managed to get it to recurse for groups within groups and to sort the arrays of names. Need to implement the email portion though.</p>
300 <p class="entry-footer">
301 <span class="post-footers">Posted by at 5:43 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000195.html">Permalink</a>
311 <h2 class="date-header">June 3, 2004</h2>
313 <div class="entry" id="entry-194">
314 <h3 class="entry-header">More meetings</h3>
315 <div class="entry-content">
316 <div class="entry-body">
319 <li>Yet even more meetings</li>
321 <li>Documented installation scripts. Fixed them to dynamically mktag for \ccverify</li>
323 <li>Helped Rick Cunneen with VOB questions</li>
327 <p class="entry-footer">
328 <span class="post-footers">Posted by at 7:23 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000194.html">Permalink</a>
338 <h2 class="date-header">June 2, 2004</h2>
340 <div class="entry" id="entry-193">
341 <h3 class="entry-header">Meetings, Bloody Meetings</h3>
342 <div class="entry-content">
343 <div class="entry-body">
346 <li>Attended several (3) meetings today so not much got done</li>
348 <li>Fixed some minor problems with verification scripts</li>
352 <p class="entry-footer">
353 <span class="post-footers">Posted by at 7:10 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000193.html">Permalink</a>
363 <h2 class="date-header">June 1, 2004</h2>
365 <div class="entry" id="entry-192">
366 <h3 class="entry-header">CMVerify</h3>
367 <div class="entry-content">
368 <div class="entry-body">
371 <li>Worked mostly on [cm|cc|cq]verify scripts. Got them checked in as working</li>
373 <li>Worked a little bit on the GetCCGroups vbs scripts</li>
377 <p class="entry-footer">
378 <span class="post-footers">Posted by at 7:34 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000192.html">Permalink</a>