automation-suite
2024.10
true
Wichtig :
Bitte beachten Sie, dass dieser Inhalt teilweise mithilfe von maschineller Übersetzung lokalisiert wurde. Es kann 1–2 Wochen dauern, bis die Lokalisierung neu veröffentlichter Inhalte verfügbar ist.
UiPath logo, featuring letters U and I in white

Automation Suite in der EKS/AKS-Installationsanleitung

Letzte Aktualisierung 10. Juni 2025

Schritt 2: Aktualisieren des Schemas der wiederhergestellten Produktdatenbank

Dieser Abschnitt führt Sie durch den Prozess der Wiederherstellung und Aktualisierung der Identity- und Orchestrator-Datenbanken mithilfe von Docker oder Podman. Informationen zum Identifizieren der Images, die zum Durchführen der Schemaaktualisierung verwendet werden sollen, finden Sie in der Migrationskompatibilitätsmatrix.
  1. Nehmen Sie die Verbindungszeichenfolge der wiederhergestellten Identitätsdatenbank und speichern Sie sie in einer Datei, z. B. cs.txt. Erteilen Sie ausreichende Berechtigungen für die Datei (chmod 666 cs.txt), die vom Container verwendet werden soll.
  2. Führen Sie den Identity-Datenbankmigrator aus, um das Schema der wiederhergestellten Identity-Datenbank zu aktualisieren. Sie können dies entweder mit Docker oder Podman tun.
    <podman/docker> run -v <absolute-path-to-cs.txt>:/uipath/secrets/cs.txt <docker-registry>/identity-service-datamigrator:<datamigrator-image-version> /app/UiPath.DataMigrator.Cli.dll install --connectionStringFile /uipath/secrets/cs.txt<podman/docker> run -v <absolute-path-to-cs.txt>:/uipath/secrets/cs.txt <docker-registry>/identity-service-datamigrator:<datamigrator-image-version> /app/UiPath.DataMigrator.Cli.dll install --connectionStringFile /uipath/secrets/cs.txt
    Wenn der Befehl mit [ERR] File '/uipath/secrets/cs.txt' doesn't exist. fehlschlägt, könnte dies an der SELinux-Sicherheitsfunktion liegen. Dies kann auftreten, wenn Sie eine Linux-Distribution verwenden, für die diese Funktion aktiviert ist. In diesem Fall müssen Sie diesen Befehl verwenden:
    <podman/docker> run -v <absolute-path-to-cs.txt>:/uipath/secrets/cs.txt:z  <docker-registry>/identity-service-datamigrator:<datamigrator-image-version>  /app/UiPath.DataMigrator.Cli.dll install --connectionStringFile /uipath/secrets/cs.txt<podman/docker> run -v <absolute-path-to-cs.txt>:/uipath/secrets/cs.txt:z  <docker-registry>/identity-service-datamigrator:<datamigrator-image-version>  /app/UiPath.DataMigrator.Cli.dll install --connectionStringFile /uipath/secrets/cs.txt
    Beispiel:
    root@migration-test:~/migration# podman run -v /root/migration/cs.txt:/uipath/secrets/cs.txt  sfbrdevhelmweacr.azurecr.io/identity-service-datamigrator:25.1.22-alpha-k8.19 /app/UiPath.DataMigrator.Cli.dll install --connectionStringFile /uipath/secrets/cs.txt
    [07:29:27 INF] Initializing database connection string from file /uipath/secrets/cs.txt
    [07:29:39 INF] Skip adding data masking for non-cloud deploymentroot@migration-test:~/migration# podman run -v /root/migration/cs.txt:/uipath/secrets/cs.txt  sfbrdevhelmweacr.azurecr.io/identity-service-datamigrator:25.1.22-alpha-k8.19 /app/UiPath.DataMigrator.Cli.dll install --connectionStringFile /uipath/secrets/cs.txt
    [07:29:27 INF] Initializing database connection string from file /uipath/secrets/cs.txt
    [07:29:39 INF] Skip adding data masking for non-cloud deployment
  3. Nehmen Sie die Verbindungszeichenfolge der wiederhergestellten Orchestrator-Datenbank und speichern Sie sie im Format .json , z. B. app-secrets.jsonin im folgenden Format:
    { "AppSettings": {}, "ConnectionStrings": {"Default":"<connection-string>"} }{ "AppSettings": {}, "ConnectionStrings": {"Default":"<connection-string>"} }
  4. Führen Sie den Orchestrator-Datenbankmigrator aus, um das Schema der wiederhergestellten Orchestrator-Datenbank zu aktualisieren. Sie können dies entweder mit Docker oder Podman tun.
    <podman/docker> run -v <absolute-path-to-app-secrets.json>:/config/app-secrets/values.json <docker-registry>/orchestrator/orchestrator-tools-sf:<orchestrator-migrator-version> ./UiPath.Orchestrator.Cli.dll database upgrade-database --database-type Default --configuration-path ./UiPath.Orchestrator.dll.config --configPaths /config/app-secrets/values.json --verbose<podman/docker> run -v <absolute-path-to-app-secrets.json>:/config/app-secrets/values.json <docker-registry>/orchestrator/orchestrator-tools-sf:<orchestrator-migrator-version> ./UiPath.Orchestrator.Cli.dll database upgrade-database --database-type Default --configuration-path ./UiPath.Orchestrator.dll.config --configPaths /config/app-secrets/values.json --verbose
    Beispiel:
    root@migration-test:~/migration# podman run -v /root/migration/app-secrets.json:/config/app-secrets/values.json sfbrdevhelmweacr.azurecr.io/orchestrator/orchestrator-tools-sf:24.10.2 ./UiPath.Orchestrator.Cli.dll database upgrade-database --database-type Default --configuration-path ./UiPath.Orchestrator.dll.config --configPaths /config/app-secrets/values.json --verboseroot@migration-test:~/migration# podman run -v /root/migration/app-secrets.json:/config/app-secrets/values.json sfbrdevhelmweacr.azurecr.io/orchestrator/orchestrator-tools-sf:24.10.2 ./UiPath.Orchestrator.Cli.dll database upgrade-database --database-type Default --configuration-path ./UiPath.Orchestrator.dll.config --configPaths /config/app-secrets/values.json --verbose

War diese Seite hilfreich?

Hilfe erhalten
RPA lernen – Automatisierungskurse
UiPath Community-Forum
Uipath Logo White
Vertrauen und Sicherheit
© 2005–2025 UiPath. Alle Rechte vorbehalten