Upgrading Wazuh agents on Solaris endpoints
Select your Solaris version and follow the steps to upgrade the Wazuh agent on Solaris endpoints.
Download the latest Solaris 11 installer. Choose one option depending on the host architecture.
Stop the Wazuh agent.
# /var/ossec/bin/wazuh-control stop
Upgrade the Wazuh agent. Choose one option depending on the host architecture.
Solaris 11 i386:
# pkg install -g wazuh-agent_v4.10.1-sol11-i386.p5p wazuh-agent
Solaris 11 sparc:
# pkg install -g wazuh-agent_v4.10.1-sol11-sparc.p5p wazuh-agent
Start the Wazuh agent.
# /var/ossec/bin/wazuh-control start
Download the latest Solaris 10 installer. Choose one option depending on the host architecture.
Stop the Wazuh agent.
# /var/ossec/bin/wazuh-control stop
Backup the
/var/ossec/etc/ossec.conf
and/var/ossec/etc/client.keys
files.# cp /var/ossec/etc/ossec.conf ~/ossec.conf.bk # cp /var/ossec/etc/client.keys ~/client.keys.bk
Remove the Wazuh agent.
# pkgrm wazuh-agent
Remove previous installation folder.
# rm -rf /var/ossec
Install the Wazuh agent. Choose one option depending on the host architecture.
Solaris 10 i386:
# pkgadd -d wazuh-agent_v4.10.1-sol10-i386.pkg wazuh-agent
Solaris 10 sparc:
# pkgadd -d wazuh-agent_v4.10.1-sol10-sparc.pkg wazuh-agent
Restore the
/var/ossec/etc/ossec.conf
and/var/ossec/etc/client.keys
files.# mv ~/ossec.conf.bk /var/ossec/etc/ossec.conf # chown root:wazuh /var/ossec/etc/ossec.conf # mv ~/client.keys.bk /var/ossec/etc/client.keys # chown root:wazuh /var/ossec/etc/client.keys
Start the Wazuh agent.
# /var/ossec/bin/wazuh-control start