sas 9.3 intelligence ?· using jmx tools to manage sas resources ... chapter 10 • administering...

Download SAS 9.3 Intelligence ?· Using JMX Tools to Manage SAS Resources ... Chapter 10 • Administering the…

Post on 13-Jul-2018

215 views

Category:

Documents

0 download

Embed Size (px)

TRANSCRIPT

  • SAS 9.3 Intelligence PlatformMiddle-Tier Administration GuideThird Edition

    SAS Documentation

  • The correct bibliographic citation for this manual is as follows: SAS Institute Inc. 2012. SAS 9.3 Intelligence Platform: Middle-Tier Administration Guide, Third Edition. Cary, NC: SAS Institute Inc.

    SAS 9.3 Intelligence Platform: Middle-Tier Administration Guide, Third Edition

    Copyright 2012, SAS Institute Inc., Cary, NC, USA

    All rights reserved. Produced in the United States of America.

    For a hardcopy book: No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, or otherwise, without the prior written permission of the publisher, SAS Institute Inc.

    For a Web download or e-book: Your use of this publication shall be governed by the terms established by the vendor at the time you acquire this publication.

    The scanning, uploading, and distribution of this book via the Internet or any other means without the permission of the publisher is illegal and punishable by law. Please purchase only authorized electronic editions and do not participate in or encourage electronic piracy of copyrighted materials. Your support of others' rights is appreciated.

    U.S. Government Restricted Rights Notice: Use, duplication, or disclosure of this software and related documentation by the U.S. government is subject to the Agreement with SAS Institute and the restrictions set forth in FAR 52.22719, Commercial Computer Software-Restricted Rights (June 1987).

    SAS Institute Inc., SAS Campus Drive, Cary, North Carolina 27513.

    Electronic book 2, February 2013

    SAS Publishing provides a complete selection of books and electronic products to help customers use SAS software to its fullest potential. For more information about our e-books, e-learning products, CDs, and hard-copy books, visit the SAS Publishing Web site at support.sas.com/publishing or call 1-800-727-3228.

    SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. indicates USA registration.

    Other brand and product names are registered trademarks or trademarks of their respective companies.

    http://support.sas.com/publishing

  • Contents

    What's New in Middle-Tier Administration for the SAS 9.3 Intelligence Platform . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii

    Recommended Reading . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi

    Chapter 1 Working in the Middle-Tier Environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1Understanding the Middle-Tier Environment . . . . . . . . . . . . . . . . . . . 2Third-Party Software Components . . . . . . . . . . . . . . . . . . . . . . . . . . . 4SAS Web Infrastructure Platform . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5SAS Content Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12SAS Web Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13Starting the Web Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16

    Chapter 2 Best Practices for Configuring Your Middle Tier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19Best Practices for Middle-Tier Configuration . . . . . . . . . . . . . . . . . . 20Sample Middle-Tier Deployment Scenarios . . . . . . . . . . . . . . . . . . . 21Tuning the Web Application Server . . . . . . . . . . . . . . . . . . . . . . . . . 36Configuring a Cluster of Web Application Servers . . . . . . . . . . . . . . 37Configuring HTTP Sessions in Environments with

    Proxy Configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37Using an HTTP Server to Serve Static Content . . . . . . . . . . . . . . . . 39Using a Proxy Plug-in between the Web Application

    Server and the HTTP Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39Using Apache Cache Control for Static Content . . . . . . . . . . . . . . . . 40

    Chapter 3 Middle-Tier Security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41Middle-Tier Security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42Using the SAS Anonymous Web User with SAS Authentication . . . 42Multicast Security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43Using Single Sign-On among Web Applications . . . . . . . . . . . . . . . . 44Using Secure Sockets Layer (SSL) for Web Applications . . . . . . . . 45Configuring and Deploying Restrictive Policy Files . . . . . . . . . . . . . . 46

  • Chapter 4 Interacting with the Server Tier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57Configuration Shared between the Middle Tier and the Server Tier . 57SMTP Mail Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58JDBC Data Sources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59Client-Side Pooling and Server-Side Pooling Options . . . . . . . . . . . 62Job Execution Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63

    Chapter 5 Administering the SAS Web Infrastructure Platform . . . . . . . . . . . . . . . . . . . . . . . . . . . 69SAS Web Infrastructure Platform . . . . . . . . . . . . . . . . . . . . . . . . . . . 70Using Configuration Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73Setting Global Properties for SAS Applications Using

    SAS Application Infrastructure Properties . . . . . . . . . . . . . . . . . . 77Specifying Connection Parameters for HTTP and

    HTTPS Sessions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84Configuring Auditing for SAS Web Applications . . . . . . . . . . . . . . . . 86Using the SAS Web Administration Console . . . . . . . . . . . . . . . . . . 92

    Chapter 6 Using the SAS Web Infrastructure Platform Utilities . . . . . . . . . . . . . . . . . . . . . . . . . . 103Using the DAVTree Utility to Manage WebDAV Content . . . . . . . . 104Using the Package Cleanup Utility to Remove Packages . . . . . . . 108Using JMX Tools to Manage SAS Resources . . . . . . . . . . . . . . . . 115

    Chapter 7 Administering SAS Web Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123Using the SAS Deployment Manager . . . . . . . . . . . . . . . . . . . . . . . 124Rebuilding the SAS Web Applications . . . . . . . . . . . . . . . . . . . . . . 125Redeploying the SAS Web Applications . . . . . . . . . . . . . . . . . . . . . 129Reconfiguring the Web Application Server . . . . . . . . . . . . . . . . . . . 137Working with Exploded EAR Files in a Development Environment 138Administering Logging for SAS Web Applications . . . . . . . . . . . . . 139

    Chapter 8 Administering SAS Logon Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147About SAS Logon Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148Configuring Web Authentication . . . . . . . . . . . . . . . . . . . . . . . . . . . 148Configuring Custom Log On, Log Off, and Time Out Messages . . 149Configuring the HTTP Session Time-out Interval . . . . . . . . . . . . . . 151

    iv Contents

  • Configuring the Display of a Warning Message for Inactive User Sessions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155

    Configuring Middle Tier Security Policies . . . . . . . . . . . . . . . . . . . . 157Disabling Concurrent Logon Sessions . . . . . . . . . . . . . . . . . . . . . . 159Configuring Application Response Measurement

    (ARM) Capabilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160

    Chapter 9 Administering the SAS Content Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163About the SAS Content Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164Moving Content or Backing Up the SAS Content Server . . . . . . . . 165Deploying Content Manually to the SAS Content Server . . . . . . . . 165Using the SAS Content Server Administration Console . . . . . . . . . 172Implementing Authorization for the SAS Content Server . . . . . . . . 179Reconfiguring the SAS Content Server to Use a

    Database for Storage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183

    Chapter 10 Administering the SAS BI Web Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191Overview of SAS BI Web Services for SAS 9.3 . . . . . . . . . . . . . . . 191SAS BI Web Services in SAS 9.3 . . . . . . . . . . . . . . . . . . . . . . . . . . 192Managing Generated Web Services . . . . . . . . . . . . . . . . . . . . . . . . 192Configuring SAS BI Web Services for Java . . . . . . . . . . . . . . . . . . 193Overview of Security for Web Services . . . . . . . . . . . . . . . . . . . . . . 198Securing SAS BI Web Services for Java . . . . . . . . . . . . . . . . . . . . 200

    Chapter 11 Administering SAS Web Application Themes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 204Steps for Defining and Deploying a New Theme . . . . . . . . . . . . . . 207Deploying SAS Web Application Themes on a

    Different Web Application Server . . . . . . . . . . . . . . . . . . . . . . . . 221Deleting a Custom Theme from the Metadata . . . . . . . . . . . . . . . . 223Migrating Custom Th