SAS Analytics Pro
This section provides an overview of the setup process for SAS Analytics Pro on Domino (including Advanced Programming). Contact your Domino representative to learn more.- When you receive your license from SAS, you’ll receive a credential token to access the SAS container repository. Use the token to pull the base image for SAS Analytics Pro onto your local machine.
- Use a Dockerfile, provided by your Domino representative, to build a Domino-compatible image.
-
Include your SAS license file,
license.jwt, in the same location as the Dockerfile when building the Docker image. The license file will be copied into the container and the SAS license utility will run to license the software. - Push your newly created Docker image to a repository that your Domino deployment can access. This may be a repository hosted by your organization or a private repository within the Domino cluster.
- Once you have created the Docker image, create a new Domino Environment using the custom image path.
-
Add the pluggable properties provided by your Domino representative, and make sure the “start:” parameter points to the start script created in the Dockerfile
/opt/domino/workspaces/sas/start. - After building the Environment in Domino, you will be able to select it in the Workspace launch menu when starting a new Workspace in your Project.
SAS Analytics for containers on Domino
Learn how to build SAS as a container. The following instructions are similar to the official SAS instructions for containerization, but with a few key differences specific to Domino. To learn about the benefits of running SAS as a container, see SAS: Build and run a container. In this guide, you learn how to:- Get your SAS license.
- Create a TAR file of SAS Studio.
-
Create a Docker image that includes:
- SAS Studio TAR file.
- Dockerfile with instructions to build the Docker image.
- Start script provided by Domino.
- Use the Docker image to create pluggable Workspaces in Domino.
- Optional: Persist SAS preferences and add-ons.
Get your SAS license
To use a SAS Workspace in Domino, you must have a valid SAS license file.-
Go to
my.sas.comto download the license file. - Save the license file securely, you will use the license file to build the SAS Docker image later.
Create the SAS Studio TAR file
Bundle SAS Studio in a TAR file to run in your Docker container.- Run the SAS Deployment Wizard to install SAS Studio on a Linux machine with the same version and distribution as the Domino Compute Environment that you want to run the SAS container on.
-
During the installation, change the default location for the SAS Studio installation to
/usr/local/SASHome. -
Manually create a TAR file of SAS Studio that includes the
SASHomedirectory.
Create the Dockerfile instructions
Ensure that your Dockerfile includes a command to download and apply the valid SAS license file. The license file must be hosted on a server accessible through an HTTP request from the Domino cluster. When building the Environment image, this file must be available to the build host without authentication restrictions. Enter the following command in your Dockerfile Instructions:Create a start script
Create a start script in your Docker image to start SAS Studio. The following start script is a basic example, reach out to your Domino representative for guidance on creating a start script to suit your specific needs.Create the Docker image
Create the Docker image in a repository that Domino can access that includes the following:- SAS Studio TAR file
- Domino-provided start script
- Dockerfile with instructions
Enable SAS Workspace with pluggable Workspace properties
Paste the following code into Pluggable Workspace Tools to enable the SAS workspace.Optional: Persist SAS preferences and add-ons
To persist your SAS Studio preferences between Domino sessions, you can define a Post Run Script to automatically copy them to your Project Files when you Stop and Sync a session, and define a Pre Run Script to copy them from your Project Files into locations that SAS Studio recognizes at the start of subsequent sessions.-
Add the following lines in the Pre Run Script.
-
Add the following lines in the Post Run Script.
These scripts save add-ons per Project, so collaborators launching a Workspace in the same Project will have the same add-ons. However, the scripts save preferences per user in the Project so that each user can have a different set of preferences.
SAS Data Science Programming 3.5
To run SAS Data Science Programming 3.5 on Domino, contact your Domino representative to learn more. The following steps provide an overview of the process:- Build the SAS Data Science Programming 3.5 container using the SAS container recipes repository. The Dockerfile expects a centos7 base image with the SAS 3.5 components installed (CAS, SAS Studio, Base SAS, etc.).
-
The SAS license file,
license.jwt, will need to be in the same location as the Dockerfile when building the Docker image. The license file will be copied into the container and the SAS license utility will run to license the software. - Push your newly created Docker image to a repository that your Domino deployment can access. This may be a repository hosted by your organization or a private repository within the Domino cluster.
- Once you have created the Docker image, create a new Domino Environment using the custom image path.
-
Add the pluggable properties provided by your Domino representative, and make sure the “start:” parameter points to the start script created in the Dockerfile
/opt/domino/workspaces/sas/start. - After building the Environment in Domino, you will be able to select it in the Workspace launch menu when starting a new Workspace in your Project.