Configuring Call Home with proxy
Use the following instructions to configure Call Home using proxy.
- Configuring through command line
-
- Log in to the OpenShift® cluster by using
the
oc logincommand. - 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" - Verify whether the variables are loaded correctly:
echo $callhome_proxy_host echo $callhome_proxy_port echo $callhome_proxy_username echo $callhome_proxy_password - Patch the
userconfig-secretto 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')\"}}" - Verify Call Home settings in IBM Fusion user
interface as follows:
- Log in to the IBM Fusion user interface
- Go to .
- 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
callhomeclientpod 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, andcallhome_proxy_passwordfields are used to establish a connection to the proxy server, which then forwards the requests to the Call Home endpoints.
- Log in to the OpenShift® cluster by using
the