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

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

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.
Комментарий: Published by Scroll Versions from space TMAG and version 7.8
По

 

  • Запустите службы iw_icap, iw_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. По окончании процесса убедитесь, что

    перехватчики запущены, и включен автозапуск процессов.Personal Data Protector имеет следующие очереди

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

    Sv translation
    languageru

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

    1. Остановите процессы Personal Data Protector:
      OS:root> service iwtm stop
    2. Отключите автозапуск процессов iw_proxy, iw_smtpd, iw_expressd и iw_icap в конфигурационном файле каждого процесса:
      "Startup" : {"Enabled" : false}
    3. Запустите процессы Personal Data Protector:
      service iwtm start
    4. службы iw_icap, iw_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.
    5. Переместите объекты из очереди ошибок в нужную очередь.
    6. Дождитесь, пока будут обработаны все объекты в файловой очереди.

    Информация
    titleПримечание:
    Запуск службыОстановка службы
    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

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

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

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

    queue/analysis 
    .xml & .dat

    queue/smtp

    .xml & .dat

    queue/db

    .xml & .dat

    queue/blackboard 

    .dat

    queue/blackboard_errors

    .dat

    queue/

    whiteboard

    is

    .xml & .dat

    queue/x2x
    .xml & .dat

    queue/errors

    .xml & .dat

    queue/

    xml2liro

    x2x-errors 

    .xml & .dat

    queue/
    db
    x2db-errors 
    .xml & .dat
    queue/
    smtp
    final-errors
    .xml & .dat

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

     .db

    , .in, .out

    .

    in

     

    Например:
    queue/db/.out

    queue/db/.in

    queue/db/.db

    Для очереди smtp процесс
    Примечание
    titleПример:

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

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

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

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

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

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

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

     

    Имя очереди

    ВХОД

    ВЫХОД

    queue/smtp 

    smtpd и proxy_smtp

    1. следующей службой в цепочке - iw_messed.

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

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

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

    Очередь

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

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

    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,

    expressd,

    iw_proxy_icq, iw_proxy_http

    xml2liro

    iw_x2x

    queue/
    errors

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

    нет

    queue/xml2liro_loader

    xml2liro

    loader

    queue/blackboard 

    luaengined 

    blackboard 

    iw_x2db, iw_deliver 

    iw_blackboard

    queue/blackboard_errors 

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

    нет

    -

    queue/
    whiteboardwhiteboard
    x2x

    luaengined 

    iw_x2x iw_x2db
    queue/
    rails_connector_errors

    ошибки на вставке данных loader

    нет

    queue/xml2liro
    is
    iw_metainfo_fetcheriw_is
    queue/errors

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

    iw_rammer



    queue/x2x-errors 

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

    queue/x2db-errors 

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

    xml2liroнет

    iw_x2db

    queue/final-errors
    iw_rammer-

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

    Sv translation
    languageen

    To

    load

    enable loading the existing object queues:

    1. Stop Personal Data Protector Server processes:
      OS:root > service iwtm stop
    2. Disable autorun for iw_proxy, iw_smtpd, iw_expressd, iw_icap processes in configuration file of every process:
      "Startup" : {"Enabled" : false}
    3. Start Personal Data Protector processes:
      service iwtm start
    4. Wait until all the the following services: iw_icap, iw_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.
    5. Place objects from the error queue to the required queue.
    6. Wait until all objects in the file queue are processed.

      Информация
      titleNote:

      On completion of the process, make sure that the interceptors are running and autorun is enabled for the processes.

    Personal Data Protector contains the following
    1.  

    2. Run the following services: iw_icap, iw_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.

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

    Commands for starting/stopping separate services: 

    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

    Objects in the System are moved by means of file queues:

    queue/

    Path to the directory of the queue

    File format in the queue

    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/

    xml2liro_loader 

    is

    .xml & .dat

    queue/
    whiteboard
    x2x
    .xml & .dat

    queue/errors

    .xml & .dat

    queue/

    xml2liro

    x2x-errors 

    .xml & .dat

    queue/
    rails_connector_errors 

    .dat

    queue/db

    x2db-errors 
    .xml & .dat
    queue/
    smtp
    final-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 the 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 – 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 smtpd module
    1. this queue. If for some reason
    an object
    1. , the object processing in this queue is delayed
    in the queue, the smtpd and
    1. , please, check iw_smtpd or iw_proxy_smtp
    modules should be checked
    1. service.
    2. queue/smtp/.db –
    on completion of processing
    1. when the processing is complete, the file is moved from
    the
    1. the .in
    queue
    1.  queue to
    the
    1. the .dbqueue. EML mail objects from iw_xapi 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 the smtp queue, this is the messed module).

    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 queue.

    Queue name

    INPUT

    OUTPUT

    queue/smtp 

    smtpd and proxy_smtp

    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.

    Queue name

    Services that place an event in the queue

    Services that remove an event from the queue

    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,

    expressd,

    iw_proxy_icq, iw_proxy_http

    xml2liro

    queue/errors

    all components if an error occurred during processing

    no

    queue/xml2liro_loader

    xml2liro

    loader

    iw_x2x

    queue/blackboard 

    luaengined 

    iw_x2db, iw_deliver 

    iw_blackboard

    queue/blackboard_errors 

    an error when processing iw_blackboard

    no

    -

    queue/
    whiteboardwhiteboard
    x2x

    luaengined 

    iw_x2x iw_x2db
    queue/
    rails_connector_errors

    an error when inserting data loader

    no

    queue/xml2liro-errors 

    Processing errors xml2liro

    no
    is
    iw_metainfo_fetcheriw_is
    queue/errors

    all services in case of processing errors

    iw_rammer

    queue/x2x-errors 

    errors when processing iw_x2x


    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.