Automation Suite
2023.10
バナーの背景画像
Linux の Automation Suite のインストール ガイド
最終更新日 2024年4月19日

Redirecting traffic for the unsupported services to the primary cluster

You can install products that are not supported in Disaster Recovery with Active/Passive and Active/Active. However, you should take the following aspects into consideration:

  • In Active/Passive deployments, you cannot use these products when the second cluster is in use or active.

  • In Active/Active deployments, the traffic for the unsupported services in the secondary cluster must always be redirected to the primary cluster. To do that, run the following script on the secondary cluster only:

    services=("aifabric" "actions" "bupproxyservice" "apps" "du" "testmanager" "roboticsops" "processes" "dataservice")
    existingJson=$(kubectl get wasmplugin uipath-routing-policy -n istio-system -o json)
    for service in "${services[@]}"
    do
      exists=$(echo "$existingJson" | jq -r ".spec.pluginConfig.forward_services[] | select(.name == \"$service\")")
      if [ -n "$exists" ]; then 
         echo "Service '${service}' already exists. Skipping..."
         continue
      fi
      kubectl patch wasmplugin uipath-routing-policy -n istio-system --type='json' -p='[{"op": "add", "path": "/spec/pluginConfig/forward_services/-", "value": {"name": "'$service'", "paths": [""]}}]'
      echo "Service '${service}' forwarding rule added."
    doneRemove servicesservices=("aifabric" "actions" "bupproxyservice" "apps" "du" "testmanager" "roboticsops" "processes" "dataservice")
    existingJson=$(kubectl get wasmplugin uipath-routing-policy -n istio-system -o json)
    for service in "${services[@]}"
    do
      exists=$(echo "$existingJson" | jq -r ".spec.pluginConfig.forward_services[] | select(.name == \"$service\")")
      if [ -n "$exists" ]; then 
         echo "Service '${service}' already exists. Skipping..."
         continue
      fi
      kubectl patch wasmplugin uipath-routing-policy -n istio-system --type='json' -p='[{"op": "add", "path": "/spec/pluginConfig/forward_services/-", "value": {"name": "'$service'", "paths": [""]}}]'
      echo "Service '${service}' forwarding rule added."
    doneRemove services

Was this page helpful?

サポートを受ける
RPA について学ぶ - オートメーション コース
UiPath コミュニティ フォーラム
UiPath ロゴ (白)
信頼とセキュリティ
© 2005-2024 UiPath. All rights reserved.