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: Code Page/rgy_switchover</title>
14 <link rel="start" href="http://defaria.com/blogs/Status/" title="Home" />
15 <link rel="prev" href="http://defaria.com/blogs/Status/archives/000431.html" title="Clearquest Code Pages" />
16 <link rel="next" href="http://defaria.com/blogs/Status/archives/000435.html" title="Clearcase Deliver problem" />
22 <script type="text/javascript" src="http://defaria.com/blogs/Status/mt-site.js"></script>
24 <body class="layout-one-column" onload="individualArchivesOnLoad(commenter_name)">
26 <div id="container-inner" class="pkg">
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>
36 <div id="pagebody-inner" class="pkg">
38 <div id="alpha-inner" class="pkg">
40 <p class="content-nav">
41 <a href="http://defaria.com/blogs/Status/archives/000431.html">« Clearquest Code Pages</a> |
42 <a href="http://defaria.com/blogs/Status/">Main</a>
43 | <a href="http://defaria.com/blogs/Status/archives/000435.html">Clearcase Deliver problem »</a>
47 <div class="entry" id="entry-432">
48 <h3 class="entry-header">Code Page/rgy_switchover</h3>
49 <div class="entry-content">
50 <div class="entry-body">
52 <li>Worked more on detecting and report invalid ASCII characters in PQA databases</li>
54 <li>Working with IBM Rational Support regarding rgy_switchover</li>
57 <div id="more" class="entry-more">
60 <p>Managed to get the non ASCII characters in the databases down to a handful of cases and implement a "fix_char" routine. The basic mapping turns out to be:</p.
62 <div class="code"><pre>
63 # Translate from special char -> ASCII
74 # "ffffffbd" => "1/2",
79 <p>The commented out lines represent characters I have not be able to determine the ASCII equivalents, except the 1/2 which is a 1/2 in one character. In order to translate the one character 1/2 to the 3 character 1/2 I would need to expand the array. I have not done this yet.</p>
81 <h3>PMR#59845,999,000 backup rgy switchover not working on Windows clients</h3>
83 <p>Steven Chaves wrote:</p>
85 <blockquote><p>Andrew,</p>
87 <p>During the tech session, other TSEs did say that rgy_switchover does not always work. For DNS resolution, running: ipconfig /release and then afterwards ipconfig /renew usually works, but this would have to be done on each client. Can you give the servers fixed IP addresses.</p></blockquote>
89 <p>There still seems to be some confusion here. I will attempt to be explicit here.</p>
91 <p>I realize that rgy_switchover will not always work 100%. Client machines may be down, etc. However what I'm seeing is that rgy_switchover never works - or at least never works with any of the Windows client machines who has their IP address assigned via DHCP and who's Windows machine name (WINS name) != Unix DNS CNAME.</p>
93 <p>Here's the situation. There are two Unix Solaris boxes: ccase-sj1-3 (10.16.191.241) and ccase-sj1-4 (10.16.191.243). Both are servers and have statically assigned IP addresses.</p>
95 <p>There are just a few Windows clients in this test scenario, mostly laptops. All fail. All have DHCP assigned IP addresses and Windows computer names that are not the same as DNS. Let's use my laptop as an example: ltsjca-adefaria (10.16.191.243) is it's name. It's a Windows XP box, is a laptop yet remains docked at my desk.</p>
97 <p>When the rgy_switchover command was run from ccase-sj1-3 to switch over to ccase-sj1-4 both ccase-sj1-3 and ccase-sj1-4 became aware of the change and switched over. None (i.e. 0) of the other clients (all DHCP assigned Windows boxes) failed, including my laptop (who's IP address, BTW, had not changed).</p>
99 <p>Investigating I find that I can nslookup and ping ccase-sj1-3 and ccase-sj1-4 from my laptop, ltsjca-adefaria</p>
101 <div class="code"><pre>
102 <font color="blue"><b>Local:</b></font><u>nslookup ccase-sj1-3</u>
103 Server: dns-sj1-1b.sj.broadcom.com
106 Name: ccase-sj1-3.sj.broadcom.com
107 Address: 10.16.191.241
108 Aliases: ccase-sj1-3.broadcom.com
110 <font color="blue"><b>Local:</b></font><u>nslookup ccase-sj1-4</u>
111 Server: dns-sj1-1b.sj.broadcom.com
114 Name: ccase-sj1-4.sj.broadcom.com
115 Address: 10.16.191.243
116 Aliases: ccase-sj1-4.broadcom.com
117 <font color="blue"><b>Local:</b></font><u>ping ccase-sj1-3</u>
118 Pinging ccase-sj1-3.sj.broadcom.com [10.16.191.241] with 32 bytes of data:
120 Reply from 10.16.191.241: bytes=32 time<1ms TTL=254
121 Reply from 10.16.191.241: bytes=32 time<1ms TTL=254
122 Reply from 10.16.191.241: bytes=32 time<1ms TTL=254
123 Reply from 10.16.191.241: bytes=32 time<1ms TTL=254
125 Ping statistics for 10.16.191.241:
126 Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
127 Approximate round trip times in milli-seconds:
128 Minimum = 0ms, Maximum = 0ms, Average = 0ms
129 <font color="blue"><b>Local:</b></font><u>ping ccase-sj1-4</u>
130 Pinging ccase-sj1-4.sj.broadcom.com [10.16.191.243] with 32 bytes of data:
132 Reply from 10.16.191.243: bytes=32 time<1ms TTL=254
133 Reply from 10.16.191.243: bytes=32 time<1ms TTL=254
134 Reply from 10.16.191.243: bytes=32 time<1ms TTL=254
135 Reply from 10.16.191.243: bytes=32 time<1ms TTL=254
137 Ping statistics for 10.16.191.243:
138 Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
139 Approximate round trip times in milli-seconds:
140 Minimum = 0ms, Maximum = 0ms, Average = 0ms
143 <p>I can ping my laptop by name but I cannot nslookup it:</p>
145 <div class="code"><pre>
146 <font color="blue"><b>Local:</b></font><u>ping ltsjca-adefaria</u>
147 Pinging LTSJCA-ADEFARIA.corp.ad.broadcom.com [10.16.65.94] with 32 bytes of data:
149 Reply from 10.16.65.94: bytes=32 time<1ms TTL=64
150 Reply from 10.16.65.94: bytes=32 time<1ms TTL=64
151 Reply from 10.16.65.94: bytes=32 time<1ms TTL=64
152 Reply from 10.16.65.94: bytes=32 time<1ms TTL=64
154 Ping statistics for 10.16.65.94:
155 Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
156 Approximate round trip times in milli-seconds:
157 Minimum = 0ms, Maximum = 0ms, Average = 0ms
158 <font color="blue"><b>Local:</b></font><u>nslookup ltsjca-adefaria</u>
159 *** dns-sj1-1b.sj.broadcom.com can't find ltsjca-adefaria: Non-existent domain
160 Server: dns-sj1-1b.sj.broadcom.com
164 <p>From the Solaris boxes (either ccase-sj1-3 or ccase-sj1-4) I cannot nslookup nor ping ltsjca-adefaria by name:</p>
166 <div class="code"><pre>
167 <font color="red"><b>ccase-sj1-3:</b></font><u>nslookup ltsjca-adefaria</u>
168 Server: dns-sj1-1c.sj.broadcom.com
169 Address: 10.16.128.11
171 *** dns-sj1-1c.sj.broadcom.com can't find ltsjca-adefaria: Non-existent host/domain
172 ccase-sj1-3:ping ltsjca-adefaria
173 ping: unknown host ltsjca-adefaria
177 <p>I can ping by IP address:</p>
179 <div class="code"><pre>
180 <font color="red"><b>ccase-sj1-3:</b></font><u>ping 10.16.65.94</u>
184 <p>However the Solaris boxes (nor the laptop it seems) can resolve the name ltsjca-adefaria to an IP address:</p>
186 <div class="code"><pre>
187 <font color="red"><b>ccase-sj1-3:</b></font><u>nslookup ltsjca-adefaria</u>
188 Server: dns-sj1-1c.sj.broadcom.com
189 Address: 10.16.128.11
191 *** dns-sj1-1c.sj.broadcom.com can't find ltsjca-adefaria: Non-existent host/domain
194 <p>Finally a nslookup by IP address yields the following:</p>
196 <div class="code"><pre>
197 <font color="red"><b>ccase-sj1-3:</b></font><u>nslookup 10.16.65.94</u>
198 Server: dns-sj1-1c.sj.broadcom.com
199 Address: 10.16.128.11
201 Name: dhcpe1-sj1-094.sj.broadcom.com
205 <p>Thus showing that the DNS CNAME for 10.16.65.94 is dhcpe1-sj1-094.sj.broadcom.com not ltsjca-adefaria.</p>
207 <p>If I cannot translate ltsjca-adefaria to an IP address for ping then how is rgy_switchover gonna do it?</p>
209 <p>Now assuming that it's prevalent or common here at my client's site to have Windows clients with DHCP assigned addresses who's Windows machine names do not resolve in DNS and assuming that if the client name does not resolve in DNS then rgy_switchover fails, can it be said that rgy_switchover is relatively useless given this enviornment?</p>
213 <p class="entry-footer">
214 <span class="post-footers">Posted by on September 27, 2005 2:08 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000432.html">Permalink</a>