Agent to this release
Upgrading from older versions
The following instructions assume that you are upgrading from Agent version 2021.1.0 or later. If you are running 2020.x or earlier please contact SAS Technical Support for instructions specific to your version.
Unix¶
- Modify
!SASROOT/SASFoundation/9.x/bin/sasenv_local
updatingto:export ESMACTIVE=1
export ESMACTIVE=0
- Stop the Agent
- Rename the existing esm-agent installation folder to esm-agent_old
- Perform an installation of the Agent using these instructions ensuring that you install the Agent into the same location as the previous version
- Redo any changes that were made to the configuration files in the old version1
- Start the Agent
- Modify
!SASROOT/SASFoundation/9.x/bin/sasenv_local
updating the line that hasexport ESMACTIVE=0
to:export ESMACTIVE=1
Windows¶
- Modify
!SASROOT\SASFoundation\9.x\autoexec.sas
updatingto:options set = ESMACTIVE = 1;
options set = ESMACTIVE = 0;
- Stop the Agent
- Copy the existing esm-agent folder to esm-agent_old
- Perform an uninstall of the Agent using these instructions
- Perform an installation of the Agent using these instructions ensuring that you install the Agent into the same location as the previous version
- Redo any changes that were made to the configuration files in the old version1
- Start the Agent
- Modify
!SASROOT\SASFoundation\9.x\autoexec.sas
updating the line that hasoptions set = ESMACTIVE = 0;
to:options set = ESMACTIVE = 1;
Kubernetes¶
By default, the Agent has an image update policy that will always pull the latest version of the application image available at the latest
tag. Therefore, to get the latest version of the Agent, the pods within the DaemonSet just needs to be restarted.
- Restart the DaemonSet:
kubectl rollout restart daemonset sas-enterprise-session-monitor-agent -n default
-
Typically modifications are made to
esm-agent/bin/esm-bootstrap.sh
but modifications specific for your environment may have been made toesm-agent/bin/config.properties
. For assistance understanding or finding modifications that have been made in your environment, please contact SAS Technical Support. ↩↩
Created: April 24, 2023