ArchestrA Service Bus

Материал из archestra.info
Перейти к: навигация, поиск

Archestra Service Bus Framework (ASB) - интеграционная платформа/инфраструктура, оперирующая набором сервисов для коммуникаций между узлами (платформами) в рамках одного Galaxy или нескольких Galaxy проектов (Multi-Galaxy functionality)

ASB Framework базируется на сервис-ориентированной архитектуре service-oriented architecture (SOA) Microsoft Windows Communication Foundation (WCF)

ASB components include a set of core run-time services, a catalog of user-configurable services, and a scheme that enables connectivity, interoperability and exchange of data among the services as well as with internal and external applications

Установка ASB компонентов производится вместе с компонентами Bootstrap, Galaxy Repository или IDE (as part of the System Platform installation). Управление производится через IDE-> меню Galaxy-> Configure-> ArchestrA Services

Родительской службой для ASB компонентов является ArchestrA Watchdog Service. По умолчанию она запускается от имени ASBService пользователя, пароль для него генерируется случайным образом во время установки ПО WW и может быть сменен при необходимости на пользовательский.


Подробное описание ArchestrA Service Bus см. в документе IDE.pdf на дистрибутиве System Platform, раздел Working with ArchestrA Services


Также см.

Дерево процессов SP2014R2

Asbservices.png
  • wininit
    • services.exe
      • aaServiceWatchdog.exe
        • aaLocalDiscoveryService.exe
        • aaLocalDiscoveryService.exe
        • aaLocalAuthenticationService.exe
        • aaContentProviderHost.exe
        • aaConfigurationServiceHost.exe
        • aaServicesDeployAgentHost.exe
        • aaServiceManager.exe
          • aaServiceHost32.exe
          • aaServiceHost32.exe
          • aaServiceHost32.exe
          • aaServiceHost32.exe

УСТРАНЕНИЕ ПРОБЛЕМ

  • остановить ArchestrA Watchdog Service в сервисах ОС
  • на SQL сервере, удалить БД с именем ArchestrAServicesDB
  • перезагрузить ПК
  • выполнить:
"C:\Program Files (x86)\Common Files\ArchestrA\Services\postASBinstall" install
"C:\Program Files (x86)\ArchestrA\Framework\Bin\Services\PostASBInstall.exe" install
  • потом еще проверить: Меню Configure -> ArchestrA Services деплоятся или нет службы
  • Об утилите ASBInstall : This utility is used for re-create ASB service accounts specially ASBService account user, which should have the permissions on ASB Database on SR node .
    • Double click this EXE file will not affect anything unless you install this via CMD as follow :
    • First stop Watchdog service .
    • Delete ASBService account
    • Put this syntax in CMD “ C:\Program Files (x86)\Common Files\ArchestrA\Services\ASBInstall.exe” install .
  • Об утилите PostASBInstall: This utility is used for re-create ASB Database, which should be available on SR node , also you can test this as follow :
    • Backup your ASB database, then delete it .
    • stop Watchdog service .
    • Put this syntax in CMD “ C:\Program Files (x86)\Common Files\ArchestrA\Services\PostASBInstall.exe” install .
    • Check you can find ASB database created again .

ASBSecurity Proxy: Connect null FindResponse finding IManageASBSecurity on the SR node xxx

  • Решение:
    • Настроить автоматический запуск ArchestrA Watchdog Service с правами aaAdmin (ArchestrA network account),
    • Перезапустить службу ArchestrA Watchdog Service
    • Передеплоить platform

О настройках службы ArchestrA Watchdog Service и требованиях к аккаунту ASBService/группе ASBSolution

  • 1. Ensure that it is set to automatically start, and that the Log On tab lists .\ASBService as the log on account.
  • 2. Сheck the local Users and verify that that account exists, is not disabled, and is a member of aaAdministrators and ASBSolution groups.
  • 3. Сheck the Local Security Policy -> Local Policies -> User Rights Assignment, and verify that the ASBService account is listed in both the “Log on as a service” and “Log on as a batch job” policies.

If any changes have been applied reboot the system and check how the Archestra Watchdog Service works

В процессах ОС ASB службы отображаются как aaServiceHost32.exe. Данный процесс должен быть в списке исключений для Firewall и Антивирусов.

Управления ASB службами без доступа в ArchestrA IDE

Как открыть конфигуратор/проверить ArchestrA Services без запуска среды IDE

Порты используемые PCS (ASB) службами

Для версий от WSP 2014R2 и старше: 808 (based on the Microsoft WCF shared port) для версий младше см. здесь