Convert MID-based ACC to MID-less
Convert MID-based Agent Client Collector (ACC) to MID-less ACC by adjusting the configuration in acc.yml, decoupling from a specific MID to enhance flexibility and adaptability.
Before you begin
Verify that the ACC registration key was set up and the ACC was installed. For more information, see the following:
Role required: agent_admin and agent_client_collector_admin
For more information, see Agent Client Collector user roles.
Procedure
Stop ACC based on your operating system:
- For Windows, access Services as administrator and stop the Agent Client Collector Service.
- For macOS, execute the command:
sudo launchctl unload -w /Library/LaunchDaemons/com.sn.acc.plist;. - Open the
acc.ymlfile.
Edit the instance URL.
Edit the backend-url parameter to point to
<ITOM Cloud Services Gateway>.Use one of the following gateways based on the instance location:
AMER: itomcnc-prod-gateway-amer.sncapps.service-now.com:443EMEA: itomcnc-prod-gateway-emea.sncapps.service-now.com:443APAC: itomcnc-prod-gateway-apac.sncapps.service-now.com:443For more information on how the Agent uses the ITOM Cloud Services Gateway, see DEX Architecture.
Configure the following parameters:
- connect-without-mid: true
instance-url: <full_instance_url>
For example: https://dex.servicenow.com.
insecure-skip-tls-verify: false
registration-key: <registration key value>
For more information, see Create an ACC registration key.
Comment out the API key parameter:
api-key: "encrypted....”Save the file.
Delete files based on your operating system:
- On Windows, navigate to
/agent-client-collector/config/cert/cncand remove the following files:cnc_chain.crtandpriv_key.pem.go. - On macOS, access
/Library/Application Support/servicenow/agent-client-collector/cert/cncand delete the files:cnc_chain.crtandpriv_key.pem. Delete
assets.db,queue.db, and all subdirectories in the cache folder based on your operating system:On Windows:
/agent-client-collector/cache.- On macOS:
- For Agent 3.4.1 or above:
/Library/Application Support/servicenow/agent-client-collector/cache. - For Agent 3.4.0 or below:
/Library/Caches/servicenow/agent-client-collector. Important: Keepagent_now_idin the cache folder.
- For Agent 3.4.1 or above:
- On Windows, navigate to
Initiate the ACC service based on your operating system.
- On Windows, open Services as administrator, then start the Agent Client Collector Service.
- On macOS, use the command:
sudo launchctl load -w /Library/LaunchDaemons/com.sn.acc.plist.
Parent Topic:Advanced configuration