Automation Suite
2023.10
偽
- 概要
- 要件
- インストール
- 前提条件の確認
- インストール パッケージをダウンロードする
- uipathctl cluster
- uipathctl cluster maintenance
- uipathctl cluster maintenance disable
- uipathctl cluster maintenance enable
- uipathctl cluster maintenance is-enabled
- uipathctl cluster migration
- uipathctl cluster migration export
- uipathctl cluster migration import
- uipathctl cluster migration run
- uipathctl cluster upgrade
- uipathctl config
- uipathctl config add-host-admin
- uipathctl config additional-ca-certificates
- uipathctl config additional-ca-certificates get
- uipathctl config additional-ca-certificates update
- uipathctl config alerts
- uipathctl config alerts add-email
- uipathctl config alerts remove-email
- uipathctl config alerts update-email
- uipathctl config argocd
- uipathctl config argocd ca-certificates
- uipathctl config argocd ca-certificates get
- uipathctl config argocd ca-certificates update
- uipathctl config argocd generate-dex-config
- uipathctl config argocd generate-rbac
- uipathctl config argocd registry
- uipathctl config argocd registry get
- uipathctl config argocd registry update
- uipathctl config enable-basic-auth
- uipathctl config orchestrator
- uipathctl config orchestrator get-config
- uipathctl config orchestrator update-config
- uipathctl config saml-certificates get
- uipathctl config saml-certificates rotate
- uipathctl config saml-certificates update
- uipathctl config tls-certificates
- uipathctl config tls-certificates get
- uipathctl config tls-certificates update
- uipathctl config token-signing-certificates
- uipathctl config token-signing-certificates get
- uipathctl config token-signing-certificates rotate
- uipathctl config token-signing-certificates update
- uipathctl health
- uipathctl health bundle
- uipathctl health check
- uipathctl health diagnose
- uipathctl health test
- uipathctl manifest
- uipathctl manifest apply
- uipathctl manifest diff
- uipathctl manifest get
- uipathctl manifest get-revision
- uipathctl manifest list-applications
- uipathctl manifest list-revisions
- uipathctl manifest render
- uipathctl prereq
- uipathctl prereq create
- uipathctl prereq run
- uipathctl resource
- uipathctl resource report
- uipathctl snapshot
- uipathctl snapshot backup
- uipathctl snapshot backup create
- uipathctl snapshot backup disable
- uipathctl snapshot backup enable
- uipathctl snapshot delete
- uipathctl snapshot list
- uipathctl snapshot restore
- uipathctl snapshot restore create
- uipathctl snapshot restore delete
- uipathctl snapshot restore history
- uipathctl snapshot restore logs
- uipathctl version
- インストール後
- 移行とアップグレード
- 監視とアラート機能
- クラスターの管理
- 製品固有の設定
- 組織 ID の再マッピング
- Looker のデータを Automation Suite に移行する
- トラブルシューティング
Looker のデータを Automation Suite に移行する
EKS/AKS の Automation Suite のインストール ガイド
最終更新日 2024年4月19日
Looker のデータを Automation Suite に移行する
Looker のデータをスタンドアロンの Insights から Insights Automation Suite に移行するには、以下の手順を実行します。
- SSH クライアントを開き、次のコマンドを実行して認証します。
ssh <username>@<hostname>
ssh <username>@<hostname>
- バックアップを作成します。
image=$(sudo docker container inspect looker-container -f '{{ .Image }}') backupPath="$HOME/insights/backup" && mkdir "$backupPath" -p sudo docker run -u root --rm --platform linux --volumes-from looker-container -v "$backupPath":/backup "$image" bash -c "tar cvf /backup/looker_backup.tar --absolute-names /app/workdir/.db /mnt/lookerfiles /app/workdir/looker.key"
image=$(sudo docker container inspect looker-container -f '{{ .Image }}') backupPath="$HOME/insights/backup" && mkdir "$backupPath" -p sudo docker run -u root --rm --platform linux --volumes-from looker-container -v "$backupPath":/backup "$image" bash -c "tar cvf /backup/looker_backup.tar --absolute-names /app/workdir/.db /mnt/lookerfiles /app/workdir/looker.key"注: v2022.10 以降では、looker.key
は移行のバックアップに含まれています。
- SSH を終了します。
exit
exit - Secure Copy Protocol (SCP) を使用してローカル マシンにファイルをコピーします。
scp <username>@<hostname>:~\insights\backup\looker_backup.tar <path-to-download-dir>
scp <username>@<hostname>:~\insights\backup\looker_backup.tar <path-to-download-dir>
kubeconfig
ファイルをダウンロードします。次のスクリーンショットに、Automation Suite の Azure デプロイ テンプレートを示します。- SSH クライアントを開き、次のコマンドを実行して Insights の Looker ポッドの名前を取得します。
$Env:KUBECONFIG="C:\Users\username\Downloads\output.yaml" # path to the optput.yaml kubectl get pods -n uipath
$Env:KUBECONFIG="C:\Users\username\Downloads\output.yaml" # path to the optput.yaml kubectl get pods -n uipathInsights の Looker ポッドが表示されるようになります (例:insights-insightslooker-c987df55c-gngqd
)。 - Insights の Looker ポッドの変数名を設定します。
$PodName = "insights-insightslooker-74db798bc5-dt68p"
$PodName = "insights-insightslooker-74db798bc5-dt68p" - Automation Suite のデータのバックアップを作成します。 バックアップファイルは、コマンドが開始されるコンソールのあるマシンに保存されます。 作成したバックアップには機密情報が含まれているため、必ず削除してください。
kubectl cp ${PodName}:/app/workdir/.db/ .\sf_db_backup -n uipath -c insightslooker kubectl cp ${PodName}:/mnt/lookerfiles/ .\sf_lookerfiles_backup -n uipath -c insightslooker
kubectl cp ${PodName}:/app/workdir/.db/ .\sf_db_backup -n uipath -c insightslooker kubectl cp ${PodName}:/mnt/lookerfiles/ .\sf_lookerfiles_backup -n uipath -c insightslooker - を解凍します。
7z x .\looker_backup.tar -olooker_backup # looker_backup is the output folder
7z x .\looker_backup.tar -olooker_backup # looker_backup is the output folder - (Automation Suite のパスワードがスタンドアロン デプロイ モデルで使用されているものと異なる場合は、条件付きで必須です)。移行前に以下のファイルを編集し、 looker.log ファイルと looker.script ファイルの両方で URL やパスワードを更新します。
sf_db_backup/looker.log
を開き、host_url
を検索してhttps://
で始まる文字列を見つけます。sf_db_backup/looker.log
でINSERT INTO "CREDENTIALS_EMAIL" VALUES(1,1,'admin@uipath.com'
を検索します。$2a$12$
で始まる文字列をコピーし、looker_backup/app/.db/looker.log
のすべての出現箇所を上書きします。注:- これらの行が見つからない場合は、エディターで正規表現をオフにします。
INSERT INTO "CREDENTIALS_EMAIL" VALUES(1,1,'admin@uipath.com'
が複数出現した場合は、すべてを更新する必要があります。
- 作業ディレクトリを
looker_backup
フォルダーに変更します。このフォルダーには、app
とmnt
という 2 つのサブフォルダーがあります。cd looker_backup
cd looker_backup - Insights の Looker ポッドにファイルをコピーしてから、デプロイを再実行します。
kubectl cp .\app\workdir ${PodName}:/app -n uipath -c insightslooker kubectl cp .\mnt\lookerfiles ${PodName}:/mnt -n uipath -c insightslooker kubectl rollout restart statefulset insights-insightslooker -n uipath
kubectl cp .\app\workdir ${PodName}:/app -n uipath -c insightslooker kubectl cp .\mnt\lookerfiles ${PodName}:/mnt -n uipath -c insightslooker kubectl rollout restart statefulset insights-insightslooker -n uipath