{"id":118,"date":"2012-12-07T21:00:11","date_gmt":"2012-12-08T04:00:11","guid":{"rendered":"http:\/\/logicalchaos.org\/blog\/?p=118"},"modified":"2018-11-29T11:23:57","modified_gmt":"2018-11-29T18:23:57","slug":"cluvfy-prvf-5637-dns-response-time-could-not-be-checked","status":"publish","type":"post","link":"http:\/\/logicalchaos.org\/blog\/2012\/12\/cluvfy-prvf-5637-dns-response-time-could-not-be-checked\/","title":{"rendered":"cluvfy &#8211; PRVF-5637 : DNS response time could not be checked"},"content":{"rendered":"<p>In trying to add a second node to a two node Oracle Grid 11gR2 cluster, a problem came up during node verification.<br \/>\n<!--more--><br \/>\n<code># cluvfy stage -pre nodeadd -n node2<br \/>\n...<br \/>\nChecking DNS response time for an unreachable node<br \/>\nNode Name Status<br \/>\n------------------------------------ ------------------------<br \/>\nnode1 failed<br \/>\nnode2 failed<br \/>\nPRVF-5637 : DNS response time could not be checked on following nodes: node1, node2<\/p>\n<p>File \"\/etc\/resolv.conf\" is not consistent across nodes<br \/>\n<\/code><\/p>\n<p>The nodes were running identical DNS server configurations, with resolve.conf pointing to localhost, which recused into another DNS server . Turns out if you execute &lt;<em><strong>nlslookup some-non-existent-host<\/strong><\/em>&gt; on this particular setup, an apparently valid response is returned, but the command exists with status 1.<\/p>\n<p><code># nslookup some-non-existent-host<br \/>\nServer: 127.0.0.1<br \/>\nAddress: 127.0.0.1#53<br \/>\n** server can't find some-non-existent-host: NXDOMAIN<br \/>\n# echo $?<br \/>\n1<br \/>\n<\/code><\/p>\n<p>The <span style=\"text-decoration: line-through;\">solution<\/span> hack in this case is to disable recursion in the named.conf file. Now I had a non-authoritative answer, and the exit code is 0 from the nslookup command. cluvfy is happy, and no ignoring errors to get the install to work.<\/p>\n<p><code>options {<br \/>\n...<br \/>\nrecursion no;<br \/>\n...<\/code><\/p>\n<p><code># nslookup some-non-existent-host<br \/>\nServer: 127.0.0.1<br \/>\nAddress: 127.0.0.1#53<br \/>\nNon-authoritative answer:<br \/>\n*** Can't find some-non-existent-host: No answer<br \/>\n# echo $?<br \/>\n0<\/p>\n<p># cluvfy stage -pre nodeadd -n node2<br \/>\n...<br \/>\nChecking DNS response time for an unreachable node<br \/>\nNode Name Status<br \/>\n------------------------------------ ------------------------<br \/>\nnode1 passed<br \/>\nnode2 passed<br \/>\nThe DNS response time for an unreachable node is within acceptable limit on all nodes<\/p>\n<p>File \"\/etc\/resolv.conf\" is consistent across nodes<\/p>\n<p>Pre-check for node addition was successful.<\/code><\/p>\n<p>Now, if anyone wants to send a clue my way about this behavior, from either a named or cluvfy perspective, that would be great&#8230;<\/p>\n<p>Edit: See <a href=\"https:\/\/forums.oracle.com\/forums\/thread.jspa?messageID=10756719#10756719\" title=\"https:\/\/forums.oracle.com\/forums\/thread.jspa?messageID=10756719#10756719\" target=\"_blank\" class=\"broken_link\">https:\/\/forums.oracle.com\/forums\/thread.jspa?messageID=10756719#10756719<\/a> for information about the bind change.<br \/>\n&nbsp;<\/p>\n<div id=\"blogsy_footer\" style=\"text-align: right; font-size: small; clear: both;\"><a href=\"http:\/\/blogsyapp.com\" target=\"_blank\">Posted with Blogsy<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>In trying to add a second node to a two node Oracle Grid 11gR2 cluster, a problem came up during node verification.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[17,15,16,18],"class_list":["post-118","post","type-post","status-publish","format-standard","hentry","category-tech","tag-11gr2","tag-dns","tag-grid","tag-oracle"],"_links":{"self":[{"href":"http:\/\/logicalchaos.org\/blog\/wp-json\/wp\/v2\/posts\/118","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/logicalchaos.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/logicalchaos.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/logicalchaos.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/logicalchaos.org\/blog\/wp-json\/wp\/v2\/comments?post=118"}],"version-history":[{"count":11,"href":"http:\/\/logicalchaos.org\/blog\/wp-json\/wp\/v2\/posts\/118\/revisions"}],"predecessor-version":[{"id":229,"href":"http:\/\/logicalchaos.org\/blog\/wp-json\/wp\/v2\/posts\/118\/revisions\/229"}],"wp:attachment":[{"href":"http:\/\/logicalchaos.org\/blog\/wp-json\/wp\/v2\/media?parent=118"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/logicalchaos.org\/blog\/wp-json\/wp\/v2\/categories?post=118"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/logicalchaos.org\/blog\/wp-json\/wp\/v2\/tags?post=118"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}