6 SorryServer1=SorryServer1
7 SorryServer1_ADDR=127.0.0.1
8 SorryServer1_PORT=50001
9 start_lighttpd -s $SorryServer1 -a $SorryServer1_ADDR -p $SorryServer1_PORT
12 echo "Test failed: start_lighttpd SorryServer1"
20 echo "Test failed: $L7VSD"
25 $L7VSADM -A -t 127.0.0.1:40001 -m sessionless -b ${SorryServer1_ADDR}:${SorryServer1_PORT}
28 echo "Test failed: $L7VSADM -A -t 127.0.0.1:40001 -m sessionless -b ${SorryServer1_ADDR}:${SorryServer1_PORT}"
33 EXPECT="Layer-7 Virtual Server version 3.0.0
37 l7vsd_network_qos warn
38 l7vsd_network_bandwidth warn
39 l7vsd_network_num_connection warn
40 l7vsd_network_access warn
42 l7vsd_virtualservice warn
43 l7vsd_virtualservice_thread warn
45 l7vsd_session_thread warn
47 l7vsd_sorryserver warn
49 l7vsd_replication warn
50 l7vsd_replication_sendthread warn
56 l7vsd_system_memory warn
57 l7vsd_system_endpoint warn
58 l7vsd_system_signal warn
59 l7vsd_system_environment warn
71 cache update interval none
73 last request date none
75 total GET requests none
76 total SET requests none
77 total trap counts none
79 Prot LocalAddress:Port ProtoMod Scheduler Protomod_opt_string
80 -> RemoteAddress:Port Forward Weight ActiveConn InactConn
81 TCP 127.0.0.1:40001 sessionless rr --sorry-uri '/' --statistic 0
83 Sorry Server 127.0.0.1:50001 Masq
91 Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M
93 TCP_DEFER_ACCEPT disable
98 Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
99 Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
101 HTTP Total Requests 0
103 HTTP POST Requests 0"
105 if [ "${RET}" != "${EXPECT}" ]
107 echo "Test failed: $L7VSADM -V -n"
111 $L7VSADM -E -t 127.0.0.1:40001 -m sessionless -b 0.0.0.0:0
114 echo "Test failed: $L7VSADM -E -t 127.0.0.1:40001 -m sessionless -b 0.0.0.0:0"
119 EXPECT="Layer-7 Virtual Server version 3.0.0
123 l7vsd_network_qos warn
124 l7vsd_network_bandwidth warn
125 l7vsd_network_num_connection warn
126 l7vsd_network_access warn
127 l7vsd_mainthread warn
128 l7vsd_virtualservice warn
129 l7vsd_virtualservice_thread warn
131 l7vsd_session_thread warn
132 l7vsd_realserver warn
133 l7vsd_sorryserver warn
135 l7vsd_replication warn
136 l7vsd_replication_sendthread warn
140 l7vsd_start_stop warn
142 l7vsd_system_memory warn
143 l7vsd_system_endpoint warn
144 l7vsd_system_signal warn
145 l7vsd_system_environment warn
154 Agent Status inactive
157 cache update interval none
159 last request date none
161 total GET requests none
162 total SET requests none
163 total trap counts none
165 Prot LocalAddress:Port ProtoMod Scheduler Protomod_opt_string
166 -> RemoteAddress:Port Forward Weight ActiveConn InactConn
167 TCP 127.0.0.1:40001 sessionless rr --sorry-uri '/' --statistic 0
177 Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M
179 TCP_DEFER_ACCEPT disable
184 Current Upload / Limit 0.000000 Mbps / 0.000000 Mbps
185 Current Download / Limit 0.000000 Mbps / 0.000000 Mbps
187 HTTP Total Requests 0
189 HTTP POST Requests 0"
191 if [ "${RET}" != "${EXPECT}" ]
193 echo "Test failed: $L7VSADM -V -n"