Configuring Call Home with proxy

Use the following instructions to configure Call Home using proxy.

Configuring through command line
  1. Log in to the OpenShift® cluster by using the oc login command.
  2. Export proxy details for the following variables by replacing the placeholder values with your actual proxy information:
    export callhome_proxy_host="proxyhost"
    export callhome_proxy_port="proxyport"
    export callhome_proxy_username="proxyuser"
    export callhome_proxy_password="proxypassword"
    Example:
    export callhome_proxy_host="10.22.22.1"
    export callhome_proxy_port="3128"
    export callhome_proxy_username="admin"
    export callhome_proxy_password="pass"
  3. Verify whether the variables are loaded correctly:
    echo $callhome_proxy_host
    echo $callhome_proxy_port
    echo $callhome_proxy_username
    echo $callhome_proxy_password
  4. Patch the userconfig-secret to add proxy details:
    oc patch secret userconfig-secret \
     -n ibm-spectrum-fusion-ns \
     --type=merge \
     -p="{\"data\": {\"userconfig_secret.json\": \"$(oc get secret userconfig-secret -n ibm-spectrum-fusion-ns -o jsonpath='{.data.userconfig_secret\.json}' | base64 -d | \
     jq --arg callhome_proxy_host "$callhome_proxy_host" \
       --arg callhome_proxy_port "$callhome_proxy_port" \
       --arg callhome_proxy_username "$callhome_proxy_username" \
       --arg callhome_proxy_password "$callhome_proxy_password" \
       -c '. + {
        callhome_proxy_host: $callhome_proxy_host,
        callhome_proxy_port: $callhome_proxy_port,
        callhome_proxy_username: $callhome_proxy_username,
        callhome_proxy_password: $callhome_proxy_password
       }' | base64 | tr -d '\n')\"}}"
  5. Verify Call Home settings in IBM Fusion user interface as follows:
    1. Log in to the IBM Fusion user interface
    2. Go to Support > Settings.
    3. Once the Call Home information is populated, select Verify Connection to test the connection.
    Note:
    • Ensure that the proxy ACL is configured to allow Call Home endpoints listed in the Proxy configuration. If the connection fails, verify that the proxy is accessible from the callhomeclient pod terminal.
    • The Call Home feature uses the specified proxy settings to send requests to the configured endpoints. The callhome_proxy_host, callhome_proxy_port, callhome_proxy_username, and callhome_proxy_password fields are used to establish a connection to the proxy server, which then forwards the requests to the Call Home endpoints.