forum.bitel.ru http://forum.bitel.ru/ |
|
переход с 6.0 на 6.2. 2 вопроса... http://forum.bitel.ru/viewtopic.php?f=1&t=12401 |
Страница 1 из 1 |
Автор: | ok-2004 [ 20 апр 2017, 15:04 ] |
Заголовок сообщения: | переход с 6.0 на 6.2. 2 вопроса... |
ДВС ! Вопрос 1 : есть АА-устройство с accounting.deviceTypeIds = 5 и с таким конфигом: Код: accounting.worker.1.thread.count=4 accounting.worker.1.tariffication.1.minDeltaAmount=0 accounting.worker.1.tariffication.1.delay=10 accounting.worker.1.tariffication.1.batchSize=1000 accounting.worker.1.tracking.1.delay=10 accounting.worker.1.tracking.1.batchSize=1000 accounting.worker.1.serv.tracking.1.delay=20 accounting.worker.1.serv.tracking.1.batchSize=100 accounting.worker.1.serv.tracking.1.servTypeIds=3 accounting.worker.1.serv.tracking.1.accountingPeriodActivate=1 accounting.worker.1.event.tracking.1.delay.millis=200 accounting.worker.1.event.tracking.1.batchSize=500 accounting.worker.2.thread.count=1 accounting.worker.2.flushing.1.minDeltaAccount=0 accounting.worker.2.flushing.1.minDeltaAmount=0 accounting.worker.2.flushing.1.delay=20 accounting.worker.2.flushing.1.batchSize=500 accounting.worker.3.thread.count=1 accounting.worker.3.finishing.1.delay=20 accounting.worker.3.finishing.1.batchSize=500 session.close.timeout=120 session.suspend.timeout=60 connection.close.timeout=3600 connection.auto.minDuration=600 session.split.onDeviceState=1 session.split.onTariffOption=1 radius.deviceTypeIds=6 radius.servSearchMode=0 #radius.password.verification=0 sa.connection.closeInsteadModify=1 и есть АА-устройство с accounting.deviceTypeIds = 1 с другим конфигом: Код: ccounting.worker.1.thread.count=4 accounting.worker.1.tariffication.1.minDeltaAmount=0 accounting.worker.1.tariffication.1.delay=10 accounting.worker.1.tariffication.1.batchSize=1000 accounting.worker.1.tracking.1.delay=10 accounting.worker.1.tracking.1.batchSize=1000 accounting.worker.1.serv.tracking.1.delay=20 accounting.worker.1.serv.tracking.1.batchSize=100 accounting.worker.1.serv.tracking.1.servTypeIds=1,2 accounting.worker.1.serv.tracking.1.accountingPeriodActivate=0 accounting.worker.1.event.tracking.1.delay.millis=200 accounting.worker.1.event.tracking.1.batchSize=500 accounting.worker.2.thread.count=1 accounting.worker.2.flushing.1.minDeltaAccount=0 accounting.worker.2.flushing.1.minDeltaAmount=0 accounting.worker.2.flushing.1.delay=20 accounting.worker.2.flushing.1.batchSize=500 accounting.worker.3.thread.count=1 accounting.worker.3.finishing.1.delay=20 accounting.worker.3.finishing.1.batchSize=500 session.close.timeout=120 session.suspend.timeout=60 connection.close.timeout=3600 connection.auto.minDuration=600 session.split.onDeviceState=1 session.split.onTariffOption=1 эти АА - устройства крутятся на разных отдельных серверах и обслуживают устройства разных типов. В инструкции по переходу с 6.0 на 6.2 есть такой пунктик : Цитата: Для модуля Inet: переместите параметр конфигурации accounting.deviceTypeIds из inet-access.xml (<param name="accounting.deviceTypeIds" value="x"/>) в конфигурацию модуля (accounting.deviceTypeIds=x), если еще не сделали этого. как в конфиг модуля инет перенести строчку accounting.deviceTypeIds с разными переменными ? типа так : Код: accounting.deviceTypeIds=1 accounting.deviceTypeIds=5 ? или так : Код: accounting.deviceTypeIds=1,5 ? Вопрос 2 : При выполнении пунктов 5 и 6 из "Инструкция по обновлению с версии 6.1 на версию 6.2" в логах появляется следующий ворнинг от работы mysql-connector-java-5.1.38 -а : Цитата: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification. Мне ssl не нужен не на сервере , не в mysql ( пока ) . Куда надо забивать переменную useSSL=false ? В data.properties сервера ? |
Автор: | stark [ 20 апр 2017, 15:13 ] |
Заголовок сообщения: | Re: переход с 6.0 на 6.2. 2 вопроса... |
ok-2004 писал(а): Куда надо забивать переменную useSSL=false ? В data.properties сервера ?[/color] В db.url |
Автор: | Amir [ 20 апр 2017, 15:17 ] |
Заголовок сообщения: | Re: переход с 6.0 на 6.2. 2 вопроса... |
Да, через запятую: accounting.deviceTypeIds=1,5 Да, в параметрах db.url можно добавить &useSSL=false или ( &useSSL=false для xml-конфигов, например, inet-access.xml ). |
Страница 1 из 1 | Часовой пояс: UTC + 5 часов [ Летнее время ] |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |