This document provides instructions for installing Version 1.0 of the SAS Web Infrastructure Kit.
Personal or Advanced installation: A Personal or Advanced installation uses information from a planning document as input to the SAS Software Navigator and the SAS Configuration Wizard. You can use one of the standard plans that are provided with the wizard, or you can use your own customized plan that has been stored in a SAS project directory. For a Personal or Advanced installation, you should follow the customized instructions that are generated based on your plan. The customized instructions will direct you to specific steps in this document as needed. For more information about Personal and Advanced installations, refer to the SAS Intelligence Platform: Planning and Administration Guide on the SAS Web site. Installation Using the Software Index: An installation using the Software Index is performed without the use of plans and SAS project directories. For this type of installation, you should follow all of the pre-installation, installation, and post-installation steps that are provided in this document. |
---|
The Web applications that are included in the SAS Web Infrastructure Kit are designed to operate in a tiered environment using various servers, each of which can run on a separate machine. To help you get the applications up and running, the steps in this procedure will result in an initial installation in which all of the required servers and applications are running in the same container on the same machine.
If either the SAS Stored Process Web application or the SAS Web Report Viewer application will be running in a different container in your environment, then you must change your configuration files to enable the portal Web application to access the remote application. For instructions, see Redistributing Applications and Servers in the SAS Web Infrastructure Kit: Administrator's Guide on the SAS Web site. To expedite the installation process, you should read these instructions and make the configuration file changes before you run the configuration scripts in Step 6.
You can also use these instructions to move applications and servers after you have successfully installed the SAS Web Infrastructure Kit on a single machine. However, you will then need to rerun the configuration script (Step 6) and redeploy the Web applications (Step 11).
The default installation process configures the software to support only a limited number of users. If a large number of users will be accessing the portal Web application (and, in turn, the SAS servers), then additional performance tuning is required. Step 8, Step 10, and Step 15 in this document provide references to additional information that you can use to tune the SAS servers and the middle tier after your software is up and running.
In order to upgrade an existing SAS 9 installation with the latest software, you must follow the upgrade instructions in the Appendix of the SAS Intelligence Platform: Planning and Administration Guide on the SAS Web site.
The installation procedure for the SAS Web Infrastructure Kit installs the following application components:
- SAS Portal Web Application Shell
- a portal-like Web application shell that is used by other SAS Web applications (Note: For full portal capabilities, you must install the SAS Information Delivery Portal.)
- SAS Stored Process Web Application
- a Web application that enables stored processes to be run from the Web
- SAS Services Application
- a command line application that manages services that are shared by SAS applications
- SAS Documentation Web Application
- a Web application that manages SAS documentation
- SAS Preferences Web Application
- a Web application that manages user preferences for the portal Web application and for SAS solutions that are delivered through the portal
- SAS Themes Web Application
- a Web application that contains definitions for themes that are used by the portal Web application and by SAS solutions that are delivered through the portal
If you use the Software Index to install the SAS Web Infrastructure Kit, then you must follow these pre-installation, installation, and post-installation steps:
The current release of the SAS Web Infrastructure Kit requires the Java Runtime Environment (JRE) for installation and configuration. The servlet container where the Web applications will be deployed will require the Java 2 Software Development Kit (SDK), Standard Edition.
For the most recent list of third-party software versions and patches that are required for installation and configuration of SAS components, see Third-Party Software Downloads on the SAS Web site.
Note: The version of the JRE required for installation and configuration is different than the version of the JDK required to run the Web applications.
The current version of the SAS Web Infrastructure Kit requires the following SAS software:
- Version 9.1 of the SAS System
- At a minimum, you must install Base SAS and SAS Integration Technologies.
- SAS Management Console
- SAS Management Console enables you to create and manage your SAS Metadata Repository.
- SAS Foundation Services
- SAS Foundation Services includes a plug-in for SAS Management Console which enables you to manage SAS services and software used to run the SAS Services application as a Windows service.
In order to run the servlets and JavaServer Pages (JSPs) that are included in the SAS Web Infrastructure Kit, you must install a supported servlet container. A servlet container provides a runtime environment that supports concurrency, life cycle management, deployment, and other services for servlets and JSPs.
For the most recent list of third-party software versions and patches that are required for running SAS components, see Third-Party Software Downloads on the SAS Web site. It is strongly recommended that you read this information before installing the required third-party software.
Note: If the servlet container that you are using does not include the required version of the J2SDK, you must install it at this time.
Restriction: The name of the directory in which you install the servlet container cannot contain spaces. The remote method invocation (RMI) server that is started by the SAS Services application requires the servlet container to be installed in a directory that does not contain spaces.
Installation Tips: Installation Tips for specific servlet containers are provided throughout this document. These tips, which are enclosed in boxes, will help you get the SAS Web Infrastructure Kit up and running quickly. These tips are based on the version of the servlet container that was required at the time this document was written.
Installation Tips for Apache Tomcat 4.1.18 on Windows Systems |
---|
|
-Djava.security.manager -Djava.security.policy=CATALINA_HOME%/conf/catalina.policy
%CATALINA_HOME%/bin/tomcat.exe -install Apache-Catalina %JAVA_HOME%/jre/bin/server/jvm.dll -Djava.security.manager -Djava.security.policy= CATALINA_HOME%/conf/catalina.policy -Djava.class.path= %CATALINA_HOME%/bin/bootstrap.jar; %JAVA_HOME%/lib/tools.jar -Dcatalina.home=%CATALINA_HOME% %CATALINA_OPTS% -Xrs -start org.apache.catalina.startup.BootstrapService -params start -stop org.apache.catalina.startup.BootstrapService -params stop -out %CATALINA_HOME%/logs/stdout.log -err %CATALINA_HOME%/logs/stderr.log Use the following command to uninstall the Tomcat service: %CATALINA_HOME%/bin/tomcat.exe -uninstall Apache-Catalina |
|
Installation Tips for BEA WebLogic 8.1 SP2 on Windows Systems |
---|
|
|
|
|
Installation Tips for IBM WebSphere 5.1 FixPack 5.1.0.4 on Windows Systems |
---|
|
|
Installation Tips for Apache Tomcat 4.1.18 on Unix Systems |
---|
|
|
Installation Tips for BEA WebLogic 8.1 SP2 and SP1 on Unix Systems |
---|
|
|
|
|
|
Installation Tips for IBM WebSphere 5.1 FixPack 5.1.0.4 on Unix Systems |
---|
|
|
The next step is to install a WebDAV server according to the instructions provided by your server vendor. This step is optional.
If you choose to install the Xythos WebFile Server, then the following capabilities of the SAS Web Infrastructure Kit will be enabled. If you do not install the Xythos WebFile Server, then these capabilities will be disabled.
The Xythos WebFile Server installation process will create the directory structure that SAS software requires in order to store content and user definitions. The WFSInstaller
script will display the prompt Enter the path to the user area. The recommended default value for this field is /sasdav/Users
. If you enter this default value, then the WFSInstaller2
script (which executes after the WFSInstaller
script finishes) will create a top-level directory called /sasdav
on the server. This directory is referred to as the base path root. The WFSInstaller2
script will also create a /sasdav/Users
directory to store each user's personal content.
Note: The base path root that you specify during the Xythos WebFile Server installation must match the value that you specify during the SAS Web Infrastructure Kit installation in Step 5.
Run the installation program that is provided on the distribution CD. You must run this program on the same machine that will run the servlet container.
As the installation program executes, answer the prompts to provide the requested
information about your installation environment. Using this information, the
installation program will create an installation properties file that contains
name and value pairs. This file, which is called install.properties
,
will be located in the PortalConfigure
folder of the setup directory.
Note: Since you will need to enter some of the values from
the install.properties
file in later steps of the installation
process, you might want to print a copy of this file for reference.
If you are performing a Personal or Advanced installation, then continue with the SAS Software Navigator after the installation program has completed successfully.
If you are using the Software Index to perform the installation, and if you plan to install the SAS Information Delivery Portal Web Application directly after the SAS Web Infrastructure Kit, then you can stop here. To streamline the installation process, it is recommended that you install the SAS Information Delivery Portal Web Application before you complete the post-installation steps that begin with Step 6.
If you are performing a Personal or Advanced installation and you do not plan to install the SAS Information Delivery Portal Web Application in the immediate future, then you should continue with Step 6.
The installation program copies the components of the SAS Web Infrastructure Kit
to your computer in the path that you specify. On Windows systems, the default
installation location is C:\Program Files\SAS\Web\Portal2.0.1
. On
Unix systems, the default installation location is /usr/local/SAS/Web/Portal2.0.1
.
In this document, the Portal2.0.1
directory is referred to as
the setup directory.
The setup directory is organized into the following subdirectories:
- _uninstIDP
- if installed, contains the procedure and data for uninstalling the SAS Information Delivery Portal
- _uninstWIK
- contains the procedure and data for uninstalling the SAS Web Infrastructure Kit
- DeployedPortlets
- contains portlets, in the form of portlet archive (PAR) files, that are used by the portal Web application shell
- OMR
- contains SAS program (
.sas
) files which are used to load the required and demonstration metadata onto the SAS Metadata Server- Portal
- contains the portal Web application shell that will be installed in your servlet container
- PortalConfigure
- contains the
install.properties
file and the Web infrastructure configuration tool- SASPreferences
- contains the SAS Preferences Web application
- SASServices
- contains the SAS Services application
- SASServicesConfig
- contains files that are used to configure the SAS Java Foundation Services
- SASStoredProcess
- contains the SAS Stored Process Web application that will be installed in your servlet container
- sasweb
- contains the SAS graph applets that will be installed in your servlet container
- Tools
- contains a tool that you can use to remove the metadata that is used by the portal Web application shell
Note: If you are using the Software Index to perform the installation, and if you plan to install the SAS Information Delivery Portal Web Application directly after the SAS Web Infrastructure Kit: To streamline the installation process, it is recommended that you install the SAS Information Delivery Portal Web Application before you complete the following post-installation steps.
When you are finished running the installation program, you must run a configuration script which does the following:
install.properties
)
file that was created in the previous stepPortal.war
, SASStoredProcess.war
,
and sasweb.war
filesFollow these steps to run the configuration script:
If either the SAS Stored Process Web application or the SAS Web Report Viewer application will be running in a different container in your environment, then you must change your configuration files to enable the portal Web application to access the remote application. For instructions, see Redistributing Applications and Servers in the SAS Web Infrastructure Kit: Administrator's Guide on the SAS Web site. To expedite the installation process, you should read these instructions and make the configuration file changes before you run the configuration script.
You can also redistribute applications and servers after you have successfully installed the SAS Web Infrastructure Kit on a single machine. However, you will then need to rerun the configuration script (Step 6-d) and redeploy the Web applications (Step 11).
In the following situations, you must update the install.properties
file before you run the configuration script. The install.properties
file can be found in the PortalConfigure
subdirectory of the
setup directory. The required changes are as follows:
If you choose to run a WebDAV Server but you choose not
to run the Xythos WebFile Server: Add the following line to
the install.properties
file before you run the configuration
script:
$DAV_XYTHOS$=false
The $DAV_XYTHOS$=false
setting disables the WebDAV
capabilities that require the use of the Xythos WebFile Server.
If you choose not to run a WebDAV Server:
Add the following lines to the install.properties
file
before you run the configuration script:
$DAV_AUTOCONNECT$=false $DAV_XYTHOS$=false
The $DAV_AUTOCONNECT$=false
setting prevents the Web
applications that are included in the SAS Web Infrastructure Kit from automatically
trying to connect to the WebDAV server. The $DAV_XYTHOS$=false
setting disables WebDAV capabilities that are supported only with
the Xythos WebFile Server.
install.properties
file to
specify the application name that is to appear in the banner of the portal
Web application. As a default, the application name "SAS Portal"
is displayed in the banner.
If you want to display a different application name, then add the following
property to the install.properties
file before you run the
configuration script:
$NAME_IN_BANNER$=Application Namewhere
Application Name
is the name that you want to
display.
configure_wik.bat
.
configure_wik.sh
.
Note: On both Windows and Unix systems, the Java executable must be present in your path.
The configuration script configures the Web applications, copies local and remote services deployment files and configuration files to the appropriate directory, and creates WAR files.
The SAS Web Infrastructure Kit uses the SAS Metadata Server, which is a repository for maintaining metadata that is used by SAS products throughout the enterprise. The form of user authentication that you choose to use (host authentication, LDAP authentication, Microsoft Active Directory authentication, or Web server authentication) influences how the SAS Metadata Server is configured.
These instructions apply to a SAS Metadata Server that is configured for host authentication. If your metadata server is configured for another type of authentication, refer to one of the following sections of the SAS Web Infrastructure Kit: Administrator's Guide:
If your metadata server is configured for host authentication, the following instructions will help you configure the SAS Metadata Server for the Web applications that are included in the SAS Web Infrastructure Kit:
For the operating system of the machine where the SAS Metadata Server is installed, set up the necessary accounts for the required and demonstration users. Use the appropriate procedure for your operating system to add the following user accounts to the machine:
SAS (required for Unix and z/OS only): Add an individual account for the
SAS user and a group account for the SAS group. For example, specify a user ID such as sas
and a password
such as Admin123
, and specify the group ID sas
(or sasgrp
on z/OS) and the password Admin123
. (Note: You did not
enter information for this user and group when you ran the installation program).
This user identity should be used to start SAS servers.
Unix Systems
There are no special instructions for Unix systems.
z/OS Systems
There are no special instructions for z/OS systems.
SAS Administrator (Required): Add an individual account for
the SAS Administrator user. Specify a user ID such as sasadm
and a password such as Admin123
. (Note: You did
not enter information for this user when you
ran the installation program.)
The SAS Administrator user has privileges to manage user accounts and to administer the metadata server. The user ID has unrestricted access to the metadata and should be protected accordingly.
Windows Systems
On Windows systems, give this user the user right Log on as
a batch job
.
Unix Systems
There are no special instructions for Unix systems.
z/OS Systems
There are no special instructions for z/OS systems.
SAS Trusted User (Required): Add an individual account for
the SAS Trusted user. Specify a user ID such as sastrust
and a password such as Trust123
. (Note: You must
specify exactly the same user ID and password that you specified when
you ran the installation program. If you do not remember the user ID and
password, then refer to the install.properties
file,
which is located in the PortalConfigure
subdirectory
of the setup directory.)
The SAS Trusted user account is used by SAS servers to connect to the metadata server, to perform trusted Web logins, and to act as the pool administrator when workspace pooling is configured. Because this user ID is a trusted ID, SAS servers can use it to impersonate authenticated clients on the metadata server (that is, the servers can use it to communicate with the metadata server on behalf of clients).
Windows Systems
On Windows systems, give this user the user right Log on as
a batch job
.
Unix Systems
There are no special instructions for Unix systems.
z/OS Systems
There are no special instructions for z/OS systems.
SAS General Servers (Required): Add a shared account for the
SAS General Servers group (shared) login. A shared account is an account
that maps to a login that is owned by a SAS group on the SAS Metadata
Server. Specify a user ID such as sassrv
and a password
such as Admin123
. (Note: You must specify exactly
the same user ID and password that you specified when you ran the
installation program.)
These credentials are used by stored process clusters and workspace puddles to connect to servers.
Windows Systems
For the following Windows systems, give this account the specified user rights:
Act as part of the Operating
System
Log on as a batch job
Unix Systems
There are no special instructions for Unix systems.
z/OS Systems
There are no special instructions for z/OS systems.
SAS Guest (Required): Add an individual account for the SAS
Guest user. Specify a user ID such as sasguest
and a
password such as Guest123
. (Note: You must specify
exactly the same user ID and password that you specified when you
ran the installation program.)
This account is a generic user account. It has the lowest level of security privileges.
Windows Systems
On Windows systems, give this user the user right Log on as
a batch job
.
Unix Systems
There are no special instructions for Unix systems.
z/OS Systems
There are no special instructions for z/OS systems.
SAS Web Administrator (Required): Add an individual account
for the SAS Web Administrator user. Specify a user ID such as saswbadm
and a password such as Admin123
. (Note: You must
specify exactly the same user ID and password that you specified when
you ran the installation program).
This account has permission to administer the metadata for the SAS Web Infrastructure Kit.
Windows Systems
On Windows systems, give this user the user right Log on as
a batch job
.
Unix Systems
There are no special instructions for Unix systems.
z/OS Systems
There are no special instructions for z/OS systems.
SAS Demo User (Optional): Add an individual account for the
SAS Demo user. Specify a user ID such as sasdemo
and
a password such as Demo123
. (Note: You must specify
exactly the same user ID and password that you specified when you
ran the installation program.)
This account has permission to run the Web applications that are included in the SAS Web Infrastructure Kit.
Windows Systems
On Windows systems, give this user the user right Log on as
a batch job
.
Unix Systems
There are no special instructions for Unix systems.
z/OS Systems
There are no special instructions for z/OS systems.
To set up your SAS Metadata Server, see the setup instructions that are provided in the SAS 9 SAS Metadata Server Setup Guide on the SAS Web site.
If your metadata server is configured for host authentication, use the following guidelines to set up the server. (Note: The links will direct you to specific sections of the SAS 9 SAS Metadata Server Setup Guide on the SAS Web site.)
Create directories for the metadata server, repository manager, and repositories.
Set directory and file access permissions.
Note: Give the SAS account (which you created in the previous step) the required permissions to this directory.
Set system access permissions.
The Windows system access permissions for each account are specified in Step 7-a.
Set server configuration options in an omaconfig.xml file.
Note: Make sure that the file omaconfig.xml
contains
the security setting <OMA AUTHCHCK="INHERIT"/>
.
For example:
<OMAconfig> <OMA AUTHCHCK="INHERIT"/> </OMAconfig>
Configure
special users in the adminUsers.txt
and trustedUsers.txt
files.
Notes:
In the file adminUsers.txt
, add an entry for the
SAS Administrator user. For Windows systems, this entry must be
fully qualified with the Windows domain or machine name. In addition,
to grant unrestricted access to this user (so that the user can
locate users to load metadata), you must place an asterisk in
the first character position of the fully qualified user ID.
In the file trustedUsers.txt
, add an entry for the
SAS Trusted User. For Windows systems, this entry must be fully
qualified with the Windows domain or machine name.
Note: When you create the script that is used to start the SAS Metadata Server:
Specify the same port number that you specified when you ran
the installation program. If you do not remember what value you specified,
check the value of the $SERVICES_OMI_PORT$
property
in the install.properties
file (located in the PortalConfigure
subdirectory of the setup directory).
Specify the correct path for sas.exe
.
Start SAS Management Console, and create a new profile and metadata repository. Use the following values when you respond to the prompts:
Machine Name. Specify the same machine name that you specified
when you ran the installation program. If you do not remember the value
that you specified, check the value of the $SERVICES_OMI_HOST$
property in the install.properties
file (located in the
PortalConfigure
subdirectory of the setup directory).
Port. Assign the same port that you specified when you ran
the installation program. If you do not remember the value that you specified,
check the value of the $SERVICES_OMI_PORT$
property in
the install.properties
file.
Add Repository. If you are creating a new repository, it must
be a Foundation repository. Assign the same repository name that you
specified when you ran the installation program. If you do not remember
the value that you specified, check the value of the $SERVICES_OMI_REPOSITORY$
property in the install.properties
file.
Specify the default engine (Base
), and set the repository
path to the repository directory that you created in Step 7-b.
While SAS Management Console is still connected to your new repository, use SAS Management Console's User Manager to add the required and demonstration users and their logins to the repository.
For host authentication, each user must have access to login credentials for all of the authentication domains that contain resources that the user will access. Before you set up users, you should understand the portal Web application shell's requirements for authentication domains and user credentials. For details, see Planning for Authentication Domains in the SAS Web Infrastructure Kit: Administrator's Guide.
If you have already created a user definition for one of these users as part of another installation, do not create the definition again. Instead, modify the login definitions as specified. For details about defining SAS users, see Defining a User in the SAS Management Console: User's Guide on the SAS Web site.
When you define or modify a new user and login definition, the User Manager requires that you make entries in the following fields on the General tab and the Logins tab:
SAS Administrator
)
RALEIGH\sasadm
)
Admin123
)
DefaultAuth
)
Add new user definitions for the following users and associated user IDs:
SAS Administrator. Add a new user and login definition for the SAS Administrator user. You must specify the following:
a user name such as SAS Administrator
exactly the same fully qualified user ID (for example, RALEIGH\sasadm
) that you specified
for this user in Step 7.a
The password and authentication domain are not required and should be left blank because this user definition is only used for authorization decisions.
SAS Trusted User. Add a new user and login definition for the SAS Trusted User. You must specify the following:
exactly the same user name that you specified for this user when
you ran the installation program (for example, SAS Trusted User
).
If you do not remember the name that you specified, refer to the
install.properties
file.
exactly the same fully qualified user ID (for example, RALEIGH\sastrust
) that you specified
for this user in Step 7.a.
the default authentication domain (for example, DefaultAuth
)
that you specified when you ran the installation program. If you do
not remember the value that you specified, refer to the $SERVICES_OMI_DOMAIN$
property in the install.properties
file.
The password is not required and should be left blank because this user definition is only used for authorization decisions.
SAS Web Administrator. Add a new user and login definition for the SAS Web Administrator user. You must specify the following:
exactly the same user name that you specified for this user when
you ran the installation program (for example, SAS Web Administrator
).
If you do not remember the name that you specified, refer to the
install.properties
file.
exactly the same fully qualified user ID (for example, RALEIGH\saswbadm
)
and password (for example, Admin123
) that you specified
for this user in Step 7.a.
the default authentication domain (for example, DefaultAuth
)
that you specified when you ran the installation program. If you do
not remember the value that you specified, refer to the $SERVICES_OMI_DOMAIN$
property in the install.properties
file.
SAS Guest. Add a new user and login definition for the SAS Guest user. You must specify the following:
exactly the same user name that you specified for this user when
you ran the installation program (for example, SAS Guest
).
If you do not remember the name that you specified, refer to the
install.properties
file.
exactly the same fully qualified user ID (for example, RALEIGH\sasguest
)
and password (for example, Guest123
) that you specified
for this user in Step 7.a.
the default authentication domain (for example, DefaultAuth
)
that you specified when you ran the installation program. If you do
not remember the value that you specified, refer to the $SERVICES_OMI_DOMAIN$
property in the install.properties
file.
SAS Demo User. Add a new user and login definition for the SAS Demo user. You must specify the following:
exactly the same user name that you specified for this user when
you ran the installation program (for example, SAS Demo User
).
If you do not remember the name that you specified, refer to the
install.properties
file.
exactly the same fully qualified user ID (for example, RALEIGH\sasdemo
)
and password (for example, Demo123
) that you specified
for this user in Step 7.a.
the default authentication domain (for example, DefaultAuth
)
that you specified when you ran the installation program. If you do
not remember the value that you specified, refer to the $SERVICES_OMI_DOMAIN$
property in the install.properties
file.
While SAS Management Console is still connected to your new repository, use SAS Management Console's User Manager to add the initial groups to the repository and to add the necessary users to those groups.
If you have already created a group definition for one of these groups as part of another installation, do not create the definition again. However, you must make sure that all of the specified users have been added to the group.
SAS General Servers: Add a group login definition that specifies
the login credentials for the SAS General Servers account that you
defined on the host authentication provider. You must specify exactly
the same name (for example, SAS General Servers
), fully qualified user
ID (for example, RALEIGH\sassrv
), and password (for example,
Admin123
) that you specified in the installation program and
in Step 7.a.
Note: Specify the default authentication domain that
you specified when you ran the installation program. If you do not remember
the value that you specified, check the value of the $SERVICES_OMI_DOMAIN$
property in the install.properties
file.
Add the SAS Trusted User as a member of the SAS General Servers group.
SAS System Services: Add a new group definition
for SAS System Services. For this group, specify the name SAS
System Services
. Add the SAS Trusted User and SAS Web Administrator
users as members of this group.
Portal Admins: Add a new group definition for Portal Admins.
For this group, specify the name Portal Admins
. Add the
SAS Web Administrator user as a member of this group.
Portal Demos. Add a new group definition for Portal Demos.
For this group, specify the name Portal Demos
. Add the
SAS Demo user as a member of this group.
While SAS Management Console is still connected to your new repository, use SAS Management Console's Authorization Manager to define default authorizations for the resources in this repository. By default, all authenticated users have access to this repository. Since it is a common practice to limit access after adding more users to the system, you must define some additional authorizations that are needed by the SAS services.
If you have already performed these tasks as part of another installation, do not perform them again.
Expand the Authorization Manager node, and then expand the Access Control Templates folder that it contains.
Under Access Control Templates, select the Default ACT template. Then select File -> Properties (or click the right mouse button, and select Properties).
Select the Users and Permissions tab.
Click Add.
In the Add Users or Group dialog box, move the SAS System Services group identity from the Available Identities list to the Selected Identities list. Click OK to save the change.
With SAS Systems Services highlighted in the list of names on the Users and Permissions tab, check the Permissions list at the bottom of the tab to verify that the ReadMetadata permission is granted to this identity.
Click Add again.
In the Add Users or Group dialog box, move the SAS Administrator user identity from the Available Identities list to the Selected Identities list. Click OK to save the change.
With SAS Administrator highlighted in the list of names on the Users and Permissions tab, select the Grant check box for each permission in order to grant all permissions to this user.
Click OK to save the changes.
For more information about defining users and groups, refer to the SAS Management Console User Manager Help and to Defining Users, Groups, and Logins in the SAS Integration Technologies: Server Administrator's Guide.
The next step is to install required and demonstration metadata for the common infrastructure, the portal structure, users, groups, stored processes, and servers into your metadata repository.
To load most of the metadata, you can run SAS programs that are provided
with the SAS Web Infrastructure Kit. These programs are in files with the
extension .sas
. You must run these programs on a machine that
has the SAS Foundation installed.
Two versions of every SAS program file are provided:
The version whose file name ends with _utf8.sas
uses
UTF-8 character encoding. This version must be executed using SAS System
software that is Unicode-enabled.
The version with only the file name extension .sas
(without
_utf8
) uses the character encoding of the machine where
the configure_wik
script was run. This version must be
executed using SAS System software that is running the same character
encoding.
Caution: The SAS programs that are provided with the SAS Web Infrastructure Kit will abort if they are run more than once.
Caution: If you want to load the demonstration metadata, be sure to complete this entire step before you bring up the portal Web application shell.
Follow these steps:
(Required): To load the required metadata into your metadata repository, follow the appropriate procedure for your platform:
On Windows systems, follow these steps:
Go to the OMR subdirectory of the setup directory.
Right-click on LoadDefaultPreferences.sas
or
LoadDefaultPreferences_utf8.sas
, and select Batch Submit
with SAS 9.1. When the program is finished, look for the message
"NOTE: Successfully loaded metadata" near the bottom
of the log file to validate the metadata installation.
Right-click on LoadPreferencesConnection.sas
or
LoadPreferencesConnection_utf8.sas
, and select Batch Submit
with SAS 9.1. When the program is finished, look for the message
"NOTE: Successfully loaded metadata" near the bottom
of the log file to validate the metadata installation.
Right-click on LoadThemeConnection.sas
or
LoadThemeConnection_utf8.sas
, and select Batch Submit
with SAS 9.1. When the program is finished, look for the message
"NOTE: Successfully loaded metadata" near the bottom
of the log file to validate the metadata installation.
Go to the OMR subdirectory of the setup directory.
Submit LoadDefaultPreferences.sas
or LoadDefaultPreferences_utf8.sas
with SAS 9.1. When the program is finished, look for the
message "NOTE: Successfully loaded metadata" near the
bottom of the log file to validate the metadata installation.
Submit LoadPreferencesConnection.sas
or LoadPreferencesConnection_utf8.sas
with SAS 9.1. When the program is finished, look for the
message "NOTE: Successfully loaded metadata" near the
bottom of the log file to validate the metadata installation.
Submit LoadThemeConnection.sas
or LoadThemeConnection_utf8.sas
with SAS 9.1. When the program is finished, look for the
message "NOTE: Successfully loaded metadata" near the
bottom of the log file to validate the metadata installation.
On z/OS systems, follow these steps:
Go to the OMR subdirectory of the setup directory.
Use the ftp
utility to transfer all of the SAS
programs as text files from the setup machine to the z/OS system.
Log on to the z/OS system.
On the z/OS system, submit LoadDefaultPreferences.sas
or LoadDefaultPreferences_utf8.sas
with
SAS 9.1. When the program is finished, look for the message "NOTE:
Successfully loaded metadata" near the bottom of the log
file to validate the metadata installation.
On the z/OS system, submit LoadPreferencesConnection.sas
or LoadPreferencesConnection_utf8.sas
with
SAS 9.1. When the program is finished, look for the message "NOTE:
Successfully loaded metadata" near the bottom of the log
file to validate the metadata installation.
On the z/OS system, submit LoadThemeConnection.sas
or LoadThemeConnection_utf8.sas
with
SAS 9.1. When the program is finished, look for the message "NOTE:
Successfully loaded metadata" near the bottom of the log
file to validate the metadata installation.
Note: For additional information on changing preferences once they are installed, see Changing the Default Preferences in the SAS Web Infrastructure Kit: Administrator's Guide on the SAS Web site.
Note: For additional information on changing theme metadata, see Theme Deployment in the SAS Web Infrastructure Kit: Administrator's Guide on the SAS Web site.
(Optional): To load the demonstration metadata into your metadata repository, follow the appropriate procedure for your platform:
On Windows systems, follow these steps in the order specified:
Go to the OMR subdirectory of the setup directory.
Right-click on LoadPortalStructure.sas
or
LoadPortalStructure_utf8.sas
, and select Batch Submit
with SAS 9.1. When the program is finished, look for the message
"NOTE: Successfully loaded metadata" near the bottom
of the log file to validate the metadata installation.
Right-click on LoadStoredProcessSamples.sas
or
LoadStoredProcessSamples_utf8.sas
, and select Batch
Submit with SAS 9.1. When the program is finished, view the
log file to validate the metadata installation.
Note: In some cases this program may prompt you for credentials to access the metadata server. If you are prompted for credentials, use the user ID and password you created for the SAS Administrator user in Step 7 above.
Go to the OMR subdirectory of the setup directory.
Submit LoadPortalStructure.sas
or LoadPortalStructure_utf8.sas
with SAS 9.1. When the program is finished, look for the
message "NOTE: Successfully loaded metadata" near the
bottom of the log file to validate the metadata installation.
Submit LoadStoredProcessSamples.sas
or
LoadStoredProcessSamples_utf8.sas
with SAS 9.1. When the
program is finished, view the log file to validate the metadata
installation.
Note: In some cases this program may prompt you for credentials to access the metadata server. If you are prompted for credentials, use the user ID and password you created for the SAS Administrator user in Step 7 above.
Go to the OMR subdirectory of the setup directory.
Use the ftp
utility to transfer all of the SAS
programs as text files from the setup machine to the z/OS system.
Log on to the z/OS system.
On the z/OS system, submit LoadPortalStructure.sas
or LoadPortalStructure_utf8.sas
with SAS 9.1. When
the program is finished, look for the message "NOTE: Successfully
loaded metadata" near the bottom of the log file to validate
the metadata installation.
On the z/OS system, submit LoadStoredProcessSamples.sas
or LoadStoredProcessSamples_utf8.sas
with
SAS 9.1. When the program is finished, view the log file to validate
the metadata installation.
Note: In some cases this program may prompt you for credentials to access the metadata server. If you are prompted for credentials, use the user ID and password you created for the SAS Administrator user in Step 7 above.
Note: For additional information on removing portal metadata, see SAS Portal Metadata Tool in the SAS Web Infrastructure Kit: Administrator's Guide on the SAS Web site. After running this tool, it is safe to reload LoadPortalStructure.sas
.
Note: For additional information on changing stored process server definitions, see Services, Server, Portlet, and Theme Deployment in the SAS Web Infrastructure Kit: Administrator's Guide on the SAS Web site.
Note: For information about converting the workspace server to a pooled workspace server, see the chapter titled "Configuring Your Servers for Better Performance" in the SAS Intelligence Platform: Planning and Administration Guide on the SAS Web site. Workspace pooling enhances the performance of SAS servers when they are running in a multiple-user environment.
(Required if you use the Xythos WebDAV server): You must create an entry for an HTTP server in your metadata repository. To create this entry:
install.properties
file (located
in the PortalConfigure
subdirectory of the setup directory):
$DAV_DOMAIN$
$DAV_BASE$
$DAV_HOST$
$DAV_PORT$
(Required if you are using the SAS Metadata Server as the location
for SAS Foundation Services metadata): When you ran the installation
program, you were prompted to select either XML File
or SAS
Metadata Server
as the location for foundation services metadata.
If you used the default location or selected SAS Metadata Server
as the location, then
you must perform the following steps in order to load the metadata.
If you do not remember what location you selected, check the value of
the $SERVICES_OMI_METADATA_LOCATION$
property in the
install.properties
file (located in the PortalConfigure
subdirectory of the setup directory). If the value of this property is
omr
, then you must perform the following steps:
Start SAS Management Console, and access the Foundation Services Manager.
From the Actions menu, select Import Service Deployment...
On the Import Service Deployment dialog box, click Add...
and then select the following service deployment files, which are located in the SASServicesConfig
subdirectory of the setup directory:
sas_services_idp_local_omr.xml
sas_services_idp_remote_omr.xml
While the Import Service Deployment dialog box is still open, click OK to import the files.
Note: If the install.properties
file
is changed after you perform this step and the configuration script (configure_wik.bat
or
configure_wik.sh
) is rerun, then the foundation services metadata may be affected.
To ensure that the foundation services metadata changes are applied,
you must:
Use SAS Management Console to delete the service deployments from the SAS Metadata Server.
Re-import the service deployment files as described above.
Any changes that had been made to the previous service deployments using SAS Management Console will be lost.
For additional information on loading metadata, see the Installation section of the SAS Web Infrastructure Kit: Administrator's Guide.
The SAS Web Infrastructure Kit uses a SAS Stored Process Server and a SAS Workspace Server for various functions, including executing stored processes and accessing information maps. These servers are started by the SAS Object Spawner. To set up the SAS Object Spawner, follow the appropriate steps for your operating system environment.
Create a directory for the spawner configuration and log files. The recommended
directory name is ObjectSpawner
. The directory should be
located in the server home location that you specified when you ran the
installation program (for example, C:\Program Files\SAS\Servers\ObjectSpawner
).
If you do not remember the server home location, check the value of the
$IOM_SERVERS_HOME$
property in the install.properties
file, which is located in the PortalConfigure
subdirectory
of the setup directory.
Use the Metadata Server Connections utility to create the metadata configuration file for the spawner, as follows:
Start SAS 9.1 from the Windows Start menu.
In the SAS command bar, type METACON
. Then press Enter.
The Metadata Server Connections window is displayed.
Click the Add button to add a new connection definition. Enter
SAS Object Spawner
in the Name field, and enter the connection
parameters. In the User Name and Password fields, enter the SAS Trusted
User credentials that you specified when you ran the installation program.
You can find these credentials in the $SERVICES_OMI_USER_ID$
and $SERVICES_OMI_USER_PASSWORD$
properties in your
install.properties
file.
If the SAS Metadata Server is running, you can test your configuration by clicking the Test button.
Export the connection definition by clicking the Export button
and then saving the connection to a file named MetadataServer.xml
in the spawner configuration directory.
Click OK to close the Metadata Server Connections window. You can now exit SAS 9.1.
Note: The metadata configuration file that you just created contains trusted access credentials for the metadata server. To control access to this information, you must set appropriate access controls on the spawner configuration directory.
Create a startup script in the new directory, and save the script using
the name StartSpawner.bat
.
Here is an example startup script for an installation using default values.
Note: If you copy and paste this code, you must remove
the line breaks from the objspawn
start line. The values
that are displayed in italics might need to be changed for your
installation.
@echo off cd /d "C:\Program Files\SAS\Servers\ObjectSpawner" echo STARTING OBJECT SPAWNER ... SET I=0 :LOOP SET /A I=I+1 IF EXIST spawner_%I%.log GOTO LOOP start/min "SAS Object Spawner" "C:\Program Files\SAS\SAS 9.1\objspawn" -sasSpawnercn "localhost Spawner" -xmlConfigFile MetadataServer.xml -slf spawner_%I%.log
The -sasSpawnercn
option in the objspawn
start line specifies the name of the spawner definition in the metadata
repository. This option should be set to the name of the SAS server machine
(as specified in the $STP_HOST$
property of the install.properties
file) followed by Spawner
.
Create a directory for stored process server log files. The recommended
directory name is STPDemo
, and the recommended location
is the server home location that you specified when you ran the installation
program (for example, C:\Program Files\SAS\Servers\STPDemo
).
If you do not remember the server home location, see the $STP_HOME$
property in the install.properties
file.
If needed, set up a SAS General Servers account on the spawner machine's
operating system, including a name (for example, SAS General Servers
),
a user ID (for example, sassrv
), and a password (for example,
Admin123
). You must use the exact user ID and password that
you specified when you ran the installation program. The spawner uses these
credentials to launch the SAS Stored Process Server as a multi-user server.
On Windows NT and Windows 2000, the SAS General Servers account must
have the Act as part of the Operating System
security policy.
Give the SAS General Servers account write permission to the stored process directory that was created in the previous step.
For the user who invokes the spawner, define the appropriate user rights as described in Step 1 of the Starting the Spawner on Windows section of the SAS Integration Technologies: Server Administrator's Guide.
Create a directory for spawner configuration and log files. The recommended
directory name is ObjectSpawner
in the server home location
that you specified when you ran the installation program (for example,
/usr/local/SAS/Servers/ObjectSpawner
).
If you do not remember the server home location, then see the $IOM_SERVERS_HOME$
property in the install.properties
file located in the
PortalConfigure
subdirectory of the setup directory.
Use the Metadata Server Connections utility to create the metadata configuration file for the spawner, as follows:
Start SAS 9.1 in display manager mode (use the -DMS
option).
Type METACON
in the command bar, and press the Enter
key.
Click the Add button to add a new connection definition. Enter
the connection name SAS Object Spawner
, and fill in
the connection parameters. In the User Name and Password fields, enter
the SAS Trusted User credentials that you specified when you ran the
installation program. You can find these credentials in the $SERVICES_OMI_USER_ID$
and $SERVICES_OMI_USER_PASSWORD$
properties in your
install.properties
file.
If the SAS Metadata Server is running, then you can test your configuration by clicking the Test button.
Export the connection definition by selecting the Export button,
and save the connection to a file named MetadataServer.xml
in the spawner configuration directory.
Click OK to close the window. You can now exit
SAS 9.1
.
Note: The metadata configuration file that you just created contains trusted access credential for the metadata server. To control access to this information, you must set appropriate access controls on the configuration file or the spawner configuration directory.
Create a startup script in the new directory, and save the script using
the name StartSpawner.sh
.
Here is an example startup script for an installation using default values:
Note: If you copy and paste this code, make sure to remove the
line break from the objspawn
line. The values in italics
might need to be changed for your installation.
#!/bin/ksh cd "/usr/local/SAS/Servers/ObjectSpawner" echo STARTING OBJECT SPAWNER ... I=1 while test -f spawner_$I.log; do let I=$I+1; done; /usr/local/SAS/utilities/bin/objspawn -sasSpawnercn "localhost Spawner" -xmlConfigFile MetadataServer.xml -slf spawner_$I.log
The -sasSpawnercn
option in the objspawn
start line specifies the name of the spawner definition in the metadata
repository. This option should be set to the name of the SAS server machine
(as specified by the $STP_HOST$
property in the install.properties
file) followed by Spawner
.
Create a directory for stored process server log files. The recommended
directory name is STPDemo
, and the recommended location
is the server home location that you specified when you ran the installation
program (for example, /usr/local/SAS/Servers/STPDemo
).
To verify the server home location, see the $STP_HOME$
property
in the install.properties
file.
If needed, set up the SAS General Servers account on the spawner machine's
operating system. For example, you could specify the name SAS General
Servers
, the user ID sassrv
, and the password
Admin123
. (Note: You must specify the exact user ID and
password that you specified when you ran the installation program.) The
spawner uses these credentials to launch the SAS Stored Process Server as
a multi-user server.
Give this user write permission to the stored process directory that you created in the previous step.
For the user who invokes the spawner, define the appropriate user rights as outlined in Step 1 of the Starting the Spawner on Unix section of the SAS Integration Technologies: Server Administrator's Guide.
On z/OS systems, use the z/OS configuration wizard to set up SAS servers.
The SAS Web Infrastructure Kit requires a security manager to be running in the Java Virtual Machine (JVM) that the servlet container uses. You might also want to set JVM system variables for system tuning or to access content through a firewall. The following settings might be useful in helping you set up your servlet container environment. Some of these options are specific to a particular JVM. You should always refer to the documentation for your servlet container and JVM before setting any options.
-Djava.awt.headless=true
java.awt.headless
parameter. This
parameter can be safely removed when running the IBM JDK on Windows. When
running the IBM JDK on AIX, you must ensure that the JVM has access to a valid X
display. This can be accomplished by either setting the DISPLAY
environment
variable to point to a running X server, or by configuring IBM's X Virtual Frame
Buffer (XVFB).
-Dhttp.proxyHost=host
-Dhttp.proxyPort=port
Details on tuning the JVM can be found in the SAS Intelligence Platform: Planning and Administration Guide, which is available on the SAS Web site. The settings that are specified in the Installation Tips sections below are the minimal settings needed to bring up the SAS Web Infrastructure Kit Web applications. These settings must be modified if additional Web applications are running in the same JVM or if multiple users will be accessing the SAS Web Infrastructure Kit Web applications.
Installation Tips for Apache Tomcat 4.1.18 on Windows Systems |
---|
-server -Xms256m -Xmx256m -XX:-UseOnStackReplacement |
|
|
|
// RMI server - need both domain qualified machine name and localhost permission java.net.SocketPermission "localhost:1024-", "listen, connect, accept, resolve"; permission java.net.SocketPermission "localhost:1024-", "listen, connect, accept, resolve"; and change one of the |
|
|
|
Installation Tips for BEA WebLogic 8.1 SP2 on Windows Systems |
---|
|
|
|
|
// RMI server - need both domain qualified machine name and localhost permission java.net.SocketPermission "localhost:1024-", "listen, connect, accept, resolve"; permission java.net.SocketPermission "localhost:1024-", "listen, connect, accept, resolve"; and change one of the |
|
Installation Tips for IBM WebSphere 5.1 FixPack 5.1.0.4 on Windows Systems |
---|
|
|
Installation Tips for Apache Tomcat 4.1.18 on Unix Systems |
---|
|
|
|
// RMI server - need both domain qualified machine name and localhost permission java.net.SocketPermission "localhost:1024-", "listen, connect, accept, resolve"; permission java.net.SocketPermission "localhost:1024-", "listen, connect, accept, resolve"; and change one of the |
|
|
|
Installation Tips for BEA WebLogic 8.1 SP2 and SP1 on Unix Systems |
---|
|
|
|
|
// RMI server - need both domain qualified machine name and localhost permission java.net.SocketPermission "localhost:1024-", "listen, connect, accept, resolve"; permission java.net.SocketPermission "localhost:1024-", "listen, connect, accept, resolve"; and change one of the |
|
Installation Tips for IBM WebSphere 5.1 FixPack 5.1.0.4 on Unix Systems |
---|
|
|
You must manually deploy the Portal.war
and SASStoredProcess.war
files from the setup directory to the servlet container. The following installation
tips contain the procedures for each servlet container and system environment.
Installation Tips for Apache Tomcat 4.1.18 on Windows Systems |
---|
|
|
|
Installation Tips for BEA WebLogic 8.1 SP2 on Windows Systems |
---|
The SAS Web Infrastructure Kit requires Web application files to be
deployed as exploded application archives. The following instructions
describe how to explode the Web applications.
|
cd "C:\Program Files\SAS\Web\Portal2.0.1" xcopy Portal C:\bea\webapps\Portal /S xcopy SASStoredProcess C:\bea\webapps\SASStoredProcess /S xcopy SASPreferences C:\bea\webapps\SASPreferences /S |
|
|
|
|
Installation Tips for IBM WebSphere 5.1 FixPack 5.1.0.4 on Windows Systems |
---|
|
|
|
|
|
|
// RMI server - need both domain qualified machine name and localhost permission java.net.SocketPermission "localhost:1024-", "listen, connect, accept, resolve"; permission java.net.SocketPermission "localhost:1024-", "listen, connect, accept, resolve"; Change one of the |
|
cd "C:\Program Files\SAS\Web\Portal2.0.1 \SASServicesConfig" copy sas.wik.allpermissions.websphere.policy C:\apps\WebSphere\AppServer\config\cells\host \applications\Portal_war.ear\deployments \Portal_war\META-INF\was.policy copy sas.wik.allpermissions.websphere.policy C:\apps\WebSphere\AppServer\config\cells\host \applications\SASStoredProcess_war.ear\deployments \SASStoredProcess_war\META-INF\was.policy copy sas.wik.allpermissions.websphere.policy C:\apps\WebSphere\AppServer\config\cells\host \applications\SASPreferences_war.ear\deployments \SASPreferences_war\META-INF\was.policy Note: If you copy and paste this code, then you must remove the line breaks. |
cd "C:\Program Files\SAS\Documentation\9.1\SASDoc \WEB-INF" copy sas.wik.allpermissions.websphere.policy C:\apps\WebSphere\AppServer\config\cells\host \applications\SASDoc_war.ear\deployments \SASDoc_war\META-INF\was.policy Note: If you copy and paste this code, then you must remove the line breaks. |
Installation Tips for Apache Tomcat 4.1.18 on Unix Systems |
---|
|
|
|
Installation Tips for BEA WebLogic 8.1 SP2 and SP1 on Unix Systems |
---|
The SAS Web Infrastructure Kit requires WAR files to be deployed as
exploded application archives. The following instructions describe how
to explode the Web applications.
|
|
|
|
|
|
Installation Tips for IBM WebSphere 5.1 FixPack 5.1.0.4 on Unix Systems |
---|
|
|
|
|
|
|
// RMI server - need both domain qualified machine name and localhost permission java.net.SocketPermission "localhost:1024-", "listen, connect, accept, resolve"; permission java.net.SocketPermission "localhost:1024-", "listen, connect, accept, resolve"; Change one of the |
|
cd /usr/local/SAS/Web/Portal2.0.1/SASServicesConfig cp sas.wik.allpermissions.websphere.policy /usr/local/websphere/AppServer/config/cells/host /applications/Portal_war.ear/deployments /Portal_war/META-INF/was.policy cp sas.wik.allpermissions.websphere.policy /usr/local/websphere/AppServer/config/cells/host /applications/SASStoredProcess_war.ear/deployments /SASStoredProcess_war/META-INF/was.policy cp sas.wik.allpermissions.websphere.policy /usr/local/websphere/AppServer/config/cells/host /applications/SASPreferences_war.ear/deployments /SASPreferences_war/META-INF/was.policy Note: if you copy and paste this code, then you must remove the line breaks. |
|
Both the portal Web application shell and the stored process servlet use
graph applets for some types of output. These applets must be available as
/sasweb/graph
from either the servlet container or the Web server
that runs these applications. The following installation tips contain the
procedures for each servlet container and system environment.
Installation Tips for Apache Tomcat 4.1.18 on Windows Systems |
---|
|
|
Installation Tips for BEA WebLogic 8.1 SP2 on Windows Systems |
---|
When you define a new server domain, BEA WebLogic does not create a
default Web application for serving Web content. However, you can deploy
the sasweb directory as an exploded application archive,
as follows: |
|
|
|
Installation Tips for IBM WebSphere 5.1 FixPack 5.1.0.4 on Windows Systems |
---|
When you define a new server domain, IBM WebSphere does not create a default Web application for serving Web content . However, you can deploy the sasweb Web application as follows: |
|
|
Installation Tips for Apache Tomcat 4.1.18 on Unix Systems |
---|
|
|
Installation Tips for BEA WebLogic 8.1 SP2 and SP1 on Unix Systems |
---|
BEA WebLogic does not create a default Web application for serving Web
content when you define a new server domain. However, you can deploy the
sasweb directory as an exploded application archive as follows: |
|
|
|
Installation Tips for IBM WebSphere 5.1 FixPack 5.1.0.4 on Unix Systems |
---|
When you define a new server domain, IBM WebSphere does not create a default Web application for serving Web content . However, you can deploy the sasweb Web application as follows: |
|
|
The SAS Services application is a command line application that manages services that are shared by SAS applications. A script is provided to start this application. To run the script, follow the procedures for the appropriate system environment, as described below.
On Windows systems, the start script StartRemoteServices.bat
is located in the SASServices\WEB-INF
subdirectory of the setup
directory. You must be in the SASServices\WEB-INF
subdirectory
to run this script.
The SAS Services application runs with a Java security manager. To help you
get the application running, the SAS Web Infrastructure Kit includes two policy
files, which are located in the SASServicesConfig
folder of
the setup directory:
The file sas.wik.allpermissions.sasservices.policy
allows
the applications to run without security restrictions. This file should
be used during the initial installation.
sas.wik.sasservices.policy
defines more restrictive
security settings. This file should be used in a production environment.
By default, the start script uses a copy of the sas.wik.allpermissions.sasservices.policy
file. The configuration script that you ran in Step 6
placed this policy file in the RemoteServices
subdirectory of
the Foundation Services directory that you specified when you ran the installation
program (for example, C:\Program Files\SAS\SASFoundationServices\Deployments\RemoteServices
).
To verify the path, check the value of the $SERVICES_DIR$
property
in the install.properties
file (located in the PortalConfigure
subdirectory of the setup directory). To tighten security, edit the start
script to use the sas.wik.sasservices.policy
file.
If you use the sas.wik.sasservices.policy
file, and if you
configured your RMI server to run on localhost
, then you must
modify this file. In the grant section, locate the following lines:
// RMI server - need both domain qualified machine name and localhost permission java.net.SocketPermission "localhost:1024-", "listen, connect, accept, resolve"; permission java.net.SocketPermission "localhost:1024-", "listen, connect, accept, resolve";
and change one of the localhost
values to the domain-qualified
name of the machine where your RMI server is running.
Note: SAS 9.1.3 and higher provides the capability to run the remote SAS Services application as a Windows service. This capability is enabled through the use of the Java Service Wrapper from Tunaki Software, which is provided with SAS Foundation Services. For more information, see Running Remotely Deployed Services as a Windows Service in the SAS Web Infrastructure Kit: Administrator's Guide.
On Unix systems, the start script (StartRemoteServices.sh
) is
located in the SASServices/WEB-INF
subdirectory of the setup
directory. You must be in the SASServices/WEB-INF
subdirectory
to run this script.
The SAS Services application runs with a Java security manager. To help you
get the application running, the SAS Web Infrastructure Kit includes provided
two policy files, which are located in the SASServicesConfig
folder of the setup directory:
The file sas.wik.allpermissions.sasservices.policy
allows
the applications to run without security restrictions. This file should
be used during the initial installation.
The file sas.wik.sasservices.policy
defines more restrictive
security settings. This file should be used in a production environment.
By default, the start script uses a copy of the sas.wik.allpermissions.sasservices.policy
file. The configuration script that you ran in Step 6
placed this file in the RemoteServices
subdirectory of the Foundation
Services directory that you specified when you ran the installation program (for
example, /usr/local/SAS/SASFoundationServices/Deployments/RemoteServices
).
To verify the path, check the value of the $SERVICES_DIR$
property
in the install.properties
file (located in the PortalConfigure
subdirectory of the setup directory). To tighten security, edit the start
script to use the sas.wik.sasservices.policy
file.
If you use the sas.wik.sasservices.policy
file, and if you
configured your RMI server to run on localhost
, then you must
modify this file. In the grant section, locate the following lines:
// RMI server - need both domain qualified machine name and localhost permission java.net.SocketPermission "localhost:1024-", "listen, connect, accept, resolve"; permission java.net.SocketPermission "localhost:1024-", "listen, connect, accept, resolve";
and change one of the localhost
values to the domain-qualified
name of the machine where your RMI server is running.
Because some servers depend on services that are provided by other servers, it is important to start the servers in the correct order. The dependencies are as follows:
Server | Dependency |
---|---|
SAS Metadata Server | none |
Xythos WebFile Server | none |
SAS Stored Process Server | SAS Metadata Server |
SAS Workspace Server | SAS Metadata Server |
SAS Services Application | SAS Metadata Server |
Servlet Container / Application Server | SAS Metadata Server, Xythos WebFile Server, SAS Stored Process Server, SAS Workspace Server, SAS Services Application |
The metadata server should already be running from earlier steps. You must start the following additional servers in the order specified.
You should complete the following tuning steps in order to work around known servlet container bugs and to improve performance.
Installation Tips for Apache Tomcat 4.1.18 |
---|
To work around a known problem with Apache Tomcat 4.1.18 commons logging,
you must make sure that the Tomcat commons logging and log4j JAR files
are the same version as those that were provided with SAS software. In
addition, you must make sure that those JAR files are loaded in the same
classloader. Follow these steps:
|
Installation Tips for BEA WebLogic 8.1 SP2 and SP1 |
---|
If you are running in Development Mode, then the Web applications that you deployed in Step
11 have the Servlet Reload Check Secs and JSPPage
Check Secs intervals set to 1 by default. To improve overall performance,
you can set these values to a larger number; or you can set the values
to -1 to disable the checks. Follow these steps:
|
Point your Web browser to the address of the Web application that you want to run. Cookies and Javascript support must be enabled on the browser in order for the applications to run. The default addresses for the SAS Web Infrastructure Kit Web applications are provided below.
Installation Tips for Apache Tomcat 4.1.18 |
---|
http://host/Portal |
Installation Tips for BEA WebLogic 8.1 SP2 and SP1 |
---|
http://host:7100/Portal |
Installation Tips for IBM WebSphere 5.1 FixPack 5.1.0.4 |
---|
http://host:9080/Portal |
In the addresses that are listed above, host
is the name of the machine where the servlet
container is installed. If you are running your Web browser on the same machine
as the servlet container, you can replace host
with
localhost
.
The portal Web application shell should be displayed in the browser window
with publicly available content. To view additional content, log on with a valid user ID and password. For example, if you used the defaults that were suggested in Step 7.a, then you can enter the user ID sasdemo
and the password Demo123
.
Installation Tips for Apache Tomcat 4.1.18 |
---|
http://host/SASStoredProcess/Welcome.htm |
Installation Tips for BEA WebLogic 8.1 SP2 and SP1 |
---|
http://host:7100/SASStoredProcess/Welcome.htm |
Installation Tips for IBM WebSphere 5.1 FixPack 5.1.0.4 |
---|
http://host:9080/SASStoredProcess/Welcome.htm |
In the addresses that are listed above, host is the name of the machine where the servlet
container is installed. If you are running your Web browser on the same machine
as the servlet container, you can replace host
with
localhost
.
The stored process welcome page should be displayed in the browser window with options to run stored processes. To run a demonstration stored process, select the Stored Process Samples link, and select a stored process to run.
Copyright © 2003 SAS Institute Inc., Cary, NC, USA. All Rights Reserved.