Дерево страниц

Сравнение версий

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.
Комментарий: Published by Scroll Versions from space TMAG and version 7.0
queue/analysis 
Sv translation
languageru

Чтобы обеспечить загрузку имеющихся очередей объектов:

  1. Остановите службы iw_icap, iw_icap_bufdeliver, iw_luaengined, iw_is, iw_smtpd, iw_sniffer, iw_xapi_xapi, iw_xapi_puppy, iw_analysis, iw_messed, iw_proxy_http, iw_proxy_icq, iw_proxy_smtp, iw_capstack.
  2. Переместите объекты из очереди ошибок в нужную очередь.
  3. Дождитесь, пока будут обработаны все объекты в файловой очереди.  

  4. Запустите службы iw_icap,   iw_icap_bufiw_deliver, iw_luaengined, iw_is, iw_smtpd, iw_sniffer, iw_xapi_xapi, iw_xapi_puppy, iw_analysis, iw_messed, iw_proxy_http, iw_proxy_icq, iw_proxy_smtp, iw_capstack.

Чтобы запустить все службы, введите iwtm start, выполните команду: iwtm start. По окончании процесса убедитесь, что службы запущены: iwtm status
Варианты команд для запуска/остановки отдельных служб: 

Запуск службыОстановка службы
iwtm start icap
iwtm start deliver
iwtm start luaengined
iwtm start icap_bufis
iwtm start smtpd 
iwtm start sniffer
iwtm start xapi_xapi
iwtm start xapi_puppy
iwtm start analysis
iwtm start messed
iwtm start proxy_http
iwtm start proxy_icq
service iwtm start proxy_smtp
service iwtm start capstack
iwtm stop icap
iwtm stop icap_bufdeliver
iwtm stop luaengined
iwtm stop is
iwtm stop smtpd
iwtm stop sniffer
iwtm stop xapi_xapi
iwtm stop xapi_puppy
iwtm stop analysis
iwtm stop messed
iwtm stop proxy_http
iwtm stop proxy_icq
service iwtm stop proxy_smtp
service iwtm stop capstack
Информация
titleПримечание:

По окончании процесса убедитесь, что службы запущены.

Traffic Monitor имеет следующие очереди:

Объекты в Системе перемещаются посредством файловых очередей:

dbx2db

Путь к директории очереди

Формат файлов в очереди

queue/analysis 
.xml & .dat

queue/smtp

.xml & .dat

queue/db

.xml & .dat

queue/blackboard 

.dat

queue/blackboard_errors

.dat

queue/

is

.xml & .dat

queue/
errors
x2x
.xml & .dat

queue/smtperrors

.xml & .dat

queue/

x2x-errors 

.xml

&

.dat

queue/x2xx2db-errors 
.xml & .dat
queue/
x2x
final-
errors 
errors
.xml & .dat

Каждая из очередей содержит дополнительные технические очереди для отслеживания процесса обработки объектов: .db

, .in, .out

.

in

 

Например:

queue/db/.out

queue/db/.in

queue/db/.db

Для очереди 
Примечание
titleПример:

Для очереди queue/smtp процесс обработки разделен на следующие этапы:

  1. queue/smtp/.in – файл формируется в данной очереди в процессе получения объектов от Postfix

модулем
  1. службой iw_smtpd. Если объект по какой-то причине задерживается в этой очереди, необходимо проверить

модули
  1. службы iw_smtpd или iw_proxy_smtp.

  2. queue/smtp/.db – по окончании обработки файл перемещается из очереди .in в очередь .db. В эту очередь попадают почтовые eml-объекты от iw_
xapi 
  1. xapi 
  2. queue/smtp/.out
 -
  1. – в эту очередь объект перемещается
следующим модулем в цепочке (в случае с очередью iw_smtp - модулем
  1. следующей службой в цепочке - iw_messed
).

Объекты в очередь помещаются посредством следующих модулей:

  • ВХОД – модуль, который помещает события в очередь.
  • ВЫХОД – модуль, который забирает события из очереди.

Имя очереди

ВХОД

ВЫХОД

  1. .

Особенность:

Очереди, обслуживающие службу iw_is, дополнительно разделяются на:

  • queue/is/cmd/ – файловая очередь команд iw_is;
  • queue/is/fetching/ – очередь команд на загрузку;
  • queue/is/indexing/ – очередь команд на индексацию;
  • queue/is/errors/ – очередь ошибок.
analysisdb messed, analysis, iw_icapx2xsmtp iw_messed

Очередь

Службы, которые помещают события в очередь

Служба, которая забирает события из очереди

queue/analysis 

iw_xapi_xapi, iw_xapi_puppy

iw_analysis

queue/smtp 

iw_xapi_xapi, iw_xapi_puppy, iw_smtpd, iw_proxy_smtp, iw_capstack

iw_messed

queue/db 

iw_messed, iw_analysis, iw_icap, iw_proxy_icq, iw_proxy_http

iw_

x2x

queue/blackboard 

iw_luaengined luaengined, iw_deliver 

iw_kickerblackboard

queue/blackboard_errors 

ошибка при обработке iw_blackboard

нет-

queue/
x2x
iw_x2x iw_x2db
queue/is
iw_metainfo_fetcheriw_is
queue/errors

все компонентыслужбы, если произошла ошибка обработки

iw_rammer

 

 

queue/
x2x-errors 

iw_xapi_xapi/iw_xapi_puppy, iw_smtpd, iw_proxy_smtp, iw_capstack

ошибки обработки iw_x2x

queue/x2db-errors 

ошибки обработки iw_x2db

iw_rammer
queue/x2xfinal-errors
iw_x2x rammeriw_x2db
queue/x2x-errors 

ошибки обработки iw_x2x

iw_rammer-

Сбор статистики по файловым очередям включается в конфигурационном файле службы в директории /opt/iw/tm5/etc. Установите значение true в параметре Enabled секции Statistic.  

Sv translation
languageen

To enable loading the existing object queues:

  1. Stop the following services: iw_icap, iw_icap_bufdeliver, iw_luaengined, iw_is, iw_smtpd, iw_sniffer, iw_xapi_xapi, iw_xapi_puppy, iw_analysis, iw_messed, iw_proxy_http, iw_proxy_icq, iw_proxy_smtp, iw_capstack.
  2. Place objects from the errors error queue to the required queue.
  3. Wait until all objects in the file queue are processed.  

  4. Run the following services: iw_icap, iw_deliver,  iw iw_icapluaengined, iw_bufis, iw_smtpd, iw_sniffer, iw_xapi_xapi, iw_xapi_puppy, iw_analysis, iw_messed, iw_proxy_http, iw_proxy_icq, iw_proxy_smtp, iw_capstack.

To start all the services, enter run the command: iwtm start. . To check if the processes are started, use the following command: iwtm status.

Commands for starting/stopping separate services: 

icap_bufservice service icap_bufservice service
StartingStopping
iwtm start icap
iwtm start deliver
iwtm start 
luaengined
iwtm start is
iwtm start smtpd 
iwtm start sniffer
iwtm start xapi_xapi
iwtm start xapi_puppy
iwtm start analysis
iwtm start messed
iwtm start proxy_http
iwtm start proxy_icq
iwtm start proxy_smtp
iwtm start capstack
iwtm stop icap
iwtm stop deliver
iwtm stop luaengined
iwtm stop 
is
iwtm stop smtpd
iwtm stop sniffer
iwtm stop xapi_xapi
iwtm stop xapi_puppy
iwtm stop analysis
iwtm stop messed
iwtm stop proxy_http
iwtm stop proxy_icq
iwtm stop proxy_smtp
iwtm stop capstack
Информация
titleNote:

When the process is complete, make sure that the services are running.

Traffic Monitor has the following Objects in the System are moved by means of file queues:

dbsmtp

Path to the directory of the queue

File format Format of files in the queue

queue/analysis 
.xml & .dat

queue/smtp

.xml & .dat

queue/db

.xml & .dat

queue/blackboard 

.dat

queue/blackboard_errors

.dat

queue/

is

.xml & .dat

queue/
errors
x2x
.xml & .dat

queue/

errors

.xml & .dat

queue/

x2db

x2x-errors 

.xml & .dat

queue/
x2x
x2db-errors 
.xml & .dat
queue/
x2x
final-
errors 
errors
.xml & .dat

Each queue contains additional technical queues which allow you to monitor for processing objects: .db

, .in, .out

.

in

Example:
queue/db/.out

queue/db/.in

queue/db/.db

For smtp queue, the processing is
Информация
titleNote:

For the  queue/smtp process, the processing can be divided into the following

stages

steps:

  1. queue/smtp/.in
 the
  1.  – as the iw_smtpd service receives objects from Postfix, a file is
formed
  1. generated in
the given queue as objects are received from Postfix by module smtpd
  1. this queue. If for some reason
an object
  1. , the object processing in this queue is delayed
in the queue, you must check modules
  1. , please, check iw_smtpd
or
  1.  or iw_proxy_smtp service.
  2. queue/smtp/.db
 upon completion of processing
  1.  – when the processing is complete, the file is moved from
the queue
  1. the .in queue to
the queue
  1. the .dbqueue.
 E-ml
  1. EML mail objects from iw_xapi
 are falling into
  1. are placed in this queue.
  2. queue/smtp/.out
 -
  1. – the object is
moved to
  1. placed in this queue by the
next module in the chain (for queue iw_smtp - by module iw_messed).

Objects are placed in a queue by means of the following modules:

  • INPUT – a module which places events to the queue.
  • OUTPUT – a module which takes events from the
    1. following service - iw_messed.

    Note that:

    Queues of the iw_is service are additionally divided into:

    • queue/is/cmd/ – a file queue of iw_is commands;
    • queue/is/fetching/ – a queue of commands for loading;
    • queue/is/indexing/ – a queue of commands for indexing;
    • queue/is/errors/ – an error queue.
    x2xerror occurred while x2x

    Queue name

    INPUT

    OUTPUTServices that place an event in the queue

    Services that remove an event from the queue

    queue/
    analisys
    analysis 

    iw_xapi_xapi, iw_xapi_puppy

    iw_analysis

    queue/
    blackboard 

    iw_luaengined 

    iw_kicker

    queue/blackboard_errors

    error occurred while processing iw_blackboard

    no

    queue/db
    smtp 

    iw_xapi_xapi, iw_xapi_puppy, iw_smtpd, iw_proxy_smtp, iw_capstack

    iw_messed

    queue/db 

    iw_messed, iw_analysis, iw_icap, iw_proxy_icq, iw_proxy_http

    iw_x2x

    queue/
    errorsall the components, if the processing euro occurred
    blackboard 

    iw_luaengined, iw_deliver 

    iw_rammerblackboard

    queue/
    smtp 

    iw_xapi_xapi/iw_xapi_puppy, iw_smtpd, iw_proxy_smtp, iw_capstack

    iw_messed

    queue/x2db-errors 

    error occurred while processing iw_x2db
    blackboard_errors 

    an error when processing iw_blackboard

    -

    queue/x2x
    iw_x2x iw_x2db
    queue/is
    iw_metainfo_fetcheriw_is
    queue/errors

    all services in case of processing errors

    iw_rammer

    queue/x2x-errors 

    errors when processing iw_

    x2x 

    x2x

    iw_x2db
     
    queue/
    x2db-errors 

    errors when processing iw_

    x2db

     
    queue/final-errors
    iw_rammer-

    You can enable collecting statistics on file queues in the service configuration file which is located in the /opt/iw/tm5/etc directory. For this, in the Statistic section, set the Enabled parameter value to true.