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 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— 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.)
example# scrgadm -a -j web-not-secure-1 -g resource-group-1 -t SUNW.iws \
-x Confdir_List=/opt/SunONE/https-Sun-app-insecure-1 \
-y Scalable=True -y Network_resources_used=schost-1 -y Port_list=8000/tcp
-x Monitor_Uri_list=http://schost-1:8000/servlet/monitor
|
Example— Setting Monitor_Uri_List for Failover Sun Java System Web Server
Instance
(Add an insecure Sun Java System Web Server application resource instance.)
example# scrgadm -a -j web-not-secure-1 -g resource-group-1 -t SUNW.iws \
-x Confdir_list=/opt/SunONE/conf -y Scalable=False \
-y Network_resources_used=schost-1 -y Port_list=80/tcp \
-x Monitor_Uri_list=http://schost-1:80/servlet/monitor
|