Initial add of defaria.com
[clearscm.git] / defaria.com / blogs / Status / archives / 000561.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: Clearcase Migration</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/000560.html" title="Microsoft Software" />
16    <link rel="next" href="http://defaria.com/blogs/Status/archives/000562.html" title="Lost Packet" />
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/000560.html">&laquo; Microsoft Software</a> |
42                         <a href="http://defaria.com/blogs/Status/">Main</a>
43                         | <a href="http://defaria.com/blogs/Status/archives/000562.html">Lost Packet &raquo;</a>
44                      </p>
45
46                      <a id="a000561"></a>
47                      <div class="entry" id="entry-561">
48                         <h3 class="entry-header">Clearcase Migration</h3>
49                         <div class="entry-content">
50                            <div class="entry-body">
51                               <ul>
52   <li>Installed and tested licenses from new server</li>
53
54   <li>Examined and transfered crontab entries from sons-clearcase -> sons-sc-cc</li>
55
56   <li>Performed chmaster from sons-clearcase -> sons-sc-cc</li>
57
58   <li>Reinstalled Cygwin and got rsh and smake working again</li>
59 </ul>
60
61 <p><b>Time spent:</b> 3 hours</p>
62                            </div>
63                            <div id="more" class="entry-more">
64                               <h2>Licensing</h2>
65
66 <p>I've installed the license strings into sons-sc-cc. They seem to work with no problem. Note that people will need to adjust their license server setting as follows:</p>
67
68 <ol>
69   <li>Go to Control Panel: Clearcase</li>
70
71   <li>Click on Licensing tab</li>
72
73   <li>Change sons-clearcase -&gt; sons-sc-cc</li>
74 </ol>
75
76 <p><b>Note:</b> Shanghai users will also need to do this!</p>
77
78 <h2>Crontab (ctmerge)</h2>
79
80 <p>I've copied the ctmerge cronjobs from sons-clearcase -&gt; sons-sc-cc. Somebody will need to create the corresponding views on sons-sc-cc and uncomment out the ctmerge commands in crontab. The problem is that ctmerge requires a view to merge too and nobody created these views on the new machine. The entries look like:</p>
81
82 <div class=code><pre>
83 #00 07 * * * //sons-sc-cc/Views/official/Tools/bin/ctmerge -view /dview/3.2.ccadmin
84 -branch china_3.2
85 </pre></div>
86
87 <p>As you can see it's commented out. As I said ctmerge requires a view to merge to. So somebody needs to create a 3.2.ccadmin view then do a ct startview to insure it's started, then crontab -e and uncomment the line. Repeat for other ctmerges you need to have running.</p>
88
89 <h2>Chmaster</h2>
90
91 <p>I performed the chmaster -all to change mastership of all objects over to sons-sc-cc. There were some errors due to the fact that some of the objects were locked. I'm cleaning that up... OK all mastership is now at sons-sc-cc so you should be able to use sons-sc-cc as if it was sons-clearcase. This means that the old config specs should work (i.e. things using branches like rel_3.2 should now work on sons-sc-cc).</p>
92
93 <h2>Smake now working again!</h2>
94
95 <p>I reinstalled Cygwin and got rsh sons-sc-cc &lt;cmd&gt; working. This means that smake should now work like it used to. I also changed site_parms.US to specify sons-sc-cc as the build server. This means that people using smake should see their builds happening on sons-sc-cc instead of sons-clearcase.</p>
96
97 <h2>Last bits of wrap up</h2>
98
99 <p>For now I've left sons-clearcase running. This will allow you to continue running as people switch their license serving over to sons-sc-cc. After you believe everybody's successfully using sons-sc-cc and no longer using sons-clearcase I suggest you RDP to sons-clearcase and simply stop Clearcase in the Clearcase control panel. Let that settle for about a week. Anybody who didn't migrate to sons-sc-cc will surely report the problem.</p>
100
101 <p>After this period I suggest I get back in there and perform a few rmreplica commands to tell Multisite that the replicated vobs on sons-clearcase no longer exist. This will signal sons-sc-cc and sons-cc to no longer send packets to sons-clearcase to update it's replicas of the vobs.</p>
102
103 <p>At that point sons-clearcase is essentially out of the loop and can be decommissioned.</p>
104                            </div>
105                         </div>
106                         <p class="entry-footer">
107                            <span class="post-footers">Posted by  on July 15, 2006  5:31 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000561.html">Permalink</a>
108                         </p>
109                      </div>
110
111                      
112
113                      
114                   </div>
115                </div>
116             </div>
117          </div>
118       </div>
119    </div>
120 </body>
121 </html>