Runtime Fabric バージョンのダウングレード

Runtime Fabric バージョン 2.6.x をダウングレードする必要がある場合、Runtime Fabric を下位バージョンにパッチ適用することで、バージョンをダウングレードする必要があります。

rtfctl​ を使用してインストールされた Runtime Fabric の場合、次の PATCH 要求を使用してダウングレードするエージェントバージョンを指定します。

curl -X PATCH -H 'Authorization: Bearer xxx' -H 'Content-Type: application/json;charset=UTF-8' -H 'Accept: application/json, text/plain, */*' \
https://anypoint.mulesoft.com/runtimefabric/api/organizations/<org id>/fabrics/<rtf id> --data-binary '{"version":"x.x.x"}'

AM ログ転送を使用している場合、次のステップを追加で実行する必要があります。

  1. 次の API をコールして daemon-set ログ転送を有効にします (ベアラートークンが必要です)。

    curl -X PATCH -H 'Authorization: Bearer <bearer-token-here>' -H 'Content-Type: application/json;charset=UTF-8' -H 'Accept: application/json, text/plain, */*' \
    https://anypoint.mulesoft.com/runtimefabric/api/organizations/<orgId>/fabrics/<fabricId>/logforwarding/appScoped?enabled=false
  2. 必要に応じて、am-log-forwarder の daemon-set が稼働中でない場合は、次のいずれかのオプションを使用してサービスを開始します。

    • Anypoint Monitoring UI (​RuntimeFabrics -→ Fabric -→ LogForwarding​) で、​[Show logs in Anypoint Monitoring (Anypoint Monitoring でログを表示する)]​ をオンにします。

    • または API 要求を送信します。

    curl -X PATCH -H 'Authorization: Bearer <bearer-token-here>' -H 'Content-Type: application/json;charset=UTF-8' -H 'Accept: application/json, text/plain, */*' \
    https://anypoint.mulesoft.com/runtimefabric/api/organizations/<orgId>/fabrics/<fabricId>/logforwarding -d '{"anypointMonitoring": true}'
Runtime Fabric エージェントバージョンが 2.6.x であるときに再デプロイされた Mule アプリケーションは、ダウングレードされた rtf-agent バージョンに応じてリソース割り当てを減らすために再デプロイする必要があります。