title: Run OHS for Weblogic cluster
body: <p>I am using weblogic12.1.3</p>
  
  <p>I was install the WebLogic cluster in the above format :</p>
  
  <p>cluster name : cs1, cluster address 172.30.35.23:7003,172.30.35.23:7004</p>
  
  <p>I have 2 manageserver : 172.30.35.23:7003,172.30.35.23:7004</p>
  
  <p>and a Machine MCH1(added 2 manage server to this machine)</p>
  
  <p>my console address is : 172.30.35.23:7001/console </p>
  
  <p>I have installe OHS on the other server : IP:172.30.35.13 port:7777</p>
  
  <p>===============================================================</p>
  
  <p>My configuration in OHS (mod_wl_ohs.conf) is :</p>
  
  <pre><code>LoadModule weblogic_module /u01/app/product/fmw/ohs/mosules/mod_wl_ohs.so
  
  &lt;IfModule weblogic_module&gt;
          &lt;Location /console&gt;
          WLSRequest On
          WebLogicHost 172.30.35.23
          WeblogicPort 7001
          &lt;/Location&gt;
  &lt;/IfModule&gt;
  &lt;IfModule weblogic_module&gt;
          &lt;Location /Hello&gt;
          WLSRequest On
          WebLogicCluster 172.30.35.23:7003,172.30.35.23:7004
          &lt;/Location&gt;
  &lt;/IfModule&gt;
  </code></pre>
  
  <p>=============================================================</p>
  
  <p>my /etc/hosts on weblogic server is : 
  127:0.0.1 localhost.localdomain 
  172.30.35.23 weblogic2 weblogic2.localdomain</p>
  
  <p>my /etc/hosts on OHS server is : 
  127:0.0.1 localhost.localdomain
  172.30.35.13 OHS OHS.localdomain</p>
  
  <p>==============================================================
  I deployed Hello.war to cluster</p>
  
  <p>My test result : </p>
  
  <pre><code>                 172.30.35.23:70001/console   is ok
                   172.30.35.13:7777/console    is ok
                   172.30.35.23:7003/Hello      is ok
                   172.30.35.23:7004/Hello      is ok
  </code></pre>
  
  <p>but i dont have any answer on 172.30.35.13:7777/Hello
  why ?
  It means OHS is not working with cluster ?</p>
  
  <p>ohs1.log is :</p>
  
  <pre><code>[oracle@OHS logs]$ cat ohs1.log 
  [2015-10-05T18:21:50.6939+03:30] [OHS] [ERROR:32] [OHS-9999] [mod_weblogic.c] [client_id: 172.30.35.200] [host_id: OHS] [host_addr: 172.30.35.13] [tid: 140599950821120] [user: oracle] [ecid: 0058LmbHfxLDg^wawDedMG0005rH000006] [rid: 0] [VirtualHost: main]  &lt;0058LmbHfxLDg^wawDedMG0005rH000006&gt; weblogic: parseServerList: 172.30.35.23:7102 apr_socket_connect error [111] Connection refused
  
  [2015-10-05T18:21:50.6971+03:30] [OHS] [ERROR:32] [OHS-9999] [mod_weblogic.c] [client_id: 172.30.35.200] [host_id: OHS] [host_addr: 172.30.35.13] [tid: 140599950821120] [user: oracle] [ecid: 0058LmbHfxLDg^wawDedMG0005rH000006] [rid: 0] [VirtualHost: main]  &lt;0058LmbHfxLDg^wawDedMG0005rH000006&gt; weblogic: parseJVMID: could not resolve hostname '-1407311080'. Returning NULL from parseJVMID
  </code></pre>
  
  <p>Thanks</p>