When you are migrating
to SAS Model Manager 12.1 from SAS Model Manager 2.1 or later, all
custom content from the
ext
directory
is automatically copied to SAS Model Manager 12.1
ext
directory
as part of the migration process. This content includes all user-defined
life cycle templates, model templates, report templates, and SAS code
files.
Here are the
ext
directory
locations for the different versions of SAS Model Manager:
Version of SAS Model
Manager
|
|
|
C:\sasinstalldir\SASAPCore\apps\ModelManagement\ext
|
|
\sasconfigdir\Lev#\AnalyticsPlatform\apps\ModelManager\ext
|
|
\sasconfigdir\Lev#\AppData\SASModelManager3.1\ext
|
|
\sasconfigdir\Lev#\AppData\SASModelManager12.1\ext
|
If the template files
are from SAS Model Manager 2.1, the SAS Demo User and SAS Administrator
participants in any custom life cycle templates must be changed. To
check to see whether your custom life cycle templates contain either
of those users in the participant list, do the following:
Note: You must use the DAVTree
utility in your SAS 9.3 deployment to modify files that are located
on the WebDAV Server. Only a SAS Administrator with Write access can
access the DAVTree utility. The DAVTree utility can be found in the
\sasconfigdir\Lev1\Web\Utilities
directory.
-
Run the
DAVTree.bat file
to open the DAVTree utility program. Select
FileOpen, enter the URL
http://server-name:port/SASContentServer/repository/default/ModelManager/
and
then click
OK.
-
Enter the user name
and password for the configured SAS Administrator or SAS Model Manager
Administrator.
-
Expand the
ConfigTemplates and
ext directories.
-
Right-click the custom
Life Cycle Template XML file and select
Edit to
open it in the text editor.
-
Replace all occurrences
of
SAS Demo User
with the user name
sasdemo
.
For example, replace the value of the name for
participant
id= “1”
in the XML file.
Before Change
<Participants>
<Participant id="1" name="SAS Demo User"/>
</Participants>
After Change
<Participants>
<Participant id="1" name="sasdemo"/>
</Participants>
-
Replace all occurrences
of
SAS Administrator
with the user
name that you configured as SAS Model Manager administrator (for example,
the user name
mdlmgradmin
).
-
Increment the version
number of the Life Cycle Template XML file by 1. For example, change
the value of
version
in the example
XML file from
“5”
to
“6”
.
Before Change
<LifecycleTemplate
name="Custom Lifecycle Template"
version="5"
isDefault="false"
description="A custom lifecycle template for users."
>
After Change
<LifecycleTemplate
name="Custom Lifecycle Template"
version="6"
isDefault="false"
description="A custom lifecycle template for users."
>
-
-
Repeat steps 1 through
5 for each custom life cycle template.
-
Restart the application
server where the SAS Model Manager EAR was installed in order for
the changes to take effect.