SAS Decision Services 6.3: Administrator's Guide
Total Page:16
File Type:pdf, Size:1020Kb
SAS® Decision Services 6.3 Administrator’s Guide SAS® Documentation The correct bibliographic citation for this manual is as follows: SAS Institute Inc. 2014. SAS® Decision Services 6.3: Administrator's Guide. Cary, NC: SAS Institute Inc. SAS® Decision Services 6.3: Administrator's Guide Copyright © 2014, SAS Institute Inc., Cary, NC, USA All rights reserved. Produced in the United States of America. For a hard-copy 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 License Rights; Restricted Rights: The Software and its documentation is commercial computer software developed at private expense and is provided with RESTRICTED RIGHTS to the United States Government. Use, duplication or disclosure of the Software by the United States Government is subject to the license terms of this Agreement pursuant to, as applicable, FAR 12.212, DFAR 227.7202-1(a), DFAR 227.7202-3(a) and DFAR 227.7202-4 and, to the extent required under U.S. federal law, the minimum restricted rights as set out in FAR 52.227-19 (DEC 2007). If FAR 52.227-19 is applicable, this provision serves as notice under clause (c) thereof and no other notice is required to be affixed to the Software or documentation. The Government's rights in Software and documentation shall be only those set forth in this Agreement. SAS Institute Inc., SAS Campus Drive, Cary, North Carolina 27513-2414. August 2015 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 trademarks of their respective companies. Contents What’s New in SAS Decision Services 6.3 . vii Accessibility . ix Chapter 1 • Overview of SAS Decision Services . 1 What Is SAS Decision Services? . 1 Decision Services Manager Plug-in for SAS Management Console . 2 SAS Decision Services Repository . 4 Chapter 2 • SAS Decision Services Concepts . 7 Modes of Execution . 8 Code Generation . 9 Scalability and Failover . 10 Deployment Topology . 11 Example: The Decision Flow . 15 Life Cycle of a Decision Flow . 17 Decision Flows, Building Blocks, and Artifacts . 19 Roles and Capabilities . 26 SAS Decision Services Monitoring . 27 Chapter 3 • Common Operations . 33 Promoting Decision Flows . 34 Activating Flows . 41 Managing Global Variables . 45 Set an Event Time-Out . 47 Audit Logging . 49 Data Collection for Performance Analysis . 52 Using SAS Decision Services HQ Plug-in for SAS Environment Manager . 54 Chapter 4 • Environments and Resources . 61 Repositories . 62 iv Contents System Resources . 68 Library Resources . 76 Databases . 78 Chapter 5 • Decision Services Activities . 81 Overview . 82 SAS Activities . 83 Web Service Activities . 98 SAS Customer Experience Real-Time Server Engine Integration Activity . 100 General I/O Activities . 102 Middle-Tier Code Activities . 109 Guidelines for Creating Activities . 114 Chapter 6 • Integration . 117 Web Service Integration . 118 WS-Security Integration . 122 Integration with SAS Model Manager . 131 Integration with SAS Data Surveyor for Clickstream Data . 132 Decision Logic Smart Object . 133 REST API for SAS Decision Services Data Access . 135 Chapter 7 • Installation . 159 Overview . 160 Dependent SAS Products . 161 Best Practices for SAS Decision Services Deployment Scenarios . 162 Configuring SAS Decision Services . 171 Deploying and Starting SAS Decision Services Web Applications in a Cluster . 171 Rebuilding SAS Decision Services Design, Engine, and Monitor Server Web Applications . 175 Rebuilding the SAS Web Application Server Configurations . 176 Post-Installation Reconfiguration . 177 Chapter 8 • Migration . 179 Overview . 180 Contents v Migration from SAS Real-Time Decision Manager 5.4 . 181 Migration from SAS Decision Services 5.5 . 181 Migration from SAS Decision Services 5.5M1 . 182 Migration from SAS Decision Services 5.6 . 183 Migration from SAS Decision Services 6.3 . 184 Migrate Single DATA Step SAS Code . 185 SAS Decision Services Utilities . 185 Migrate Multiple DATA Step Code . 189 Change Host Migration . 190 Password Updates . 192 Migrate Monitor Database to Stand-alone PostgreSQL . 194 Chapter 9 • Best Practices . 197 SAS Server Options . 198 JDBC Performance Tuning . 198 HTTP Client Code Usage . 205 Use of SAS Data Sets . 208 Initialize DS2 Activity Variables . 209 Using SQLSTMT in Real-Time Applications . 209 Suggested Initial Values for Key Tuning Elements in Systems with Heavy Workloads . 215 Incorporating Pool Diagnostics . 218 Chapter 10 • Custom Configuration . 223 Standard System Resources . 224 Configuring Additional Databases . 225 Configuring Additional SAS Federation Servers to Form a Server Cluster . 228 Changing the Database Selection . 230 Configure Access to SAS Data Sets . 234 Moving DS2 Persistence to a Database Management System . 234 Moving Application Data from a Web Infrastructure Data Server to Other Databases . 236 vi Contents Appendix 1 • Database Requirements . 239 Appendix 2 • Logs and Troubleshooting . 241 Appendix 3 • Batch Execution . ..