Initial add of defaria.com
[clearscm.git] / defaria.com / blogs / Status / archives / 2007_08.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 2007 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/2007_07.html" title="July 2007" />
16    <link rel="next" href="http://defaria.com/blogs/Status/archives/2007_09.html" title="September 2007" />
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/2007_07.html">&laquo; July 2007</a> |
36                         <a href="http://defaria.com/blogs/Status/">Main</a>
37                         | <a href="http://defaria.com/blogs/Status/archives/2007_09.html">September 2007 &raquo;</a>
38                      </p>
39                      
40                      
41                      <!--
42 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
43          xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
44          xmlns:dc="http://purl.org/dc/elements/1.1/">
45 <rdf:Description
46     rdf:about="http://defaria.com/blogs/Status/archives/2007_08.html#entry-000670"
47     trackback:ping="http://defaria.com/mt/mt-tb.cgi/57"
48     dc:title="Building Oracle 10.x for Linux"
49     dc:identifier="http://defaria.com/blogs/Status/archives/2007_08.html#entry-000670"
50     dc:subject="General Dynamics"
51     dc:description=" Managed to get a 10.2 sqlplus client to talk to our 9.2 database server from Solaris. Regular expressions, however, do not work. Since there is no 9.2 Oracle 64 bit client for Linux I decided to attempt to get..."
52     dc:creator=""
53     dc:date="2007-08-30T14:35:08-06:00" />
54 </rdf:RDF>
55 -->
56
57
58                      <h2 class="date-header">August 30, 2007</h2>
59                      <a id="a000670"></a>
60                      <div class="entry" id="entry-670">
61                         <h3 class="entry-header">Building Oracle 10.x for Linux</h3>
62                         <div class="entry-content">
63                            <div class="entry-body">
64                               <ul>
65   <li>Managed to get a 10.2 sqlplus client to talk to our 9.2 database server from Solaris. Regular expressions, however, do not work.</li>
66
67   <li>Since there is no 9.2 Oracle 64 bit client for Linux I decided to attempt to get the 10.2 Oracle 64 bit client installed. Managed to get a 10.2 sqlplus client to talk to our 9.2 database server from Linux! Went to build the Qt OCI portion and failed.</li>
68 </ol>
69                               
70                               <h2>Building Qt OCI</h2>
71
72 <p>Pat, I managed to install the Oracle Client 10.x for Linux - Will
73 had gotten a 64 bit version. I even managed to use sqlplus to connect
74 to RANCQ_RANDBS from Linux!</p>
75
76 <p>Now it's time to build Qt's OCI interface so that I can ultimately
77 build the Linux version of ucmwb.</p>
78
79 <p>Trolltech, makers of Qt, state:</p>
80
81 <blockquote>
82   <h3>How to Build the OCI Plugin on Unix and Mac OS X</h3>
83
84   </p>For Oracle 10g, all you need is the "Instant Client Package -
85   Basic" and "Instant Client Package - SDK". For Oracle prior to 10g,
86   you require the standard Oracle client and the SDK packages.</p>
87
88   <p>Oracle library files required to build the driver:</p>
89
90   <ul>
91     <li>libclntsh.so (all versions)</li>
92
93     <li>libwtc9.so (only Oracle 9)</li>
94   </ul>
95
96   <p>Tell qmake where to find the Oracle header files and shared
97   libraries and run make:</p>
98
99   <h3>For Oracle version 9:</h3>
100
101   <pre>
102 cd $QTDIR/src/plugins/sqldrivers/oci
103 qmake -o Makefile "INCLUDEPATH+=$ORACLE_HOME/rdbms/public $ORACLE_HOME/rdbms/demo" "LIBS+=-L$ORACLE_HOME/lib -lclntsh -lwtc9" oci.pro
104 make
105   </pre>
106
107   <p>For Oracle version 10, we assume that you installed the RPM
108   packages of the Instant Client Package SDK (you need to adjust the
109   version number accordingly):</p>
110
111   <pre>
112 cd $QTDIR/plugins/src/sqldrivers/oci
113 qmake -o Makefile "INCLUDEPATH+=/usr/include/oracle/10.1.0.3/client/" "LIBS+=-L/usr/lib/oracle/10.1.0.3/client/lib" oci.pro
114 make
115   </pre>
116 </blockquote>
117
118 <p>Unfortunately, after installing the Oracle client I didn't have a
119 /usr/include/oracle... And I didn't have a /usr/lib/oracle either. Nor
120 did I see an include directory under where I installed the Oracle
121 client (/opt/oracle). Before I ask Trolltech support what the
122 appropriate paths should be I thought I'd ask you. Perhaps I have not
123 properly installed a portion of Oracle...</p>
124
125                               
126                               <p class="entry-footer">
127                                  <span class="post-footers">Posted by  at  2:35 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000670.html">Permalink</a>
128                                  
129                                  | <a href="http://defaria.com/blogs/Status/archives/000670.html#trackback">TrackBacks (0)</a>
130                               </p>
131                            </div>
132                         </div>
133                      </div>
134                      
135                      <!--
136 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
137          xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
138          xmlns:dc="http://purl.org/dc/elements/1.1/">
139 <rdf:Description
140     rdf:about="http://defaria.com/blogs/Status/archives/2007_08.html#entry-000669"
141     trackback:ping="http://defaria.com/mt/mt-tb.cgi/56"
142     dc:title="Installing... err... I mean building Oracle"
143     dc:identifier="http://defaria.com/blogs/Status/archives/2007_08.html#entry-000669"
144     dc:subject="General Dynamics"
145     dc:description=" Started building cqtalk, a Perl process to interact with Clearquest Spent time attempting to install/build Oracle client for Linux..."
146     dc:creator=""
147     dc:date="2007-08-29T16:13:56-06:00" />
148 </rdf:RDF>
149 -->
150
151
152                      <h2 class="date-header">August 29, 2007</h2>
153                      <a id="a000669"></a>
154                      <div class="entry" id="entry-669">
155                         <h3 class="entry-header">Installing... err... I mean building Oracle</h3>
156                         <div class="entry-content">
157                            <div class="entry-body">
158                               <ul>
159   <li>Started building cqtalk, a Perl process to interact with Clearquest</li>
160
161   <li>Spent time attempting to install/build Oracle client for Linux</li>
162 </ul>
163                               
164                               <h2>Installing/Building Oracle</h2>
165
166 <p>We have an application, ucmwb, which uses Oracle to talk directly
167 to our Clearquest databases. This application runs on Solaris and
168 hopefully soon Linux. In particular it talks to RANCQ on
169 RANDBS. AFAICT RANDBS is an Oracle 9.2 server.</p>
170
171 <p>I would love to go to Oracle 10.x because with 10.x comes regexs
172 and they would help ucmwb tremendously. However I can't get a 10.x
173 client to talk to this 9.x server.</p>
174
175 <p>Working on the Solaris side for now, I can use the 9.2 version of
176 sqlplus to connect to our RANCQ database:</p>
177
178 <div class=code><pre>
179 <b><font color="#3366ff">Randws016:</font></b><u>echo $ORACLE_HOME</u>
180 /usr/local/oracle/product/9.2
181 <b><font><b><font color="#3366ff">Randws016:</font></b></font></b><u>$ORACLE_HOME/bin/sqlplus RAN_WB/RAN_WB@RANCQ_RANDBS</u>
182 SQL*Plus: Release 9.2.0.1.0 - Production on Wed Aug 29 14:46:53 2007
183
184 Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
185
186 Connected to:
187 Oracle9i Enterprise Edition Release 9.2.0.6.0 - Production
188 With the Partitioning, OLAP and Oracle Data Mining options
189 JServer Release 9.2.0.6.0 - Production
190
191 SQL&gt;
192 </pre></div>
193
194 <p>but I cannot use the 10.2 version of sqlplus to connect to RANCQ:</p>
195
196 <div class=code><pre>
197 <b><font><b><font><b><font><b><font color="#3366ff">Randws016:</font></b></font></b></font></b></font></b><u>echo $ORACLE_HOME</u>
198 /home/p6258c/Solaris/10.2.0.3/instantclient_10_2
199 <b><font><b><font><b><font><b><font color="#3366ff">Randws016:</font></b></font></b></font></b></font></b><u>$ORACLE_HOME/sqlplus RAN_WB/RAN_WB@RANCQ_RANDBS</u>
200 SQL*Plus: Release 10.2.0.3.0 - Production on Wed Aug 29 14:48:21 2007
201
202 Copyright (c) 1982, 2006, Oracle.  All Rights Reserved.
203
204 ERROR:
205 ORA-12154: TNS:could not resolve the connect identifier specified
206
207 Enter user-name:
208 </pre></div>
209
210 <p>Will had stated that he thought that 10.2 clients could talk to 9.2
211 servers. Is that true? If so why can't I run sqlplus and connect to
212 RANCQ?</p>
213
214                               
215                               <p class="entry-footer">
216                                  <span class="post-footers">Posted by  at  4:13 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000669.html">Permalink</a>
217                                  
218                                  | <a href="http://defaria.com/blogs/Status/archives/000669.html#trackback">TrackBacks (0)</a>
219                               </p>
220                            </div>
221                         </div>
222                      </div>
223                      
224                      <!--
225 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
226          xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
227          xmlns:dc="http://purl.org/dc/elements/1.1/">
228 <rdf:Description
229     rdf:about="http://defaria.com/blogs/Status/archives/2007_08.html#entry-000668"
230     trackback:ping="http://defaria.com/mt/mt-tb.cgi/55"
231     dc:title="backBench.pl"
232     dc:identifier="http://defaria.com/blogs/Status/archives/2007_08.html#entry-000668"
233     dc:subject="General Dynamics"
234     dc:description=" Added link and createWor to backBench.pl..."
235     dc:creator=""
236     dc:date="2007-08-28T15:55:40-06:00" />
237 </rdf:RDF>
238 -->
239
240
241                      <h2 class="date-header">August 28, 2007</h2>
242                      <a id="a000668"></a>
243                      <div class="entry" id="entry-668">
244                         <h3 class="entry-header">backBench.pl</h3>
245                         <div class="entry-content">
246                            <div class="entry-body">
247                               <ul>
248   <li>Added link and createWor to backBench.pl</li>
249 </ul>
250                               
251                               <p class="entry-footer">
252                                  <span class="post-footers">Posted by  at  3:55 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000668.html">Permalink</a>
253                                  
254                                  | <a href="http://defaria.com/blogs/Status/archives/000668.html#trackback">TrackBacks (0)</a>
255                               </p>
256                            </div>
257                         </div>
258                      </div>
259                      
260                      <!--
261 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
262          xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
263          xmlns:dc="http://purl.org/dc/elements/1.1/">
264 <rdf:Description
265     rdf:about="http://defaria.com/blogs/Status/archives/2007_08.html#entry-000667"
266     trackback:ping="http://defaria.com/mt/mt-tb.cgi/54"
267     dc:title="UCMWB: rebase/deliver cancelled"
268     dc:identifier="http://defaria.com/blogs/Status/archives/2007_08.html#entry-000667"
269     dc:subject="General Dynamics"
270     dc:description=" UCMWB assumes rebases/deliveries are completed. If not it gets confused. Implemented a way for UCMWB to determine such situations...."
271     dc:creator=""
272     dc:date="2007-08-24T15:53:46-06:00" />
273 </rdf:RDF>
274 -->
275
276
277                      <h2 class="date-header">August 24, 2007</h2>
278                      <a id="a000667"></a>
279                      <div class="entry" id="entry-667">
280                         <h3 class="entry-header">UCMWB: rebase/deliver cancelled</h3>
281                         <div class="entry-content">
282                            <div class="entry-body">
283                               <ul>
284   <li>UCMWB assumes rebases/deliveries are completed. If not it gets confused. Implemented a way for UCMWB to determine such situations.</li>
285 </ul>
286                               
287                               <p class="entry-footer">
288                                  <span class="post-footers">Posted by  at  3:53 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000667.html">Permalink</a>
289                                  
290                                  | <a href="http://defaria.com/blogs/Status/archives/000667.html#trackback">TrackBacks (0)</a>
291                               </p>
292                            </div>
293                         </div>
294                      </div>
295                      
296                      <!--
297 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
298          xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
299          xmlns:dc="http://purl.org/dc/elements/1.1/">
300 <rdf:Description
301     rdf:about="http://defaria.com/blogs/Status/archives/2007_08.html#entry-000666"
302     trackback:ping="http://defaria.com/mt/mt-tb.cgi/53"
303     dc:title="UCMWB Assistant"
304     dc:identifier="http://defaria.com/blogs/Status/archives/2007_08.html#entry-000666"
305     dc:subject="General Dynamics"
306     dc:description=" Rebuilt Qt 4.2.2 for Solaris to test Assistant..."
307     dc:creator=""
308     dc:date="2007-08-23T15:52:23-06:00" />
309 </rdf:RDF>
310 -->
311
312
313                      <h2 class="date-header">August 23, 2007</h2>
314                      <a id="a000666"></a>
315                      <div class="entry" id="entry-666">
316                         <h3 class="entry-header">UCMWB Assistant</h3>
317                         <div class="entry-content">
318                            <div class="entry-body">
319                               <ul>
320   <li>Rebuilt Qt 4.2.2 for Solaris to test Assistant</li>
321 </ul>
322                               
323                               <p class="entry-footer">
324                                  <span class="post-footers">Posted by  at  3:52 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000666.html">Permalink</a>
325                                  
326                                  | <a href="http://defaria.com/blogs/Status/archives/000666.html#trackback">TrackBacks (0)</a>
327                               </p>
328                            </div>
329                         </div>
330                      </div>
331                      
332                      <!--
333 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
334          xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
335          xmlns:dc="http://purl.org/dc/elements/1.1/">
336 <rdf:Description
337     rdf:about="http://defaria.com/blogs/Status/archives/2007_08.html#entry-000665"
338     trackback:ping="http://defaria.com/mt/mt-tb.cgi/52"
339     dc:title="ucmwb 1.2.3"
340     dc:identifier="http://defaria.com/blogs/Status/archives/2007_08.html#entry-000665"
341     dc:subject="General Dynamics"
342     dc:description=" Fixed all ucmwb issues except for the Linux port - still waiting for Oracle Client Libraries and SDK for Linux..."
343     dc:creator=""
344     dc:date="2007-08-21T13:46:16-06:00" />
345 </rdf:RDF>
346 -->
347
348
349                      <h2 class="date-header">August 21, 2007</h2>
350                      <a id="a000665"></a>
351                      <div class="entry" id="entry-665">
352                         <h3 class="entry-header">ucmwb 1.2.3</h3>
353                         <div class="entry-content">
354                            <div class="entry-body">
355                               <ul>
356   <li>Fixed all ucmwb issues except for the Linux port - still waiting for Oracle Client Libraries and SDK for Linux</li>
357 </ul>
358                               
359                               <h3>UCMWB 1.2.3</h3>
360
361 <p>I've fixed several issues with ucmwb and feel that it might be time to release a new ucmwb. This has caused me to look into how ucmwb works <i>out in the wild</i>.. From what I can tell there are the following "bits":</p>
362
363 <ul>
364   <li>ucmwb is invoked via /usr/local/bin/ucmwb, which is a simple tcsh script that calls /prj/muosran/bin/ucmwb<br>
365     <br>
366     <div class=code><pre>
367  #! /usr/bin/tcsh
368
369 /prj/muosran/bin/ucmwb&amp;
370
371 exit</pre>
372     </pre></div>
373   </li>
374
375   <li>/prj/muosran/bin/ucmwb is a symlink to <br>
376 /cleartrig/ent/SNSD/muos/ccadm_tools/vobs/ranccadm/devtools/ucmWorkbench/build/ucmwb</li>
377 </ul>
378
379 <p>With the advent of ucmwb for Linux we need to change things so that the script at /usr/local/bin/ucmwb is smart enough to invoke the correct executable. First I propose that we name the executable as ucmwb.$(uname -s). Next we replace  /usr/local/bin/ucmwb with the following script:</p>
380
381 <div class=code><pre>
382 #!/usr/bin/env bash
383 dir=/prj/muosran/bin
384 arch=$(uname -s)
385 ucmwb=$dir/ucmwb.$arch
386
387 if [ -x $ucmwb ]; then
388   exec $ucmwb $@
389 else
390   echo "Unable to find ucmwb for $arch"
391   exit 1
392 fi
393 </pre></div>
394
395 <p>The following tickets have been addressed in this release:</p>
396
397 <table align="center" border="1" cellpadding="2" cellspacing="0" width="95%">
398   <tbody>
399     <tr>
400       <th bgcolor="#004e98" valign="top"><font color="#ffffff">#</font></th>
401       <th bgcolor="#004e98" valign="top"><font color="#ffffff">ID</font></th>
402       <th bgcolor="#004e98" valign="top"><font color="#ffffff">Headline</font></th>
403     </tr>
404     <tr>
405       <td align="center" bgcolor="#ffffd7" valign="middle"><font color="#804040">1</font></td>
406       <td align="center" bgcolor="#ffffd7" valign="middle"><font  color="#804040">RANCQ00014268</font></td>
407       <td bgcolor="#ffffd7" valign="middle"><font color="#804040">UCMWB Save Activity List improvements</font></td>
408     </tr>
409     <tr>
410       <td align="center" bgcolor="#ece9d8" valign="middle"><font  color="#004e98">2</font></td>
411       <td align="center" bgcolor="#ece9d8" valign="middle"><font
412  color="#004e98">RANCQ00014402</font></td>
413       <td bgcolor="#ece9d8" valign="middle"><font color="#004e98">UCMWB
414 should unset activity before deleting the view
415       </font></td>
416     </tr>
417     <tr>
418       <td align="center" bgcolor="#ffffd7" valign="middle"><font color="#804040">3</font></td>
419       <td align="center" bgcolor="#ffffd7" valign="middle"><font
420  color="#804040">RANCQ00013782</font></td>
421       <td bgcolor="#ffffd7" valign="middle"><font color="#804040">ucmwb
422 defect - does not delete view when rebase pending</font></td>
423     </tr>
424     <tr>
425       <td align="center" bgcolor="#ece9d8" valign="middle"><font
426  color="#004e98">4</font></td>
427       <td align="center" bgcolor="#ece9d8" valign="middle"><font
428  color="#004e98">RANCQ00012828</font></td>
429       <td bgcolor="#ece9d8" valign="middle"><font color="#004e98">Fix
430 shared stream view creation from UCM Workbench.</font></td>
431     </tr>
432     <tr>
433       <td align="center" bgcolor="#ffffd7" valign="middle"><font
434  color="#804040">5</font></td>
435       <td align="center" bgcolor="#ffffd7" valign="middle"><font
436  color="#804040">RANCQ00011424</font></td>
437       <td bgcolor="#ffffd7" valign="middle"><font color="#804040">UCM
438 Workbench doesn't create the correct stream for Target WORs</font></td>
439     </tr>
440     <tr>
441       <td align="center" bgcolor="#ece9d8" valign="middle"><font
442  color="#004e98">6</font></td>
443       <td align="center" bgcolor="#ece9d8" valign="middle"><font
444  color="#004e98">RANCQ00011414</font></td>
445       <td bgcolor="#ece9d8" valign="middle"><font color="#004e98">UCMWB
446 create view with common target dev WOR incorrectly creates new stream</font></td>
447     </tr>
448     <tr>
449       <td align="center" bgcolor="#ffffd7" valign="middle"><font
450  color="#804040">7</font></td>
451       <td align="center" bgcolor="#ffffd7" valign="middle"><font
452  color="#804040">RANCQ00010523</font></td>
453       <td bgcolor="#ffffd7" valign="middle"><font color="#804040">UCM
454 Workbench - View Browser - Copy View Privates - Preserve Modification
455 Times</font></td>
456     </tr>
457     <tr>
458       <td align="center" bgcolor="#ece9d8" valign="middle"><font
459  color="#004e98">8</font></td>
460       <td align="center" bgcolor="#ece9d8" valign="middle"><font
461  color="#004e98">RANCQ00013592</font></td>
462       <td bgcolor="#ece9d8" valign="middle"><font color="#004e98">Execute
463 'cade' command when opening Unix prompt from WorkBench</font></td>
464     </tr>
465     <tr>
466       <td align="center" bgcolor="#ffffd7" valign="middle"><font
467  color="#804040">9</font></td>
468       <td align="center" bgcolor="#ffffd7" valign="middle"><font
469  color="#804040">RANCQ00010457</font></td>
470       <td bgcolor="#ffffd7" valign="middle"><font color="#804040">Suggestion
471 to improve UCM workbench to help with Rebase activity</font></td>
472     </tr>
473     <tr>
474       <td align="center" bgcolor="#ece9d8" valign="middle"><font color=#004e98">10</font></td>
475       <td align=center bgcolor="#ece9d8" valign="middle"><font color="#004e98">RANCQ00014267</font></td>
476       <td bgcolor="#ece9d8" valign="middle"><font color="#004e98">UCMWB
477 should save Clearquest password so it doesn't need to be constantly
478 specified</font></td>
479     </tr>
480   </tbody>
481 </table>
482 <br>
483
484 <h3>Notes:</h3>
485
486 <ol>
487   <li><b>RANCQ00014268:</b> Only part of Save Activities is fixed. If the user cancels the dialog box it no longer complains about not being able to write to a file. The part about adding .html is more problematic than initially anticipated.</li>
488
489   <li><b>RANCQ00013782:</b> When deleting a view, stderr from the cleartool rmview is now displayed if there were any errors. This covers both the rebase problem and deliver problem...</li>
490
491   <li><b>RANCQ00013592: </b>Decided not to implement this</li>
492
493   <li><b>RANCQ00010457:</b> This would be better handled by Tom's rebase trigger.</li>
494
495   <li><b>RANCQ00014267:</b> Clearquest password is saved for the duration of the ucmwb session. Storing the Clearquest password in preferences might be a security concern.</li>
496
497 </ol>
498                               
499                               <p class="entry-footer">
500                                  <span class="post-footers">Posted by  at  1:46 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000665.html">Permalink</a>
501                                  
502                                  | <a href="http://defaria.com/blogs/Status/archives/000665.html#trackback">TrackBacks (0)</a>
503                               </p>
504                            </div>
505                         </div>
506                      </div>
507                      
508                      <!--
509 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
510          xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
511          xmlns:dc="http://purl.org/dc/elements/1.1/">
512 <rdf:Description
513     rdf:about="http://defaria.com/blogs/Status/archives/2007_08.html#entry-000664"
514     trackback:ping="http://defaria.com/mt/mt-tb.cgi/51"
515     dc:title="ucmwb/Purify"
516     dc:identifier="http://defaria.com/blogs/Status/archives/2007_08.html#entry-000664"
517     dc:subject="General Dynamics"
518     dc:description=" Implemented several ucmwb fixes Spoke with Chad regarding Purify issues..."
519     dc:creator=""
520     dc:date="2007-08-17T18:04:03-06:00" />
521 </rdf:RDF>
522 -->
523
524
525                      <h2 class="date-header">August 17, 2007</h2>
526                      <a id="a000664"></a>
527                      <div class="entry" id="entry-664">
528                         <h3 class="entry-header">ucmwb/Purify</h3>
529                         <div class="entry-content">
530                            <div class="entry-body">
531                               <ul>
532   <li>Implemented several ucmwb fixes</li>
533
534   <li>Spoke with Chad regarding Purify issues</li>
535 </ul>
536                               
537                               <p class="entry-footer">
538                                  <span class="post-footers">Posted by  at  6:04 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000664.html">Permalink</a>
539                                  
540                                  | <a href="http://defaria.com/blogs/Status/archives/000664.html#trackback">TrackBacks (0)</a>
541                               </p>
542                            </div>
543                         </div>
544                      </div>
545                      
546                      <!--
547 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
548          xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
549          xmlns:dc="http://purl.org/dc/elements/1.1/">
550 <rdf:Description
551     rdf:about="http://defaria.com/blogs/Status/archives/2007_08.html#entry-000663"
552     trackback:ping="http://defaria.com/mt/mt-tb.cgi/50"
553     dc:title="Shared Stream View Creation"
554     dc:identifier="http://defaria.com/blogs/Status/archives/2007_08.html#entry-000663"
555     dc:subject="General Dynamics"
556     dc:description=" Investigated problem with Shared Stream View Creation Investigated problems with Purify. Seems we&apos;re getting a little versionist......"
557     dc:creator=""
558     dc:date="2007-08-15T18:25:48-06:00" />
559 </rdf:RDF>
560 -->
561
562
563                      <h2 class="date-header">August 15, 2007</h2>
564                      <a id="a000663"></a>
565                      <div class="entry" id="entry-663">
566                         <h3 class="entry-header">Shared Stream View Creation</h3>
567                         <div class="entry-content">
568                            <div class="entry-body">
569                               <ul>
570   <li>Investigated problem with Shared Stream View Creation<li>
571
572   <li>Investigated problems with Purify. Seems we're getting a little versionist...</li>
573 </ul>
574                               
575                               <h3>Shared Stream View Creation</h3>
576
577 <p>Here in GD the process is very driven off of WOR (Work Order Request). There are <i>Collector</i> WORs and <i>Worker</i> WORs (basically parent and child records). Additionally any one of the Worker WORs can be designated as the common development WOR. This means that while views can be made for any Worker WORs, only the common development WOR will have a stream and all Worker WORs will share that stream, hence the "shared stream" portion of Shared Stream View Creation.</p>
578
579 <p>Now this is all handled by the createView.pl script that creates views and Clearquest, having a Create View action, calls createView.pl properly when there is a hierarchy of WORs. But <b>ucmwb</b> does not sense this and thus, while it calls createView.pl for view creation, it fails to specify the "Target WOR" (AKA common development WOR).</p>
580                               
581                               <p class="entry-footer">
582                                  <span class="post-footers">Posted by  at  6:25 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000663.html">Permalink</a>
583                                  
584                                  | <a href="http://defaria.com/blogs/Status/archives/000663.html#trackback">TrackBacks (0)</a>
585                               </p>
586                            </div>
587                         </div>
588                      </div>
589                      
590                      <!--
591 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
592          xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
593          xmlns:dc="http://purl.org/dc/elements/1.1/">
594 <rdf:Description
595     rdf:about="http://defaria.com/blogs/Status/archives/2007_08.html#entry-000662"
596     trackback:ping="http://defaria.com/mt/mt-tb.cgi/49"
597     dc:title="ucmwb/Qt and other issues"
598     dc:identifier="http://defaria.com/blogs/Status/archives/2007_08.html#entry-000662"
599     dc:subject="General Dynamics"
600     dc:description=" Working with Anne Tsirfa of Trolltech and Troltech support Working with Kevin Landers regarding ucmwb Managed to implement fix to helpdesk ticket involving setting access/modify times on view private files copied outside of a view by ucmwb Looked into..."
601     dc:creator=""
602     dc:date="2007-08-14T13:10:58-06:00" />
603 </rdf:RDF>
604 -->
605
606
607                      <h2 class="date-header">August 14, 2007</h2>
608                      <a id="a000662"></a>
609                      <div class="entry" id="entry-662">
610                         <h3 class="entry-header">ucmwb/Qt and other issues</h3>
611                         <div class="entry-content">
612                            <div class="entry-body">
613                               <ul>
614   <li>Working with  Anne Tsirfa of Trolltech and Troltech support</li>
615
616   <li>Working with Kevin Landers regarding ucmwb</li>
617
618   <li>Managed to implement fix to helpdesk ticket involving setting access/modify times on view private files copied outside of a view by ucmwb</li>
619
620   <li>Looked into issue with RoseRT versions selected as per switchConf.pl</li>
621
622   <li>Resolved ucmwb not displaying icons helpdesk ticket</li>
623 </ul>
624                               
625                               <p class="entry-footer">
626                                  <span class="post-footers">Posted by  at  1:10 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000662.html">Permalink</a>
627                                  
628                                  | <a href="http://defaria.com/blogs/Status/archives/000662.html#trackback">TrackBacks (0)</a>
629                               </p>
630                            </div>
631                         </div>
632                      </div>
633                      
634                      <!--
635 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
636          xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
637          xmlns:dc="http://purl.org/dc/elements/1.1/">
638 <rdf:Description
639     rdf:about="http://defaria.com/blogs/Status/archives/2007_08.html#entry-000661"
640     trackback:ping="http://defaria.com/mt/mt-tb.cgi/48"
641     dc:title="ucmwb issues/Purify"
642     dc:identifier="http://defaria.com/blogs/Status/archives/2007_08.html#entry-000661"
643     dc:subject="General Dynamics"
644     dc:description=" Working with Kevin and others to resolve Qt issues. Submitted PMR with IBM regarding usage of Purify and why it&apos;s taking so long to run..."
645     dc:creator=""
646     dc:date="2007-08-08T17:25:19-06:00" />
647 </rdf:RDF>
648 -->
649
650
651                      <h2 class="date-header">August  8, 2007</h2>
652                      <a id="a000661"></a>
653                      <div class="entry" id="entry-661">
654                         <h3 class="entry-header">ucmwb issues/Purify</h3>
655                         <div class="entry-content">
656                            <div class="entry-body">
657                               <ul>
658   <li>Working with Kevin and others to resolve Qt issues.</li>
659
660   <li>Submitted PMR with IBM regarding usage of Purify and why it's taking so long to run</li>
661 </ul>
662                               
663                               <h2>ucmwb issues</h2>
664
665 <p>There are a number of issues WRT ucmwb running on Linux:</p>
666
667   <ul>
668     <li>Whether to build 32-bit or 64-bit. 32-bit would be LCD yet I don't have a 32-bit Linux machine to build on</li>
669
670     <li>Differences in architectures (i.e. Intel vs. Opteron). I've seen differences WRT this...</li>
671
672     <li>Whether to build static or shared. Static would be better because then we wouldn't have to worry about getting the right shared libraries and the correct LD_LIBRARY_PATH setting</li>
673
674     <li>Connection to Oracle. In order for ucmwb to connect to Oracle directly it needs OCI. In order to have OCI one needs the commercial version of Qt. Got that. But also we need an Oracle Client (Development?) Installation in order to have the appropriate .h and .a files to build. With Oracle on Linux (which doesn't exist) we also need to address the appropriate 64 vs 32 bit'ness, Intel vs. Opteron, static vs. shared WRT Oracle itself...</li>
675   </ul>
676
677 <h2>Purify</h2>
678
679 <p>Only a little is known at this time but it seems some development group is concerned because running Purify on 7500 had not finished in 10 days of running. Opened IBM/Rational PMR on this. IBM/Rational tells me that using Purify can slow the process by 15-20 times! Makes sense since the instrumented code is doing so much additional work. Need to find out how long the tests would take sans Purify</p>
680                               
681                               <p class="entry-footer">
682                                  <span class="post-footers">Posted by  at  5:25 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000661.html">Permalink</a>
683                                  
684                                  | <a href="http://defaria.com/blogs/Status/archives/000661.html#trackback">TrackBacks (0)</a>
685                               </p>
686                            </div>
687                         </div>
688                      </div>
689                      
690                      <!--
691 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
692          xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
693          xmlns:dc="http://purl.org/dc/elements/1.1/">
694 <rdf:Description
695     rdf:about="http://defaria.com/blogs/Status/archives/2007_08.html#entry-000660"
696     trackback:ping="http://defaria.com/mt/mt-tb.cgi/47"
697     dc:title="QT"
698     dc:identifier="http://defaria.com/blogs/Status/archives/2007_08.html#entry-000660"
699     dc:subject="General Dynamics"
700     dc:description=" Built ucmwb on Solaris Downloaded, built and installed Qt-4.2.2 for Linux Built ucmwb for Linux 64 bit! Doesn&apos;t connect to Clearquest properly yet..."
701     dc:creator=""
702     dc:date="2007-08-07T18:53:46-06:00" />
703 </rdf:RDF>
704 -->
705
706
707                      <h2 class="date-header">August  7, 2007</h2>
708                      <a id="a000660"></a>
709                      <div class="entry" id="entry-660">
710                         <h3 class="entry-header">QT</h3>
711                         <div class="entry-content">
712                            <div class="entry-body">
713                               <ul>
714   <li>Built ucmwb on Solaris</liI>
715
716   <li>Downloaded, built and installed Qt-4.2.2 for Linux</li>
717
718   <li>Built ucmwb for Linux 64 bit! Doesn't connect to Clearquest properly yet</li>
719 </ul>
720                               
721                               <p class="entry-footer">
722                                  <span class="post-footers">Posted by  at  6:53 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000660.html">Permalink</a>
723                                  
724                                  | <a href="http://defaria.com/blogs/Status/archives/000660.html#trackback">TrackBacks (0)</a>
725                               </p>
726                            </div>
727                         </div>
728                      </div>
729                      
730                      <!--
731 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
732          xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
733          xmlns:dc="http://purl.org/dc/elements/1.1/">
734 <rdf:Description
735     rdf:about="http://defaria.com/blogs/Status/archives/2007_08.html#entry-000659"
736     trackback:ping="http://defaria.com/mt/mt-tb.cgi/46"
737     dc:title="ssh"
738     dc:identifier="http://defaria.com/blogs/Status/archives/2007_08.html#entry-000659"
739     dc:subject="General Dynamics"
740     dc:description=" Helped Aaron with ssh..."
741     dc:creator=""
742     dc:date="2007-08-03T17:56:27-06:00" />
743 </rdf:RDF>
744 -->
745
746
747                      <h2 class="date-header">August  3, 2007</h2>
748                      <a id="a000659"></a>
749                      <div class="entry" id="entry-659">
750                         <h3 class="entry-header">ssh</h3>
751                         <div class="entry-content">
752                            <div class="entry-body">
753                               <ul>
754   <li>Helped Aaron with ssh</li>
755 </ul>
756                               
757                               <h2>Adding ssh actions to CDE</h2>
758
759 <p>Secure SHell or ssh is a more modern and secure way to access a remote system. You can add ssh actions to CDE by doing the following:</p>
760
761 <p>Add the following to ~/.dt/types:</p>
762
763 <div class=code><pre>
764 ACTION Ssh
765 {
766   LABEL           Secure shell
767   ICON            Dtterm
768   ARG_COUNT       0
769   TYPE            COMMAND
770   WINDOW_TYPE     NO_STDIO
771   EXEC_STRING     ksh -c 'export _title="%"Starbase?"%";          \
772     /usr/dt/bin/dtterm -name $_title                              \
773     -title "Opening hailing frequencies to starbase $_title..."   \
774     -e ksh -c "ssh $_title; sleep 5;";'
775   DESCRIPTION     The Secure shell action prompts the user for    \
776                   the name of a system, opens a dtterm terminal   \
777                   emulator window, and then performs an ssh to    \
778                   that system.
779 }
780
781 ACTION SshUser
782 {
783   LABEL           Secure shell
784   ICON            Dtterm
785   ARG_COUNT       0
786   TYPE            COMMAND
787   WINDOW_TYPE     NO_STDIO
788   EXEC_STRING     ksh -c 'export _title="%"Starbase?"%";          \
789     export _user="%"Username"%";                                  \
790     /usr/dt/bin/dtterm -name $_title                              \
791     -title                                                        \
792       "Opening hailing frequencies to starbase $_user@$_title..." \
793     -e ksh -c "ssh $_user@$_title; sleep 5;";'
794   DESCRIPTION     The Secure shell action prompts the user for    \
795                   the name of a system and a username and opens   \
796                   a dtterm terminal emulator window, and then     \
797                   performs an ssh to that system.
798 }
799 </pre></div>
800
801 <p>Then invoke the actions with:</li>
802
803 <div class=code><pre>
804 $ dtaction Ssh
805 $ dtaction SshUser
806 </pre></div>
807
808 <p>or better yet put it into your Dtwm menus like:</p>
809
810 <div class=code><pre>
811     Menu Terminals
812     {
813       "Terminals"           f.title
814       "Terminal"            f.action Dtterm
815       "Remote Terminal"     f.action Ssh
816       "Remote Terminal (user)"      f.action SshUser
817       "X Terminal"          f.action Xterm
818     }
819 </pre></div>
820
821 <h2>Configuring ssh for passwordless but secure public key authentication</h2>
822
823 <p>In order to do public key authentication you need to first generate a public key. You do this for ssh with ssh-keygen:</p>
824
825 <div class=code><pre>
826 $ ssh-keygen -t rsa
827 </pre></div>
828
829 <p>Note you can also do -t dsa. There are RSA keys and DSA keys. I forget what the prompts are, something about a passphrase, etc. Enter no passphrase.</p>
830
831 <p>This should create a directory ~/.ssh with files in it. For example:</p>
832
833 <div class=code><pre>
834 <b><font color="#3333ff">$</font></b> <u>ssh-keygen -t rsa</u>
835 Enter file in which to save the key(/home/p6258c/.ssh/id_rsa):
836 Generating public/private rsa key pair.
837 Enter passphrase(empty for no passphrase): 
838 <b><font color="#3333ff">$</font></b> <u>ls -l ~/.ssh</u>
839 total 32
840 -rw-------    1 p6258c   ccusers       226 Jun 15 13:28 authorized_keys
841 -rw-------    1 p6258c   ccusers       887 Jun 15 13:27 id_rsa
842 -rw-rw-r--    1 p6258c   ccusers       226 Jun 15 13:27 id_rsa.pub
843 -rw-r--r--    1 p6258c   ccusers      4082 Jul 31 15:05 known_hosts
844 <b><font color="#3333ff">$</font></b> <u>ls -ld .</u>
845 drwxr-xr-x   43 p6258c   ccusers      2048 Aug  3 10:28 ./
846 <b><font color="#3333ff">$</font></b>
847 </pre></div>
848
849 <p>Then the task is to get the ~/.ssh/id_rsa.pub key added to the authorized_keys file (creating it if you need to). Here in GD that is easy. Siimply:</p>
850
851 <div class=code><pre>
852 <b><font color="#3333ff">$</font></b> <u>cat ~/.ssh/id_rsa.pub &gt;&gt; ~/.ssh/authorized_keys</u>
853 </pre></div>
854
855 <p>Now, since all GD machines in the RAN subnet share your same home directory (automounted from the same common location) viola! You now have passwordless ssh access using public key authentication through the RAN (note this does not cross from RAN -&gt; GD network due to firewall issues). Whenever you ssh to a new machine it will bother you about adding it to the known_hosts file but after that it should not prompt again.</p>
856
857 <p>Also note that if this were a different situation you'd have to get the contents of ~/.ssh/id_rsa.pub over to the remote machine. For example, I could generate my keys as described above then email the ~/.ssh/id_rsa.pub from here to my home Linux system, append it to my ~/.ssh/authorized_keys on my home Linux system then I could ssh from here to home. Normally I configure my house to <b>only</b> allow public key authenticated logins from the outside world. I can't do it here from GD because the firewall prohibits it (which is odd)!</p>
858
859 <p>Final note: Sometimes, if ssh is configured to by strict about permissions, you need to change your home directory to be 755 as shown above. Normally I'm a sharing kinda guy so I have my home directory set to 775 but with ssh strict permissions that'll cause passwordless ssh to not work anymore.</p>
860                               
861                               <p class="entry-footer">
862                                  <span class="post-footers">Posted by  at  5:56 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000659.html">Permalink</a>
863                                  
864                                  | <a href="http://defaria.com/blogs/Status/archives/000659.html#trackback">TrackBacks (0)</a>
865                               </p>
866                            </div>
867                         </div>
868                      </div>
869                      
870                      <!--
871 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
872          xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
873          xmlns:dc="http://purl.org/dc/elements/1.1/">
874 <rdf:Description
875     rdf:about="http://defaria.com/blogs/Status/archives/2007_08.html#entry-000658"
876     trackback:ping="http://defaria.com/mt/mt-tb.cgi/45"
877     dc:title="ranlin0[2|3] released"
878     dc:identifier="http://defaria.com/blogs/Status/archives/2007_08.html#entry-000658"
879     dc:subject="General Dynamics"
880     dc:description=" After resolving issue with cleartrig and fonts, released ranlin0[2|3] to production..."
881     dc:creator=""
882     dc:date="2007-08-01T13:04:27-06:00" />
883 </rdf:RDF>
884 -->
885
886
887                      <h2 class="date-header">August  1, 2007</h2>
888                      <a id="a000658"></a>
889                      <div class="entry" id="entry-658">
890                         <h3 class="entry-header">ranlin0[2|3] released</h3>
891                         <div class="entry-content">
892                            <div class="entry-body">
893                               <ul>
894   <li>After resolving issue with cleartrig and fonts, released ranlin0[2|3] to production</li>
895 </ul>
896                               
897                               <h3>New Linux workstations ranlin02 & 03 now ready</h3>
898
899 <p>The new Linux workstations ranlin02 and ranlin03 are now ready for use. Clearcase and Clearquest have been installed on them and they have been properly configured into the RAN network.</p>
900
901 <p>There is a slight issue regarding problems with Clearquest and clearprompt (a dialog box tool used by our tools) and fonts. Sometimes this leads to dialog boxes that lack any text due to font rendering problems.</p>
902
903 <p>A fix had been implemented. For users who will be using these new Linux boxes (especially if they use Solaris desktops, will be remotely logging into these Linux boxes and displaying things back to their Solaris boxes running CDE) simply add the following "source" to their
904 ~/.cshrc:</p>
905
906 <div class=code><pre>
907 #ident  "@(#)local.cshrc        1.2     00/05/01 SMI"
908 umask 002
909 set path=(/bin /usr/bin /usr/ucb /etc /usr/sbin /usr/atria/etc
910 /usr/atria/bin /usr/openwin/bin /usr/dt/bin /usr/local/bin
911 /opt/hpnpl/bin .)
912 if ( $?prompt ) then
913    set history=64              # previous commands to remember.
914    set savehist=64             # number to save across sessions.
915    setenv system `hostname`     # set hostname
916    set prompt="[$system`pwd`] " # set prompt
917    alias       cd      'cd \!*; set prompt="[$system`pwd`] "'
918 endif
919 alias ct /usr/atria/bin/cleartool
920 alias ll 'ls -l'
921 alias la 'ls -a'
922 alias cdd 'cd ..'
923 alias cddd 'cd ../..'
924 #alias shello /vobs/cello/civ/test_utilities/scripts/shello
925 source /prj/muosran/config/.cshrc.muosran
926 <b><u><font color="#ff0000">source /prj/muosran/config/.cshrc.linux</font></u></b>
927 </pre></div>
928
929                               
930                               <p class="entry-footer">
931                                  <span class="post-footers">Posted by  at  1:04 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000658.html">Permalink</a>
932                                  
933                                  | <a href="http://defaria.com/blogs/Status/archives/000658.html#trackback">TrackBacks (0)</a>
934                               </p>
935                            </div>
936                         </div>
937                      </div>
938                      
939                   </div>
940                </div>
941             </div>
942          </div>
943       </div>
944    </div>
945 </body>
946 </html>