Connect to the IBM Cloud Private metering service through an HTTP proxy
If your queue manager is running on a system that does not have direct access to your ICP cluster, we can use an HTTP proxy that your organization provides to connect to your metering service instance in IBM Cloud Private.
Before starting
We have configured security, added the API key and service URL to the qm.ini file for the queue manager.
Use this task to configure your queue manager to connect to the metering service instance in IBM Cloud Private through an HTTP proxy that is provided by your organization.
Procedure
-
Add a service proxy attribute to the IBM Cloud Private
registration stanza of our qm.ini file.
We can set the ServiceProxy attribute as follows:
- A URL that includes the http:// prefix and optionally the port. If we do not specify the port,
1080 is used.
ReportingService: ServiceProxy=http://myorgproxy.net:1080
Note: The ServiceProxy parameter must be set to a valid http:// URL. Other proxy protocols, for example, HTTPS and SOCKS are not supported.
- A URL that includes the http:// prefix and optionally the port. If we do not specify the port,
1080 is used.
- Restart your queue manager before the changes take effect.
Parent topic: Configure IBM MQ for use with the IBM Cloud Private metering service