{"id":34,"date":"2007-12-04T16:52:09","date_gmt":"2007-12-04T13:52:09","guid":{"rendered":"http:\/\/www.held.org.il\/blog\/?p=34"},"modified":"2007-12-04T16:52:09","modified_gmt":"2007-12-04T13:52:09","slug":"an-embarrassing-linux-rac-bug","status":"publish","type":"post","link":"http:\/\/www.held.org.il\/blog\/2007\/12\/an-embarrassing-linux-rac-bug\/","title":{"rendered":"An Embarrassing Linux-RAC bug"},"content":{"rendered":"<p>People who use RAC to control additional, non-oracle resources, probably also create a \"Virtual IP\" resource.<\/p>\n<p>After patching 10.2.0.1 -&gt; <a href=\"http:\/\/www.oracle.com\/technology\/support\/patches.htm\">10.2.0.3<\/a>, the file <em>usrvip<\/em> (handles creation\/deletion of Virtual IPs) gets two buggy lines:<\/p>\n<blockquote><p> ORACLE_HOME=%ORA_CRS_HOME%<br \/>\nORA_CRS_HOME=%ORA_CRS_HOME%<\/p><\/blockquote>\n<p>Yes, it looks like windows, and yes, it doesn't work \ud83d\ude09<\/p>\n<p>To fix it, just replace <em>%ORA_CRS_HOME%<\/em> with<em> $ORA_CRS_HOME<\/em> or put the actual path, depends if <em>$ORA_CRS_HOME<\/em> is available at that context.<\/p>\n<p>I've learned some things from this issue:<\/p>\n<p>1.  Patching up does not always help to fix bugs, sometimes it creates them! (I know it's trivial, but first time I actually SEE that)<\/p>\n<p>2. Open Source (this time it was a bash script), even non-GPL, is soo important. With hardly any mentioning on the net*, we could find the bug only by inspecting the VIP scripts.<\/p>\n<p>3. Community developed software such as <a href=\"http:\/\/www.linux-ha.org\">Linux-HA<\/a>, would've fixed that in two days, I believe.<\/p>\n<p>* Afterwards we've found out there's a relevant <a href=\"http:\/\/metalink.oracle.com\">Metalink<\/a> Note ID: 413077.1 , and that Oracle would fix that in 10.2.0.4.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>People who use RAC to control additional, non-oracle resources, probably also create a &#8220;Virtual IP&#8221; resource. After patching 10.2.0.1 -&gt; 10.2.0.3, the file usrvip (handles creation\/deletion of Virtual IPs) gets two buggy lines: ORACLE_HOME=%ORA_CRS_HOME% ORA_CRS_HOME=%ORA_CRS_HOME% Yes, it looks like windows, and yes, it doesn&#8217;t work \ud83d\ude09 To fix it, just replace %ORA_CRS_HOME% with $ORA_CRS_HOME or [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[5],"tags":[],"_links":{"self":[{"href":"http:\/\/www.held.org.il\/blog\/wp-json\/wp\/v2\/posts\/34"}],"collection":[{"href":"http:\/\/www.held.org.il\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.held.org.il\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.held.org.il\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.held.org.il\/blog\/wp-json\/wp\/v2\/comments?post=34"}],"version-history":[{"count":0,"href":"http:\/\/www.held.org.il\/blog\/wp-json\/wp\/v2\/posts\/34\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.held.org.il\/blog\/wp-json\/wp\/v2\/media?parent=34"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.held.org.il\/blog\/wp-json\/wp\/v2\/categories?post=34"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.held.org.il\/blog\/wp-json\/wp\/v2\/tags?post=34"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}