To install MID-less Agent Client Collector on Linux, prepare ITOM Cloud Services and an agent registration key, then install the Linux package or use the single-line installer with MID-less parameters. Configure the cloud gateway, instance, and key so the agent sends data through the cloud rather than through a MID Server.
Prepare the instance and Linux installation plan
Start with the destination for the agent’s data. A MID-less deployment uses a public cloud gateway between the Linux agent and the instance. That changes the connection settings you prepare before installation. A package installed successfully with regular MID Server settings does not establish the intended cloud route.
Install the ITOM Cloud Services Core plugin, whose identifier is sn_itom_cloud_svc, onboard the instance to ITOM Cloud Services, and configure an agent registration key. The Linux installation procedure requires the agent_client_collector_admin role. Running the later single-line configuration command on Linux requires root. Assign these actions to the appropriate instance administrator and Linux administrator rather than treating the instance role as operating system access.
Check the procedure against your instance and release before deployment. The steps below combine the Linux installation and MID-less configuration workflow, with particular attention to package layout and connection validation. For the broader rollout sequence, see Agent Client Collector installation and deployment.
- Identify the Linux distribution and choose the matching RPM or Debian package.
- Prepare the public gateway endpoint for the deployment location: Americas, Europe, or Asia Pacific.
- Retrieve the intended registration key and identify the instance the agent will register with.
- Choose manual package installation or the single-line installation method before preparing automation.
Install MID-less Agent Client Collector on Linux with a package
Open Agent Client Collector > Deployment > Agent Downloads and download the relevant .rpm or .deb installation file. Download the associated signature files as well. Keep the package and its signature material together so that verification applies to the file you intend to install, rather than to a different build already present on the host.
Signature verification is optional in the manual workflow. For RPM packages, extract the signature archive and use openssl dgst with SHA-256, the ServiceNow DGST PEM key, and the corresponding binary signature. For Debian packages, import the supplied GPG public key and verify the package signature. Keep each verification command on one line, with the actual package and signature filenames.
Use the package manager associated with the distribution: yum or dnf localinstall for RHEL-based systems, zypper install for SLES, and apt-get install for Debian-based systems. The underlying alternatives are rpm -vi for an RPM package and dpkg -i for a Debian package. Have the Linux administrator confirm that the package commands are configured correctly before choosing an alternative.
For the Xanadu Debian package workflow, prepare acc.yml from acc.yml.example and check-allow-list.json from check-allow-list.json.default in /etc/servicenow/agent-client-collector/. Preserve the files’ attributes with cp -p. RPM packages in that workflow already include the configuration and allow-list files. Inspect the installed package layout before changing files so the configuration work targets the installation you just completed.
Resolve restricted filesystems before starting the agent
Check the mount restrictions affecting the agent’s directories. Agent Client Collector plugins normally execute from /var/cache. If /var is mounted with noexec, installing the package without considering that restriction can leave the plugin execution path unusable even though the files are present.
For RPM installation, use the –relocate option when custom paths are needed. For example, the mapping /var/cache=/opt/cache moves the cache path during installation. The relocatable paths include /etc, /usr/share, /var/cache, /var/log, /var/run, and /var. Relocating /var keeps its subdirectories nested beneath the new directory.
When relocating /etc, update the allow-list parameter in acc.yml to reflect the new path. Review /usr/lib/systemd/system/acc.service after relocation and check its paths against the installed directories. Treat the package location, configuration location, and service paths as one review: a correct relocation argument does not remove the need to inspect the service definition.
Set the cloud connection values in acc.yml
Edit the agent’s acc.yml configuration file after installation. Enter the values for the intended environment, then save the file. Keep the gateway and instance values distinct: the gateway handles the cloud connection, while the instance value identifies the ServiceNow instance associated with the agent.
- backend-url: the cloud gateway URL.
- connect-without-mid: true.
- instance-url: the target instance URL.
- registration-key: the agent registration key.
- insecure-skip-tls-verify: false.
Comment out api-key for this configuration. Review the saved file rather than relying on values remembered from the installation command. A mixed configuration deserves correction before startup, especially when the host previously used a MID Server connection. If the intended design still depends on MID Servers, review multiple MID Servers for Agent Client Collector monitoring while deciding which route each deployment should use.
For help planning this work, see ServiceNow implementation.
Use the single-line installer with explicit MID-less parameters
The single-line installation method supplies connection values as environment variables to the installer retrieved from the instance. Retrieve the key through All > Agent Client Collector > Deployment > Agent Registration Key, select the relevant record, and copy its registration key value for the installation.
Set CONNECT_WITHOUT_MID to true, ACC_CNC to the public gateway endpoint, REGISTRATION_KEY to an active, valid agent registration key, and INSTANCE_URL to the registering instance. Keep the complete installation command on a single line when executing it. Substitute the actual environment values rather than leaving placeholder text in automation.
CONNECT_WITHOUT_MID controls a consequential choice: omitting its value invokes the regular MID Server websocket installation. Include it explicitly in deployment templates and review it alongside the gateway. ACC_CNC takes the public gateway endpoint, so copying a MID Server connection value into that variable does not describe the intended MID-less route.
Preserve the installer’s security defaults. ACC_ALLOW_LIST is enabled by default; setting it to 0 disables the allow list and compromises system security. That setting is intended temporarily while updating the allow list, after which ACC_ALLOW_LIST=1 enables it again. ACC_VALIDATE_SIG also defaults to enabled. Disable signature validation only when using nonstandard signature validation tools.
Configure sudoers and enable the Linux service
Have the Linux administrator configure the agent’s sudoers access. The manual workflow uses visudo -f /etc/sudoers.d/01_servicenow and defines the servicenow account through ACC_USERS. Its ACC_CMD list includes specific dmidecode queries for serial numbers and system UUID, plus /usr/sbin/ss -tanp. Retain the command scope instead of replacing it with unrestricted root access.
Review acc.service and its resource safeguards. The service settings include CPUShares=128, CPUQuota=10%, MemoryLimit=192M, BlockIOWeight=10, and LimitNICE=15. Check the environment paths and the servicenow user and group in the service definition alongside those limits.
If you modified the service file after enabling acc, run systemctl daemon-reload. Enable the service with systemctl enable acc and start it with systemctl start acc. Record the chosen package, configuration location, and service changes for the next administrator. For the adjacent monitoring workflow, see Agent Client Collector monitoring.
Check the handoff before expanding deployment
Review the installation in three parts. First, confirm that the package matches the host and that any relocated directories agree with the service file. Second, inspect the saved connection settings for the cloud gateway, instance, registration key, and MID-less selection. Third, confirm that the Linux service setup includes the required paths, account, sudoers commands, and resource settings.
Use that review to narrow a failed installation before repeating it. A package problem calls for checking the distribution and installation command. A restricted execution directory calls for reviewing relocation. A missing configuration option calls for checking acc.yml and the flags supplied to the configuration command. Keep those findings in the deployment record so a second host does not inherit the same unresolved setting.
Questions about configuration changes after installation
Can an installed agent move from a MID Server to MID-less configuration?
Yes. The acc gateway ics command supports configuring an installed agent for MID-less operation, including migration from a MID Server configuration. On Linux, run this configuration command with root access and restart the agent after making the change.
What happens when a configuration flag is omitted?
The command uses the existing acc.yml value for an omitted option. If that value is also absent, an error identifies the parameter needed to connect to an endpoint. Review inherited values before relying on a shortened command.
Does a successful configuration command prove the key is valid?
No. The command checks whether a connection can be made using the supplied parameters, but it does not validate the parameter values themselves. Keep key validity as a separate check rather than treating connection validation as complete registration evidence.
Can the configuration command target another acc.yml file?
Yes. Use -y to select the configuration file location. Without that flag, the command uses the default location. The other flags include -b for the gateway, -i for the instance, and -r for the registration key; -h explains the command.