In the below examples, the following are used:
OHS name is 'ohs1'
reports managed server host1 - host1.example.com
reports managed server host2 - host2.example.com
reports managed server port1 - 9001
reports managed server port2 - 9002
Once OHS is created create a file like below with contents given below:
DOMAIN_HOME/config/fmwconfig/components/OHS/instances/ohs1/moduleconf/reports_ohs.conf
Restart OHS
#mod_weblogic related entry #<IfModule mod_weblogic.c> <Location /reports> SetHandler weblogic-handler WebLogicCluster host1.example.com:9001,host2.example.com:9002 </Location> #</IfModule>
#mod_weblogic related entry #<IfModule mod_weblogic.c> <Location /reports> SetHandler weblogic-handler WebLogicHost host1.example.com WebLogicPort 9001 </Location> #</IfModule>