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.yml file.
-
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:443
- EMEA: itomcnc-prod-gateway-emea.sncapps.service-now.com:443
- APAC: itomcnc-prod-gateway-apac.sncapps.service-now.com:443
For more information on how the Agent uses the ITOM Cloud Services Gateway, see DEX Architecture.
-
Configure the following parameters:
-
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/cnc and remove the following files: cnc_chain.crt and
priv_key.pem.go.
- On macOS, access /Library/Application Support/servicenow/agent-client-collector/cert/cnc and delete the files: cnc_chain.crt and
priv_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: Keep agent_now_id in the cache folder.
-
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.