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: July 15, 2007 - July 21, 2007 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/week_2007_07_08.html" title="July 8, 2007 - July 14, 2007" />
16 <link rel="next" href="http://defaria.com/blogs/Status/archives/week_2007_07_22.html" title="July 22, 2007 - July 28, 2007" />
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/week_2007_07_08.html">« July 8, 2007 - July 14, 2007</a> |
36 <a href="http://defaria.com/blogs/Status/">Main</a>
37 | <a href="http://defaria.com/blogs/Status/archives/week_2007_07_22.html">July 22, 2007 - July 28, 2007 »</a>
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/">
46 rdf:about="http://defaria.com/blogs/Status/archives/week_2007_07_15.html#entry-000654"
47 trackback:ping="http://defaria.com/mt/mt-tb.cgi/41"
48 dc:title="Automating Clearcase Installs"
49 dc:identifier="http://defaria.com/blogs/Status/archives/week_2007_07_15.html#entry-000654"
50 dc:subject="General Dynamics"
51 dc:description=" Created auto install script for Linux..."
53 dc:date="2007-07-19T16:40:48-06:00" />
58 <h2 class="date-header">July 19, 2007</h2>
60 <div class="entry" id="entry-654">
61 <h3 class="entry-header">Automating Clearcase Installs</h3>
62 <div class="entry-content">
63 <div class="entry-body">
65 <li>Created auto install script for Linux</li>
68 <h2>Automating Clearcase Installs</h2>
70 <p>Often you want to easily and quickly be able to install Clearcase on systems. Of course, there are lots of considerations, hence lots of parameters to consider. IBM/Rational's solution to this is <i>install_release</i> which is really just a script that calls <i>inst_rls</i>, yet another Perl script, to do the installation. As it does it prompts for parameters and performs the install. But it would be nice to be able to run through the prompts once, answering all the questions for a batch of similarly configured machines, then run that install on those machines.</p>
72 <p>Now IBM/Rational even thought of this and <i>install_release</i> has a facility to perform multiple installs remotely to a bunch of machines. But you may not have all of those machines up and running nor identified.</p>
74 <p>Or you may wish to automate the process yourself, scripting a solution that queries other things to determine exactly which type of install to do.</p>
76 <h3>Running install_release with -echo_cmd_only</h3>
78 <p>While no longer documented, running <i>install_release</i> with the parameter -echo_cmd_only causes <i>install_release</i> to run through all of the prompts and then it just spits out the full command line that will perform the install as specified. This command line can then be used as the basis for your own automation.</p>
80 <p>The following is a quick script to install Clearcase 6.x on Redhat systems:</p>
85 # Quick script to install Clearcase 6.x on Redhat x86 64 bit
89 if [ $(id -u) != 0 ]; then
90 echo "ERROR: You must be root to install Clearcase"
94 # Define some parameters that might be changing
95 registry_region=cclinux
98 release_path=/net/cclinux/opt/clearcase/ccrel6.0_pXX_rhat/2003.06.00/rhat_x86
99 release_area=$release_path/clearcase/install
100 logfile=/tmp/Rational_install.$(date +%y%m%d.%M.%S)
109 ratl_perl,atria_perl,atria_install,atria_basement,atria_cplus_shlib,
110 atria_base,CC_base,atria_X11_base,CC_client,atria_server,
111 atria_cplus_base,atria_gui,CC_doc,CC_bld_client,CC_vob_svr,
112 CC_view_svr,CC_int_client,CC_gui_client,CC_cnv_client,CC_MIN_STD,
113 CC_ONLY_SERVER,MS_shipping_server,CC_FULL,MS_all,MS_FULL \
114 -rr $registry_region \
119 -from $release_path \
131 <li>I inserted a little check at the top to make sure you're root when you run this script. You need to be root to install Clearcase</li>
133 <li>I've defined a few variables that might change like the release area, registry host, registry region, etc.</li>
135 <li>Needed to add -no_query to get this install script to not stop querying for further options. This has been observed on Linux only.</li>
137 <li>All -comp components need to specified on one line, separated by comma with no spaces. It has been broken up above for readability purposes only.</li>
141 <p class="entry-footer">
142 <span class="post-footers">Posted by at 4:40 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000654.html">Permalink</a>
144 | <a href="http://defaria.com/blogs/Status/archives/000654.html#trackback">TrackBacks (0)</a>
151 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
152 xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
153 xmlns:dc="http://purl.org/dc/elements/1.1/">
155 rdf:about="http://defaria.com/blogs/Status/archives/week_2007_07_15.html#entry-000653"
156 trackback:ping="http://defaria.com/mt/mt-tb.cgi/40"
157 dc:title="Deliver build changes"
158 dc:identifier="http://defaria.com/blogs/Status/archives/week_2007_07_15.html#entry-000653"
159 dc:subject="General Dynamics"
160 dc:description=" Delivered changed to build (removing checking out of Clearcase elements during build) Investigated how ranweb is set up and documented differences in the menus Wrote RAN.php which could be used to do the menus in a a consistent form..."
162 dc:date="2007-07-19T11:12:02-06:00" />
169 <div class="entry" id="entry-653">
170 <h3 class="entry-header">Deliver build changes</h3>
171 <div class="entry-content">
172 <div class="entry-body">
174 <li>Delivered changed to build (removing checking out of Clearcase elements during build)</li>
176 <li>Investigated how ranweb is set up and documented differences in the menus</li>
178 <li>Wrote RAN.php which could be used to do the menus in a a consistent form</li>
181 <p class="entry-footer">
182 <span class="post-footers">Posted by at 11:12 AM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000653.html">Permalink</a>
184 | <a href="http://defaria.com/blogs/Status/archives/000653.html#trackback">TrackBacks (0)</a>
191 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
192 xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
193 xmlns:dc="http://purl.org/dc/elements/1.1/">
195 rdf:about="http://defaria.com/blogs/Status/archives/week_2007_07_15.html#entry-000652"
196 trackback:ping="http://defaria.com/mt/mt-tb.cgi/39"
197 dc:title="Help Desk Cleanup"
198 dc:identifier="http://defaria.com/blogs/Status/archives/week_2007_07_15.html#entry-000652"
199 dc:subject="General Dynamics"
200 dc:description=" Cleaned up and closed several help desk tickets Delivered and closed RAX_LMC WOR Worked with Kirk on installing Clearcase on Linux servers...."
202 dc:date="2007-07-18T16:25:16-06:00" />
207 <h2 class="date-header">July 18, 2007</h2>
209 <div class="entry" id="entry-652">
210 <h3 class="entry-header">Help Desk Cleanup</h3>
211 <div class="entry-content">
212 <div class="entry-body">
214 <li>Cleaned up and closed several help desk tickets</li>
216 <li>Delivered and closed RAX_LMC WOR</li>
218 <li>Worked with Kirk on installing Clearcase on Linux servers.</li>
221 <p class="entry-footer">
222 <span class="post-footers">Posted by at 4:25 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000652.html">Permalink</a>
224 | <a href="http://defaria.com/blogs/Status/archives/000652.html#trackback">TrackBacks (0)</a>