Import a model created in SAS® Model Manager into SAS® Event Stream Processing Studio


SAS® Event Stream Processing projects can reference models that are stored in the SAS® Model Manager common model repository. When a project is deployed, the model is retrieved from the SAS Model Manager common model repository and written to the SAS Event Stream Processing server.

In order for a model to be retrieved successfully from the SAS Model Manager common repository and then imported for use in SAS Event Stream Processing Studio, your SAS deployment must meet the following criteria:

  1. The opt/sas/viya/config/etc/SASEventStreamProcessingEngine/default/mas-modules directory must be owned by the same user that runs the dfesp_xml_server process (typically, this user is sas).

    If your deployment does not contain the file permissions specified above, contact SAS Technical Support.

    Note: If the opt/sas/viya/config/etc/SASEventStreamProcessingEngine/default/mas-modules directory does not exist, you do not need to manually create it. The directory is created automatically by SAS Event Stream Processing.
     
  2. The following criteria apply when you import ASTORE content:
    1. If you are importing ASTORE content on a single-server deployment or on a deployment where SAS Event Stream Processing Studio is installed on the same host as the Compute service, the following directories must exist in your deployment:

Note: In the /models/astores/viya directory, viya is a symbolic link to the /opt/sas/viya/config/data/modelsvr/astore directory.

If these directories do not exist in your deployment, contact SAS Technical Support.

  1. If you are importing ASTORE content on a distributed deployment (that is, where SAS Event Stream Processing Studio is installed on a separate server from the Compute service), it is recommended that you create a Network File System (NFS) share.
  1. On each server running the Compute service, the following directories must exist:

Note: In the directory above, astore is a symbolic link to Network File System (NFS) share.
 

Note: In the directory above, viya shared Network File System (NFS) mount point.

  1. On the server running the SAS Event Stream Processing Studio server, the /models/astores/viya directory must exist:

Note: In the directory above, viya shared Network File System (NFS) mount point.

If the directories specified in step 2b do not exist in your deployment and/or you do not have access to a Network File System (NFS) share, contact SAS Technical Support.