Enabling watsonx Assistant to process API requests on multiple clusters
You can configure IBM watsonx Assistant for an active-active multi-cluster deployment, enabling API requests to be processed across multiple clusters. When you enable this feature, watsonx Assistant service instances have deterministic URLs. The term active-active refers to distributing workloads across multiple clusters to enhance availability and fault tolerance. However, unlike a traditional active-active architecture, this deployment does not ensure session continuity across clusters and does not involve data replication. Each cluster operates independently in terms of session handling and data storage.
To use this configuration completely, keep watsonx Assistant instance names and watsonx Assistant names identical across the clusters. watsonx Assistant name refers to the name assigned while creating a watsonx Assistant within an instance. Using the same instance name for your watsonx Assistant ensures deterministic URL resolution, leading to identical assistant and environment IDs across different clusters. This consistency eliminates the need to specify the watsonx Assistant's name in API calls, as the IDs remain constant across the clusters.
- Who needs to complete this task?
-
Instance administrator An instance administrator can complete this task.
- When do you need to complete this task?
-
Complete this task if you think you might want this instance of watsonx Assistant to be part of an active-active multi-cluster deployment.
You must complete this task before you provision watsonx Assistant service instances.
You cannot apply this configuration after you create the service instances.
Important: Complete this task on all clusters that you want to include in the active-active multi-cluster deployment.
Before you begin
Generate a version 4 universally unique identifier (UUID) and set the
ACTIVE_ACTIVE_SEED environment variable to the UUID:
- Linux®
-
export ACTIVE_ACTIVE_SEED=$(uuidgen -r) - Mac OS
-
export ACTIVE_ACTIVE_SEED=$(uuidgen) - Windows Subsystem for Linux
-
export ACTIVE_ACTIVE_SEED=$(uuidgen -r)
About this task
- Enable active-active mode
- Specify the Version 4 universally unique identifier (UUID) that you want to use
Procedure
Complete the following steps on both clusters where you want to enable active-active mode for watsonx Assistant: