The test objects listed below are shipped with the Netra Proxy Cache product. Their output is displayed in the Host Status page that you invoke from the Array Status page.
cache_connect_test
An object of type ConnectTest (5). Tests the TCP port used by the proxy cache service (8080). Also tests the service address(es) and control address used by the proxy cache service. The test object instance is configured to test persistent TCP connections. The parameters for this test object are as follows:
ConnectTest cache_connect_test port=8080 check_addr=0.0.0.0 interval=10 retries=3 retry_interval=2 reset_min_interval=60 monitor_object=cache_monitor max_connect=99999999 check_control=true persistent_connection=true connection_test_object=cache_http_test
cache_process_test
An object of type ProcessTest (5). Tests for the presence of the process associated with the proxy cache service. The parameters for this test object are as follows:
ProcessTest cache_process_test process_id_script="/etc/init.d/scalr.cache getpid" interval=2 retries=3 retry_interval=2 reset_min_interval=60
cache_test
An object of type AndTest (5). Combines the outputs from cache_connect_test, cache_process_test, and service_interface_test. Reports failure to the monitor object (cache_monitor) if any of these "child" test objects returns failure. The parameters for this test object are as follows:
AndTest cache_test test_objects=cache_connect_test,cache_process_test reset_script="/etc/init.d/scalr.cache restart" reset_min_interval=60 monitor_object=cache_monitor
control_interface_test
An object of type PingTest (5). Tests the integrity of the control interface. The parameters for this test object are as follows:
PingTest control_interface_test ping_addr=192.168.89.255 min_replies=1 exclude_same_host=true interval=600 ping_timeout=5 retries=3 retry_interval=2
dns_connect_test
An object of type ConnectTest (5). Tests the TCP port used by the array DNS (53). Also tests the service address(es) and control address used by the DNS. The parameters for this test object are as follows:
ConnectTest dns_connect_test port=53 check_addr=0.0.0.0 interval=10 retries=3 retry_interval=2 reset_min_interval=60 monitor_object=dns_monitor max_connect=99999999 check_control=true persistent_connection=false
dns_process_test
An object of type ProcessTest (5). Tests for the presence of the process associated with the array DNS. The parameters for this test object are as follows:
ProcessTest dns_process_test process_id_script="/opt/SUNWscalr/scripts/dns.getpid" interval=2 retries=3 retry_interval=2 reset_min_interval=60
dns_test
An object of type AndTest (5). Combines the outputs from dns_connect_test, dns_udp_test, dns_process_test, and service_interface_test. Reports failure to the monitor object (dns_monitor) if any of these "child" test objects returns failure. The parameters for this test object are as follows:
AndTest dns_test test_objects=dns_connect_test,dns_process_test,dns_udp_test reset_script="/opt/SUNWscalr/scripts/dns.reset" reset_min_interval=30 monitor_object=dns_monitor
dns_udp_test
An object of type DNSTest (5). Tests the ability of the array DNS to resolve the name of a domain. By default the name localhost is used. The parameters for this test object are as follows:
DNSTest dns_udp_test domain_name=localhost port=53 check_addr=0.0.0.0 interval=10 timeout=5 retries=3 retry_interval=2 reset_min_interval=60 monitor_object=dns_monitor max_check=99999999 check_control=true
service_interface_test
An object of type PingTest (5). Tests the integrity of the service interface used by a monitor object. The parameters for this test object are as follows:
PingTest service_interface_test ping_addr=129.144.91.255 min_replies=1 exclude_same_host=true interval=60 ping_timeout=5 retries=3 retry_interval=2