Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Tip
iconfalse

Indeed PAM Core can work as the part of an Active-Active failover cluster. Failover requires one or several additional Indeed PAM Core servers. Load balancing is performed using the HAProxy load balancer. To configure a fault-tolerant configuration, you must contact technical support support@indeed-id.com

IIS

  1. Run IIS and switch to Default Web Site
  2. Select the api application and open the Configuration Editor from Management section
  3. Open the Section: drop-down list and select system.webServer - serverRuntime item
  4. Set the uploadReadAheadSize parameter to value of 1048576
  5. Click Apply in Actions section

Indeed PAM Core

IIS

  1. Запустите Internet Information Services (IIS) Manager и раскройте пункт Сайты (Sites).
  2. Выберите сайт Indeed.PAM.ApiServer и нажмите Привязки (Bindings) в разделе Действия (Actions).
  3. Нажмите Добавить (Add):
    • Тип (Type) - https
    • Порт (Port) - 4000
    • Выберите SSL-сертификат (SSL Certificate)
  4. Сохраните привязку
Конфигурация

Warning
iconfalse

Все URL-адреса указываются в нижнем регистре.

All URLs are specified in lowercase.

Перейдите в каталог Switch to C:\inetpub\wwwroot\Indeed.PAM.ApiServer и откройте для редактирования файл api folder and edit web.config.Заполните секции file:

<logServer … />

  • Url -
адрес API единого журнала событий
  • CertificateThumbprint - отпечаток сертификата (оставить без изменений)
  • CertificateFilePath - путь до сертификата (оставить без изменений)
    • API URL for the uniform event log
    CertificateFilePassword - пароль от контейнера с закрытым ключом сертификата (оставить без изменений)
    Code Block
    languagexml
    themeConfluence
    titleПример
    Code Block
    <logServer Url="http://logserver.indeed-id.
    demo
    local/ils/api" CertificateThumbprint="" CertificateFilePath="" CertificateFilePassword="" />
    <encryptionSettings ...

    <logServerClient … />:

  • cryptoAlgName - название алгоритма шифрования
    • EventCacheDirectory - a temporary folder for event writing
    cryptoKey - ключ шифрования
    Note
    titleПримечание

    Ключ шифрования генерируется утилитой IndeedPAM.KeyGen.exe, которая входит в состав дистрибутива Indeed PAM и располагается в каталоге /Misc. Запустите утилиту, выберите нужный алгоритм и сгенерируйте ключ шифрования. Скопируйте название алгоритма, ключ шифрования и установите их в качестве значений для параметров cryptoAlgName и cryptoKey.

    Code Block
    languagexml
    title
    theme
    Пример
    <encryptionSettings cryptoAlgName="DES" cryptoKey="ee07d84ad974e4d733115163ljgnl1h3r353fd183kk2223" />
    <logServerClient …
    Confluence
    <logServerClient AppId="pam" Component="server" EventCacheDirectory="C:\Temp\ILS\Core\EventCacheDirectory" LogServerTargetConfigFile="" EventCacheSendingIntervalSec="10"/>

    <encryptionSettings ... />:

  • AppId - id приложения
  • Component - компонент (оставить без изменений)
  • EventCacheDirectory - временный каталог для записи событий
    Code Block
    languagexml
    themeConfluence
    titleПример
    <logServerClient AppId="pam" Component="server" EventCacheDirectory="c:\temp" />
    <adUserCatalogProvider> … </adUserCatalogProvider>: 
  • id - идентификатор провайдера (оставить без изменений)
  • serverName - полное DNS-имя контроллера домена
  • containerPath - LDAP-путь домена, контейнера или подразделения с пользователями
  • userName - сервисная учётная запись для работы каталогом пользователей Active Directory
    • cryptoAlgName - is the name of encryption algorithm
    • cryptoKey - is encryption key
    Note
    iconfalse

    The encryption key is generated by the IndeedPAM.KeyGen.exe utility, which is the part of the Indeed PAM distribution and is located in the /Misc directory.


    Code Block
    <encryptionSettings cryptoAlgName="DES" cryptoKey="ea06v76ht457t2l8" />

    <adUserCatalogProvider ... >:

    • serverName - is the DNS name of Domain Controller that performs Global Catalog function
    • containerPath - is the LDAP path to container or unit to be used as Active Directory user directory
    • userName - service account for working with Active Directory user directory
    • Password - service account password
    Password - пароль сервисной учётной записи
    Code Block
    languagexml
    themeConfluence
    titleПример
    <adUserCatalogProvider id="ad" serverName="dc.indeed-id.
    demo
    local" containerPath="
    ou
    OU=
    head
    organization 
    office
    unit,
    dc
    DC=indeed-id,
    dc
    DC=
    demo
    local" userName="
    pamadministrator
    IPAMManager" password="
    Q1w2e3r4"> <userMapRules> <objectTypeSettings> <objectSetting category="person" class="user"></objectSetting> </objectTypeSettings> </userMapRules> </adUserCatalogProvider>
    password">


    <connectionStrings> ... </connectionStrings>
    :

    1. <add name="DBConnection" ... />:
      • Data Source - имя SQL сервераMicrosoft SQL Server Name or Instance Name
      • Initial Catalog - имя базы данных Indeed PAM Core
      • Integrated Security - тип проверки подлинности (оставить без изменений)
      • User ID - сервисная учётная запись для работы с базами данных Indeed PAM
      • Password - пароль сервисной учётной записи
      • - database Name (IPAMCore)
      • User ID - service account to use with Indeed PAM databases
      • Password - service account password
    2. <add name="JobsQueueConnectionString" ... />:
      • Data Source - Microsoft SQL Server Name or Instance Name
      • Initial Catalog - database Name (IPAMTasks)
      • User ID - service account to use with Indeed PAM databases
      • Password - service account password

    An example of connecting to a Microsoft SQL Server database

    Code Block
    languagexml
    themeConfluence
    title
    Пример
    <connectionStrings>
    	<add name="DBConnection" connectionString="Data Source=MSSQLServer;Initial Catalog=IPAMCore;Integrated Security=False;User ID=IPAMSQLService;Password=password" providerName="System.Data.SqlClient" />
    	<add name="JobsQueueConnectionString" connectionString="Data Source=
    sqlserver
    MSSQLServer;Initial Catalog=
    apipam
    IPAMTasks;Integrated Security=False;User ID=
    sqlservicepam
    IPAMSQLService;Password=
    123456
    password" providerName="System.Data.SqlClient" />
    </connectionStrings>
    Note
    titleПримечание
    В случае использования именованного экземпляра Microsoft SQL Server значение параметра Data Source необходимо указывать в формате <имя сервера>\<имя экземпляра>.

    An example of connecting to a PostgreSQL Pro database

    Warning
    iconfalse

    In the connection string, you need to replace the providerName=''System.Data.SqlClient' with the providerName=''Npgsql'


    Code Block
    languagexml
    themeConfluencetitleПример
    <connectionStrings>
    	<add name="DBConnection" connectionString="Data Source=PostgreSQLProServer;Initial Catalog=IPAMCore;Integrated Security=False;User ID=IPAMSQLService;Password=password" providerName="Npgsql" />
    	<add name="JobsQueueConnectionString" connectionString="Data Source
    =sqlserver\SQLEXPRESS; ... "
    =PostgreSQLProServer;Initial Catalog=IPAMTasks;Integrated Security=False;User ID=IPAMSQLService;Password=password" providerName="Npgsql" />
    </connectionStrings>
    <add key="IdpUrl" 

    For PostgreSQL Pro, in the <appSettings> ...

    />:

    </appSettings> section, add the line

    value - URL адрес Indeed PAM IDP
    Code Block
    languagexml
    themeConfluencetitleПример
    <appSettings>
    	...
    	<add key="
    IdpUrl
    DBMS" value="
    https://pam.indeed.demo:4003"/>
    PostgreSQL" /> 
    </appSettings>


    Warning
    iconfalse

    If using a Named Instance of Microsoft SQL Server, the value of the Data Source parameter must be specified in the <Server Name>\<Named instance> format.

    Code Block
    <connectionStrings>
    	<add name="DBConnection" connectionString="Data Source=MSSQLServer\Named instance; ... "/>
    	<add name="JobsQueueConnectionString" connectionString="Data Source=MSSQLServer\Named instance; ... "/>
    </connectionStrings>


    <add key="IdpUrl" 

    <add key="PamProxyIpAddresses" … />:
    value - IP-адрес сервера Indeed PAM Gateway
    Code Block
    languagexml
    themeConfluence
    titleПример
    <add key="PamProxyIpAddresses" value="192.168.0.100" />
    <add key="TempVideoDirectory"

    ... />:

    • value -
    каталог для временных файлов
    • URL Indeed PAM IdP
    Code Block
    languagexml
    themeConfluence
    titleПример
    <add key="
    TempVideoDirectory
    IdpUrl" value="
    C:\temp\"
    https://pam.indeed-id.local/idp"/>


    <add key="

    FileStorageDirectory

    PamProxyIpAddresses" … />:

    • value -
    адрес сетевого или локального хранилища видеозаписей
    • Indeed PAM Gateway server IP address
    Code Block
    languagexml
    themeConfluence
    titleПример
    <add key="
    FileStorageDirectory
    PamProxyIpAddresses" value="
    \\Storage\Video
    192.168.0.100" />

    Backtotop
    Delay0
    Distance250