Cloud Agent Upgradation
Here are some best practices for managing your cloud agents. Refer to the Cloud Agent Technical Whitepaper for additional documentation and best practices.
Upgrading Cloud Agent
The Qualys Cloud Platform can be used to upgrade agents to newer available versions when agents check into the platform, depending on the settings in the Configuration Profile.
Software distribution tools can package the Cloud Agent installer of a newer version to upgrade already installed agents. In those cases the agents are not configured to auto-upgrade versions.
Following are the steps to upgrade Qualys Cloud Agent.
- Upgrade the Qualys Cloud Agent using the following command.
pkgadd -a /opt/qualys/cloud-agent/.pkg-update-noask -d package_file all
- Once upgraded, check the Cloud Agent version on both the Cloud Agent user interface and command-line tool. Use the following command to check the Cloud Agent version from the command-line tool.
pkginfo -l QLYSlxag | grep VERSION
- If the Cloud Agent user interface or command-line tool still shows an old version, restart the Cloud Agent services manually using the following command.
svcadm restart qualys-cloud-agent