OSDN Git Service

チケット#361修正対応
[ultramonkey-l7/ultramonkey-l7-v3.git] / doc / conf / l7vs.cf
1 #
2 # UltraMonkey - L7 configuration file
3 # 2008-2009 (C) NTT Comware
4 # License: GNU General Public License (GPL)
5 #
6 #
7 #
8 # This program is free software; you can redistribute it and/or
9 # modify it under the terms of the GNU General Public License as
10 # published by the Free Software Foundation; either version 2 of the
11 # License, or (at your option) any later version.
12 #
13 # This program is distributed in the hope that it will be useful, but
14 # WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16 # General Public License for more details.
17 #
18 # You should have received a copy of the GNU General Public License
19 # along with this program; if not, write to the Free Software
20 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
21 # 02110-1301 USA
22
23 #
24 # Rivision History.
25 #       3.0.0   MultiThread version release.
26 #       1.2.0   First verion release.(version was put together l7vsd)
27 #               - 2008/03/26 Norihisa Nakai.
28
29
30 #
31 # l7vs log setting
32 #
33 [logger]
34 # l7vsd logfile base name
35 l7vsd_log_filename = "/var/log/l7vs/l7vsd.log"
36 # l7vsd log rotate pattern
37 l7vsd_rotation = "size"
38 # l7vsd rotate max backup number
39 l7vsd_max_backup_index = "10"
40 # l7vsd rotate file size
41 l7vsd_max_filesize = "10M"
42
43 # l7vsd access log rotate pattern
44 l7vsd_accesslog_rotate_type = "size"
45 # l7vsd access rotate max backup number
46 l7vsd_accesslog_rotate_max_backup_index = "10"
47 # l7vsd access rotate file size
48 l7vsd_accesslog_rotate_max_filesize = "10M"
49
50 # l7vsd log categories level
51 l7vsd_network                                   = "info"
52 l7vsd_network_qos                               = "info"
53 l7vsd_network_bandwidth                 = "info"
54 l7vsd_network_num_connection    = "info"
55 l7vsd_network_access                    = "info"
56 l7vsd_mainthread                                = "info"
57 l7vsd_virtualservice                    = "info"
58 l7vsd_virtualservice_thread             = "info"
59 l7vsd_session                                   = "info"
60 l7vsd_session_thread                    = "info"
61 l7vsd_realserver                                = "info"
62 l7vsd_sorryserver                               = "info"
63 l7vsd_module                                    = "info"
64 l7vsd_replication                               = "info"
65 l7vsd_replication_sendthread    = "info"
66 l7vsd_parameter                                 = "info"
67 l7vsd_logger                                    = "info"
68 l7vsd_command                                   = "info"
69 l7vsd_start_stop                                = "info"
70 l7vsd_system                                    = "info"
71 l7vsd_system_memory                             = "info"
72 l7vsd_system_endpoint                   = "info"
73 l7vsd_system_signal                             = "info"
74 l7vsd_system_environment                = "info"
75 l7vsd_snmpbridge                                = "info"
76
77 l7vsd_protocol                                  = "info"
78 l7vsd_schedule                                  = "info"
79
80 # l7vsadm log file base name
81 l7vsadm_log_filename = "/var/log/l7vs/l7vsadm.log"
82 # l7vsadm rotate pattern
83 l7vsadm_rotation = "date"
84 # l7vsadm rotate max backup number
85 l7vsadm_max_backup_index = "10"
86 # l7vsadm rotate timing ( every month rotate )
87 l7vsadm_rotation_timing = "month"
88 # l7vsadm rotate timing ( day and time )
89 l7vsadm_rotation_timing_value = "1 0:01"
90
91 # l7vsadm log categories level
92 l7vsadm_parse                   = "info"
93 l7vsadm_operate                 = "info"
94 l7vsadm_config_result   = "info"
95 l7vsadm_common                  = "info"
96 l7vsadm_logger                  = "info"
97 l7vsadm_parameter               = "info"
98 l7vsadm_module                  = "info"
99
100 l7vsadm_protocol                = "info"
101 l7vsadm_schedule                = "info"
102
103 # snmpagent log file base name
104 snmp_log_filename = "/var/log/l7vs/snmpagent.log"
105 # snmpagent log rotate pattern
106 snmp_rotation = "datesize"
107 # snmpagent log rotate max backup num
108 snmp_max_backup_index = "10"
109 # snmpagent max logfile size
110 snmp_max_filesize = "30M"
111 # snmpagent log rotate timing ( every week )
112 snmp_rotation_timing = "week"
113 # snmpagent log rotate timing ( a day of week and time )
114 snmp_rotation_timing_value = "wed 23:59"
115
116 # snmpagent connection log file base name
117 snmp_conn_log_filename = "/var/log/l7vs/snmpagent.log"
118 # snmpagent connection log rotate pattern
119 snmp_conn_rotation = "datesize"
120 # snmpagent connection log rotate max backup num
121 snmp_conn_max_backup_index = "10"
122 # snmpagent connection max logfile size
123 snmp_conn_max_filesize = "30M"
124 # snmpagent connection log rotate timing ( every week )
125 snmp_conn_rotation_timing = "week"
126 # snmpagent connection log rotate timing ( a day of week and time )
127 snmp_conn_rotation_timing_value = "wed 23:59"
128
129 # snmpagent log categories level
130 snmpagent_start_stop                    = "info"
131 snmpagent_manager_receive               = "info"
132 snmpagent_manager_send                  = "info"
133 snmpagent_l7vsd_receive                 = "info"
134 snmpagent_l7vsd_send                    = "info"
135 snmpagent_logger                                = "info"
136 snmpagent_parameter                             = "info"
137 snmpagent_system                                = "info"
138 snmpagent_system_memory                 = "info"
139 snmpagent_system_endpoint               = "info"
140 snmpagent_system_signal                 = "info"
141 snmpagent_system_environment    = "info"
142
143
144 #
145 # l7vsadm setting
146 #
147 [l7vsadm]
148 cmd_interval = 1
149 cmd_count = 10
150 con_interval = 1
151 con_count = 10
152
153 #
154 # l7vsd setting
155 #
156 [l7vsd]
157 maxfileno = 65535
158 task_scheduler_algorithm        = 2
159 task_scheduler_priority         = 99
160
161 #
162 # virtualservice setting
163 #
164 [virtualservice]
165 nic_realserver_side                     = "eth0"
166 session_thread_pool_size        = 32
167 throughput_calc_interval        = 500
168 num_of_core_uses                = 0
169
170 #
171 # l7vsd replication setting
172 #
173 [replication]
174 #ip_addr = "192.168.0.254"
175 #service_name = "40000"
176 #recv_ip_addr = "192.168.0.253"
177 #interval = 1000
178 #compulsorily_interval = 40
179
180 #cmponent_id_00 = "virtualservice"
181 #cmponent_size_00 = 64
182 #cmponent_id_01 = "chash"
183 #cmponent_size_01 = 1
184 #cmponent_id_02 = "sslid"
185 #cmponent_size_02 = 222
186
187 #
188 # snmpagent settings
189 #
190 [snmpagent]
191 nic = "eth0"
192 ip_addr = "127.0.0.1"
193 port = 60162
194 interval = 1000
195 status = 0
196
197 [session]
198 upstream_buffer_size = 8192
199 downstream_buffer_size = 8192
200