Skip to content

Validating the deployment

This section provides instructions for verifying that your deployment is healthy and operational at any stage of the installation process. Use these steps to confirm that HCL Digital Experience (DX) IQ services are running, pods are healthy, and communication is established with external systems, including DX Core, DX Compose, and the LiteLLM Proxy. This validation applies to all DX IQ installations, regardless of your database configuration.

Verifying pod health

Check that all DX IQ pods are running:

kubectl get pods -n <DX_NAMESPACE> | grep <IQ_RELEASE_NAME>
  • <DX_NAMESPACE>: The Kubernetes namespace where DX is deployed (for example, dxns).
  • <IQ_RELEASE_NAME>: The DX IQ Helm release name (for example, dx-iq).

Expected output:

NAME                                    READY   STATUS    RESTARTS   AGE
<IQ_RELEASE_NAME>-integrator-xxxxxxxxxx-xxxxx       1/1     Running   0          5m
<IQ_RELEASE_NAME>-mcp-server-xxxxxxxxxx-xxxxx       1/1     Running   0          5m

If the pods are not running, check the pod description:

kubectl describe pod -n <DX_NAMESPACE> -l app=<IQ_RELEASE_NAME>-integrator

Checking pod logs

Examine the logs to verify successful initialization and check for configuration errors:

# Integrator logs
kubectl logs -n <DX_NAMESPACE> deployment/<IQ_RELEASE_NAME>-integrator --tail=50

# MCP Server logs
kubectl logs -n <DX_NAMESPACE> deployment/<IQ_RELEASE_NAME>-mcp-server --tail=50
  • <DX_NAMESPACE>: The Kubernetes namespace where DX is deployed (for example, dxns).
  • <IQ_RELEASE_NAME>: The DX IQ Helm release name (for example, dx-iq).

Verifying database connectivity

Verify that the DX IQ service can connect to its database:

kubectl logs -n <DX_NAMESPACE> deployment/<IQ_RELEASE_NAME>-integrator | grep -i "database"
  • <DX_NAMESPACE>: The Kubernetes namespace where DX is deployed (for example, dxns).
  • <IQ_RELEASE_NAME>: The DX IQ Helm release name (for example, dx-iq).

Expected output (persistent PostgreSQL database):

Database mode is ENABLED. Using PostgreSQL database.
Database connection initialized.
Database initialized successfully.

Expected output (SQLite fallback):

Using database: In-memory SQLite

If the initial command returns errors such as Connection refused or Password authentication failed, the DX IQ Integrator cannot reach the database. For steps on troubleshooting database connection issues, refer to Troubleshooting - Connection failures.

Verifying MCP Server integration

Check the Model Context Protocol (MCP) Server logs to confirm tool registration status:

kubectl logs -n <DX_NAMESPACE> deployment/<IQ_RELEASE_NAME>-mcp-server | grep -i "Registering\|disabled"
  • <DX_NAMESPACE>: The Kubernetes namespace where DX is deployed (for example, dxns).
  • <IQ_RELEASE_NAME>: The DX IQ Helm release name (for example, dx-iq).

Expected output (tools enabled):

Registering WCM tools
Registering DAM tools
API endpoints available at https://localhost:...

Expected output (tools disabled):

WCM tools are disabled
DAM tools are disabled

If tools are unexpectedly disabled, verify that configuration.mcpServer.enableWcm and configuration.mcpServer.enableDam are set to true in your Helm values.

Testing end-to-end functionality

Before you run this test, enable DX IQ in the DX Helm chart. For instructions, refer to Enabling DX IQ.

  1. Open the DX IQ user interface in your DX environment.
  2. Submit a test query (for example, "What is HCL Digital Experience?").
  3. Verify the following:

    1. The WebSocket connection is established:

      1. In your browser developer tools, open the Network tab.
      2. Select Socket (Chrome), WS (Firefox), or WebSockets (Safari).
      3. Confirm the ws connection is established and session.status is "open".

        DX IQ WebSocket connection established

    2. The query is processed:

      1. In the same ws connection, open the Messages tab.
      2. Verify that an outbound JSON-RPC message with method: "send_message" is sent for your query.

        DX IQ send_message request in Network WebSocket messages

    3. A response is returned from the AI model:

      In the same Messages tab, verify an inbound JSON-RPC response is returned for your send_message request and includes the AI-generated answer payload.

      DX IQ send_message response in Network WebSocket messages

    4. The conversation state is preserved:

      1. Refresh the page and confirm the prior conversation remains available.
      2. Log out and log back in, then verify that the same conversation state is restored.
Security note: userId fields in screenshots

If you notice a userId field displayed in the validation screenshots or in your interface, this is a randomly generated testing userId used only for demonstration purposes. In production environments, do not share your userId with others, as it may contain sensitive authentication or identification information.

Next step

After deploying DX IQ services and validating your deployment, enable and configure the DX IQ assistant.

Related information