Upgrade an agent in an instance
Perform selective self-upgrade instead of bulk upgrade for enhanced efficiency when working with agents that are difficult to access, such as agents deployed in the cloud. You can perform selective upgrade on up to 50 agents at a time.
Before you begin
Note:
Selective upgrade is available for the agents version 2.7.0 and above.
Supported Operating Systems: Windows, Linux and macOS.
Ensure that data files are up to date by restarting the MID Server and collecting host data. For details on collecting host data, see Run host data collection on demand.
Note:
Ensure that you have sudo permissions and that the following configurations are set:
| OS | Commands | Agent version |
|---|---|---|
| CentOS,Red Hat |
Default cache directory location:
|
2.7 |
| Debian, Ubuntu |
Default cache directory location:
|
2.7 |
| OS | OS version | Commands | Agent version |
|---|---|---|---|
| macOS |
|
2.7 |
When connecting via a MID Server, ACC installs need to access one of the following URLs:
- https://<MID-WEBSERVER-URI:PORT>/static/acc_installers
- https://install.service-now.com/
When upgrading MID-less agents, upgrade is performed at the URL set in the agent-upgrade-url-path property of the acc.yml file. If no URL is set at this property, upgrade is
performed by downloading the installer script from the following Content Delivery Network (CDN) URL: https://cdn-install.sncapps.service-now.com/glide/distribution/builds/package
Note:
When using a CDN,
send your download request through a proxy server, for added security. For details, see Configure a download proxy for Agent Client Collector upgrades.
Select the version to which you want to upgrade your agent.
- Navigate to .
- Select New.
- Assign the following values:
- Name = sn_agent.agent_upgrade_version
- Type = string
- Value = The version number to be upgraded to, in the format <major_version.minor_version.patch_version>. For example: 4.3.2
- Select Submit.
Role required:
- Windows: Local SYSTEM account (Agent Client Collector service running as Local System)
- Linux: sudo rpm/dpkg/systemd-run
- macOS: sudo pkg