Initial add of defaria.com
[clearscm.git] / defaria.com / blogs / Status / archives / 000168.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: Meetings/Script review/Backup Registry Service</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/000166.html" title="Server Swap Prep" />
16    <link rel="next" href="http://defaria.com/blogs/Status/archives/000169.html" title="rgy_backup and server upgrade" />
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/000166.html">&laquo; Server Swap Prep</a> |
42                         <a href="http://defaria.com/blogs/Status/">Main</a>
43                         | <a href="http://defaria.com/blogs/Status/archives/000169.html">rgy_backup and server upgrade &raquo;</a>
44                      </p>
45
46                      <a id="a000168"></a>
47                      <div class="entry" id="entry-168">
48                         <h3 class="entry-header">Meetings/Script review/Backup Registry Service</h3>
49                         <div class="entry-content">
50                            <div class="entry-body">
51                               <ul>
52
53 <li>Attended 3 meetings today which, by far, occupied most of my time</li>
54
55 <li>Script review meeting was good. In particular I've implemented the following changes to reregister</li>
56
57 <ul>
58
59 <li>Script not loops through regions for vobs as well as views</li>
60
61 <li>Script now uses -host on lsvob and lsregion to restrict execution to the vob and view hosts only</li>
62
63 <li>Script mktag's for both public and private vobs</li>
64
65 </ul>
66
67 <li>Cleaned up the registry a little bit. Subba created some vobs in cs-nt that were:
68
69 <ol>
70
71 <li>Not public</li>
72
73 <li>Not in the pmo-nt region</li>
74
75 </ol><br>
76
77 Also cleaned up a vob or two that was tagged in another region as private while it was public in the pmo-nt region. This happens semi-silently in that if you mktag -vob -region &lt;<i>other region</i>&gt;... the mktag will prompt for registry password, giving you the <i>illusion</i> that it is making the tag in <i>other region</i> as public when it is not. <u>If you are mktag'ing into another region a public vob you must explicitly state -public!</u></li>
78
79 <li>Investigated backup registry service. It is not working in the current environment. Here's how I believe it is supposed to work:
80
81 <ul>
82
83 <li>You must, of course, configure backup registry server setting on all clients to point to the backup registry server properly. This we had already done.</li>
84
85 <li>You can manually take a snapshot of the registry by executing rgy_backup. If run on any machine other than the designated backup registry server it will merely ask the current registry server what the backup registry server is and set the backup registry server key in the Windows registry. If run on the backup registry server it will copy a snapshot of the registry files in $CCASE_DIR/var/rgy/backup. It appends a date timestamp to the file name and in the non timestamped filename, records a pointer to this file (e.g. the backup/vob_tag file contains the machine relative path to vob_tag_<timestamp>).</li>
86
87 <li>Clearcase relies on the Clearcase scheduler and the <b>Standard Daily Job</b> to perform daily snapshots of the registry via rgy_backup. There are two problems with this:
88
89 <ol>
90
91 <li>Currently the <b>Standard Daily Job</b> is not even scheduled by default!</li>
92
93 <li>One can envision crude developing in the backup directory after months of these daily jobs! I'm not sure how or if there is a mechanism for cleaning up such stuff</li>
94
95 </ol>
96
97 </ul>
98
99 </ul>
100                            </div>
101                            <div id="more" class="entry-more">
102                               
103                            </div>
104                         </div>
105                         <p class="entry-footer">
106                            <span class="post-footers">Posted by  on April 28, 2004  7:04 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000168.html">Permalink</a>
107                         </p>
108                      </div>
109
110                      
111
112                      
113                   </div>
114                </div>
115             </div>
116          </div>
117       </div>
118    </div>
119 </body>
120 </html>