Monitoring Arbitrary URIs
Set the Monitor_Uri_List extension property if you
want the web server fault monitor to probe an arbitrary list of applications
(URIs) served by the web server. This extension property provides extended
probing functionality and is useful if you are layering services in addition
to your web server. The Monitor_Uri_List extension property
is not supported with a secure Sun Java System Web Server instance. If you do not
set the Monitor_Uri_List extension property , the fault
monitor will perform basic probing. See Tuning the Sun Cluster HA for Sun Java System Web Server Fault Monitor for
details. The following examples show how to set the Monitor_Uri_List extension
property when you add the Sun Java System Web Server instance to your configuration.
Example 1 Setting Monitor_Uri_List for
Scalable Sun Java System Web Server Instance
(Add an insecure Sun Java System Web Server instance with default load balancing.)
# clresource create -g resource-group-1 -t SUNW.iws \
-p Confdir_List=/opt/SUNwbsrv/https-Sun-app-insecure-1 \
-p Scalable=True -p Resource_dependencies=schost-1 \
-p Port_list=8000/tcp \
-p Monitor_Uri_list=http://schost-1:8000/servlet/monitor web-not-secure-1
|
Example 2 Setting Monitor_Uri_List for
Failover Sun Java System Web Server Instance
(Add an insecure Sun Java System Web Server application resource instance.)
# clresource create -g resource-group-1 -t SUNW.iws \
-p Confdir_list=/opt/SUNwbsrv/conf -p Scalable=False \
-p Resource_dependencies=schost-1 -p Port_list=80/tcp \
-p Monitor_Uri_list=http://schost-1:80/servlet/monitor web-not-secure-1
|
Example 3 Setting Monitor_Uri_List for
Failover Sun Java System Web Proxy Server Instance
(Add an insecure Sun Java System Web Proxy Server application resource instance.)
# clresource create -g resource-group-1 -t SUNW.iws \
-p Confdir_list=/opt/SUNwbproxy/conf -p Scalable=False \
-p Resource_dependencies=schost-1 -p Port_list=80/tcp \
-p Monitor_Uri_list=http://schost-1:80/servlet/monitor Sun-app-insecure-1
|