Update the Analytics Environment

You have the following options for managing updates to the SAS High-Performance Analytics environment:
  • Delete the SAS High-Performance Analytics environment and install the newer version.
    See the procedure later in this topic.
  • Rename the root installation directory for the current SAS High-Performance Analytics environment, and install the newer version under the previous root installation directory.
  • Do nothing to the current SAS High-Performance Analytics environment, and install the new version under a new installation directory.
    When you change the path of the SAS High-Performance Analytics environment, you have to also have to reconfigure the SAS LASR Analytic Server to point to the new path. See “Add a SAS LASR Analytic Server” in the SAS Visual Analytics: Administration Guide.
Updating your deployment of the SAS High-Performance Analytics environment consists of deleting the deployment and reinstalling the newer version. To update the SAS High-Performance Analytics environment, follow these steps:
  1. If you are also updating your co-located Hadoop deployment, update Hadoop first, then the SAS High-Performance Analytics environment.
    For more information, see Updating Co-located Hadoop.
  2. Check that there are no analytics environment processes running on any machine:
    ps –ef | grep TKGrid
    If you find any TKGrid processes, terminate them.
    Tip
    You can issue a single simsh command to simultaneously check all the machines in the cluster: /HPA-environment-installation-directory/bin/simsh ps –ef | grep TKGrid.
  3. Delete the analytics environment installation directory on every machine in the cluster:
    rm -r -f /HPA-environment-install-dir
    Tip
    You can issue a single simsh command to simultaneously remove the environment install directories on all the machines in the cluster: /HPA-environment-installation-directory/bin/simsh rm -r -f /HPA-environment-installation-directory.
  4. Re-install the analytics environment using the shell script as described in Install the Analytics Environment.
Last updated: June 19, 2017