Sun Cluster 3.1 Data Service for Sun ONE Web Server Guide

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 ONE 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 ONE Web Server Fault Monitor for details. The following examples show how to set the Monitor_uri_list extension property when you add the Sun ONE Web Server instance to your configuration.

Example— Setting Monitor_uri_list for Scalable Sun ONE Web Server Instance


(Add an insecure Sun ONE 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-SunONE-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 ONE Web Server Instance


(Add an insecure SunONE 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