Initial add of defaria.com
[clearscm.git] / defaria.com / blogs / Status / archives / week_2004_04_11.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 11, 2004 - April 17, 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_04_04.html" title="April  4, 2004 - April 10, 2004" />
16    <link rel="next" href="http://defaria.com/blogs/Status/archives/week_2004_04_18.html" title="April 18, 2004 - April 24, 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_04_04.html">&laquo; April  4, 2004 - April 10, 2004</a> |
36                         <a href="http://defaria.com/blogs/Status/">Main</a>
37                         | <a href="http://defaria.com/blogs/Status/archives/week_2004_04_18.html">April 18, 2004 - April 24, 2004 &raquo;</a>
38                      </p>
39                      
40                      
41                      
42
43                      <h2 class="date-header">April 16, 2004</h2>
44                      <a id="a000159"></a>
45                      <div class="entry" id="entry-159">
46                         <h3 class="entry-header">Reregistering Clearcase objects</h3>
47                         <div class="entry-content">
48                            <div class="entry-body">
49                               <ul>
50
51 <li>Worked with Mike trying to get Clearcase web to function correctly</li>
52
53 <li>Since the IP address of the new servers will be different I worked on a script that will reregister views and vobs. This reregistering and retragging should fix up the IP address problem</li>
54
55 </ul>
56                               
57                               <p class="entry-footer">
58                                  <span class="post-footers">Posted by  at 10:34 AM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000159.html">Permalink</a>
59                                  
60                                  
61                               </p>
62                            </div>
63                         </div>
64                      </div>
65                      
66                      
67
68                      <h2 class="date-header">April 15, 2004</h2>
69                      <a id="a000158"></a>
70                      <div class="entry" id="entry-158">
71                         <h3 class="entry-header">Clearcase & Clearquest Web</h3>
72                         <div class="entry-content">
73                            <div class="entry-body">
74                               Today...
75
76 <ul>
77
78 <li><p>Partitioned drive</p></li>
79 <li><p>Installed Windows XP</p></li>
80 <li><p>Attended Peregrine Training</p></li>
81 <li><p>Configured Clearquest web</p></li>
82 <li><p>Worked with Michael on Clearcase web problems</p></li>
83 <li><p>Worked on problem with accessing Clearcase due to outgrowing the lockmgr's limits</p></li>
84 <li><p>Implemented Heap Size fix and Lockmgr fix to new production servers</p></li>
85
86 </ul>
87                               
88                               <p>Several people have been reporting odd problems with Clearcase. In investigating this I checked the server log files and found a lot of:<p>
89
90 <blockquote>
91 <pre>
92 *** db_VISTA database error -922 - the lock manager is busy
93 </pre>
94 </blockquote>
95
96 <p>Searching Rational's web I saw <a href="http://www-1.ibm.com/support/docview.wss?uid=swg21125258">lock manager problems, settings and guidelines</a> which seems to indicate that we've probably already outgrown the default parameters for the lockmgr. The article talks about monitoring the server processes for a week to determine how to best set the values for lockmgr. Unfortunately we don't have a week to wait so for the mean time I simply set the following parms on the lockmgr and restarted Clearcase on the vob sever:</p>
97
98 <blockquote>
99 <pre>
100 -a almd -u 100 -f 200 -q 500
101 </pre>
102 </blockquote>
103
104 That should give us some breathing room. Meantime I set up a quick script to monitor the number of server processes as per the article.
105                               
106                               <p class="entry-footer">
107                                  <span class="post-footers">Posted by  at  7:37 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000158.html">Permalink</a>
108                                  
109                                  
110                               </p>
111                            </div>
112                         </div>
113                      </div>
114                      
115                      
116
117                      <h2 class="date-header">April 13, 2004</h2>
118                      <a id="a000157"></a>
119                      <div class="entry" id="entry-157">
120                         <h3 class="entry-header">The new servers have arrived!</h3>
121                         <div class="entry-content">
122                            <div class="entry-body">
123                               <p>The new servers have arrived and I have been testing them today. Here's what I managed to do:</p>
124
125 <ul>
126
127 <li>Installed Clearcase server software on new machines.</li>
128 <li>Configured storage locations for vobs/views</li>
129 <li>Practiced moving a vob and view over to the new servers. The view even had a checked out file.</li>
130 <li>Once set up on the new servers accessed the view and insured that I could access it and that the checked out element was still accessible.</li>
131
132 </ul>
133
134 <p>In setting up prodfix01 as a the vob server I encountered some problems attempting to set the storage location. The default wizard was not the right way to go. Instead I had to:</p>
135
136 <div class="code">
137 cleartool> mkstgloc -vob -host prodfix01 -hpath D:\vobstore -gpath \\prodfix01\vobstore vobstore \\prodfix01\vobstore
138 </div>
139
140 <p>Naturally this will not due as this machine will eventually be renamed as rtnlprod01, not prodfix01. This will need to be adjusted during the downtime.
141 Just some notes from my testing session:</p>
142
143 <blockquote>
144
145 <p>After setting up the servers I had to create the storage locations as above. I called them vobstore and viewstore instead of ccvobstg/ccviewstg. Personally I find the former more descriptive.</p>
146
147 <p>I tried to simply mktag for the vob and view on the new server but that would not work. Instead I had to:</p>
148
149 <div class="code">
150 cleartool register -replace -view \\path\to\view<br>
151 cleartool register -replace -vob \\path\to\vob<br>
152 cleartool mktag -replace -view -tag <viewtag> \\path\to\view<br>
153 cleartool mktag -replace -vob -tag <vobtag> \\path\to\vob<br>
154 cleartool startview <viewtag><br>
155 cleartool mount <vobtag><br>
156 </div>
157
158 <p>Again, if we slide the server into place after changing the DNS/Machine name <-> IP address mapping this should not be an issue.</p>
159
160 </blockquote>
161
162 <p>We should be ready to go, perhaps this coming Thursday evening (sometime after 7 Pm). What we would need to do is:</p>
163
164 <ol>
165
166 <li>Announce to the Clearcase community that Clearcase will be down for a few hours Thursday night (7 Pm - 9 Pm)</li>
167 <li>At 7 Pm stop Clearcase on rtnlprod01 and rtnlprod02</li>
168 <li><tt>xcopy <rtnlprod01:/vobstore> <prodfix01:/vobstore> /e /i /f /h /k /x > C:\vobstore_xcopy.log 2>&1</tt></li>
169 <li><tt>xcopy <rtnlprod02:/viewstore> <prodfix02:/viewstore> /e /i /f /h /k /x > C:\viewstore_xcopy.log 2>&1</tt></li>
170 <li>Shutdown rtnlprod01 and rtnlprod02</li>
171 <li>Switch DNS so that prodfix01 -> rtnlprod01 and prodfix02 -> rtnlprod02</li>
172 <li>Test vob/view access from desktop clients.</li>
173 </ol>
174                               
175                               <p class="entry-footer">
176                                  <span class="post-footers">Posted by  at  6:11 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000157.html">Permalink</a>
177                                  
178                                  
179                               </p>
180                            </div>
181                         </div>
182                      </div>
183                      
184                   </div>
185                </div>
186             </div>
187          </div>
188       </div>
189    </div>
190 </body>
191 </html>