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 -u 1000 -q 512 -Q 512 -b $SorryServer1_ADDR:$SorryServer1_PORT -f 1 -z /etc/l7vs/sslproxy/sslproxy.target.cf -O deferaccept -L 1 -a /var/log/l7vs/access_log
28 echo "Test failed: $L7VSADM -A -t 127.0.0.1:40001 -m sessionless -u 1000 -q 512 -Q 512 -b $SorryServer1_ADDR:$SorryServer1_PORT -f 1 -z /etc/l7vs/sslproxy/sslproxy.target.cf -O deferaccept -L 1 -a /var/log/l7vs/access_log"
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 localhost:40001 sessionless rr --sorry-uri '/' --statistic 0
83 Sorry Server localhost:50001 Masq
87 SSL Config File /etc/l7vs/sslproxy/sslproxy.target.cf
90 Access Log File deferaccept
91 Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 10 --ac-rotate-max-filesize 10M
93 TCP_DEFER_ACCEPT enable
98 Current Upload / Limit 0.000000 Mbps / 0.004096 Mbps
99 Current Download / Limit 0.000000 Mbps / 0.004096 Mbps
101 HTTP Total Requests 0
103 HTTP POST Requests 0"
105 if [ "${RET}" != "${EXPECT}" ]
107 echo "Test failed: $L7VSADM -V -n"