Home

Sun Microsystems 2005Q1 User's Manual

image

Contents

1. Designing SRA Deployment Scenarios Netlet and Rewriter Proxies on Separate Nodes To reduce the load on the Portal Server node and still provide the same level of security at increased performance you can install Netlet and Rewriter Proxies on separate nodes This deployment has an added advantage in that you can use a proxy and shield the Portal Server from the DMZ The node that runs these proxies needs to be directly accessible from the DMZ Figure 5 15 shows the Netlet Proxy and Rewriter Proxy on separate nodes Traffic from the Gateway is directed to the separate node which in turn directs the traffic through the proxies and to the required intranet hosts You can have multiple instances or installations of Netlet and Rewriter Proxies You can configure each Gateway to try to contact various instances of the proxies in a round robin manner depending on availability Figure 5 15 Proxies on Separate Nodes Client n Gateway Rewriter Portal NetFile Proxy S rver Netlet Host Client Gatewa NetFile y Netlet Netlet Proxy PES Host HTTP traffic Netlet traffic 118 Portal Server 6 2005Q1 Deployment Planning Guide
2. Designing SRA Deployment Scenarios Using Two Gateways and Netlet Proxy Load balancers provide a failover mechanism for higher availability for redundancy of services on the Portal Servers and Access Managers Figure 5 16 Two Gateways and Netlet Proxy Client Gateway NetFile Netlet Load Netlet Balancer Proxy Client NetFile a Gateway Netlet HTTP traffic Netlet traffic Chapter5 Creating Your Portal Design 9 Designing SRA Deployment Scenarios Using an Accelerator You can configure an external SSL device to run in front of the Gateway in open mode It provides the SSL link between the client and SRA For information on accelerators see the Portal Server Secure Remote Access 6 Administration Guide Figure 5 17 SRA Gateway with External Accelerator Portal Client Server Gateway Host Accelerator Client 120 Portal Server 6 2005Q1 Deployment Planning Guide Designing SRA Deployment Scenarios Netlet with 3rd Party Proxy Figure 5 18 illustrates using a third party proxy to limit the number of ports in the second firewall to one You can configure the Gateway to use a third party proxy to reach the Rewriter and the Netlet Proxies F
3. Usage Socket connection count Garbage collection Performance TCP kernel tuning parameters Parameters algrep hostname wc 1 Various Various mpstat Table B 1 Performance Analysis Tools Category Type Name Portal Server on App verbose gc Server container Tuning Solaris 8 and 5018115 9 etc system Parameters ttuni ng parameters file mpstat The mpstat utility is a useful tool to monitor CPU utilization especially with multithreaded applications running on multiprocessor machines which is a typical configuration for enterprise solutions Use mpstat with an argument between 5 seconds to 10 seconds An interval that is smaller than 5 or 10 seconds might be more difficult to analyze A larger interval might provide a means of smoothing the data by removing spikes usr sys wt idl 95 5 0 0 96 4 0 0 99 1 0 0 srw 1 Tuo 450 100 196 0 95 0 44 0 that could mislead the result Output mpstat 10 CPU minf mjf xcal intr ithr csw icsw migr smtx 0 1 0 9 442 302 419 166 12 1 1 0 220 237 200 383 i61 41 4 0 0 27 192 100 178 94 38 144 Portal Server 6 2005Q1 Deployment Planning Guide mpstat What to Look For Note the much higher intr and ithr values for certain CPUs Solaris will select some CPUs to handle the system interrupts The CPUs and the number that are chosen depend on the I O devices attached to the system the physical location
4. Portal Server and Access Manager on Different Nodes Portal Server and Access Manager on Different Nodes Application Node Portal Server Node Security Node SRA Figure 5 6 106 Portal Server 6 2005Q1 Deployment Planning Guide Portal Server and Access Manager on Different Nodes Figure 5 7 shows two Portal Server instances configured to work with a single Access Manager and two Directory Servers where both the Access Manager and the Directory Servers operate in a Java Enterprise System Sun Clustered environment This configuration is ideal when Access Manager and Directory Server instances are not the bottleneck Figure 5 7 Two Portal Servers and One Access Manager Load Balancer Portal Server Chapter5 Creating Your Portal Design 107 Portal Server and Access Manager on Different Nodes Figure 5 8 shows configuration allowing authentication throughput coming from Portal Server to be load balanced across the two Access Managers This configuration could be implemented when the Portal Server resides on a high end medium to large server that is 1 to 4 processors with a very wide bandwidth network connection The Access Managers with the policy and authentication services could be on two medium size servers Figure 5 8 One Portal Server and Two Access Managers Balancer 108 Portal Server 6 2005Q1 Deployment Planning Guide P
5. Portal Server Building Module Architecture Best Effort Scenari o i cess sedes re xe tne ea REA RES No Single Point of Failure 16 Transparent Failover Example Scenario Portal Server and Access Manager on Different Nodes Two Portal Servers and One Access Manager One Portal Server and Two Access Managers Two Portal Servers and Two Access Managers Basie SRA CORBHEUTRBOB isiiedeehee Dre ge hence leks Disable Netlet cscisaokanced eae ad REPRE Hae ProXVlet ales leves bpm bete etre RT RR Multiple Gateway Instances 5 0 0 cece eee eee Netlet and Rewriter Proxies 00 0eeeeee Ptoxieson Separate Nodes Two Gateways and Netlet eee SRA Gateway with External Accelerator Netlet and Third Party Proxy 222 eem ees Using a Reverse Proxy in Front of the Gateway Figure 1 1 Figure 1 2 Figure 1 3 Figure 1 4 Figure 5 1 Figure 5 2 Figure 5 3 Figure 5 4 Figure 5 5 Figure 5 6 Figure 5 7 Figure 5 8 Figure 5 9 Figure 5 10 Figure 5 11 Figure 5 12 Figure 5 13 Figure 5 14 Figure 5 15 Figure 5 16 Figure 5 17 Figure 5 18 Figure 5 19 10 Portal Server 6 2005021 Deployment Planning Guide List of Tables Typographical Conventions eyes ese EPOR DRx Yet Edge 15 Identity Management Features and Benefits ccc cece eee eee 54 SRA Features and Benefits 0 GU te bbe a 56 Search
6. 153 Portal Server on an Application Server Cluster Running Portal Server on an application server enables you to e Decouple the portal platform from the application server platform allowing you to choose the best combination of Portal Server and application server for your organization e Call Enterprise JavaBeans architechture and other J2EE technologies that run in the application server container e Use application server clustering which provides scalability and high availability e Use session failover in clustering currently available on BEA WebLogic Server and Sun Java System Application Server Enterprise Edition Portal Server on an Application Server Cluster This section describes how Application Server Enterprise Edition software BEA WebLogic Server and IBM WebSphere Application Server manage application server clustering Application server clustering is a loosely coupled group of application servers that collaborate to provide shared access to the services that each server hosts The cluster aims to balance resource requests high availability of resources and failover of application logic to provide scalability Portal Server and Access Manager are not pure web applications Instead these applications are composed of local files residing on a machine and three web applications portal amserver and amconsole These three web applications run in a web application container which runs in an applica
7. The Gateway server handles all Netlet traffic If an incoming client request is Netlet traffic the Gateway checks for session validity decrypts the traffic and forwards it to the application server If Netlet Proxy is enabled the Gateway checks for session validity and forwards it to Netlet Proxy The Netlet Proxy then decrypts and forwards it to the application server NOTE Because 40 bit encryption is very insecure the Gateway provides an option that enables you to reject connections from a 40 bit encryption browser Gateway Access Control The Gateway enforces access control by using Allowed URLs and Denied URLs lists Even when URL access is allowed the Gateway checks the validly of the session against the Access Manager session server URLs that are designated in the Non Authenticated URL list bypass session validation as well as the Allowed and Denied lists Entries in the Denied URLs list take precedence over entries in the Allowed URLs list If a particular URL is not part of any list then access is denied to that URL The wildcard character can also be used as a part of the URL in either the Allow or Deny list SRA Gateway 40 Portal Server 6 2005Q1 Deployment Planning Guide Netlet Gateway Logging You can monitor the complete user behavior by enabling logging on the Gateway The Gateway uses the Access Manager logging API for creating logs Using Accelerators with the Gateway You can configure accelera
8. patches 18 support 18 Solaris Operating Environment minimizing size of installation 102 securing 102 split tunneling 43 SRA and load balancing 86 95 and NetFile 46 and reverse proxy 122 and Sun Enterprise Midframe Line 77 components 37 debugging 162 directory structure 140 features and benefits 56 log files 165 overview 25 session characteristics 73 sizing 72 troubleshooting 162 SSL and Gateway 27 encryption 102 Gateway 39 modes 39 v2 and v3 39 SSL hardware accelerators 76 state data and Portal Server services 88 static port applications 41 static portal content 124 static web content 32 subscription channel 57 Sudo 104 Sun Cluster software 90 Sun Crypto Accelerator 1000 board 76 Sun Java System Application Server overview 155 SuperAdmin Role 127 support Solaris 18 system availability 84 85 system capacity 69 system performance 69 190 Portal Server 6 2005Q1 Deployment Planning Guide Section W 191 Index VPN 56 VPN client 43 W WAR file 32 and application servers 154 to deploy software 31 web containers supported 153 workload conditions 69 worksheets 167 X XMLProvider 130 Section X 192 Portal Server 6 2005Q1 Deployment Planning Guide
9. 56 Portal Server 6 2005Q1 Deployment Planning Guide Mapping Portal Server Features to Your Business Needs Benefit Using the Rewriter Proxy enables secure HTTP traffic between the Gateway and intranet computers and offers two advantages Ifa firewall exists between the Gateway and server the firewall needs to open only two ports one between the Gateway and the Rewriter Proxy and another between the Gateway and the Portal Server HTTP traffic is now secure between the Gateway and the intranet even if the destination server only supports HTTP protocol no HTTPS Feature Description Rewriter Proxy Redirects HTTP requests to the Rewriter Proxy instead of directly to the destination host The Rewriter Proxy in turn sends the request to the destination server Search Engine The Search Engine service is used in the following channels e Subscription channel to summarize the number of hits relevant information that match each profile entry defined by the user for categorized documents and discussions e Discussion channel to individually search contents and rate the importance for comments Table 3 3 shows the Search features and their benefits Benefit Saves users time by providing access to content Provides a different view of documents that enables browsing and retrieval Automatically searches and extracts links to resources describes those resources and puts the descriptions in th
10. DA Sun Java System Portal Server 6 Deployment Planning Guide 2005Q1 Sun Microsystems Inc 4150 Network Circle Santa Clara CA 95054 U S A Part No 817 7697 Copyright 2005 Sun Microsystems Inc 4150 Network Circle Santa Clara California 95054 U S A All rights reserved Sun Microsystems Inc has intellectual property rights relating to technology embodied in the product that is described in this document In particular and without limitation these intellectual property rights may include one or more of the U S patents listed at http www sun com patents and one or more additional patents or pending patent applications in the U S and in other countries THIS PRODUCT CONTAINS CONFIDENTIAL INFORMATION AND TRADE SECRETS OF SUN MICROSYSTEMS INC USE DISCLOSURE OR REPRODUCTION 5 PROHIBITED WITHOUT THE PRIOR EXPRESS WRITTEN PERMISSION OF SUN MICROSYSTEMS INC U S Government Rights Commercial software Government users are subject to the Sun Microsystems Inc standard license agreement and applicable provisions of the FAR and its supplements This distribution may include materials developed by third parties Parts of the product may be derived from Berkeley BSD systems licensed from the University of California UNIX is a registered trademark in the U S and in other countries exclusively licensed through X Open Company Ltd Sun Sun Microsystems the Sun logo Java Solaris JDK Java Naming and Directory In
11. ttp docs sun com doc 817 6260 a Other Server Documentation For other server documentation go to the following e Directory Server documentation http docs sun com coll DirectoryServer_04q2 e Web Server documentation http docs sun com coll Sl websvr6l en Preface 7 Accessing Sun Resources Online Application Server documentation http docs sun com coll sl asseu3 en e Web Proxy Server documentation http docs sun com prod s1 webproxys hic Accessing Sun Resources Online For product downloads professional services patches and support and additional developer information go to the following e Download Center ttp wwws sun com software download h e Professional Services ttp www sun com service sunps sunone index html h Sun Enterprise Services Solaris patches and Support http sunsolve sun com e Developer Information http developers sun com prodtech index html Contacting Sun Technical Support If you have technical questions about this product that are not answered in the product documentation go to http www sun com service contacting Related Third Party Web Site References Sun is not responsible for the availability of third party web sites mentioned in this document Sun does not endorse and is not responsible or liable for any content advertising products or other materials that are available on or through such sites or resources Sun will not be responsible
12. 416 0 48 344 989 818 tcpRtoMin Bytes tDupBytes tWinBytes Update Update trans mKeepalive mKeepaliveDrop tcpInDup Par Pas tcpInWin tNo mRe tcpIn tcpIn tcpRt tcpTi tcpTi tcpTi parameters referenced in the etc inet netstat sP tcp Output netstat sP tcp TCP tcpRtoAlgorithm 4 lt snip gt tcpInDupSegs 1144 tcpInPartDupSegs 1 tcpInPastWinSegs 0 tcpInWinProbe 46 tcpInClosed 251 tcpRttUpdate 1105386 tcpTimRetransDrop 5 tcpTimKeepaliveProbe 183 148 Portal Server 6 2005Q1 Deployment Planning Guide netstat tcpListenDrop 0 tcpListenDropQO 0 tcpHalfOpenDrop 0 tcpOutSackRetrans 56 What to look for e tcpListenDrop If after several looks at the command output the tcpListenDrop continues to increase it could indicate a problem with queue size Considerations e A possible cause of increasing t cpListenDrop is the application throughput being bottlenecked by the number of executing threads At this point increasing application threads may be a good thing to try Increase queue size Increase the request queue sizes using ndd More information on other ndd commands referenced in the Solaris Administration Guide ondd set dev tcp tcp conn req max q value ondd set dev tcp tcp conn req max q0 value netstat a grep your hostname wc 1 Running this command gives a rough count of socket connections on the sys
13. Examples include FatWire Interwoven SAP Tarantella Documentum Vignette PeopleSoft Siebel Citrix and YellowBrix e Security products This integration uses the Access Manager Login API to enable portal access by using a custom authentication scheme Examples include RSA e Content Management This integration provides data access into Portal Server enabling searches on the data Examples include FatWire Interwoven and Vignette e Content Syndication This integration provides managing and customizing information that appears on websites Examples include YellowBrix and Pinnacor e Collaboration software This integration enables Sun Java System Instant Messaging product to move a collaboration session from one forum to a another Examples include WebEx BeNotified and Lotus e Monitoring This integration focuses on billing performance measurement and diagnostics for which you rely on log files or Access Manager s Logging API and traffic snooping Examples include Mercury Interactive Hyperion and Informatica Chapter 5 Creating Your Portal Design 125 Content and Design Implementation Portal capability augmentation This integration enables products to add functionality to Portal Server Examples include Altio Bowstreet rule engines to add group capability and dynamic standard Portal Desktop and provider contents HNC e Integratable portal stack This integration includes products that replace elements of
14. Gateway instances NetFile Enables remote access and operation of file systems and directories Netlet Ensures secure communication between the Netlet applet on the client browser the Gateway and the application servers Proxylet Redirects a URL to the Gateway Simplifies the IT administration and maintenance overhead while dramatically reducing the time and cost of deployment Restricts the number of open ports in a firewall between the demilitarized zone DMZ and the intranet Mapping Portal Server Features to Your Business Needs SRA Table 3 2 shows the Sun Java System Portal Server Secure Remote Access SRA features and their benefits SRA Features and Benefits Description Extranet or Virtual Private Network capabilities demand while providing user policy and authentication services The Gateway component provides the interface and security barrier between remote user sessions originating from the Internet and your corporate intranet Users achieve remote access through four components e Gateway NetFile Netlet e Proxylet Enables web browser based universal access with no client software installation or maintenance necessary Provides an optional component that extends the secure tunnel from the client through the Gateway to the Netlet Proxy that resides in the intranet Table 3 2 Feature Integrated security SRA core Universal access Netlet Proxy
15. Load Balancer Browser 96 Portal Server 6 2005001 Deployment Planning Guide Working with Portal Server Building Modules The session repository is provided by the application server software Portal Server is running in an application server Portal Server supports transparent failover on application servers that support HttpSession failover See Appendix C Portal Server and Application Servers for more information With session failover users do not need to reauthenticate after a crash In addition portal applications can rely on session persistence to store context data used by the checkpointing You configure session failover in the AMConfig properties file by setting the com iplanet am session failover enabled property to true The Netlet Proxy cannot support the transparent failover scenario because of the limitation of the TCP protocol The Netlet Proxy tunnels TCP connections and you cannot migrate an open TCP connection to another server A Netlet Proxy crash drops off all outstanding connections that would have to be reestablished Building Module Constraints The constraints on the scalability of building modules are given by the number of LDAP writes resulting from profile updates and the maximum size of the LDAP database For more information see Directory Server Requirements on page 98 NOTE If the LDAP server crashes with the _db files
16. all intranet web sites to be accessed without exposing them directly to the Internet The Gateway also provides URL based access policy enforcement without having to modify the web servers being accessed Communication from the Gateway to the server and intranet resources can be HTTPS or HTTP Communication within the Portal Server system for example between web applications and the directory server does not use encryption by default but it can be configured to use SSL Portal Server Deployment Components Portal Server deployment consists of the following components e Access Manager Access Manager provides user and service management authentication and single sign on services policy management logging service debug utility the administration console and client support interfaces for Portal Server This consists of Portal Server 6 2005Q1 Deployment Planning Guide 28 Portal Server Architecture o Java Development Kit JDK Java Development Kit software provides the Java run time environment for all Java software in Portal Server and its underlying components Portal Server depends on the JDK software in the web container o Network Security Services for Java software o Sun Java System Web Server o Java API for XML Processing JAXP Sun Java System Directory Server Directory Server provides the primary configuration and user profile data repository for Portal Server The Directory Server is LDAP compliant and
17. e Lightweight Directory Access Protocol LDAP e Hypertext Markup Language HTML Extensible Markup Language XML How This Book Is Organized Chapters 1 through 5 provide information on Portal Server Secure Remote Access deployment The following table summarizes the content of this book Description This chapter describes types of portals servers Sun Java System Portal Server in open and secure mode the Portal Server components This chapter describes the Portal Server Secure Remote Access architecture including the key components of Secure Remote Access with respect to their role in providing secure remote access to corporate intranet resources from outside the intranet This chapter describes how to analyze your organization s needs and requirements that lead to designing your portal deployment This chapter describes how to establish a baseline sizing figure for your portal With a baseline figure established you can then refine that figure to account for scalability high availability reliability and good performance This chapter describes how to create your high level and low level portal design and provides information on creating specific sections of your design plan This chapter describes how to tune and monitor your portal This appendix describes the directories and configuration files for Portal Server and Sun Java System Portal Server Secure Remote Access SRA This appendix describes analysis too
18. implemented on an extensible open schema e Web Containers o Sun Java System Web Server o Sun Java System Application Server Enterprise Edition The following web containers can be used in place of the Web Server and Application Server software o BEA WebLogic Server o IBM WebSphere Application Server See the Sun Java System Installation Guide for information on deploying Portal Server in various web containers NOTE See the Portal Server 6 Release Notes for specific versions of products supported by Portal Server Portal Server Architecture Usually but not always you deploy Portal Server software on the following different portal nodes servers that work together to implement the portal e Portal Server node The web server where Portal Server resides You can also install the Search component on this node if desired Access Manager can reside here Chapter 1 Portal Server Architecture 9 Access Manager node The server where Access Manager can reside Access Manager does not have to reside on the same node as Portal Server Search node Optional The server you use for the Portal Server Search service You can install the Portal Server Search service on its own server for performance scalability and availability reasons Gateway nodes Optional The server where the SRA Gateway resides You can install the Gateway on the portal node Because you locate the Gateway in the DVZ the Gateway is installed on a sepa
19. in the Portal Seroer Secure Remote Access 6 Administration Guide for details Figure 5 13 Multiple Gateway Instances Portal Client Server Host NetFile Gateway Host Netlet Host Portal Hos Client Server J Hos NetFile m Host Gateway Netlet Host HTTP traffic Netlet traffic NOTE Although Figure 5 13 on page 115 shows a 1 to 1 correspondence between the Gateway and the Portal Servers this need not necessarily be the case in a real deployment You can have multiple Gateway instances and multiple Portal Server instances and any Gateway can contact any Portal Server depending on the configuration Chapter5 Creating Your Portal Design 5 Designing SRA Deployment Scenarios The disadvantage to this configuration is that multiple ports need to be opened in the second firewall for each connection request This could cause potential security problems Netlet and Rewriter Proxies Figure 5 14 shows a configuration with a Netlet Proxy and a Rewriter Proxy on the intranet With these proxies only two open ports are necessary in the second firewall The Gateway need not contact the application hosts directly now but will forward all Netlet traffic to
20. Average time between page requests is how often on average a user requests a page from the Portal Server Pages could be the initial login page to the portal or a web site or web pages accessed through the Portal Desktop A page view is a single call for a single page of information no matter how many items are contained on the page Though web server logs record page requests using the log to calculate the average time between requests on a user basis is not feasible To calculate the average time between page requests you would probably need a commercially available statistics tool such as the WebLoad performance testing tool You can then use this figure to determine the number of concurrent users NOTE Page requests more accurately measure web server traffic than hits Every time any file is requested from the web server counts as a hit A single page call can record many hits as every item on the page is registered For example a page containing 10 graphic files records 11 hits one for the HTML page itself and one for each of the 10 graphic files For this reason page requests gives a more accurate determination of web server traffic Concurrent Users A concurrent user is one connected to a running web browser process and submitting requests to or receiving results of requests from Portal Server The maximum number of concurrent users is the highest possible number of concurrent users within a predefined period of time C
21. Figures Use a trial deployment to verify that the portal deployment satisfies your business and technical requirements SRA Sizing SRA Sizing Use this section only if your organization is implementing a secure portal by installing SRA As you did for portal for SRA you must first establish your Gateway instances baseline sizing estimate A single machine can have one Gateway installation but multiple instances SRA enables you to install multiple Gateways each running multiple instances Your design decisions help you make accurate estimates regarding SRA user sessions and concurrency You must first establish your Gateway instances baseline sizing estimate This baseline figure represents what you must have to satisfy your Gateway user sessions and concurrency needs Establishing an appropriate sizing estimate for your SRA deployment is an iterative process You might wish to change the inputs to generate a range of sizing results Test these results against your original requirements You can avoid most performance problems by formulating your requirements correctly and setting realistic expectations of SRA performance This section explains the following types of performance factors that the Gateway instances baseline sizing process involves Identifying Gateway Key Performance Requirements Advanced Gateway Settings 72 Portal Server 6 2005Q1 Deployment Planning Guide SRA Sizing Identifying Gateway Key Performance
22. Midframe LING soo is cit da eI Re Rer TES eI P a PRAE 77 Chapter 5 Creating Your Portal Design 00 c eee e eee eee RII 79 Portal Design Approach coin wie oe iis ahaa aethere ve e Dre eder we ahd e ER p Eque hes 79 Overview of High Level Portal Design 2 80 Overview of Low Level Portal Design pew y elis re yer PEPPER ER Res 81 Logical Portal Architecture he debi he ebLER IR LR RA epis 81 Portal Server and Scalability lille er RPe e me rere DR bia enei ped sssedesea dead 83 Vertical Scaling i 22 00 eod datos Ree eae pale e EE pr DN Ceu edd RUE eda 83 Horizontal Scaling ii eotecieerieseseeseredeenefrer recie Mee eee tei e E a 83 Portal Server and High Availability s cscsii spieri RE Lek X e e ER EREENOODA C AG dex 84 System Availabihty 4 mec Ee tere ge RU P Peed cee d e yaaa tas E 85 Degrees of High Availability cscs sues 85 Achieving High Availability for Portal Servers 6200205245800 eR Rhe ER 85 Portal Server System Communication Links lt 0 ccc0eesc0s aise be Re dr e oes Ease eae AE TES 86 Working with Portal Server Building Modules 2 2 89 Building Modules and High Availability Scenarios 00 6 90 Building Module onstraitS 2 0 4 s 4 covets a ea ee ee D ERG PYRY EP EY ERR 97 Deploying Your Building Module Solution 22 2244354 97 Designing Portal Use Case Scenario ies iiri e aa aa e p aes beeen HA e Ee T Rr RI dU 99 Elements Of Portal Use Cases coco cosh dah sea hod wets eck ee Se
23. Requirements Key performance factors are metrics that your technical representative uses as input to an automated sizing tool The sizing tool calculates the estimated number of Gateway instances your SRA deployment requires Identifying these key performance factors and giving them to your technical representative is the first step in formulating your baseline sizing figure NOTE Properly sizing the Gateway is difficult and using the Gateway sizing tool is only the beginning Gateway performance depends more on throughput then on the number of users active users or user sessions Any sizing information for the Gateway has to be based on a set of assumptions See Secure Remote Access Example on page 152 fore more information These are the key performance factors e Session Characteristics e Netlet Usage Characteristics NOTE After you calculate these key performance factors give the figures to your technical representative Ask that the Gateway sizing tool be run to identify the estimated number of Gateway instances Session Characteristics The session characteristics of the Gateway include Total number of SRA Gateway users This represents the size of your user base or pool of potential users for the secure portal See Concurrent Sessions on page 139 for more information on estimating this number e Expected percentage of total users using the Gateway at maximum load Apply a percentage to your total number of users
24. SRA 72 tool 73 validating 70 software categories 31 packaging 31 Portal Server 31 software crash 86 Solaris Index 189 Q questions business objectives 51 techincal goals 53 user behaviors and patterns 59 R rdmgr command 160 recovering Search database 160 reloading the display profile 161 requirements identifying 51 resource bundles 123 reverse proxy description 122 offloading requests 82 Rewriter load balancing 49 overview 47 rulesets 48 Rewriter Proxy and accelerators 77 and software crash 86 overview 48 robot 57 Role Based Access Control 104 roles 127 rulesets Rewriwter 48 5 sample Portal Server on Linux 179 scalability 83 and SRA 76 portal channels 129 SDK description 32 Search database and robot 57 recovering 160 tag library definitions 0 task list 171 TCP kernel tuning parameters 150 technical goals 53 technical requirements 51 text mining 22 third party proxy Netlet Proxy 44 third party applications and Netlet 43 description 125 thread usage 137 transaction time 68 transparent failover and building modules 96 troubleshooting 159 166 SRA 162 tuning goals 61 Portal Server 133 settings 143 tunneling 43 U uniq pl script 165 UNIX authentication 45 user installation 103 UNIX processes troubleshooting 159 usage information 138 use case scenarios designing 99 example 101 user behaviors and patterns 59 V vertical scaling description 83 Section T
25. a navigational perspective When designing use cases compare them to your requirements to get a thorough view of their completeness and how you are to interpret the test results Use cases provide a method for organizing your requirements Instead of a bulleted list of requirements you organize them in a way that tells a story of how someone can use the system This provides for greater completeness and consistency and also gives you a better understanding of the importance of a requirement from a user perspective Use cases help to identify and clarify the functional requirements of the portal Use cases capture all the different ways a portal would be used including the set of interactions between the user and the portal as well as the services tasks and functions the portal is required to perform A use case defines a goal oriented set of interactions between external actors and the portal system Actors are parties outside the system that interact with the system and can be a class of users roles users can play or other systems Chapter5 Creating Your Portal Design 9 Designing Portal Use Case Scenarios Use case steps are written in an easy to understand structured narrative using the vocabulary of the domain Use case scenarios are an instance of a use case representing a single path through the use case Thus there may be a scenario for the main flow through the use case and other scenarios for each possible variation of f
26. a test on the SRA installation From portal server install root bin perf type shooter sh This tool collects data under a temporary folder and displays the folder name gctool pl This script collects and formats the garbage collection output from the JVM To run 966001 start the Gateway and type the following to redirect the output to this script and allow collection throughout the test etc init d Gateway n default start gctool pl Troubleshooting SRA 164 Portal Server 6 2005Q1 Deployment Planning Guide Troubleshooting SRA NOTE Before running gctool ensure that you include verbose gc in the Gateway script in the CMD section The Gateway script resembles the following server verbose gc XmslG Xmx26G XX OverrideDefaultLibthread XX ThreadStackSize 128 XX MaxPermSize 128M XX PermSize 128M XX MaxNewSize 256M XX NewSize 256M At the end of the test period run shooter to collect the output of gctool along with other data memfoot sh This script tracks the memory footprint of a process Start this script after starting the Gateway and allow it to run during the duration of the test The largest process with the given name or PID is tracked after every specified number of seconds To run memfoot type memfoot java 60 The output of this script is a time stamped process status file The shooter tool collects this output along with the rest of the data uniq pl This script is used in
27. administration console 4 Managing and customizing the attributes once registered on a per organization basis See the Access Manager documentation for more information Integrating Applications Integrating and deploying applications with Portal Server is one of your most important deployment tasks The application types include Channel Provides limited content options is not a mini browser Portal Server 6 2005Q1 Deployment Planning Guide 124 Content and Design Implementation e Portlet Pluggable web component that processes requests and generates content within the context of a portal In Portal Server software a portlet is managed by the Portlet Container Conceptually a portlet is equivalent to a Provider Portal application Launched from a channel in its own browser window the Portal Server hosts the application an example is NetMail created as an Access Manager service accesses Portal and Access Manager APIs e Third party application Hosted separately from Portal Server but accessed from Portal Server URL Scraper which calls Rewriter rewrites web pages so that the web pages can be displayed in a channel uses Access Manager to enable single sign on Independent Software Vendors Listed below are some types of independent software vendor ISV integrations e Application user interface This integration uses the provider API and SRA for secure access SRA is not an integration type on its own
28. also available as part of the Java 2 Platform Enterprise Edition 126 Portal Server 6 2005Q1 Deployment Planning Guide Identity and Directory Structure Design JavaMail provides a common uniform API for managing mail It enables service providers to provide a standard interface to their standards based or proprietary messaging systems using Java programming language Using this API applications can access message stores and compose and send messages Identity and Directory Structure Design A major part of implementing your portal involves designing your directory information tree DIT The DIT organizes your users organizations suborganizations into a logical or hierarchical structure that enables you to efficiently administer and assign appropriate access to users The top of the organization tree in Access Manager is called dc fully qualified domain name by default but can be changed or specified at install time Additional organizations can be created after installation to manage separate enterprises All created organizations fall beneath the top level organization Within these suborganizations other suborganizations can be nested The depth of the nested structure is not limited NOTE The top of the tree does not have to be called de Your organization can change this to fit its needs However when a tree is organized with a generic top for example dc then organizations within the tree can share roles Roles a
29. and services throughout an enterprise The content displayed through portal providers channels and portlets on the portal page can be personalized based on user preferences user role or department within an organization site design and marketing campaigns for customers as end users 21 What is Portals serve as a unified access point to web applications Portals also provide valuable functions like security search collaboration and workflow A portal delivers integrated content and applications plus a unified collaborative workplace Indeed portals are the next generation desktop delivering e business applications over the web to all kinds of client devices A complete portal solution should provide users with access to everything users need to get their tasks done any time anywhere in a secure manner Types of Portals Types of Portals With many new portal products being announced the marketplace has become very confusing Indeed any product or application that provides a web interface to business content could be classified as a portal For this reason portals have many different uses and can be classified as one of the following e Collaborative Portals Business Intelligence Portals Collaborative Portals Collaborative portals help business users organize find and share unstructured office content for example e mail discussion group material office documents forms memos meeting minutes web documents
30. content aggregation through the Provider Application Programming Interface PAPI The Portal Desktop includes a variety of providers that enable container hierarchy and the basic building blocks for building some types of channels Users get a set of tools like web based email and calendaring software that follows them through their entire time at the company Portal Server provides control and access to data as a company wide resource Portal Server enables you to use the Portal Desktop as the sole place for users to gain access to or launch applications and access data Table 3 5 Feature Aggregated information Consistent set of tools Collaboration Integration Understanding User Behaviors and Patterns Study the people who will use your portal Factors such as when users will use the portal and how users have used predecessor systems are keys to identifying your requirements If your organization s experience cannot provide these patterns you can study the experience of other organizations and estimate them Use these questions to help you understand users How many end users will you have What is the size of your target audience Identifying and Evaluating Your Business and Technical Requirements 9 Chapter 3 Understanding User Behaviors and Patterns Will users login to the portal at the same time each day Will they use the portal at work or somewhere else e Are users in the same time zone
31. development and publication of content 3 Do you have a taxonomy defined 4 How well is your information tagged and categorized 5 How is your enterprise content developed managed tracked and published 6 Do you have a need for syndicated content on your portal If so what 7 What proportion of your content is dynamic versus static Appendix Portal Deployment Worksheets 9 Portal Assessment Worksheets Table E 5 User Management and Security Questions How would you segment categorize and relate hierarchically your user community What are your current and future security policies Do various departments own or maintain their private view of the customer Do you have an enterprise directory 1 2 3 4 Table E 6 Business Intelligence Questions Do you have a need to gather store analyze and provide information for enterprise decision making Do you already employ any data analysis or OLAP tools At what level s do you need to collect business intelligence enterprise wide division department project onetime event 1 2 3 Table E 7 Architecture Questions Do you already have an existing architecture strategy Do you have the capabilities to implement a new architecture solution What technologies do you currently use Do you have the staff to implement a new architecture solution Are there organizational issues that are hindering a successful implementation of a new IT architectur
32. in this documentation set 181 182 Portal Server 6 2005021 Deployment Planning Guide Index aggregation description and benefits 59 strategy 129 Allowed URLs and Denied URLs lists Gateway 40 NetFile 46 amSDKStats log 137 amSSOlog 137 analysis tools 143 anonymous Desktop 130 applets NetFile 45 application servers clustering 154 requirements 70 support for 153 applications degree of integration 126 dynamic port 41 integrating 124 portal 125 static port 41 third party 125 authentication 28 54 55 130 and LDAP 87 basic authentication 111 custom 125 Gateway 39 modes 40 PDC 40 Portal Server 28 UNIX 45 authentication server 88 183 SYMBOLS etc opt SUNWps directory 139 etc system tuning parameters 150 opt SUNWps directory 139 opt SUNWps sdk directory 139 A accelerators and Gateway 41 76 access control Gateway 40 limiting 104 NetFile 46 Netlet 43 Access Control Instructions 127 Access Manager administration console 28 and Linux 179 cache and sessions 137 components 28 customizing 124 description 54 description and benefits 55 organization tree 127 single sign on 28 Web Agent 128 Access Manager SDK components 105 administration console tasks 28 session failover 4 collaborative portals 22 Collaborative services 23 communication links 86 components Access Manager Server 28 NetFile 44 Portal Server 28 SRA 37 concurrent sessions 64 66 concurrent users 65 configuration data 32 conf
33. is covered in SRA Sizing on page 72 Because your baseline sizing figure is based on so many estimates do not use this figure without refining it When you refine your baseline sizing figure e Use your baseline sizing figure as a reference point e Expect variations from your baseline sizing figure e Learn from the experience of others e Use your own judgement and knowledge e Examine other factors in your deployment If the Portal Server deployment involves multiple data centers on several continents and even traffic you need a higher final sizing figure than if you have two single data centers on one continent with heavy traffic e Plan for changes A portal site is likely to experience various changes after you launch it Changes you might encounter include the following o Anincrease in the number of channels o Growth in the user base o Modification of the portal site s purpose o Changes in security needs o Power failures Chapter 4 Pre Deployment Considerations 1 o Maintenance demands Considering these factors enables you to develop a sizing figure that is flexible and enables you to avoid risk when your assumptions regarding your portal change following deployment The resulting figure ensures that your portal site has the following Scalability high availability reliability and high performance e Room for whatever you want to provide Flexibility for adjusting to changes Validate Your Final
34. large index and heavy query load 98 Portal Server 6 2005Q1 Deployment Planning Guide Designing Portal Use Case Scenarios e You can install Search on a machine separate from Portal Server to keep the main server dedicated to portal activity When you do so you use the SearchURL property of the Search provider to point to the second machine where Search is installed The Search instance is a normal portal instance You install the Search instance just as you do the portal instance but use it just for Search functionality e The size of the Search database dictates whether more than one machine needs to host the Search database by replicating it across machines or building module Consider using high end disk arrays e Use a proxy server for caching the search hit results When doing so you need to disable the document level security See the Portal Seroer 6 Administration Guide for more information on document level security Designing Portal Use Case Scenarios Use case scenarios are written scenarios used to test and present the system s capabilities and form an important part of your high level design Though you implement use case scenarios toward the end of the project formulate them early on in the project once you have established your requirements When available use cases can provide valuable insight into how the system is to be tested Use cases are beneficial in identifying how you need to design the user interface from
35. of the devices and whether interrupts have been disabled on a CPU psradmin command e intr interrupts e intr thread interrupts not including the clock interrupts o csw Voluntary Context switches When this number slowly increases and the application is not IO bound it may indicate a mutex contention o icsw Involuntary Context switches When this number increases past 500 the system is under a heavy load o Smtx if smtx increases sharply An increase from 50 to 500 is a sign of a system resource bottleneck ex network or disk o Usr sys and idl Together all three columns represent CPU saturation A well tuned application under full load 0 idle should be within 80 to 90 usr and 20 to 10 sys times respectively A smaller percentage value for sys reflects more time for user code and less preemption which result in greater throughput for Portal application Considerations Make your application available to as many CPUs as it can efficiently use As an example you get the best performance from one instance from 2 CPUs You can expect that creating 14 2CPU processor sets would yield the best performance An increasing csw value shows an increase with network use A common cause for a high csw value is the result of having created too many socket connections either by not pooling connections or by handling new connections inefficiently If this is the case you would also see a high TCP connection count when
36. s fault tolerance requirements and ways of measuring system availability For example your organization might tolerate the need to reauthenticate after a system failure so that a request resulting in a redirection to another login screen would be considered successful For other organizations this might be considered a failure even though the service is still being provided by the system Session failover alone is not the ultimate answer to transparent failover because the context of a particular portal application can be lost after a failover For example consider the case where a user is composing a message in NetMail Lite has attached several documents to the email then the server fails The user is redirected to another server and NetMail Lite will have lost the user s session and the draft message Other providers which store contextual data in the current JVM have the same problem Achieving High Availability for Portal Server Making Portal Server highly available involves ensuring high availability on each of the following components Chapter5 Creating Your Portal Design 5 Portal Server System Communication Links Gateway A load balancer used with the Gateway detects a failed Gateway component and routes new requests to other Gateways A load balancer also has the ability to intelligently distribute the workload across the server pool Routing is restored when the failed Gateway recovers Gateway components are stateles
37. seconds 20 Jan 2003 16 53 36 failure 5926 Error accepting connection 5928 oserr 130 Connect aborted The cause of this error is a sticky bit setting within the Cisco Content Services Switch that is causing these errors These load balancers periodically ping the servers every five seconds to verify that the servers are alive After turning off the sticky bit setting which disables the ping to the server every 5 seconds the errors will no longer show up in the Web Server product Appendix Troubleshooting Your Portal Deployment 1 Configuring a Sun Java System Portal Server Instance to Use an HTTP Proxy If the Portal Server software is installed on a host that cannot directly access certain portions of the Internet or your intranet you can receive errors For example when using the SampleSimpleWebService provider you might see the following error when the proxy has not been configured Troubleshooting SRA java net UnknownHostException services xmethods net To Configure Usage of an HTTP Proxy for a Portal Server Instance 1 Change directories to the portal server install root directory containing the configuration for the instance cd portal server install root SUNWam servers https servername config 2 Edit the server xml file within this directory and add the following lines http proxyHost proxy host http proxyPort proxy port http nonProxyHosts portal host where proxy host is the fully qu
38. technology The optimal deployment for each enterprise depends on the type of applications that Java Enterprise System technology supports the number of users the kind of hardware that is available and other considerations of this type Portal Server is able to work with previously installed software components In this case Portal Server uses the installed software when the software is an appropriate version Secure Remote Access Sun Java System Portal Server Secure Remote Access SRA offers browser based secure access to portal content and services from any remote browser enabled with Java technology SRA is accessible to users from any Java technology enabled browser eliminating the need for client software Integration with Portal Server software ensures that users receive secure encrypted access to the content and services that users have permission to access SRA is targeted toward enterprises deploying highly secure remote access portals These portals emphasize security protection and privacy of intranet resources The SRA services Access List the Gateway NetFile Netlet and Proxylet enable users to securely access intranet resources through the Internet without exposing these resources to the Internet Portal Server runs in open mode and secure mode that is either without SRA or with SRA Portal Sever in Open Mode In open mode Portal Server is installed without SRA The typical public portal runs without secure
39. that domain Managed Server In a domain with multiple WebLogic Servers only one server is the Administration Server the other servers are called Managed Servers Each WebLogic Managed Server obtains its configuration at startup from the Administration Server Appendix C Portal Server and Application Servers 155 Portal Server on an Application Server Cluster See the following documentation for more information http edocs beasys com wls docs61 cluster index html You start the Administration Server with the following command install dir config domain name startWeblogic sh The local server takes its configuration from the install dir config domain name config xml file To start a Managed Server use the following command install dir config domain name startManagedWebLogic sh servername admin server url Instead of taking its configuration from the install dir config domain name config xml local file the Managed Server takes it from the Administration Server using HTTP NOTE The default configuration supported for installing Portal Server on BEA WebLogic Server is a single server that is also the Administration Server for the domain A BEA cluster is a set of managed servers in the same domain that are declared in the WebLogic console as a cluster When deploying a web application you use the name of the cluster not the name of the individual servers After the deployment the web application is identically deployed t
40. this functionality to work Access Manager uses the Client Detection service client detection API to detect the client type that is accessing the portal The client type is then used to select the portal template and JSP files and the character encoding that is used for output NOTE Currently Access Manager defines client data only for supported HTML client browsers including Internet Explorer and Netscape Communicator See the Access Manager documentation for more information Sun Java System Portal Server Mobile Access 6 3 software extends the services and capabilities of the Portal Server platform to mobile devices and provides a framework for voice access The software enables portal site users to obtain the same content that they access using HTML browsers Mobile Access software supports mobile markup languages including xHTML cHTML HDML HTML and WML It can support any mobile device that is connected to a wireless network through a LAN or WAN using either the HTTP or HTTPS protocol In fact the Portal Server Mobile Access software could support any number of devices including automobiles set top boxes PDAs cellular phones and voice Chapter 5 Creating Your Portal Design 131 Identity and Directory Structure Design 132 Portal Server 6 2005Q1 Deployment Planning Guide Chapter 6 The Production Environment This chapter describes how to monitor and tune Sun Java System Portal Server software including the
41. to determine this figure e Average time between page hits This is how often on average a user requests a page from the portal server Chapter 4 Pre Deployment Considerations 3 Session average time This determines how many logins per second that the Gateway must sustain for a given number of concurrent users Netlet Usage Characteristics Consider the following Netlet characteristics of the Gateway which can have a impact in calculating the number of Gateway instances Netlet is enabled in the Access Manager administration console If Netlet is enabled the Gateway needs to determine whether the incoming traffic is Netlet traffic or Portal Server traffic Disabling Netlet reduces this overhead since the Gateway assumes that all incoming traffic is either HTTP or HTTPS traffic Disable Netlet only if you are sure you do not want to use any remote applications with Portal Server Expected percentage of total users using Netlet Apply a percentage to your total number of users to determine this figure Expected throughput Determine the expected throughput of your Gateway expressed in kilobits per second Kbps Netlet Cipher encryption being used Choices include Native VM and Java software plugin ciphers SRA Sizing 74 Portal Server 6 2005Q1 Deployment Planning Guide SRA Sizing Advanced Gateway Settings Use the settings in this section to obtain more accurate results when estimating the number of Ga
42. to recover it lt To Recover the Database 1 Stop all processes accessing the database including the Portal Server instance 2 Usethe rdmgr R command to recover Working with the Display Profile If you need to troubleshoot the XML contents of your portal s display profile extract the contents to a file for examination At some point in the troubleshooting process it might be useful to reload the display profile 160 Portal Server 6 2005Q1 Deployment Planning Guide Troubleshooting Portal Server lt To Extract the Display Profile 1 Login as administrator 2 Use the dpadmin command to extract the display profile For example dpadmin list u uid amAdmin ou People o sesta com o isp w password d o sesta com o isp gt tmp displayxml This example puts the contents of the display profile into the tmp displayxml file gt To Reload the Display Profile 1 Login as administrator 2 Use the dpadmin command to reload the display profile For example dpadmin modify u uid amAdmin ou People o sesta com o isp w password d ossesta com o isp tmp updated displayxml This example reloads the contents of the display profile from the tmp updated displayxml file High CPU Utilization for Portal Server Instance When using the Cisco Content Services Switch you might see a very high CPU utilization on the Portal Server instance with Sun Java System Web Server error file showing the following message every five
43. with customer Provide information and training on report tool Establish test plan Identify user acceptance test manager Develop user acceptance test strategy and procedures Review strategy and procedures with customer Obtain approval for strategy and procedures Develop user acceptance test roles and responsibilities Obtain integration test scenarios Review test conditions and acceptance criteria and revise Develop user acceptance test schedule Prepare acceptance test log and update with scenario test assignments Execute user acceptance test Identify and document user acceptance test discrepancies Resolve user acceptance test discrepancies Re execute user acceptance tests and track user acceptance test progress Catalog and prioritize known limitations and process improvement opportunities identified during testing Review test results with quality assurance advisors summarize and communicate results to stakeholders Obtain acceptance test approval from stakeholders Appendix Portal Deployment Worksheets 5 Table E 8 Design Task List 5 of 7 Major Phases and Tasks Reporting Test Plan User Acceptance Test Conduct User Acceptance Test Subtasks Ensure establishment of integration test environment Identify test team and assign test scenario ownership Train team on integration test procedures roles and responsibilities Review and revise integration test execution schedule as required Execute integ
44. 005Q1 Deployment Planning Guide Portal Server Software Deployment Access Manager console SDK Authentication daemons that support the web applications See the Access Manager Deployment Planning Guide for more information Portal Server Software Deployment This section provides information on software deployed on Portal Server This section provides information on the software packaging mechanism the software categories within the system and compatibility with Java software Software Packaging Portal Server uses a dynamic WAR file approach to deploy software to the system Portal Server is installed using Solaris packages which consist of individual files that comprise web applications for example JAR JSP template and HTML files The packages do not contain WAR or EAR files The packages do contain web xml fragments that are used to construct the Portal Server WAR file at installation time This dynamically constructed file is then deployed to the web application container As additional packages are added to the system for example for localization the web application file is rebuilt and redeployed NOTE The WAR file packaging and deployment mechanism is for use only by Portal Server products Customer modifications to the WAR file or any files used to build it are currently not supported Software Categories Portal Server distinguishes between the following kinds of software that it installs onto the Portal Server
45. 60 Working with the Display Prone iirc site dees sowie ear es be ERU Gee RE bie etude ERE 160 High CPU Utilization for Portal Servet Instante iccideh thc dpodsnt ta gidenin 161 Configuring a Sun Java System Portal Server Instance to Use an HTTP Proxy 162 Tronbleshootns SRA cients teet E peo dedit Store are ep cedendo edic ete eerte 162 Debye the Oafe Way sh cee v Ee Ores sig Min hele e NT ADEPTUS eP iE 162 Introductio to shooter 4 RR HE chee ob he RE E PED OUO eee 163 Usitig SHDDEBE 55 brerpbestMDEr eb EEQE REOS DeL DEN S PER NUR 164 SRA bos Pes fh tnd eene Pe ed Idae ert ode bat Mam etie hift edited 165 Appendix E Portal Deployment Worksheets eslleeseeeeeeeee 167 Portal Assessment Worksheets 220222222 ehh 167 Portal Design Task List 0 cec ic cane e RA DIRE EE deme ak ogee Ce pde dir 171 Appendix Portal Server on the Linux 1 8 179 Limitations Usine LIMIE io gt lt gt 25 5 6 ERI r eid e ae biddag gag 50 179 Comparison of Solaris and Linux Path Names 3 ccc bep HERR tr tener aus ERE 179 Contents 7 8 Portal Server 6 2005021 Deployment Planning Guide List of Figures 9 List of Figures Portal Server in Open Mode cct mee ev es Portal Server in Secure Mode ss High level Architecture for a Business to Employee Portal SRA Deployment si x e RR Rte Es Portal Server Communication Links
46. Beans architecture and other J2EE technology stack constructs such as JDBC and JCA running on the application server These other applications and modules can consume resources and affect your portal sizing Validate Baseline Sizing Figures Now that you have an estimate of the number of CPUs for your portal deployment use a trial deployment to measure the performance of the portal Use load balancing and stress tests to determine e Throughput the amount of data processed in a specified amount of time e Latency the period of time that one component is waiting for another component Maximum number of concurrent sessions Portal samples are provided with the Portal Server You can use them with channels similar to the ones you will use to create a load on the system The samples are located on the Portal Desktop Portal Sizing 70 Portal Server 6 2005Q1 Deployment Planning Guide Portal Sizing Use a trial deployment to determine your final sizing estimates A trial deployment helps you to size back end integration to avoid potential bottlenecks with Portal Server operations Refine Baseline Sizing Figures Your next step is to refine your sizing figure In this section you build in the appropriate amount of headroom so that you can deploy a portal site that features scalability high availability reliability and good performance NOTE Refining baseline sizing requirements for a secure portal deployment using SRA
47. Component Requirements Hardware Redundancy Portal Server Building Modules Multi master Configuration Load Balancing Stateless Applications and Checkpointing Mechanisms Session Failover Directory Server Clustering NOTE Working with Portal Server Building Modules Best Effort In this scenario you install Portal Server and Directory Server on a single node that has a secured hardware configuration for continuous availability such as Sun Fire UltraSPARC III machines Securing a Solaris Operating Environment system requires that changes be made to its default configuration This type of server features full hardware redundancy including redundant power supplies fans system controllers dynamic reconfiguration CPU hot plug online upgrades and disks rack that can be configured in RAID 0 1 striping plus mirroring or RAID 5 using a volume management system which prevents loss of data in case of a disk crash Figure 5 3 shows a small best effort deployment using the building module architecture Best Effort Scenario Portal Directory Server Server cS Search Engine Database In this scenario for memory allocation four CPUs by eight GB RAM 4x8 of memoty is sufficient for one building module The Access Manager console is outside of the building module so that it can be shared with other resources Your actual sizing calculations might result in a different al
48. Features and Benefits o occ decre EXE 57 Personalization Features and Benefits nuunuu unnar eneee 58 Ageresation Features and Benefits eirriicisiritiriopiei nitip yr PITE TEES 59 Portal Server High Availability Scenarios 6 ie eek ebb a eee eae 91 Use Case Authenticate Portal User 0 0 cece eee een 101 Portal Server as zesederertatre RE pentes dada de aie RC RC eq 139 Portal Server SRA Directories 00 140 Performance Analysis Tools oeroue piss err eet eee week dean E 143 Fete System OPUNE sir ae bho Maes dai edb deine a dos S A D TU EET ES 150 TER TIF OPON rie With sda icles 08 150 General esto cessus uh ret SR SRI Pah A dudes Dae Deedes 167 Organizational Questions et town dapes 168 Business Service level Expectations Questions 2 22 066 e gend 169 Content Management Questions 20 4 0 0240083 wees doe fes ede E OPERE 169 User Management and Security Questions 6 0 c cece ccc E 170 Business Intelligence Questions oo sccsricssdresene nsari mai sia prs Gale eine ieee 170 Axchitecture Questions rruna ede BE id EE E E 170 Design Task List ov ccncneereene eee eis nen ApEn EE E Ha sane area eae EE 171 Comparison of Solaris and Linux Path Names 00 cece cece eee 179 List of Tables 1 Table 1 Table 3 1 Table 3 2 Table 3 3 Table 3 4 Table 3 5 Table 5 1 Table 5 2 Table A 1 Table A 2 Table B 1 Table B 2 Table B 3 Table E 1 Table E 2
49. Guide A Typical Portal Server Installation 35 Figure 1 4 shows a Portal Server deployment with SRA services See Chapter 2 Portal Server Secure Remote Access Architecture for details Application Host Application Portal Server Architecture 3 Host Portal Server Web Server Chapter 1 Rewriter Proxy Netlet Proxy Figure 1 4 SRA Deployment Gateway Client Proxylet Netlet A Typical Portal Server Installation 36 Portal Server 6 2005Q1 Deployment Planning Guide Chapter 2 Portal Server Secure Remote Access Architecture This chapter describes the Sun Java System Portal Server Secure Remote Access SRA architecture You administer the configuration information through the Access Manager administration console This chapter describes the following SRA components e SRA Gateway e Netlet e Proxy e NetFile e Rewriter e Rewriter Proxy e Proxylet SRA Gateway The SRA Gateway is a standalone Java process that can be considered to be stateless since state information can be rebuilt transparently to the end user The Gateway listens on configured ports to accept HTTP and HTTPS requests Upon r
50. In secure mode Portal Server is installed with SRA Secure mode provides users with secure remote access to required intranet file systems and applications 26 Portal Server 6 2005Q1 Deployment Planning Guide Secure Remote Access The main advantage of SRA is that only the IP address of the Gateway is published to the Internet All other services and their IP addresses are hidden and never published to a Domain Name Service DNS that is running on the public network such as the Internet The Gateway resides in the demilitarized zone DMZ The Gateway provides a single secure access point to all intranet URLs and applications thus reducing the number of ports to be opened in the firewall All other Sun Java System services such as Session Authentication and Portal Desktop reside behind the DMZ in the secured intranet Communication from the client browser to the Gateway is encrypted using HTTP over Secure Sockets Layer SSL Communication from the Gateway to the server and intranet resources can be either HTTP or HTTPS Figure 1 2 shows Portal Server installed with SRA SSL is used to encrypt the connection between the client and the Gateway over the Internet SSL can also be used to encrypt the connection between the Gateway and the Portal Server system The presence of a Gateway between the intranet and the Internet extends the secure path between the client and the Portal Server system Figure 1 2 P
51. Ls lists to allow or deny access to servers at the organization role or user level The Denied URLs list takes precedence over the Allowed URLs The Allowed URLs and Denied URLs lists can contain the wildcard to allow or deny access to a set of servers under a single domain or subdomain Security When you use NetFile with SRA configured for SSL all connections made from NetFile applets to the underlying file system happen over the SSL connection established between the Gateway and the browser Because you typically install the Gateway in a DMZ and open a limited number of ports usually only one in the second firewall you do not compromise security while providing access to the file systems Special Operations NetFile is much like a typical file manager application with a set of features that are appropriate for a remote file manager application NetFile enables users to upload and download files between the local and remote file systems shares You can limit the size of the upload file from the local to the remote file system through the Access Manager administration console NetFile 46 Portal Server 6 2005Q1 Deployment Planning Guide Rewriter NetFile also enables users to select multiple files and compress them by using GZIP and ZIP compression Users can select multiple files and send them in a single email as multiple attachments NetFile also uses the SSO token of Access Manager to access the user s email settings suc
52. ORISEE PAR LA LOI APPLICABLE Y COMPRIS NOTAMMENT TOUTE GARANTIE IMPLICITE RELATIVE A LA QUALITE MARCHANDE A L APTITUDE A UNE UTILISATION PARTICULIERE OU A L ABSENCE DE CONTREFACON Contents List of FIQUKES 2 uisu ter eee ene ee y 4a RC he R ROC ex Ron RE RR TCR n 9 Liston Tables HR EIU 11 zril p 13 Betore YouRead This Book dixe 6 coe RC IT deze 13 Who Should Read This Book 2 erede x E reme risiede e s ee RO HER 13 How This Book Is Organized 22121292 0 14 Typographie ConyenBns uro eis tegens Sue as tr er duh eher dope UR d ah seals 15 Related Documentation lt c0 06 cpa bee wa waked hae w age Heh ek eed qe Ree ER ER HU be d pede 16 Books in This Documentation Set ellclecleelceebrenzuwRhrvesuep n mr Rd Pea gor ois 16 Other Portal Server DocumentatloB e LkeLERLDOeLezeRERG 9 4e 4een PreeROSRe PA gERPre secet 17 Other Server Documentation eeceeieecem uec ed ea cesser 9G ab abt ab ERA TR RR RAE E 17 Accessing Sun Resources Ce uode pec RET RERE D EARN EDU EM ea TE Eu E 18 Contacting Sun Technical SUpport sericese rine ia Enia EEA Ei eae UAR COREL EESE E 18 Related Third Party Web Site References 9 0 riirii eant ee e iaa ees 18 Sun Welcomes Your Comments eulliilec esse ek aa eee Apr REESE ERG Nu FERES 19 Chapter 1 Portal Server Architecture 00sec eee eee eee nn nnn 21 Wh hatisa Portal E nba Ge PSP EIS RES e 21 Typesot Portals scene eo ETE IRE Re bon 5 TE LR qu ER ode R
53. Portal Server Examples include Access Manager and LDAP NOTE Portal Server cannot currently integrate another LDAP solution Access Manager and Portal Server rely on features not found in other LDAP implementations The depth to which user interface integration occurs with Portal Server indicates how complete the integration is Depth is a term used to describe the complementary nature of the integration and points to such items as Application availability through Portal Server itself Application availability in secure mode using SRA Netlet rules e Ability to use single sign on In general the degree to which an application integrates in Portal Server can be viewed as follows Shallow integration This integration essentially uses the Portal Server as a launch point The user logs in to the portal and clicks a link that starts a web application e Deep integration The user accesses the user interface provided by the channels in Portal Server directly That is the integrated software works within the portal No additional windows or applets appear Integrating Microsoft Exchange Using the JavaMail API is one of the primary options for integrating Microsoft Exchange messaging server with Portal Server The JavaMail API provides a platform independent and protocol independent framework to build Java technology based mail and messaging applications The JavaMail API is implemented as a Java platform optional package and is
54. Proxy The Netlet Proxy then routes all the traffic to the destination servers in the intranet and you reduce the number of open ports required in the second firewall You can also deploy multiple Netlet Proxies behind the second firewall to avoid a single point of failure You could also use a third party proxy to use only one port in the second firewall NOTE Installing the Netlet Proxy on a separate node can help with Portal Server response time by offloading Netlet traffic to a separate node NetFile enables remote access and operation of file systems that reside within the corporate intranet in a secure manner NetFile uses standard protocols such as NFS jCIFS and FTP to connect to any of the UNIX or Windows file systems that are permissible for the user to access NetFile enables most file operations that are typical to file manager applications See the Portal Server Secure Remote Access 6 Administration Guide for more information Components To provide access to various file systems NetFile has three components e NetFile Java 1 Applet Has an AWT based user interface For use with older browsers that cannot support Java 2 NetFile Java 2 Applet Has a Swing based user interface For use with browsers that support Java plug ins NetFile 44 Portal Server 6 2005Q1 Deployment Planning Guide NetFile NetFile servlet s Two NetFile servlets are present in the web container one for each kind of NetFile appl
55. R was 22 Collaborative Portals ecce ele IR Rer hae dad Pade ede ee DECRE eee anes 22 Business Intelligence Portals 2 21 23 Portal Server Capabilities rere bettas Past AEE Ohi Ru qe se reset Pete e 23 Sun Java system Portal Server iuiloccloszetetertitenkemtelb eene kie Dedobeibd steamed dos 24 Secure Remote Access i 222229 eel aw ede dni rira E TIVO V RETCES A e de eae ER EE E TY 25 Portal Sever in Open Mode v 02 eise cec xl da Reda ehe ed ek RE ER Rr Reel 25 Portal Server in Secure 1006 cese eise dug aer RE ERGA TE rau 26 Security Encryption and Authentication 28 Portal Server Deployment Components sics x ier9eeeeLre exa ert saddens Peur deed eet dass 28 Portal Server Architecture RRRRRCeeDie ee Reed ue UA DEREN E RT Identity Management cssc eee eet bbs en E ERE RUE a Portal Server Software Deployment eere Peer tee en pu epe ERES Software Packaging 2 osse dueczerrebeter e e Quee bI REUNIR HANE oak dea kenge SoftWare Categories 5 ces dis eue Dea eene ere e ers Reeve pm e dr EY e Compatibility With Java Software os ccce Re exe RI e RE De abbr brE RES A Typical Portal server Installation i25 err h PERS ad ee eere gehe prs hin Chapter 2 Portal Server Secure Remote Access Architecture SRA HOMI oie esteso meine one ane se Med di adio ue oath sas iaces Miultiple Gateway Instances uccoczeteni iir IG ehe eX er Mannie E IRURE Multiple Postal Server Instances L
56. RA Gateway provides the interface and security barrier between the remote user sessions originating from the Internet and your organization s intranet The Gateway serves two main functions e Provides basic authentication services to incoming user sessions including establishing identity and allowing or denying access to the platform e Provides mapping and rewriting services to enable web based links to the intranet content for users For Internet access use 128 bit SSL to provide the best security arrangement and encryption or communication between the user s browser and Portal Server The Gateway Netlet NetFile Netlet Proxy Rewriter Proxy and Proxylet constitute the major components of SRA This section lists some of the possible configurations of these components Choose the right configuration based on your business needs This section is meant only as a guide not a complete deployment reference TIP To set up the authlessanonymous page to display through the Gateway add portal dt to the non authenticated URLs of the gateway profile However this means that even for normal users portal pages will not need authentication and no session validation is performed Chapter 5 Creating Your Portal Design 111 Designing SRA Deployment Scenarios Basic SRA Configuration Figure 5 10 shows the most simple configuration possible for SRA The figure shows a client browser running NetFile and Netlet The Gateway is installed on
57. Sun Java System Portal Server Secure Remote Access product This chapter contains the following sections e Moving to a Production Environment e Monitoring Portal Server Moving to a Production Environment Moving to a production environment occurs after you have thoroughly tested your portal and operated it as a trial deployment to test and refine your design Monitoring and Tuning Monitoring and tuning your portal deployment is an ongoing cyclical process in which you look for bottlenecks and other performance issues With monitoring and tuning your portal keep the following points in mind Beginning with the trial portal define a baseline performance for your deployment before you add in the full complexity of the project e Using this initial benchmark define the transaction volume your organization is committed to supporting in the short term and in the long run 133 Moving to a Production Environment e Determine whether your current physical infrastructure is capable of supporting the transaction volume requirement you have defined Identify services that are the first to max out as you increase the activity to the portal This indicates the amount of headroom you have as well as identify where to expend your energies e Measure and monitor your traffic regularly to verify your model e Use the model for long range scenario planning Understand how dramatically you need to change your deployment to meet your ove
58. Table E 3 Table E 4 Table E 5 Table E 6 Table E 7 Table E 8 Table F 1 12 Portal Server 6 2005021 Deployment Planning Guide Preface This Administration Guide explains how to plan for and deploy Sun Java System Portal Server 6 2005621 software Portal Server Secure Remote Access provides a platform to create portals for your organization s integrated data knowledge management and applications The Portal Server platform offers a complete infrastructure solution for building and deploying all types of portals including business to business business to employee and business to consumer Before You Read This Book Portal Server Secure Remote Access is a component of Sun Java Enterprise System a software infrastructure that supports enterprise applications distributed across a network or Internet environment You should be familiar with the documentation provided with Sun Java Enterprise System which can be accessed online at http docs sun com coll entsys 05ql Who Should Read This Book This Administration Guide is intended for use by those responsible for deploying Portal Server at your site Before you deploy Portal Server you must be familiar with the following technologies Sun Java Enterprise System e Solaris Operating System administrative procedures e Sun Java System Access Manager Sun Java System Directory Server How This Book Is Organized e Java Web Server e JavaServer Pages technology
59. Us your Portal Server deployment requires You need to gather the following metrics for input to the sizing tool Peak Numbers e Average Time Between Page Requests e Concurrent Users Average Session Time e Search Engine Factors Other performance metrics that affect the number of CPUs a Portal Server deployment requires but are not used by the sizing tool are e Portal Desktop Configuration e Hardware and Applications e Back end Servers e Transaction Time e Workload Conditions A discussion of the these performance factors follows Peak Numbers Maximum number of concurrent sessions defines how many connected users a Portal Server deployment can handle To calculate the maximum number of concurrent sessions use this formula Portal Sizing 64 Portal Server 6 2005Q1 Deployment Planning Guide Portal Sizing maximum number of concurrent sessions expected percent of users online user base To identify the size of the user base or pool of potential users for an enterprise portal here are some suggestions Identify only users who are active Do not include users who are for example away on vacation or on leave e Use a finite figure for user base For an anonymous portal estimate this number conservatively e Study access logs Identify the geographic locations of your user base Remember what your business plan states regarding who your users are Average Time Between Page Requests
60. When you calculate transaction time size your Portal Server so that processing time under regular or peak load conditions does not exceed your performance requirement threshold and so that you can sustain processing time over time Workload Conditions Workload conditions are the most predominantly used system and JVM software resources on a system These conditions largely depend on user behavior and the type of portal you deploy The most commonly encountered workload conditions on Portal Server software affect e System performance Portal Server performance is impacted when a large number of concurrent requests are handled such as a high activity profile For example during peak hours in a business to enterprise portal a significant number of company employees connect to the portal at the same time Such a scenario creates a CPU intensive workload In addition the ratio of concurrent users to connected users is high e System capacity Portal Server capacity begins to be impacted when large numbers of users log in As more users login users use more of the available memory and subsequently less memory is available to process requests made to the server For example in a business to consumer web portal a large number of logged in users are redirected to external web sites once the initial Portal Desktop display is loaded However as more users continue to login users create the need for more memory even though the ratio of us
61. a separate machine in the DMZ between two firewalls The Portal Server is located on a machine beyond the second firewall in the intranet The other application hosts that the client accesses are also located beyond the second firewall in the intranet The Gateway is in the DMZ with the external port open in the firewall through which the client browser communicates with the Gateway In the second firewall for HTTP or HTTPS traffic the Gateway can communicate directly with internal hosts If security policies do not permit it use SRA proxies between the Gateway and the internal hosts For Netlet traffic the connection is direct from the Gateway to the destination host Without a SRA proxy the SSL traffic is limited to the Gateway and the traffic is unencrypted from the Gateway to the internal host unless the internal host is running in HTTPS mode Any internal host to which the Gateway has to initiate a Netlet connection should be directly accessible from DMZ This can be a potential security problem and hence this configuration is recommended only for the simplest of installations Figure 5 10 Basic SRA Configuration Portal Server Client NetFile Gateway Netlet Host Proxylet HTTP traffic _ 112 Portal Server 6 2005021 Deployment Planning Guide Designing SRA Deployment Scenarios Disa
62. ability of the system Authentication Server This is the directory server for LDAP authentication usually the same server as the profile database server You can apply the same high availability techniques to this server as for the profile database server SRA Gateway and Proxies The SRA Gateway is a standalone Java technology process that can be considered stateless because state information can be rebuilt transparently to end users The Gateway profile maintains a list of Portal Server instances and does round robin load balancing across the Gateway instances Session stickiness is not required in front of a Gateway but with session stickiness performance is better On the other hand session stickiness to Portal Server instances is enforced by SRA Portal Server 6 2005Q1 Deployment Planning Guide 88 Working with Portal Server Building Modules SRA includes other Java technology processes called Netlet Proxy and Rewriter Proxy You use these proxies to extend the security perimeter from behind the firewall and limit the number of holes in the DMZ You can install these proxies on separate nodes Working with Portal Server Building Modules Because deploying Portal Server is a complex process involving many other systems this section describes a specific configuration that provides optimum performance and horizontal scalability This configuration is known as a Portal Server building module A Portal Server building module
63. access using only the HTTP protocol Although you can configure Portal Server to use the HTTPS protocol in open mode either during or after installation secure remote access is not possible This means that users cannot access remote file systems and applications The main difference between an open portal and a secure portal is that the services presented by the open portal typically reside within the demilitarized zone DMZ and not within the secured intranet Chapter 1 Portal Server Architecture 5 Secure Remote Access If the portal does not contain sensitive information deploying public information and allowing access to free applications then responses to access requests by a large number of users is faster than secure mode Figure 1 1 shows Portal Server configured for open mode In this figure Portal Server is installed on a single server behind the firewall Multiple clients access the Portal Server system across the Internet through the single firewall or from a web proxy server that sits behind a firewall NOTE You can provide secure access to users of web enabled resources by running Portal Server in open mode with the HTTPS protocol However without SRA you cannot provide secure remote access to file systems or TCP IP applications Figure 1 1 Portal Server in Open Mode Firewall Client Portal Server Internet intranet Applications Client Portal Server in Secure Mode
64. al CPU load to the system Depending on storage hardware and application behavior there may be a better block size to use besides the ufs default of 8192k Please consult Solaris System Administration Guide iostat iostat 146 Portal Server 6 2005Q1 Deployment Planning Guide netstat The netstat tool gives statistics on the network subsystem It can be used to analyze many aspects of the network subsystem two of which are the TCP IP kernel module and the interface bandwidth An overview of both uses follow netstat I hmeO 10 These netstat options are used to analyze interface bandwidth The upper bound max of the current throughput can be calculated from the output The upper bound is reported because the net stat output reports the metric of packets which don t necessarily have to be their maximum size The upper bound of the bandwidth can be calculated using the following equation Bandwidth Used Total number of Packets Polling Interval 10 MTU 1500 default The current MTU for an interface can be found with ifconfig a netstat I hme0 10 Output netstat I hme0 10 input hme0 output input Total output packets errs packets errs colls packets errs packets errs colls 122004816 272 159722061 0 0 348585818 2582 440541305 2 2 0 0 0 0 0 84144 0 107695 0 0 0 0 0 0 0 96144 0 123734 0 0 0 0 0 0 0 89373 0 114906 0 0 0 0 0 0 0 84568 0 108759 0 0 0 0 0 0 0 84720 0 108800 0 0 Wha
65. al Requirements Stakeholders Preconditions Minimal Guarantees Success Guarantees Trigger Designing Portal Security Strategies Use Case Authenticate Portal User Continued Description 1 User enters the portal URL 2 If the customization parameter remember login is set then automatically login the user and provide a session ID If first time user prompt for LDAP user ID and password User enters previously assigned user ID and password Information is passed to Access Manager for validation If authentication passes assign session ID and continue noo c o If authentication fails display error message return user to login page decrement remaining attempts if pre set attempts exceed limit notify user and lock out the account Table 5 2 Item Description Designing Portal Security Strategies Security is the set of hardware software practices and technologies that protect a server and its users from malicious outsiders In that regard security protects against unexpected behavior You need to address security globally and include people and processes as well as products and technologies Unfortunately too many organizations rely solely on firewall technology as their only security strategy These organizations do not realize that many attacks come from employees not outsiders Therefore you need to consider additional tools and processes when creating a secure portal environment Oper
66. alified domain name of the proxy host proxy port is the port on which the proxy is run and portal host is the fully qualified domain name of the portal host Troubleshooting SRA This section describes how to capture information that Sun Java System support personnel need to troubleshoot problems in your deployment Debugging the Gateway To turn debugging on or off you set the level of debugging or set it to off The following steps describe what to do 1 Loginasroot to the Gateway machine and edit the following file 162 Portal Server 6 2005Q1 Deployment Planning Guide Troubleshooting SRA gateway install root SUNWam con ig AMCont ig instance name properties 2 Setthe debug level com iplanet services debug level The debug levels are error Only serious errors are logged in the debug file Rewriter usually stops functioning when such errors occur warning Warning messages are logged message All debug messages are logged off No debug messages are logged 3 Specify the directory for the debug files in the following property of the AMConfig instance name properties file com iplanet services debug directory var opt SUNWam debug where var opt SUNWam debug is the default debug directory 4 Restart the Gateway from a terminal window gateway install root SUNWps bin gateway n gateway profile name start Introduction to shooter The shooter tool captures all the information that the de
67. and content e Personalization through the use of portal providers portlet and web service remote portlet Publishing and managing content provided by third party applications such as FatWire oun Java System Portal Server Portal Server is a component of the Sun Java Enterprise System technology Sun Java Enterprise System technology supports a wide range of enterprise computing needs such as creating a secure intranet portal to provide the employees of an enterprise with secure access to email and in house business applications The Portal Server product is an identity enabled portal server solution It provides all the user policy and identity management to enforce security web application single sign on SSO and access capabilities to end user communities In addition Portal Server combines portal services such as personalization aggregation security integration and search Unique capabilities that enable secure remote access to internal resources and applications round out a complete portal platform for deploying business to employee business to business and business to consumer portals The Sun Java System Portal Server Secure Remote Access SRA provides additional secure remote access capabilities to access web and non web enabled resources Portal Server 6 2005Q1 Deployment Planning Guide 24 Secure Remote Access Each enterprise assesses its own needs and plans its own deployment of Java Enterprise System
68. and some support for live feeds Collaborative portals differ from Internet and intranet portals not only in supporting a wider range of information but also by providing a set of content management and collaborative services Content management services include the following e Text mining the discovery of new previously unknown information e Clustering of related unstructured information Information categorization Summarization to generate abstracts for documents Publishing and subscribing e Finding people e Tracking expertise Collaborative portals are mainly used internally as a corporate facility 22 Portal Server 6 2005001 Deployment Planning Guide Portal Server Capabilities Collaborative services allow users to do the following Chat Organize meetings e Share calendaring information e Define user communities e Participate in net meetings Share information in discussion groups and on white boards Business Intelligence Portals Business intelligence portals provide executives managers and business analysts with access to business intelligence for making business decisions This type of portal typically indexes business intelligence reports analyses and predefined queries and are associated with financial management customer relationship management and supply chain performance management Business intelligence portals also provide access to business intelligence tools reporting OLAP data min
69. arch Engine in your sizing calculations Search Engine sizing requirements depend on the following factors e The size of index partitions on the active list of the index directory Partition size is directly proportional to the size and number of indexed and searchable terms e Average disk space requirement of a resource description RD To calculate this use this formula average disk space requirement database size number of RDs in database Portal Sizing 66 Portal Server 6 2005Q1 Deployment Planning Guide Portal Sizing The average size adjusts for variations in sizes of RDs A collection of long complex RDs with many indexed terms and a list of short RDs with a few indexed terms require different search times even if the complex RDs have the same number of RDs RDs are stored in a hierarchical database format where the intrinsic size of the database must be accounted for even when no RD is stored The number of concurrent users who perform search related activities To calculate this use this formula number of concurrent users average time between search hits Use the number of concurrent users value calculated in Average Time Between Page Requests on page 140 e The type of search operators used Types of search functions include basic combining proximity passage and field operator and wildcard scans Each function uses different search algorithms and data structures Because differences in search alg
70. are falls into three categories Applets Applets used in Portal Server are compatible with Java 1 1 which is supported by most browsers e Web applications Web applications are intended to be compatible with the Java 2 Enterprise Edition J2EE web container based on the servlets interface except where uses of special interfaces are identified This includes compatibility with Java 2 and later Stand alone Java processes Stand alone Java software processes are compatible with Java 2 and later Some Portal Server software specifically in SRA use Java Native Interface JNI to call C application programming interfaces APIs These calls are necessary to enable the system to run as the user nobody Portal Server 6 2005Q1 Deployment Planning Guide 32 A Typical Portal Server Installation A Typical Portal Server Installation Figure 1 3 on page 34 illustrates some of the components of a portal deployment but does not address the actual physical network design single points of failure nor high availability See Chapter 5 Creating Your Portal Design for more detailed information on portal design This illustration shows the high level architecture of a typical installation at a company site for a business to employee portal In this figure the Gateway is hosted in the company s DMZ along with other systems accessible from the Internet including proxy cache servers web servers and mail Gateways The portal no
71. ating Portal Server in a secure environment involves making certain changes to the Solaris Operating Environment the Gateway and server configuration the installation of firewalls and user authentication through Directory Server and SSO through Access Manager In addition you can use certificates SSL encryption and group and domain access Securing the Operating Environment Reduce potential risk of security breaches in the operating environment by performing the following often termed system hardening 102 Portal Server 6 2005Q1 Deployment Planning Guide Designing Portal Security Strategies Minimize the size of the operating environment installation When installing a Sun server in an environment that is exposed to the Internet or any untrusted network reduce the Solaris installation to the minimum number of packages necessary to support the applications to be hosted Achieving minimization in services libraries and applications helps increase security by reducing the number of subsystems that must be maintained The Solaris Security Toolkit software provides a flexible and extensible mechanism to minimize harden and secure Solaris Operating Environment systems The primary goal behind the development of this toolkit is to simplify and automate the process of securing Solaris systems Please see http www sun com software security jass Track and monitor file system changes Within systems that require in
72. ava APIs An instance is a fully qualified domain name and a TCP port number Portal Server services are web applications that are implemented as servlets or JSP files Portal Server is built on top of Access Manager for authentication single sign on session management policy and profile database access Thus Portal Server inherits all the benefits and constraints of Access Manager with respect to availability and fault tolerance By design Access Manager s services are either stateless or the services can share context data Services can recover to the previous state in case of a service failure Within Portal Server Portal Desktop and NetMail services do not share state data among instances This means that an instance redirect causes the user context to be rebuilt for the enabled services Usually redirected users do not notice this because Portal Server services can rebuild a user context from the user s profile and by using contextual data stored in the request While this statement is generally true for out of the box services it might not be true for channels or custom code Developers need to be careful to not design stateful channels to avoid loss of context upon instance failover Profile Database Server The profile database server is implemented by Directory Server software Although this server is not strictly part of Portal Server availability of the server and integrity of the database are fundamental to the avail
73. availability until the first Portal Server instance is up again The NSPOF high availability scenario is suitable to business critical deployments However some high availability limitations in this scenario might not fulfill the requirements of a mission critical deployment Chapter 5 Creating Your Portal Design 5 Working with Portal Server Building Modules Transparent Failover Transparent failover uses the same replication model as the NSPOF scenario but provides additional high availability features which make the failover to a backup server transparent to end users Figure 5 5 on page 96 shows a transparent failover scenario Two building modules are shown consisting of four CPUs by eight GB RAM Load balancing is responsible for detecting Portal Server failures and redirecting users requests to a backup Portal Server in the building module Building Module 1 stores sessions in the sessions repository If a crash occurs the application server retrieves sessions created by Building Module 1 from the sessions repository Directory Server Master Replica Multi Master Replication Sessions Repository Directory Server Master Replica Transparent Failover Example Scenario Building Module 1 Portal Server Instance Search Engine Database Building Module 2 Portal Server Instance Search Engine Database Figure 5 5
74. ax 10000 ndd set dev tcp initial 3000 ndd set dev tcp tcp time wait interv al 60000 ndd set dev tcp tcp keepalive interv al 900000 ndd set dev tcp tcp conn req max q value ndd set dev tcp tcp conn req max 0 value ndd set dev tcp tcp ip abort interva l value ndd set dev tcp tcp ip abort interva l value Tuning Parameters for etc system 152 Portal Server 6 2005Q1 Deployment Planning Guide Appendix C Portal Server and Application Servers This appendix provides an overview of the Sun Java System Portal Server product and its support for application servers This appendix contains the following sections e Introduction to Application Server Support in Portal Server e Portal Server on an Application Server Cluster Introduction to Application Server Support in Portal Server The Sun Java System Portal Server product provides support for the following application servers to be used as the web application container in addition to the Java Web Server software e Sun Java System Application Server Enterprise Edition e BEA WebLogic Server Server 8 1 SP 2 e IBM WebSphere Application Server 5 1 NOTE Portal Server runs in the context of a web application container which can be either a web server or one of the application servers mentioned above depending on your deployment This chapter assumes that the web application container is an application server
75. be the case that on a subsequent login days later for example the user s information is retrieved from the cache Much better performance occurs with high hit ratios A hit ratio of a minimum of 80 percent is a good target although if possible an even higher ratio is desired Thread Usage Use the web container tools to monitor the number of threads being used to service requests In general the number of threads actually used is generally lower than many estimates especially in production sites where CPU utilization usually is far less than 100 percent Chapter6 The Production Environment 137 Monitoring Portal Server Portal Usage Information Portal Server does not include a built in reporting mechanism to monitor portal usage information by portal users This includes which channels are accessed how long the channels are accessed and the ability to build a user behavioral pattern of the portal However you can build a Java servlet that would intercept every Portal Server Desktop request extract the SSO token save the user access information to a log then redirect the user to the intended URL Such a construct would be based on custom attribute extensions to the Access Manager schema 138 Portal Server 6 2005Q1 Deployment Planning Guide Appendix A Installed Product Layout This appendix describes the Sun Java System Portal Server directory structure and properties files used to store configuration and operatio
76. ble High availability has become a requirement that applies not only to mission critical applications but also to the whole IT infrastructure System availability is affected not only by computer hardware and software but also by people and processes which can account for up to 80 percent of system downtime Availability can be improved through a systematic approach to system management and by using industry best practices to minimize the impact of human error One important issue to consider is that not all systems have the same level of availability requirements Most applications can be categorized into the following three groups Task critical Affects limited number of users not visible to customers small impact on costs and profits e Business critical Affects significant number of users might be visible to some customers significant impact on costs and profits Mission critical Affects a large number of users visible to customers major impact on costs and profits The goals of these levels are to improve the following e Processes by reducing human error automating procedures and reducing planned downtime e Hardware and software availability by eliminating single point of failure configurations and balancing processing load The more mission critical the application the more you need to focus on availability to eliminate any single point of failure SPOF and resolve people and processes issues Even if a syst
77. ble Netlet Figure 5 11 shows a scenario similar to the basic SRA configuration except that Netlet is disabled If the client deployment is not going to use Netlet for securely running applications that need to communicate with intranet then use this setup for performance improvement You can extend this configuration and combine it with other deployment scenarios to provide better performance and a scalable solution Figure 5 11 Disable Netlet Portal Server Client NetFile Gateway E L HTTP traffic Chapter5 Creating Your Portal Design 113 Designing SRA Deployment Scenarios Proxylet Figure 5 12 Proxylet enables users to securely access intranet resources through the Internet without exposing these resources to the client It inherits the transport mode either HTTP or HTTPS from the Gateway Figure 5 12 Proxylet Client Portal Server J4 Gateway 1 Host Proxylet D Proxylet traffic 114 Portal Server 6 2005Q1 Deployment Planning Guide Designing SRA Deployment Scenarios Multiple Gateway Instances Figure 5 13 shows an extension of the SRA basic configuration Multiple Gateway instances run on the same machine or multiple machines You can start multiple Gateway instances with different profiles See Chapter 2 Configuring the Gateway
78. ccess Manager SDK consists of the following components Identity Management SDK provides the framework to create and manage users roles groups containers organizations organizational units and sub organizations Authentication API and SPI provides remote access to the full capabilities of the Authentication Service Utility API manages system resources Loggin API and SPI records among other things access approvals access denials and user activity Client Detection API detects the type of client browser that is attempting to access its resources and respond with the appropriately formatted pages SSO API provides interfaces for validating and managing session tokens and for maintaining the user s authentication credentials Policy API evaluates and manages Access Manager policies and provides additional functionality for the Policy Service SAML API exchanges acts of authentication authorization decisions and attribute information Chapter 5 Creating Your Portal Design 105 Nodes Federation Management API adds functionality based on the Liberty Alliance Project specifications Figure 5 6 illustrates Access Manager and Portal Server residing on separate nodes Access Manager Node Content Node As a result of this implementation of Portal Server and Access Manager separation other topology permutations are possible for portal services architecture deployments as shown in the next three figures
79. ccess Manager cache and sessions 137 analysis tools 143 baseline analysis 135 building modules 97 CPU utilization 136 establishing methodology 62 garbage collection 135 memory consumption 135 TCP kernel 150 thread usage 137 tuning parameters 150 personalization description and benefits 58 retrieval 130 placement of portal content 124 platform security 103 Portal Desktop configuration 67 design 128 portal key design task list 171 Portal Server and Access Manager on different nodes 105 and high availability 85 and load balancers 94 building modules 89 client support 131 communication links 86 components 28 configuration files 139 design approach 79 directory structure 139 documenting functions 134 188 Portal Server 6 2005Q1 Deployment Planning Guide Section 0 Search Engine description and benefits 57 functions 67 structure 98 search engine sizing factors 66 search NetFile 47 SearchURL property 99 secure mode 26 securing the operating environment 102 security 28 NetFile 46 platform 103 security strategies 102 servlets and communication 87 session characteristics SRA 73 monitoring 137 stickiness 39 session failover 85 91 and clustering 154 BEA 156 session information 40 shooter tool 163 single sign on 28 128 description 55 implementing 128 sizing 66 69 and JCA 70 and JDBC 70 establishing baseline figures 64 general tips 62 Portal Server 63 refining 71 Search Engine 66 search engine factors 66
80. ch individual In addition users can then customize this information further to their individual tastes A portal puts control of the web experience in the hands of the people using the web not the web site builders This enables a company to deploy multiple portals to multiple audiences from one product and manage them from a central management console Also new content and services can be added and delivered on demand without the need to restart Portal Server All of this saves time and money and ensures consistency in an IT organization Personalization Features and Benefits Description Portal Server includes the ability to automatically choose which applications users are able to access or to use based on their role within the organization Portal Server enables end users to choose what content they are interested in seeing For example users of a personal finance portal choose the stock quotes they would like to see when viewing their financial portfolio Portal Server enables an enterprise or service provider to aggregate and deliver personalized content to multiple communities of users simultaneously Table 3 4 Feature Deliver content based on user s role Enable users to customize content Aggregate and personalize content for multiple users Aggregation and Integration One of the most important aspects of a portal is its ability to aggregate and integrate information such as applications services a
81. clusion of security a file change control and audit tool is indispensable as it tracks changes in files and detects possible intrusion You can use a product such as Tripwire for Servers or Solaris Fingerprint Database available from SunSolve Online Using Platform Security Usually you install Portal Servers in a trusted network However even in this secure environment security of these servers requires special attention UNIX User Installation You can install and configure Portal Server to run under three different UNIX users root This is the default option All Portal Server components are installed and configured to run as the system superuser Some security implications arise from this configuration o Anapplication bug can be exploited to gain root access to the system o You need root access to modify some of the templates This raises potential security concerns as this responsibility is typically delegated to non system administrators who can pose a threat to the system User nobody You can install Portal Server as the user nobody uid 60001 This can improve the security of the system because the user nobody does not have any privileges and cannot create read or modify the system files This feature prevents user nobody from using Portal Server to gain access to system files and break into the system Chapter 5 Creating Your Portal Design 103 Designing Portal Security Strategies The user nobody does not hav
82. comprendre des composants d velopp s par des tierces parties Des parties de ce produit pourront tre d riv es des syst mes Berkeley BSD licenci s par l Universit de Californie UNIX est une marque d pos e aux Etats Unis et dans d autres pays et licenci e exclusivement par X Open Company Ltd Sun Sun Microsystems le logo Sun Java Solaris JDK Java Naming and Directory Interface JavaMail JavaHelp J2SE iPlanet le logo Duke le logo Java Coffee Cup le logo Solaris le logo SunTone Certified etle logo Sun tm ONE sont des marques de fabrique ou des marques d pos es de Sun Microsystems Inc aux Etats Unis et dans d autres pays Toutes les marques SPARC sont utilis es sous licence et sont des marques de fabrique ou des marques d pos es de SPARC International Inc aux Etats Unis et dans d autres pays Les produits portant les marques SPARC sont bas s sur une architecture d velopp e par Sun Microsystems Inc Legato le logo Legato et Legato NetWorker sont des marques de fabrique ou des marques d pos es de Legato Systems Inc Le logo Netscape Communications Corp est une marque de fabrique ou une marque d pos e de Netscape Communications Corporation L interface d utilisation graphique OPEN LOOK et Sun TM a t d velopp e par Sun Microsystems Inc pour ses utilisateurs et licenci s Sun reconnait les efforts de pionniers de Xerox pour la recherche et le d veloppement du concept des interfaces d utilisation visuelle ou grap
83. consists of two columns The first column presents the major tasks The second column presents the subtasks for each major task Table E 8 Design Task List 1 of 7 Major Phases and Tasks Subtasks 1 Project Start and Coordination Project Planning Perform general project management Appendix E Portal Deployment Worksheets 171 Subtasks Review pre implementation Review business requirements Review technical requirements Review architectural documents Review hardware and infrastructure Identify skills required Identify resources Schedule resources Assemble project team members Review work plan with project team members Collect business requirements Summarize requirements Confirm functional requirements Collect technical requirements Summarize technical requirements Confirm technical requirements Prepare combined requirements document Deliver requirements Design software architecture Design server topology Document architecture Understand system integration approach Define container and channel layout Define content aggregation Define SSO approach Develop custom Netlet and authentication modules Prepare or modify user interface design Develop or update screen specifications Review and approve user interface model Portal Design Task List Table E 8 Design Task List 2 of 7 Major Phases and Tasks Project Plan Review Coordinate Resources Define Requirements 2 Design Deve
84. cultural content to a specific audience Localization can be approached in two different ways 1 Localization of the entire product into a language that we don t provide This is usually done by a professional service organization 2 Localization of customizable parts of Portal Server that can be translated to support localization include o Template and JSP files o Resource bundles o Display profile properties For advanced language localization create a well defined directory structure for template directories To preserve the upgrade path maintain custom content and code outside of default directories See the Portal Server 6 Developer s Guide for more information on localization Content and Design Implementation The Portal Desktop provides the primary end user interface for Portal Server and a mechanism for extensible content aggregation through the Provider Application Programming Interface PAPI The Portal Desktop includes a variety of providers that enable container hierarchy and the basic building blocks for building some types of channels For storing content provider and channel data the Portal Desktop implements a display profile data storage mechanism on top of an Access Manager service The various techniques you can use for content aggregation include e Creating channels using building block providers e Creating channels using JSPProvider e Creating channels using Portal Server tag libraries e Creating channel
85. de You can use the Access Manager administration console to enable or disable specific encryption The Gateway also supports Transport Layer Security TLS SSL v3 has two authentication modes Chapter 2 Portal Server Secure Remote Access Architecture 9 Mandatory server authentication The client must authenticate the server e Optional authentication The server is configured to authenticate the client Personal Digital Certificate PDC authentication is a mechanism that authenticates a user through SSL client authentication The Gateway supports PDC authentication with the support of Access Manager authentication modules With SSL client authentication the SSL handshake ends at the Gateway This PDC based authentication is integrated along with the Access Manager s certificate based authentication Thus the client certificate is handled by Access Manager and not by the Gateway If the session information is not found as part of the HTTP or HTTPS request the Gateway directly takes the user to the authentication page by obtaining the login URL from Access Manager Similarly if the Gateway finds that the session is not valid as part of a request it takes the user to the login URL and at successful login takes the user to the requested destination After the SSL session has been established the Gateway continues to receive the incoming requests checks session validity and then forwards the request to the destination web server
86. de portal search node and directory server are hosted on the internal network where users have access to systems and services ranging from individual employee desktop systems to legacy systems NOTE If you are designing an ISP hosting deployment which hosts separate Portal Server instances for business customers who each want their own portal contact your Sun Java System representative Portal Server requires customizations to provide ISP hosting functionality In Figure 1 3 on page 34 users on the Internet access the Gateway from a browser The Gateway connects the user to the IP address and port for the portal users are attempting to access For example a B2B portal would usually allow access to only port 443 the HTTPS port Depending on the authorized use the Gateway forwards requests to the portal node or directly to the service on the enterprise internal network Chapter 1 Portal Server Architecture 3 A Typical Portal Server Installation Figure 1 3 High level Architecture for a Business to Employee Portal Portal Gateway Server Telecommuter Search PCs Workstations PCs Proxy H Desk Cache esktops Portal Server Airport Hotel Internet Directory Kiosks Server Web Server m Server Branch Offices Remote Offices Customers Suppliers Mail Behind Firewall Gateway Legacy Server DMZ 34 Portal Server 6 2005Q1 Deployment Planning
87. dec den bee sansa Access Manager Cache and Sessions Thread Usage colssesessssRrperueeRRE RS eren Portal Usage Information 2co ete eet Appendix A Installed Product Layout Directories Installed for Portal Server Directories Installed for 5 Configuration Piles illc sleek RIPE ba REY Appendix B Analysis Tools DIpstab foci dda ea popi erbe ee bn Y ied Yee Wares p c mete PC ii PEPPER C Dm Portal Server 6 2005001 Deployment Planning Guide 6 Tuning 107 00 0 enii vce ies ea slack nei DORIA se Ra Pac UR ceiduud 150 Appendix C Portal Server and Application Servers eeeeseeeeesse 153 Introduction to Application Server Support in Portal Server cece eee eee ee 153 Portal Server on an Application server Cluster RR ere E deed 154 Overview of Application Server Enterprise Edition 0 0 cece cece eee ees 155 Overview of BEA WebLogic Server Clusters i 00 co duces ina EHI RUE gated ORI OR S 155 Overview of IBM WebSphere Application Server sse 157 Appendix D Troubleshooting Your Portal Deployment lees 159 Troubleshooting Portal sRCbEPOE ears ae RR 159 UNIX Processes ccc shee sare eed he toe eRe EROR eee ee hl ha ees 159 iod access roer ann REA n EE AEE a EEA a REAR E ba nine selene nadice 160 Recoverine the Search Database o a E dde rent aa 1
88. deploy new business services Securing the access to your data and services Making it easier for your customers to do business with you over the Internet Reducing the cost and time for integrating business services with suppliers and partners To comply with governmental regulations Personalizing the user experience Needing to gather business intelligence on the usage of services 167 1 Portal Assessment Worksheets Table E 1 General Questions How many portals does your organization already have What types are they business to employee business to consumer business to business ISP If you have more than one do you have a need to reduce the number Integrate Federate Do you have departmental portals What is the extent of your Web presence How many web sites do you have List the top ten application services of value to you that you would like to expose by using Portal Server to your partners Suppliers Customers Employees Who is the target community for your portal 2 Table E 2 Organizational Questions Who are the stakeholders of this portal Who are the business owners department organization or an individual within your organization who would expose the content or application service that they own by using the portal Would an application service exposed by using the portal be made up of smaller business applications managed by an inter departmental business process Who would own
89. develop a caching strategy if your site requires one If the pages returned to your users contain references to large numbers of images Portal Server can deliver these images for all users However if these types of requests can be offloaded to a reverse proxy type of caching appliance you can free up system resources so that Portal Server can service additional users Additionally by placing a caching appliance closer to end users these images can be delivered to end users somewhat more quickly thus enhancing the overall end user experience 82 Portal Server 6 2005Q1 Deployment Planning Guide Portal Server and Scalability Portal Server and Scalability Scalability is a system s ability to accommodate a growing user population without performance degradation by the addition of processing resources The two general means of scaling a system are vertical and horizontal scaling The subject of this section is the application of scaling techniques to the Portal Server product Benefits of scalable systems include Improved response time e Fault tolerance e Manageability e Expendability e Simplified application development e Building modules Vertical Scaling In vertical scaling CPUs memory multiple instances of Portal Server or other resources are added to one machine This enables more process instances to run simultaneously In Portal Server you want to make use of this by planning and sizing to the number of CPUs
90. e For the top ten services that you would like deployed by using a portal what platform and architecture do you need to support How do these services authenticate users and manage access control How do you programmatically gain access to these services What is your current and future messaging email and collaboration architecture What is your current and future enterprise directory architecture What technologies are used for application integration Portal Server 6 2005Q1 Deployment Planning Guide 1 170 Portal Design Task List Table E 7 Architecture Questions Continued 9 Whatis the size of the target user community 10 How many concurrent users 11 What is the range of portal usage 12 What is the geographical distribution of your user base 13 Do you currently have or have a future need for non Web access Wireless Voice IVR 14 Would your customer base require internationalization of content and services 15 What server platform technologies do you use 16 What development environments tools do you use 17 What development methodologies do you employ Portal Design Task List Table E 8 lists the major portal deployment phases and design tasks Use this task list to help develop your portal project plan Though these tasks will vary depending on your organization and the scale of each deployment the worksheet represents the most common phases and tasks encountered This table
91. e Search database also called generation or indexing Contents are individually searchable and importance rating are given for of all comments Table 3 3 Search Features and Benefits Feature Description Search Engine Enables the retrieval of documents based on criteria specified by the end user Categorization Organizes documents into a hierarchy This categorization is often referred to as taxonomy Robot The Search Engine robot is an agent that crawls and indexes information across your intranet or the Internet Discussions A forum for multiple threaded discussions Chapter3 Identifying and Evaluating Your Business and Technical Requirements 7 Benefit Discussions search categories and free form searches saved searches can be tracked Mapping Portal Server Features to Your Business Needs Search Features and Benefits Continued Description Enables the user to track new or changed material in different areas of interest Table 3 3 Feature Subscriptions Personalization Personalization is the ability to deliver content based on selective criteria and offer services to a user Table 3 4 shows the personalization features and their benefits Benefit Increases employee productivity improves customer relationships and streamlines business relationships by providing quick and personalized access to content and services The information available in a portal is personalized for ea
92. e Secure Remote Access http docs sun com db doc 817 7693 Portal Server Release Notes Available after the product is released Contains http docs sun com db doc 817 7699 last minute information including a description of what is new in this current release known problems and limitations installation notes and how to report issues with the software or the documentation 16 Portal Server Secure Remote Access 6 2005Q1 Administration Guide Related Documentation Book Title Description Portal Server Technical Reference Guide Provides detailed information on the Portal Server technical concepts such as Display Profile Rewriter command line utilities tag libraries in the software and files such as templates and JSPs This guide serves as a single source for such essential background information http docs sun com db doc 817 7696 Other Portal Server Documentation Other Portal Server books include e Portal Server Desktop Customization Guide ttp docs sun com doc 817 5318 EY Portal Server Developer s Guide http docs sun com doc 817 5319 e Portal Server Mobile Access Developer s Guide B ttp docs sun com doc 817 6258 e Portal Server Mobile Access Developer s Reference ttp docs sun com doc 817 6259 e Portal Server Mobile Access Deployment Planning Guide ttp docs sun com doc 817 6257 EX e Portal Server Mobile Access Tag Library Reference
93. e a password which prevents a regular user from becoming nobody Only the superuser can change users without being prompted for a password Thus you still need root access to start and stop Portal Server services See the Java Enterprise System Installation Guide for more information e Non root user You can run Portal Server as a regular UNIX user The security benefits of a regular user are similar to the security benefits provided by the user nobody A regular UNIX user has additional benefits as this type of user can start stop and configure services After installation you need to change ownership of some files See the Java Enterprise System Installation Guide for more information Limiting Access Control While the traditional security UNIX model is typically viewed as all or nothing you can use alternative tools to provide some additional flexibility These tools provide the mechanisms needed to create a fine grain access control to individual resources such as different UNIX commands For example this toolset enables Portal Server to be run as root while allowing certain users and roles superuser privileges to start stop and maintain the Portal Server framework These tools include e Role Based Access Control RBAC Solaris 8 and Solaris 9 include the Role Based Access Control RBAC to package superuser privileges and assign them to user accounts RBAC enables separation of powers controlled delegation of privi
94. e data so that the provider can deliver a personalized channel to the user Working with Providers Consider the following when planning to deploy providers URLScraperProvider Typically you use this provider to access dynamic content that is supplied by another web container s web based system It uses HTTP and HTTPS calls to retrieve the content This provider puts high requirements on the back end system as the back end system has to be highly scalable and available Performance needs to be in double digit milliseconds or hundredths of milliseconds to show high performance This provider is very useful for proof of concept in the trial phase of your portal deployment due to the simplicity of configuration URLScraperProvider also performs some level of rewriting every time it retrieves a page For example if a channel retrieves a news page that contains a picture that is hosted on another web site for the portal to be able to display that picture the URL of that picture needs to be rewritten The portal does not host that picture so URLScraperProvider needs to rewrite that picture to present it to portal users The URL Scraper provider that is part of Portal Server can also function as a file scraper provider Chapter 5 Creating Your Portal Design 129 Identity and Directory Structure Design To use URLScraperProvider as a file scraper provider specify the URL as follows String name url value file path filename Thi
95. e information on MMR refer to the Directory Server 6 Deployment Guide NOTE In general the Directory Server instance in each building module is configured as a replica of a master directory which runs elsewhere However nothing prevents you from using a master directory as part of the building module The use of masters on dedicated nodes does not improve the availability of the solution Use dedicated masters for performance reasons Portal Server 6 2005Q1 Deployment Planning Guide 94 Working with Portal Server Building Modules Redundancy is equally important to the directory master so that profile changes through the administration console or the Portal Desktop along with consumer replication across building modules can always be maintained Portal Server and Access Manager support MMR The NSPOF scenario uses a multi master configuration In this configuration two suppliers can accept updates synchronize with each other and update all consumers The consumers can refer update requests to both masters SRA follows the same replication and load balancing pattern as Portal Server to achieve NSPOF As such two SRA Gateways and pair of proxies are necessary in this scenario The SRA Gateway detects a Portal Server instance failure when the instance does not respond to a request after a certain time out value When this occurs the HTTPS request is routed to a backup server The SRA Gateway performs a periodic check for
96. eceiving a request the Gateway checks session validity and header information to determine the type of request Depending on the type of request the Gateway performs the following 37 Netlet request Routes the request traffic to the server specified in the Netlet rule that the user clicked in the Portal Desktop e HTTP S traffic Routes the request to the server as specified by the HTTP header Upon receiving a response from the server the Gateway translates the response so that all intranet links within the response work on the extranet All the Gateway configuration information is stored in the Access Manager s LDAP database as a profile A gateway profile consists of all the configuration information related to the Gateway except All machine specific information such as machine specific information such as host name and IP address is stored in a configuration file in the local file system where the Gateway is installed This enables one gateway profile to be shared between Gateways that are running on multiple machines As mentioned previously you can configure the Gateway to run in both HTTP and HTTPS modes simultaneously This helps both intranet and extranet users to access the same Gateway extranet users over HTTPS and intranet users over HTIP without the overhead of SSL You can also run the Gateway in chroot environments See the Portal Server Secure Remote Access 6 Administration Guide for more information Mu
97. efault the platform con f file is located at etc opt SUNWps Appendix A Installed Product Layout 141 Configuration Files 142 Portal Server 6 2005Q1 Deployment Planning Guide Appendix B Analysis Tools The Sun Java Enterprsie System and SDK include default setting options to ensure a satisfactory out of the box experience However these options might not provide optimal performance for your web applications in the Sun Java System Portal Server production environment This section describes some alternative options and basic tuning techniques NOTE The tuning settings discussed in this section focus on Portal Server residing on the Solaris platform However the principles can be applied to other generic Unix type operating systems Table B 1 below lists the performance analysis tools that will help in providing feedback for tuning the Portal Server and its web container In addition to performance issues many of these tools can be used to detect other types of bottlenecks at the overall operating system level Many tool descriptions provide sample output suggestions for interpreting output results tips on improving output results and links to related sites Table B 1 Performance Analysis Tools Type Name Parameters Usage Solaris 8 and Solaris9 mpstat CPU utilization iostat Disk 0 subsystem netstat Network subsystem I hme 10 Interface bandwidth sP tcp TCP kernel module 143 Category Analysis Tool
98. em is always available instances of failure recovery might not be transparent to end users Depending on the kind of failure users can lose the context of their portal application and might have to login again to get access to their Portal Desktop Portal Server 6 2005Q1 Deployment Planning Guide 84 Portal Server and High Availability System Availability System availability is often expressed as a percentage of the system uptime A basic equation to calculate system availability is Availability uptime uptime downtime 100 For instance a service level agreement uptime of four digits 99 99 percent means that in a month the system can be unavailable for about seven hours Furthermore system downtime is the total time the system is not available for use This total includes not only unplanned downtime such as hardware failures and network outages but also planned downtime preventive maintenance software upgrade and patches If the system is supposed to be available seven days a week 24 hours a day the architecture needs to include redundancy to avoid planned and unplanned downtime to ensure high availability Degrees of High Availability High availability is not just a switch that you can turn on and off Various degrees of high availability refer to the ability of the system to recover from failures and ways of measuring system availability The degree of high availability depends on your specific organization
99. emfoot sh script 165 Microsoft Exchange 42 and Netlet 42 integrating 126 Netlet Proxy 44 MIME types NetFile 47 monitoring active sessions 137 Portal Server 133 moving to a production environment 133 mpstat 144 multihomed Gateway 38 multi master and Directory Server 90 configuration 91 98 multiple network connections Portal Server 43 multithreading and mpstat 144 NetFile 47 hardware and applications 8 high availability 84 high level design 80 instance and servlets 87 instance description 88 instances 109 logical architecture 81 low level design 81 mapping features to needs 54 multiple instances with Gateway 38 multiple network connections 43 nodes 29 30 38 open mode 25 overview 24 scalability 83 secure mode 26 security 28 sizing 63 sizing tips 62 software 31 SRA overview 25 stickiness 136 troubleshooting 159 tuning and monitoring 133 tuning goals 61 typical installation 33 usage information 138 Portal Server Desktop JavaScript 82 NetFile 45 portals business intelligence 23 collaborative 22 overview 21 types 22 portlet description 125 production environment 133 profile database server 88 Provider Application Programming Interface 59 providers deployment considerations 129 proxies 39 and Gateway 88 configuration 39 failover 86 Proxylet overview 49 psdp dtdfile 140 Section O 0 open mode 5 Outlook client 42 P packaging 31 pcAnywhere 52 PDC authentication 40 peak numbers 64 performance A
100. ent Planning Guide Section E dpadmin command 161 dp org xml file 139 dp providers xml file 139 dynamic port applications 41 dynamic web applications 31 E encryption 102 128 bit 111 40 bit 40 Netlet 41 Portal Server 28 symmetric key encryption 77 Enterprise JavaBeans 70 error logging level 134 example use case 101 extracting the display profile 161 F failover 86 91 fault tolerance and high availability 85 file compression NetFile 47 FTP NetFile 44 G Gateway accelerators 41 access control 40 advanced settings 75 Allowed URLs and Denied URLs 40 and HTTP basic authentication 39 and Non Authenticated URL 40 and proxies 88 authentication 39 chroot environment 38 description 27 Index 185 requirements 51 software 31 deployment scenarios 92 and SRA 92 building modules 92 no single point of failure 93 SRA 111 122 transparent failover 96 designing for integration 124 for localization 123 security strategies 102 SRA deployment scenarios 111 122 use case scenarios 99 Desktop type 75 directories installed for Portal Server 139 installed for SRA 140 Directory Information Tree 127 directory replica 94 Directory Server and building modules 94 clustering 91 description 29 requirements 98 structure design 127 Directory service description 54 directory structure SRA 140 Discussion channel 57 display profile 123 and JSP files 130 and troubleshooting 160 DTD location 140 extracting 161 location for p
101. ent Scenarios e Designing for Localization e Content and Design Implementation e Identity and Directory Structure Design Portal Design Approach At this point in the Sun Java System Portal Server deployment process you ve identified your business and technical requirements and communicated these requirements to the stakeholders for their approval Now you are ready to begin the design phase in which you develop your high and low level designs 79 Portal Design Approach Your high level portal design communicates the architecture of the system and provides the basis for the low level design of your solution Further the high level design needs to describe a logical architecture that meets the business and technical needs that you previously established The logical architecture is broken down according to the various applications that comprise the system as a whole and the way in which users interact with it In general the logical architecture includes Portal Server Secure Remote Access SRA high availability security including Access Manager and Directory Server architectural components See Logical Portal Architecture on page 81 for more information The high and low level designs also need to account for any factors beyond the control of the portal including your network hardware failures and improper channel design Once developed the high level design leads toward the creation of the low level design The low l
102. epresentative has previously discussed these topics with you Thus this section serves as a review of that process Identity Management Portal Server uses identity management to control many users spanning a variety of different roles across the organization and sometimes outside the organization while accessing content applications and services The challenges include Who is using an application In what capacity do users serve the organization or company What do users need to do and what should users be able to access How can others help with the administrative work Table 3 1 shows the identity management features and their benefits Table 3 1 Identity Management Features and Benefits Feature Description Benefit Directory service Portal Server uses Access Manager and Portal Server uses an LDAP directory for Directory Server storing user profiles roles and identity information for the purpose of authentication single sign on SSO delegated administration and personalization Portal Server uses an open schema that can reside in a centralized user directory thereby leveraging an enterprise or service provider s investment in the Access Manager and Directory Server products 54 Portal Server 6 2005Q1 Deployment Planning Guide Mapping Portal Server Features to Your Business Needs Identity Management Features and Benefits Continued Benefit Provides a centralized identity management solution for st
103. er where identified URIs are translated 5 Theoriginal URI is replaced with the rewritten URI 6 This process is repeated until the end of the document is reached 7 Theresultant Rewriter output is routed to the browser Rewriter Proxy Rewriter Proxy To minimize the number of open ports in the firewall use the Rewriter Proxy When you install the Rewriter Proxy HTTP requests are redirected to the Rewriter Proxy instead of directly to the destination host The Rewriter Proxy in turn sends the request to the destination server Using the Rewriter Proxy enables secure HTTP traffic between the Gateway and intranet computers and offers two advantages e Ifa firewall is between the Gateway and server the firewall needs to open only two ports One firewall is between the Gateway and the Rewriter Proxy and another is between the Gateway and the Portal Server e Youcan use a third party proxy to use only one port in the second firewall to read the Rewriter Proxy e HTTP traffic is now secure between the Gateway and the intranet even if the destination server only supports HTTP protocol not HTTPS 48 Portal Server 6 2005Q1 Deployment Planning Guide Proxylet NOTE You can run multiple Rewriter Proxies to avoid a single point of failure and achieve load balancing Proxylet Proxylet is a dynamic proxy server that runs on a client machine Proxylet redirects a URL to the Gateway It does this by reading and modifying the proxy
104. ers cannot sustain the necessary bandwidth for Portal Server to operate at full speed Portal Desktop rendering and throughput request times will not be optimum The Portal Desktop waits until all channels are completed or timed out before it returns the request response to the browser Plan your back end infrastructure carefully when you use channels that e Scrape their content from external sources e Access corporate databases which typically have slow response times e Provide email content e Provide calendar content Transaction Time Transaction time which is the delay taken for an HTTP or HTTPS operation to complete aggregates send time processing time and response time figures You must plan for factors that can affect transaction time These include e Network speed and latency You need to especially examine latency over a Wide Area Network WAN Latency can significantly increase retrieval times for large amounts of data e The complexity of the Portal Desktop e The browser s connection speed For example a response time delay is longer with a connection speed of 33 6 kilobytes per second than with a LAN connection speed However processing time should remain constant Transaction time through a dial up connection should be faster than transaction time displayed by a load generation tool because it performs data compression Portal Sizing 68 Portal Server 6 2005Q1 Deployment Planning Guide Portal Sizing
105. ers submitting requests to Portal Server and the users merely logged in is low Depending on the user s behavior at certain times of the day week or month Portal Server can switch between CPU intensive and memory intensive workloads The portal site administrator must determine the most important workload conditions to size and tune the site to meet the enterprise s business goals Customize the Baseline Sizing Figures Establishing an appropriate sizing estimate for your Portal Server deployment is an iterative process You might wish to change the inputs to generate a range of sizing results Customizing your Portal Server deployment can greatly affect its performance Chapter 4 Pre Deployment Considerations 9 After you have an estimate of your sizing consider LDAP Transaction Numbers Application Server Requirements LDAP Transaction Numbers Use the following LDAP transaction numbers for an out of the box portal deployment to understand the impact of the service demand on the LDAP master and replicas These numbers change once you begin customizing the system e Access to authless anonymous portal 0 ops e Login by using the Login channel 2 BINDS 2 SRCH Removing a channel from the Portal Desktop 8 SRCH 2 MOD e Reloading the Portal Desktop 0 ops Application Server Requirements One of the primary uses of Portal Server installed on an application server is to integrate portal providers with Enterprise Java
106. ess Manager e Portal Desktop e Sun Java System Directory Server e Java Virtual Machine While emerging technologies enable you to perform detailed monitoring of Portal Server services this section focuses on the basic but extensive set of hardware and software issues that determine the overall performance of a portal deployment Specifically portal performance is determined by the capability of throughput and latency over a period of time You must conduct a baseline performance analysis as soon as possible The baseline performance analysis confirms that your portal substantially conforms to published performance numbers Establishing a performance baseline helps you to understand infrastructure issues that can severely impact the performance of a production portal Nevertheless when maintaining a properly performing portal you must look at a broad set of issues The following sections explain issues in terms of portal performance variables and provides guidelines for determining portal efficiency NOTE These rules also apply for performance scalability and stress tests Memory Consumption and Garbage Collection Before reading this section read the following document on tuning garbage collection with the Java Virtual Machine version 1 4 2 http java sun com docs hotspot gc1 4 2 index html Portal Server requires substantial amounts of memory to provide the highest possible throughput At initialization a maximum address space i
107. et The servlets are responsible for connecting to different types of file systems carrying out the operations that NetFile is configured to handle and sending the information back to the applets for display NetFile is internationalized and provides access to file systems irrespective of their locale character encodings NetFile uses Access Manager to store its own profile as well as user settings and preferences You administer NetFile through the Access Manager administration console Initialization When a user selects a NetFile link in the Portal Server Desktop the NetFile servlet checks if the user has a valid SSO token and permission to execute NetFile If so the applet is rendered to the browser The NetFile applet connects back to the servlet to get its own configuration such as size locale resource bundle as well as user settings and preferences NetFile obtains the locale information and other user information such as user name mail ID and mail server using the user s SSO token The user settings include any settings that the user has inherited from an organization or role settings that are customized by the user and settings that the user has stored upon exit from a previous NetFile session Validating Credentials NetFile uses the credentials supplied by users to authenticate users before granting access to the file systems The credentials include a user name password and Windows or Novell domain wherever app
108. evel design specifies such items as the physical architecture network infrastucture Portal Desktop channel and container design and the actual hardware and software components Once you have completed the high and low level designs you can begin a trial deployment for testing within your organization Overview of High Level Portal Design The high level design is your first iteration of an architecture approach to support both the business and technical requirements The high level design addresses questions such as e Does the proposed architecture support both the business and technical requirements Can any modifications strengthen this design e Are there alternative architectures that might accomplish this e What is the physical layout of the system e What is the mapping of various components and connectivity e What is the logical definition describing the different categories of users and the systems and applications users have access to e Does the design account for adding more hardware to the system as required by the increase in web traffic over time Portal Server 6 2005Q1 Deployment Planning Guide 80 Portal Design Approach Overview of Low Level Portal Design The low level design focuses on specifying the processes and standards you use to build your portal solution and specifying the actual hardware and software components of the solution including The Portal Server complex of servers Network con
109. evelopment deployment and management of enterprise applications Key features include transaction management performance scalability security and integration The Application Server supports services from Web publishing to enterprise scale transaction processing The Application Server is available in the Platform and Enterprise editions The Platform edition is free and is intended for software development and department level production environments Designed for mission critical services and large scale production environments the Enterprise edition supports horizontal scalability and service continuity via a load balancer plug in and cluster management The Enterprise edition also supports session continuity via the Highly Available Database HADB See the following Application Server Enterprise Edition documentation for more information http docs sun com db coll ApplicationServer8 06 4 Overview of BEA WebLogic Server Clusters The BEA WebLogic Server product uses the following definitions e Domain An interrelated set of WebLogic Server resources managed as a unit A domain includes one or more WebLogic Servers and might include WebLogic Server clusters Administration Server A WebLogic Server running the Administration Service The Administration Service provides the central point of control for configuring and monitoring the entire domain The Administration Server must be running to perform any management operation on
110. ever the buffer has been on the list for longer than autoup seconds Increasing the value of autoup keeps the buffers around for a longer time in memory Specifies the number of seconds between fsflush invocations Number of clock ticks before a process is deemed to have lost all affinity for the last CPU it ran on After this interval expires any CPU is considered a candidate for scheduling a thread This parameter is relevant only for threads in the timesharing class Real time threads are scheduled on the first available CPU etc system Option set riim fd maxe value set tcp tcp conn hash size value set autoup lt value gt set tune_t_fsflushr lt value gt set rechoose_interval lt value gt A description of all etc system parameters can be found in the Solaris Tunable Parameters Reference Manual Table B 3 is a list of TCP kernel tuning parameters These are known TCP tuning parameters that affect most performance on Portal Servers Recommended values for these parameters are discussed in the Identity Server Customization and API Description The default send window size in bytes The default receive window Guide Table 8 3 TCP IP Options TCP IP Options ndd set dev tcp tcp_xmit_hiwat 65535 size in bytes ndd set dev tcp tcp recv hiwat 65535 150 Portal Server 6 2005Q1 Deployment Planning Guide Tuning Parameters for etc system Description The maximum value of TCP c
111. executing netstat a wc 1 Please refer to the netstat section Do you observe increasing icsw A common cause of this is preemption most likely because of an end of time slice on the CPU Appendix Analysis Tools 145 The iostat tool gives statistics on the disk I O subsystem The iostat command has many options More information can be found in the man pages The following typical options provide information on locating I O bottlenecks Output iostat xn 10 extended device statistics r s w s kr s kw s wait actv wsvo t asvc_t w b device 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 7 58 2 14 6 2507 0 0 0 1 4 0 0 23 0 0 52 0 47 3 0 0 2465 6 0 0 0 0 0 4 0 0 8 8 0 30 dl What to Look For e b Percentage of time the disk is busy transactions in progress Average b values over 25 could be a bottleneck e w Percentage of time transactions are waiting for service queue non empty e asvc t Reports on average response time of active transactions in milliseconds This option is mislabeled asvc_t it indicates the time between a user process issuing a read and the read completing Consistent values over 30ms could indicate a bottleneck Considerations Add more disks to the file system When using a single disk file system consider upgrading to a hardware or software RAID is the next logical step Hardware RAID is significantly faster than software RAID and is highly recommended A software RAID solution would add addition
112. f running multiple operations simultaneously For example users can launch a search operation start uploading files then send files by using email NetFile performs all three operations simultaneously and still permit the user to browse through the file listing Hewriter Rewriter is an independent component that translates all URIs in both HTML and JavaScript code to ensure that the intranet content is always fetched through the Gateway You define a ruleset a collection of rules that identifies all URLs that need to be rewritten in a page The ruleset is an XML fragment that is written Chapter2 Portal Server Secure Remote Access Architecture 7 according to a Document Type Definition DTD Using the generic ruleset that ships with the Rewriter you can rewrite most URLs but not all without any additional rules You can also associate rulesets with domains for domain based translations See the Portal Server Secure Remote Access 6 Administration Guide for more information An external ruleset identifies the URI in the content Any request that needs to be served by SRA follows this route 1 From the request SRA identifies the URI of the intranet page or Internet page that needs to be served 2 SRA uses the proxy settings to connect to the identified URI 3 The domain of the URI is used to identify the ruleset to be used to rewrite this content 4 After fetching the content and ruleset SRA inputs these to the Rewrit
113. h as IMAP server user name password and reply to address for sending email Double clicking a file in the NetFile window launches the application corresponding to the MIME type and opens the file NetFile provides a default MIME types configuration file that has mappings for most popular file types extensions and MIME types that you can edit for adding new mappings You can search for files and display the list in a separate window using NetFile The results of each search are displayed in a new window while maintaining the previous search result windows The type of character encoding to be used for a particular share is user configurable and is part of the share s setting If no character encoding is specified NetFile uses ISO 8859 1 while working with the shares The ISO 8859 1 encoding is capable of handling most common languages ISO 8859 1 encoding gives NetFile the capability to list files in any language and to transferring files in any language without damaging the file contents NetFile creates temporary files only when mailing files in both NetFile Java 1 and Java 2 Temporary files are not created during uploading and downloading files between Windows file systems and the local file systems over the jCIFS protocol NOTE NetFile supports deletion of directories and remote files All the contents of remote directories are deleted recursively NetFile and Multithreading NetFile uses multithreading to provide the flexibility o
114. hapter 4 Pre Deployment Considerations 5 Calculate maximum number of concurrent users after you calculate maximum number of concurrent sessions To calculate the maximum number of concurrent users use this formula concurrent users number of concurrent sessions average time between hits For example consider an intranet Portal Server example of 50 000 users The number of connected sessions under its peak loads is estimated to be 80 of its registered user base On average a user accesses the Portal Desktop once every 10 minutes The calculation for this example is 40000 10 4000 The maximum number of concurrent users during the peak hours for this Portal Server site should be 4 000 Average Session Time Average session time is the time between user login and logout averaged over a number of users The length of the session time is inversely proportional to the number of logins occurring that is the longer the session duration the fewer logins per second are generated against Portal Server for the same concurrent users base Session time is the time between user login and user logout How the user uses Portal Server often affects average session time For example a user session involving interactive applications typically has a longer session time than a user session involving information only Search Engine Factors If your portal site will offer a Search channel you need to include sizing factors for the Se
115. hin the intranet and extranet You can dedicate proxies for hosts and DNS subdomains and domains Depending on the proxy configuration the Gateway uses the appropriate proxy to fetch the required contents If the proxy requires authentication the proxy name is stored as part of the gateway profile that the Gateway uses automatically when connecting to the proxy Gateway and HTTP Basic Authentication The Gateway supports basic authentication that is prompting for a user ID and password but not protecting those credentials during transmission from the user s computer to the site s web server Such protection usually requires the establishment of a secure HTTP connection typically through the use of SSL If a web server requires basic authentication the client prompts for user name and password and sends the information back to the requesting server With the Gateway enabled for HTTP basic authentication it captures the user name and password information and stores a copy in the user s profile in the Access Manager for subsequent authentications and login attempts The original data is passed by the Gateway to the destination web server for basic authentication The web server performs the validation of the user name and password The Gateway also enables fine control of denying and allowing this capability on an individual host basis Gateway and SSL Support The Gateway supports both SSL v2 and SSL v3 encryption while running in HTTPS mo
116. hique pour l industrie de l informatique Sun d tient une license non exclusive de Xerox sur l interface d utilisation graphique Xerox cette licence couvrant galement les licenci s de Sun qui mettent en place l interface d utilisation graphique OPEN LOOK et qui en outre se conforment aux licences crites de Sun Les produits qui font l objet de ce manuel d entretien et les informations qu il contient sont regis par la legislation americaine en matiere de controle des exportations et peuvent etre soumis au droit d autres pays dans le domaine des exportations et importations Les utilisations finales ou utilisateurs finaux pour des armes nucleaires des missiles des armes biologiques et chimiques ou du nucleaire maritime directement ou indirectement sont strictement interdites Les exportations ou reexportations vers des pays sous embargo des Etats Unis ou vers des entites figurant sur les listes d exclusion d exportation americaines y compris mais de maniere non exclusive la liste de personnes qui font objet d un ordre de ne pas participer d une facon directe ou indirecte aux exportations des produits ou des services qui sont regi par la legislation americaine en matiere de controle des exportations et la liste de ressortissants specifiquement designes sont rigoureusement interdites LA DOCUMENTATION EST FOURNIE EN L ETAT ET TOUTES AUTRES CONDITIONS DECLARATIONS ET GARANTIES EXPRESSES OU TACITES SONT FORMELLEMENT EXCLUES DANS LA MESURE AUT
117. i eee stude xo mane ey dus 100 Example Use Case Authenticate Portal User 2 noccc0cus obvi ee tiene E eU eed Ene 101 Designing Portal Security Strategies 102 securing the Operating Environment ssi eed canteens ade Pinte Ehe PER ES 102 5 Contents Using Plattorm Secutity i emt fitr Re ets Using a Demilitarized Zone DMZ Portal Server and Access Manager on Different Nodes Designing SRA DeploymentScenarios Basie SRA Configuration eser rn ne IDisable 1007 en pesinden e ER rers Proxyldet creet boii keep e mia e REPE eee Multiple Gateway 10508668 Netlet and Rewriter 165 0 77777 Netlet and Rewriter Proxies on Separate Nodes Using Two Gateways and Netlet Proxy Using an Accelerator eee etre Netlet with 3rd Party Proxy 2 ere Reverse DIN ces sioe eese ep ees Designing for 100330 icio we Content and Design Implementation Inteeraton Desig socer reto RUP eee Identity and Directory Structure Design Implementing Single Sign On Ls Portal Desktop Design eR dee Client Support csicsa ss se cp eer ade dete De a Chapter 6 The Production Environment Moving to a Production Environment Monitoring and Tuning 22 I theme Documenting the Portal er rr cede ed Monitoring Portal bervet iso see ieee eels ee Memory Consumption and Garbage Collection CPU Utilizator eiie
118. ications will the portal deliver e What is your target population e What performance standard is necessary e What transaction volume do you expect What transaction volume do you expect during peak use e What response time is acceptable during peak use e What is the necesary level of concurrency Concurrency is the number of users who can be connected at any given time e Should access to the portal be through intranet or Internet Will your portal be deployed in one phase or many phases Describe each phase and what will change from phase to phase Chapter3 Identifying and Evaluating Your Business and Technical Requirements 3 Mapping Portal Server Features to Your Business Needs Mapping Portal Server Features to Your Business Needs The previous sections posed questions to you about the various areas of the Portal Server system from a high level perspective of business and technical needs This section reviews specific technology features with the goal of determining which technologies are most important for your organization Review these features while keeping in mind your organization s short mid and long term plans Use the following sections and tables to assess the benefits of the listed features and determine their relative priority for your organization This information will assist you in developing a deployment plan in a timely and cost effective manner NOTE In all likelihood your Sun Java System sales r
119. iguration files Portal Server and SRA 141 configuring HTTP proxy 162 Content management 22 content placing 124 CPU utilization 136 and mpstat utility 144 high with Cisco Content Services Switch 161 CPUs and Gateway instances 76 and vertical scaling 83 estimating number 64 75 credentials NetFile 45 customizing Access Manager service 124 affects on performance 69 baseline figures 69 D data centers and sizing 71 Database provider 130 delegated administration 55 Demilitarized Zone description 82 deployment bottlenecks 98 building modules 97 building modules and guidelines 97 ISP hosting 33 providers 129 Section B average session time 66 average time between page requests 65 B back end servers 68 banner 82 baseline portal performance analysis 133 basic authentication 39 BEA WebLogic 155 bottlenecks and building modules 98 and tuning 133 building modules 89 and Directory Server 94 and high availability 90 and Search Engine 98 and transparent failover 96 contraints 97 deploying 97 description 89 business objectives 51 business requirements 51 business to consumer portal 62 business to employee portal 62 C cache hit ratio 137 caching appliance and reverse proxy 82 channels description 124 organizing content 123 checkpointing mechanisms 91 chroot environment 38 Citrix 52 client detection API 131 client support 131 clustering application servers 154 184 Portal Server 6 2005Q1 Deploym
120. igure 5 18 Netlet and Third Party Proxy Portal Server Rewriter Proxy Web Server Gateway Client 3rd Party Proxy Host 1 Application Netlet PP Proxy Host 2 Application Chapter5 Creating Your Portal Design 121 Designing SRA Deployment Scenarios Reverse Proxy A proxy server serves Internet content to the intranet while a reverse proxy serves intranet content to the Internet Certain deployments of reverse proxy are configured to serve the Internet content to achieve load balancing and caching Figure 5 19 illustrates how you can configure a reverse proxy in front of the Gateway to serve both Internet and intranet content to authorized users Whenever the Gateway serves web content it needs to ensure that all subsequent browser requests based on this content are routed through the Gateway This is achieved by identifying all URLs in this content and rewriting as appropriate Figure 5 19 Using a Reverse Proxy in Front of the Gateway DMZ Portal Server Client Reverse Gateway Rewriter Proxy Proxy Web Server Portal Server 6 2005Q1 Deployment Planning Guide 122 Designing for Localization Designing for Localization Localization is the process of adapting text and
121. in the tmp directory the files are lost when the server restarts This improves performance but also affects availability If the analysis at your specific site indicates that the number of LDAP write operations is indeed a constraint some of the possible solutions include creating building modules that replicate only a specific branch of the directory and a layer in front that directs incoming requests to the appropriate instance of portal Deploying Your Building Module Solution This section describes guidelines for deploying your building module solution Deployment Guidelines How you construct your building modue affects performance Consider the following recommendations to deploy your building module properly e Deploy a building module on a single machine Chapter 5 Creating Your Portal Design 7 Working with Portal Server Building Modules e Ifyou use multiple machines or if your Portal Server machine is running a large number of instances use a fast network interconnect e On servers with more than eight CPUs create processor sets or domains with either two or four CPUs For example if you choose to install two instances of Portal Server on an eight CPU server create two four CPU processor sets Directory Server Requirements Identify your Directory Server requirements for your building module deployment For specific information on Directory Server deployment see the Directory Seroer Deployment Guide Con
122. ing packaged analytic applications alerting publishing and subscribing Peoplesoft is a typical vendor provider of business intelligence types of portal Types of business intelligence portals include e Procurement portal e Self service portal Business portal e e Commerce portal e Sales support Customer relationship management operations and employee portals e Consumer portal Portal Server Capabilities Sun Java System Portal Server 6 200501 software provides the following capabilities to your organization Chapter 1 Portal Server Architecture 3 Sun Java System Portal Server e Secure access and authorized connectivity optionally using encryption between the user s browser and the enterprise e Authentication of users before allowing access to a set of resources that are specific for each user e Support for abstractions that provide the ability to pull content from a variety of sources and aggregate and personalize it into an output format suitable for the user s device e A search engine infrastructure to enable intranet content to be organized and accessed from the portal Ability to store user and service specific persistent data Access to commonly needed applications for accessing services such as mail calendar and file storage An administration interface enabling delegated and remote administration Single sign on and security features enabling standard access to enterprise applications
123. is a hardware and software construct with limited or no dependencies on shared services A typical deployment uses multiple building modules to achieve optimum performance and horizontal scalability Figure 5 2 shows the building module architecture Figure 5 2 Portal Server Building Module Architecture Portal Directory Server Server Instance Master Replica E Search Engine Database NOTE The Portal Server building module is simply a recommended configuration In some cases a different configuration might result in slightly better throughput usually at the cost of added complexity For example adding another instance of Portal Server to a four CPU system might result in up to ten percent additional throughput at the cost of requiring a load balancer even when using just a single system Chapter 5 Creating Your Portal Design 9 Working with Portal Server Building Modules Building Modules and High Availability Scenarios Portal Server provides three scenarios for high availability e Best Effort The system is available as long as the hardware does not fail and as long as the Portal Server processes can be restarted by the watchdog process e No Single Point of Failure The use of hardware and software replication creates a deployment with no single point of failure NSPOF The system is always available as long as no more than one failure occurs consecutively anywhere in the chain of com
124. istrators Train maintenance providers Capture training feedback Incorporate feedback for training improvement Create run book for system administrators Appendix Portal Deployment Worksheets 177 Table E 8 Design Task List 7 of 7 Major Phases and Tasks Training Document Portal Portal Design Task List 178 Portal Server 6 2005Q1 Deployment Planning Guide Appendix F Portal Server on the Linux Platform Sun Java System Portal Server supports RedHat 3 0 Linux platform however please note the differences between the Solaris and Linux platforms Limitations Using Linux Please note the following Portal Server and Access Manager must reside on the same server The sample Portal does not support the Linux platform e IBM and BEA web containers are not supported Configuration files deployment and Application Programming Interfaces are the same for Solaris and Linux Comparison of Solaris and Linux Path Names Table F 1 Comparison of Solaris and Linux Path Names Solaris Path Name Linux Path Name opt SUNWps default opt sun portal default etc opt SUNWps config etc opt sun portal config var opt SUNWps data var opt sun portal data 179 Comparison of Solaris and Linux Path Names 180 Portal Server 6 2005Q1 Deployment Planning Guide Glossary Refer to the Java Enterprise System Glossary http docs sun com doc 816 6873 for a complete list of terms that are used
125. le geographic sites you need to fully understand the layout of your networks and data centers e Decide what type of redundancy you need Consider items such as production down time upgrades and maintenance work In general when you take a portal server out of production the impact to your capacity should be no more than one quarter 1 4 of the overall capacity e In general usage concurrencies for a business to employee portal are higher than a business to consumer portal Establish Performance Methodology Once you have established your performance goals follow the steps below to tune your portal environment 1 Identify and remove obvious bottlenecks in the processor memory network and disk 62 Portal Server 6 2005Q1 Deployment Planning Guide Portal Sizing 2 Setup a controlled environment to minimize the margin of error defined as less than ten percent variation between identical runs By knowing the starting data measurement baseline you can measure the differences in data performance between sample gathering runs Be sure measurements are taken over an adequate period of time and that you are able to capture and evaluate the results of these tests Plan to have a dedicated machine for generating load simulation which is separate from the Portal Server machine A dedicated machine helps you to uncover the origin of performance problems See Portal Sizing on page 63 3 Develop and refine the prototype workl
126. leged operations to users and a variable degree of access control e Sudo Sudo is publicly available software which enables a system administrator to give certain users the ability to execute a command as another user Please see http www courtesan com sudo sudo html Using a Demilitarized Zone DMZ For maximum security the Gateway is installed in the DMZ between two firewalls The outermost firewall enables only SSL traffic from the Internet to the Gateways which then direct traffic to servers on the internal network 104 Portal Server 6 2005Q1 Deployment Planning Guide Portal Server and Access Manager on Different Nodes Portal Server and Access Manager on Different Portal Server and Access Manager can be located on different nodes This type of deployment provides the following advantages e Identity services can be deployed separately from portal services Portal Server can be one of many applications using identity services e Authentication and policy services can be separate from provider applications including Portal Server related applications Access Manager can be used by other web containers to assist with development of portal customizations NOTE When Portal Server and Access Manager are on different nodes the Access Manager SDK must reside on the same node as Portal Server The web application and supporting authentication daemons can reside on a separate node from the Portal Server instance The A
127. licable Each share can have an independent password therefore users need to enter their credentials for every share except for common hosts that you add NetFile uses UNIX Authentication from the Access Manager to grant access to NFS file systems For file systems that are accessed over FTP and jCIFs protocols NetFile uses the methods provided by the protocol itself to validate the credentials Chapter 2 Portal Server Secure Remote Access Architecture 5 Access Control NetFile provides various means of file system access control You can deny access to users to a particular file system based on the protocol For example you can deny a particular user role or organization access to file systems that are accessible only over NFS You can configure NetFile to allow or deny access to file systems at any level from organization to suborganization to user You can also allow or deny access to specific servers Access can be allowed or denied to file systems for users depending on the type of host including Windows FTP NFS and FTP over NetWare For example you can deny access for Windows hosts to all users of an organization You can also specify a set of common hosts at an organization or role level so that all users in that organization or role can access the common hosts without having to add them for each and every member of the organization or role As part of the NetFile service you can configure the Allowed URLs or Denied UR
128. lication can be run until the user has been successfully authenticated and no new connections can be made if an authenticated session does not exist e All access controls in place on the application side are still in effect so that an attacker would also have to break in to the back end application e Every Netlet connection results in a dialog box posted by the Netlet running in the authenticated user s JVM to the authenticated user s display The dialog box asks for verification and acknowledgement to permit the new connection For attackers to be able to utilize a Netlet connection attackers would need to know that the Netlet was running the port number it was listening on how to break the back end application and convince the user to approve the connection Chapter 2 Portal Server Secure Remote Access Architecture 3 Netlet Proxy Netlet Proxy A Netlet Proxy helps reduce the number of open ports needed in the firewall to connect the Gateway and the destination hosts For example consider a configuration where users need Netlet to connect with a large number of Telnet FTP and Microsoft Exchange servers within the intranet Assume that the Gateway is in a DMZ If it routes the traffic to all the destination servers a large number of ports would need to be open in the second firewall To alleviate this problem you can use a Netlet Proxy behind the second firewall and configure the Gateway to forward the traffic to the Netlet
129. licy The user need not re authenticate to that application Various SSO scenarios include Portal web application The authentication comes from Access Manager and the application validates the user credentials with Access Manager Standalone web application The application is hosted on a separate web container and the Access Manager Web Agent is used for authenticationAccess Manager This does not require application coding Additionally you can modify the application to validate against Access Manager directly e Standalone Java application In this scenario you modify the application to validate user credentials against Access Manager directly e Non Access Manager aware application In this scenario an application stores a user s credentials and provides them as needed However this is not an ideal SSO solution as the user needs to re authenticate if credentials change Portal Desktop Design The performance of Portal Server itself largely depends upon how fast individual channels perform In addition the user experience of the portal is based upon the speed with which the Portal Desktop is displayed The Portal Desktop can only load as fast as the slowest displayed channel For example consider a Portal Desktop composed of ten channels If nine channels are rendered in one millisecond but the tenth takes three seconds the Portal Desktop does not appear until that tenth channel is processed by the portal By making sure tha
130. location amount This scenario might suffice for task critical requirements Its major weakness is that a maintenance action necessitating a system shutdown results in service interruption When SRA is used and a software crash occurs a watchdog process automatically restarts the Gateway Netlet Proxy and Rewriter Proxy Portal Server 6 2005Q1 Deployment Planning Guide Browser Figure 5 3 92 Working with Portal Server Building Modules No Single Point of Failure Portal Server natively supports the no single point of failure NSPOF scenario NSPOF is built on top of the best effort scenario and in addition introduces replication and load balancing Figure 5 4 No Single Point of Failure Example Building Module 1 Portal Directory ia Server Server oa Instance Master Balancer Replica Client Multi Master Replication F Y Search Engine Database Building Module 2 Portal Directory Server Server Master Replica Cc Search Engine Database Chapter5 Creating Your Portal Design 3 Working with Portal Server Building Modules As stated earlier a building module consists of a a Portal Server instance a Directory Server master replica for profile reads and a search engine database As such at least two building modules are necessary to achieve NSPOF
131. logged in per day average login time average number of content channels that a logged in user has selected and average number of application channels that a logged in user has selected Additionally you need to consider how the following three network zones fit into your design Internet The public Internet is any network outside of the intranet and DMZ Users portal server and securely access the Gateway and from here Demilitarized Zone DMZ A secure area between two firewalls enabling access to internal resources while limiting potential for unauthorized entry The Gateway resides here where it can securely direct traffic from the application and content servers to the Internet e Intranet Contains all resource servers This includes intranet applications web content servers and application servers The Portal Server and Directory Server reside here The logical architecture describes the Portal Desktop look and feel including potential items such as e Default page with its default banner logo channels total page weight that is total number of bytes of all the components of the page including HTML style sheet JavaScript and image files total number of HTTP requests for the page that is how many HTTP requests are required to complete downloading the page Personalized pages with channels that users can conceivably display and what preferences are available The logical architecture is where you also
132. lop Solution Architecture Develop Portal Integration User Interface Design 172 Portal Server 6 2005Q1 Deployment Planning Guide Portal Design Task List Subtasks Design organizations suborganizations roles and users Define privileges Review shared data requirements Establish data transfer protocols Create temporary or intermediate tables Test temporary or intermediate tables Document design approach Deliver design document Obtain appropriate stakeholder and organizational consensus Install Sun Java System Portal Server software and optionally Sun Java System Portal Server Secure Remote Access software install appropriate supporting software Install application server if needed Install other software Configure server software Test server software components Document test findings Install Portal Server and optionally Sun Java System Portal Server Secure Remote Access Install application server if needed Install other software Test server software components Document test findings Apply specific software configuration requirements Create product configuration matrix Appendix Portal Deployment Worksheets 3 Table E 8 Design Task List 3 of 7 Major Phases and Tasks Directory Design 3 Develop and Integrate Install Software for Testing and Development Environments Install Server Software for Development Environment Software Configuration Subtasks Review your o
133. low through the use case for example representing each option Elements of Portal Use Cases When developing use cases for your portal keep the following elements in mind e Priority Describes the priority or ranking of the use case For example this could range from High to Medium to Low e Context of use Describes the setting or environment in which the use case Occurs Scope Describes the conditions and limits of the use case e Primary user Describes what kind of user this applies to for example an end user or an administrator Special requirements Describes any other conditions that apply Stakeholders Describes the people who have a vested interest in how a product decision is made or carried out e Precondition Describes the prerequisites that must be met for the use case to occur Minimal guarantees Describes the minimum that must occur if the use case is not successfully completed e Success guarantees Describes what happens if the use case is successfully completed Trigger Describes the particular item in the system that causes the event to occur Description Provides a step by step account of the use case from start to finish Portal Server 6 2005001 Deployment Planning Guide 100 Designing Portal Use Case Scenarios Example Use Case Authenticate Portal User Table 5 2 describes a use case for a portal user to authenticate with the portal Table 5 2 Use Case Authen
134. loyment Planning Guide Netlet Netlet and Application Integration Netlet works with many third parties such as Graphon Citrix and pcAnywhere Each of these products provides secure access to the user s Portal Desktop from a remote machine using Netlet oplit Tunneling Split tunneling allows a VPN client to connect to both secure sites and non secure sites without having to connect or disconnect the VPN in this case the Netlet connection The client determines whether to send the information over the encrypted path or to send it by using the non encrypted path The concern over split tunneling is that you could have a direct connection from the non secure Internet to your VPN secured network via the client Turning off split tunneling not allowing both connections simultaneously reduces the vulnerability of the VPN or in the case of Netlet connection to Internet intrusion Though Portal Server does not prohibit nor shut down multiple network connections while attached to the portal site it does prevent unauthorized users from piggybacking on other users s sessions in the following ways e Netlet is an application specific VPN and not a general purpose IP router Netlet only forwards packets that have been defined by a Netlet rule This differs from the standard VPN approach that gives you complete LAN access once you ve connected to the network Only an authenticated portal user can run the Netlet No portal app
135. ls for tuning the operating system Portal Server Secure Remote Access 6 2005Q1 Administration Guide Chapter Chapter 1 Portal Server Architecture on page 21 Chapter 2 Portal Server Secure Remote Access Architecture on page 37 Chapter 3 Identifying and Evaluating Your Business and Technical Requirements on page 51 Chapter 4 Pre Deployment Considerations on page 61 Chapter 5 Creating Your Portal Design on page 79 Chapter 6 The Production Environment on page 133 Appendix A Installed Product Layout on page 139 Appendix B Analysis Tools on page 143 14 How This Book Is Organized Chapter Description Appendix C Portal Server This appendix describes the support for application servers and Application Servers on page 153 Appendix D This appendix describes how to troubleshoot the Portal Server Troubleshooting Your software and the Portal Server Secure Remote Access SRA Portal Deployment on product page 159 Appendix E Portal This appendix provides various worksheets to help in the Deployment Worksheets deployment process on page 167 Appendix Portal Server This appendix contains notes on running Portal Server on a Linux on the Linux Platform on platform page 179 Glossary Glossary Conventions Used in This Book The tables in this section describe the conventions used in this book Typographic Conventions The following table describes the typographic co
136. ltiple Gateway Instances If desired you can run multiple Gateway instances on a single machine this is referred as a multihomed Gateway Each Gateway instance listens on separate port s You can configure Gateway instances to contact the same Portal Server instance or different Portal Server instances When running multiple instances of a Gateway on the same machine you can associate an independent certificate database with each instance of the Gateway and bind that Gateway to a domain In essence this provides the flexibility of having a different Gateway server certificate for each domain Multiple Portal Server Instances When you configure the Gateway with multiple instances of Portal Server the Gateway automatically performs round robin load balancing by logging in users with the different servers alternately The Gateway also keeps a list of active servers to avoid trying to login users to an inactive server This mechanism helps to avoid single points of failure with Portal Server SRA Gateway 38 Portal Server 6 2005Q1 Deployment Planning Guide SRA Gateway NOTE Session stickiness is not required in front of a Gateway unless you are using Netlet however performance is improved with session stickiness On the other hand session stickiness to the Portal Server instances is enforced by SRA Proxy Configuration The Gateway uses proxies that are specified in its profile to retrieve contents from various web servers wit
137. maritime end uses or end users whether direct or indirect are strictly prohibited Export or reexport to countries subject to U S embargo or to entities identified on U S export exclusion lists including but not limited to the denied persons and specially designated nationals lists is strictly prohibited DOCUMENTATION IS PROVIDED AS IS AND ALL EXPRESS OR IMPLIED CONDITIONS REPRESENTATIONS AND WARRANTIES INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY FITNESS FOR A PARTICULAR PURPOSE OR NON INFRINGEMENT ARE DISCLAIMED EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD TO BE LEGALLY INVALID Copyright 2005 Sun Microsystems Inc 4150 Network Circle Santa Clara California 95054 Etats Unis Tous droits r serv s Sun Microsystems Inc d tient les droits de propri t intellectuels relatifs la technologie incorpor e dans le produit qui est d crit dans ce document En particulier et ce sans limitation ces droits de propri t intellectuelle peuvent inclure un ou plus des brevets am ricains list s l adresse http www sun com patents et un ou les brevets suppl mentaires ou les applications de brevet en attente aux Etats Unis et dans les autres pays CE PRODUIT CONTIENT DES INFORMATIONS CONFIDENTIELLES ET DES SECRETS COMMERCIAUX DE SUN MICROSYSTEMS INC SON UTILISATION SA DIVULGATION ET SA REPRODUCTION SONT INTERDITES SANS L AUTORISATION EXPRESSE ECRITE ET PREALABLE DE SUN MICROSYSTEMS INC Cette distribution peut
138. nal data Directories Installed for Portal Server Table A 1 shows the platform specific directory structures that are installed for Sun Java System Portal Server Table A 1 Portal Server Directories Location portal server install root SUNWps etc portal server install root SUNWps portal server install root SUNWps sdk usr tmp vax portal server install root SUNWam debug vax portal server install root SUNWam log var portal server install root SUNWps instance directory vax portal server install root SUNWps instance directory log directory portal server install root SUNWps samples desktop dp org xml portal server install root SUNWps samples desktop dp providers xml 139 Description Default installation directory Default installation directory for configuration information Default installation directory for SDK Temporary files Debug files Log files Search Engine logging configuration and data directories Container and channel display profile Provider display profiles Directories Installed for SRA Table A 1 Portal Server Directories Continued Description Location HTML template files etc portal server install root SUNWps desktop de ault channelname t emplat e JSP template files etc portal server install root SUNWps desktop de ault JSPchannelname Command line utilities portal server install root SUNWps bin Tag library defi
139. nation server port so that requests can be routed directly to their destinations Chapter 2 Portal Server Secure Remote Access Architecture 1 Netlet Dynamic applications agree upon a port for communication as part of the handshake You can include the destination server port as part of the Netlet rule The Netlet needs to understand the protocol and examine the data to find the port being used between the client and the server FIP is a dynamic port application In FTP the port for actual data transfer between the client and server is specified through the PORT command In this case the Netlet parses the traffic to obtain the data channel port dynamically Currently FTP and Microsoft Exchange are the only dynamic port applications that Portal Server supports NOTE Although Microsoft Exchange 2000 is supported with Netlet the following constraints apply e You must configure Exchange to use STATIC ports e Netlet does not work with Windows 2000 and XP because Windows 2000 and XP clients reserve the Exchange port port 135 for the RPC Portmapper which Active Directory uses Previous versions of Windows did not reserve this port Because the port is reserved you cannot assign Netlet to it and thus the port cannot provide the necessary tunneling e The Outlook 2000 client has the limitation that it does not enable you to change the port on which you want to connect to the Exchange server Netlet 42 Portal Server 6 2005Q1 Dep
140. nd content This functionality includes the ability to embed non persistent information such as stock quotes through the portal and to run applications within or deliver them through a portal 58 Portal Server 6 2005Q1 Deployment Planning Guide Understanding User Behaviors and Patterns Table 3 5 shows the aggregation and integration features and their benefits Benefit Users no longer have to search for the information Instead the information finds them Users do not have to use one tool for one project another tool for another location Also because these tools all work within the portal framework the tools have a consistent look and feel and work similarly reducing training time In many companies data is seen as being owned by individual departments instead of as a company wide resource The portal can act as a catalyst for breaking down these silos and making the data available in a controlled way to the people who need to use it This broader more immediate access can improve collaboration lintegration with existing email calendar legacy or web applications enables the portal to serve as a unified access point enabling users be that employees partners or customers to access the information users need quickly and easily Aggregation Features and Benefits Description The Portal Desktop provides the primary end user interface for Portal Server and a mechanism for extensible
141. nectivity describing how the portal complex attaches to the outside world Within this topic you need to take into account security issues protocols speeds and connections to other applications or remote sites Information architecture including user interfaces content presentation and organization data sources and feeds Access Manager architecture including the strategy and design of organizations suborganizations roles groups and users which is critical to long term success Integration strategy including how the portal acts as an integration point for consolidating and integrating various information and bringing people together in new ways Logical Portal Architecture Your logical portal architecture defines all the components that make up the portal including but not limited to the following Portal Server itself Contents from RDBMs Third party content providers Custom developed providers and content Integration with back end systems such as messaging and calendaring systems Web container for deployment Role of the Content Management System Customer Resource Management Whether the portal runs in open or secure mode requires Secure Remote Access Chapter 5 Creating Your Portal Design 81 Portal Design Approach e Usage estimates which include your assumptions on the total number of registered users average percentage of registered users logged in per day average concurrent users that are
142. need to provide secure access to your portal Do you need to reduce cost of ownership of an existing Virtual Private Network VPN solution Do you want employees to access intranet applications such as Citrix and pcAnywhere from the Internet Do you want your employees to explore intranet servers or machines from the Internet Who is your target audience all portal users employees or customers Business Objectives 52 Portal Server 6 2005Q1 Deployment Planning Guide Technical Goals Technical Goals Your technical requirement often called functional requirement discuss the details of your organization s system needs and desired results and include such factors as e Performance e Security Reliability e Expected performance criteria of the portal The technical requirements define all functions required of an architecture and provide guidelines for how each component works and integrates to form an entire system Your organization needs technical requirements to formulate the best design approaches and apply the appropriate technologies to accomplish the desired architectural solution for your portal The reasons you are offering your portal have a direct affect on how you implement your portal You must define target population performance standards and other factors related to your goals Use these questions to help you identify the goals of your portal e What is your portal s biggest priority e What appl
143. nitions etc portal server install root SUNWps desktop default tld tld Display profile DTD portal server install root SUNWps dt d psdp dtd Java properties files portal server install root SUNWam 1ocale Directories Installed for SRA This section describes the Sun Java System Secure Remote Access SRA directory structure and configuration files used to store configuration and operational data Table A 2 shows the platform specific directory structures that are installed for Secure Remote Access Table A 2 Portal Server SRA Directories Description Location Default installation directory portal server install root Default installation directory for portal server install root SUNWam Access Manager executables the web server and the deployed applications Default installation directory for etc portal server install root SUNWps configuration information Log files var portal server install root SUNWam logs Debug log files var portal server install root SUNWps debug 140 Portal Server 6 2005Q1 Deployment Planning Guide Configuration Files Configuration Files All Portal Server and SRA configuration data is stored using the Sun Java System Access Manager Services Management function Access Manager provides the bootstrap configuration file that is needed to find the Sun Java System Directory Server The platform conf file contains the details that the Gateway needs By d
144. node e Dynamic web applications These include servlets running on a Java platform JSP files content providers and other items that the web container processes when accessed by the user s browser For Portal Server these files are installed in the Web Server Chapter 1 Portal Server Architecture 31 Portal Server Software Deployment e Static web content These include static HTML files images applet JAR files and other items that can be served up directly by the web server without using the Web Server container For Portal Server these files are also installed in the web server NOTE Static web content and dynamic web applications are all grouped together into a single WAR file e Configuration data These include data that is installed into the directory that is the Access Manager service definitions and any other data that modifies the directory at installation time This includes modifications to the console configuration data to connect in the Portal Server extensions Configuration data is installed only once no matter how many Portal Server nodes there are e SDK This is the JAR file or files that contain the Java APIs that are made available by a component Developers need to install this package on a development system so that they can compile classes that use the API If a component does not export any public Java APIs it would not have this package Compatibility With Java Software Portal Server softw
145. nventions used in this book Table 1 Typographical Conventions Typeface Meaning Examples AaBbCc123 API and language elements HTML Edit your login file Monospace tags web site URLs command names file names directory path Use 1s ato list all files names onscreen computer output sample code You have mail AaBbCc123 What you type when contrasted su Monospace with onscreen computer output Password bold Preface 5 Related Documentation Typeface Meaning Examples AaBbCc123 Book titles new terms words tobe Read Chapter 6 in the User s Italic emphasized Guide A placeholder in a command or path name to be replaced with a real These are called class options name or value Do not save the file The file is located in the install dir bin directory Helated Documentation The http docs sun com web site enables you to access Sun technical documentation online You can browse the archive or search for a specific book title or subject Books in This Documentation Set The following table summarizes the books included in the Portal Server Secure Remote Access core documentation set Book Title Description Portal Server Administration Guide Describes how to administer Portal Server 6 using the Access Manager administration console and http docs sun com db doc 817 7691 the command line Portal Server Secure Remote Access Administration Describes how to administer Portal Server 6 Guid
146. o all machines in the cluster Session failover in BEA is described in the following document http edocs beasys com wls docs61 cluster servlet htm1 1009453 Using in memory replication for HTTP session states requires the following prerequisites e Portal Server supports the use of WebLogic Server clusters with in memory session replication See the BEA documentation for instructions to set up these clusters The Java Enterprise System Installation Guide documents the load balancer configuration for such a cluster using the HttpClusterServlet that ships with BEA You can also set up other load balancing hardware and software documented by BEA in the same way e Session data must be serializable e Use the setAttribute to change the session state Portal Server 6 2005Q1 Deployment Planning Guide 156 Portal Server on an Application Server Cluster To install a BEA cluster your BEA license for each machine participating in the cluster must be a special BEA cluster license See the BEA documentation for the procedure to get the license and set up a BEA cluster with HttpClusterServlet Overview of IBM WebSphere Application Server The IBM WebSphere Application Server product uses the following definitions Administrative domain The logical space in which the configurations for various objects in the WebSphere environment reside Inside one administrative domain you start with an application server This is the default in
147. oad that closely simulates the anticipated production environment agreed between you and the portal administrators and portal developers See Analysis Tools on page 143 4 Monitor customized portal applications such as portlets Portal Sizing You need to establish a baseline sizing figure for your Portal Server With a baseline figure established you can then validate and refine that figure to account for scalability high availability reliability and good performance The portal sizing process consists of the following steps 1 Establish Baseline Sizing Figures 2 Customize the Baseline Sizing Figures 3 Validate Baseline Sizing Figures 4 Refine Baseline Sizing Figures 5 Validate Your Final Figures The following sections describe these steps Chapter 4 Pre Deployment Considerations 3 Establish Baseline Sizing Figures Once you have identified your business and technical requirements and mapped Portal Server features to your needs your sizing requirements emerge as you plan your overall Portal Server deployment Your design decisions help you make accurate estimates regarding Portal Server user sessions and concurrency NOTE Sizing requirements for a secure portal deployment using Sun Java System Portal Server Secure Remote Access SRA software are covered in SRA Sizing on page 72 Your Sun Java System technical representative can provide you with an automated sizing tool to calculate the estimated number of CP
148. oeb 7 066 0 MORPIPNESS Fros Gateway and HTTP Basie Authentieatiam ueocopeeeIe re ER RET Re Ie gh Gateway and SSL SUPPOR ccoecnLceIinixb e eee redde ee s Ra pre OPES Gateway Access Contral 1cvieoe tope he eR PEU RP Rer C BR PE SER MERIORAETS Galea LEGON cio otis cde ah cheat ha naiGe Mile Weems mek eb bend ne regu Using Accelerators withthe Gateway icecse cited iodide bee raise eed ic MM TI HEC TTL CC 5taticangd Dyn m c Port Applications ERR PIRE job ge nies INetlet and Application Integration a occured et ewereenteermberti her ERES PIECE oie ee raceete tee de tnt Chr eMedia ot en aite ari Rubeis Metle POX EP NetFile t ede RORIS EX OE NEN ded nt aene Validating Credentials cic tune sk 0 teur Perak ERES E Cabs Access Control DPEes eb Pebeebu eu and nthe es SEa a EEE EEEE E E E EE 0600050570 a aubes Operadlo o aia 0 E EEEE ode ne gus NethEileand Multithreading i c ccce ee goths ache ow REY ares E E a dt REWE Rex e e E a ON T ERE ELS ROWE PrO eek pire 0 a eK e EA Prog E CE Chapter 3 Identifying and Evaluating Your Business and Technical Requirements Business Objectives see csset ene ester iaee D aen E O E DEENA a Technical Goals 2 e xe Le a E EEE IRE E pes Te Mapping Portal Server Features to Your Business Needs ssssssss Identity Management esee cr ne
149. ongestion window cwnd in bytes The default minimum retransmission timeout RTO value in milliseconds The calculated RTO for all TCP connections cannot be lower than this value The default maximum retransmission timeout value RTO in milliseconds The calculated RTO for all TCP connections cannot exceed this value The default initial retransmission timeout value RTO in milliseconds The time in milliseconds a TCP connection stays in TIME WAIT state Refer to RFC 1122 4 2 2 13 for more information The time in milliseconds a TCP connection stays in KEEP ALIVE state Refer to RFC 1122 4 2 2 13 for more information The default maximum number of pending TCP connections for a TCP listener waiting to be accepted by accept SOCKET The default maximum number of incomplete three way handshake not yet finished pending TCP connections for a TCP listener Refer to RFC 793 for more information on TCP three way handshake The default total retransmission timeout value for a TCP connection in milliseconds For a given TCP connection if TCP has been re transmitting for tcp ip abort interval period and it has not received any acknowledgment from the other endpoint during this period TCP closes this connection AppendixB Analysis Tools 1 tcp rexmit interval tcp rexmit interval TCP IP Options TCP IP Options ndd set dev tcp tcp cwnd max 65535 ndd set dev tcp tcp rexmit interval min 3000 ndd set dev tcp m
150. or in different time zones e How long do you expect the typical user to be connected or have a valid portal session open What use statistics do you have for existing applications Do you have web traffic analysis figures for an existing portal e How many visitor sessions or number of single visitor visits are likely within a predefined period of time e Is portal use likely to increase over time Or stay stable e How fast will your user base grow e How have your users used an application that the portal will deliver to them e What portal channels do you expect users to use regularly e What expectations about your portal content do your users have How have users used predecessor web based information or other resources that your portal will offer 60 Portal Server 6 2005Q1 Deployment Planning Guide Chapter 4 Pre Deployment Considerations This chapter contains the following sections e Determine Your Tuning Goals e Portal Sizing Tips e Establish Performance Methodology e Portal Sizing e SRA Sizing Determine Your Tuning Goals Before tuning you portal work with portal system administrators and portal developers to set the portal performance objectives based upon the projected requirements of your portal Objectives include the number of users the number of concurrent users at peak load time and their usage pattern in accessing Sun Java System Portal Server You need to determine these two factors e Are
151. or liable for any actual or alleged damage or loss caused or alleged to be caused by or in connection with use of or reliance on any such content goods or services that are available on or through such sites or resources 18 Portal Server Secure Remote Access 6 2005021 Administration Guide Sun Welcomes Your Comments Sun Welcomes Your Comments Sun is interested in improving its documentation and welcomes your comments and suggestions To share your comments go to http docs sun com and click Send Comments In the online form provide the document title and part number The part number is a seven digit or nine digit number that can be found on the title page of the book or at the top of the document For example the title of this book is Sun Java System Portal Server Secure Remote Access 2005001 Administration Guide and the part number is 817 7693 Preface 9 Sun Welcomes Your Comments 20 Portal Server Secure Remote Access 6 2005Q1 Administration Guide Chapter 1 Portal Server Architecture This chapter contains the following sections What is a Portal Types of Portals Portal Server Capabilities Sun Java System Portal Server Secure Remote Access Security Encryption and Authentication Portal Server Deployment Components Portal Server Architecture Identity Management A Typical Portal Server Installation a Portal Portals provide the user with a single point of access to a wide variety of content data
152. oring and managing identity information which is integrated with a policy solution to enforce access rights greatly simplifying these challenges Extends a common identity to handle new applications enables applications to share administrative work and simplifies tasks normally associated with building these services from scratch Consolidates management of users and applications Personalizes content and service delivery Simplifies and streamlines information and service access Reduces costs associated with managing access and delivery Provides secure policy based access to applications Ensures secure access as portal deployments expand beyond employee LAN access Enhances user productivity by providing a consistent centralized mechanism to manage authentication and single sign on while enabling employees partners and customers access to content applications and services Enables IT to delegate portal administrative duties to free up valuable IT resources and administration Security is an important functionality in portals Security can address many different needs within the portal including authentication into the portal encryption of the communications between the portal and the end user and authorization of the content and applications to only users that are allowed access Identifying and Evaluating Your Business and Technical Requirements 55 Description Access Manager enables you to manage many user
153. orithms and data structures increase as the number of search and indexed terms increase the type of search function affects times for search result return trips TIP You can now give the above figures to your technical representative and ask that the sizing tool be run to identify your estimated number of CPUs Portal Desktop Configuration Portal Desktop configuration explicitly determines the amount of data held in memory on a per session basis The more channels on the Portal Desktop the bigger data session size and the lesser the throughput of Portal Server Another factor is how much interactivity the Portal Desktop offers For example channel clicks can generate load on Portal Server or on some other external server If channel selections generate load on Portal Server a higher user activity profile and higher CPU overhead occur on the node that hosts the Portal Desktop than on a node that hosts some other external server Chapter 4 Pre Deployment Considerations 7 Hardware and Applications CPU speed and size of the virtual machine for the Java platform Java Virtual Machine or JVM software memory heap affect Portal Server performance The faster the CPU speed the higher the throughput The JVM memory heap size along with the heap generations tuning parameters can also affect Portal Server performance Back End Servers Portal Server aggregates content from external sources If external content provid
154. ortal Server and Access Manager on Different Nodes Figure 5 9 shows a configuration for maximum horizontal scalability and higher availability achieved by a horizontal server farm Two Portals Servers can be fronted with a load balancer for maximum throughput and high availability Another load balancer can be put between Portal Servers and Access Managers to achieve authentication and policy processes as a load distributor and failover mechanism for higher availability In this scenario Blade 1500s can be utilized for Portal Services to distribute the load similar Blades can be used to host Access Manager Services and Directory Services respectively With the architecture shown in Figure 5 9 a redundancy of services exists for each of the product stack therefore most of the unplanned downtime can be minimized or eliminated However the planned downtime is still an issue If an upgrade or patch includes changes to the Directory Server software schema used by the Access Manager software all of the software components must be stopped to update the schema information stored in the Directory Server However updating schema information can be considered a fairly rare occurence in most patch upgrades Figure 5 9 Two Portal Servers and Two Access Managers Load Balancer Load Balancer When two instances of Portal Server and Access Manager servers share the same LDAP directories please use this workaround for all subsequent Por
155. ortal Server in Secure Mode Firewall Firewall Gateway Portal Server Internet NENNEN intranet Applications Firewall DMZ Chapter 1 Portal Server Architecture 7 Client Client Security Encryption and Authentication You can add additional servers and Gateways for site expansion You can also configure the components of SRA in various ways based on your business requirements Security Encryption and Authentication Portal Server system security relies on the HTTPS encryption protocol in addition to UNIX system security for protecting the Portal Server system software Security is provided by the web container which you can configure to use SSL if desired Portal Server also supports SSL for authentication and end user registration By enabling SSL certificates on the web server the Portal Desktop and other web applications can also be accessed securely You can use the Access Manager policy to enforce URL based access policy Portal Server depends on the authentication service provided by Sun Java System Access Manager and supports single sign on SSO with any product that also uses the Access Manager SSO mechanism The SSO mechanism uses encoded cookies to maintain session state Another layer of security is provided by SRA It uses HTTPS by default for connecting the client browser to the intranet The Gateway uses Rewriter to enable
156. ponents However in the case of failures user sessions are lost e Transparent Failover The system is always available but in addition to NSPOF failover to a backup instance occurs transparently to end users In most cases users do not notice that they have been redirected to a different node or instance Sessions are preserved across nodes so that users do not have to reauthenticate Portal Server services are stateless or use checkpointing mechanisms to rebuild the current execution context up to a certain point Possible supported architectures include the following Using Sun Cluster software on components that support Sun Cluster agents e Multi master Directory Server techniques This section explains implementing these architectures and leverages the building module concept from a high availability standpoint 90 Portal Server 6 2005Q1 Deployment Planning Guide Working with Portal Server Building Modules Table 5 1 summarizes these high availability scenarios along with their supporting techniques Necessary for Transparent Failover Deployment Yes Yes Yes Yes Yes Yes Yes Table 5 1 Portal Server High Availability Scenarios Necessary for NSPOF Deployment Yes Yes Yes Yes No No No Necessary for Best Effort Deployment Yes No No Yes No No No Load balancing is not provided out of the box with the Web Server Chapter 5 Creating Your Portal Design 91 product
157. r Proxy machine and derive some performance improvement SRA and Sun Enterprise Midframe Line Normally for a production environment you would deploy Portal Server and SRA on separate machines However in the case of the Sun Enterprise midframe machines which support multiple hardware domains you can install both Portal Server and SRA in different domains on the same Sun Enterprise midframe machine The normal CPU and memory requirements that pertain to Portal Server and SRA still apply you would implement the requirements for each in the separate domains In this type of configuration pay attention to security issues For example in most cases the Portal Server domain is located on the intranet while the SRA domain is in the DMZ Chapter 4 Pre Deployment Considerations 7 SRA Sizing 78 Portal Server 6 2005Q1 Deployment Planning Guide Chapter 5 Creating Your Portal Design This chapter describes how to create your high level and low level portal design and provides information on creating specific sections of your design plan This chapter contains the following sections e Portal Design Approach e Portal Server and Scalability Portal Server and High Availability Portal Server System Communication Links e Working with Portal Server Building Modules e Designing Portal Use Case Scenarios e Designing Portal Security Strategies e Portal Server and Access Manager on Different Nodes e Designing SRA Deploym
158. r business requirements address your organization s problems and opportunities and include such factors as e Services e Service availability e Future growth e New technologies e Capital investment To be useful in formulating design requirements the business requirements must address detailed goals and objectives 51 The business goals of your portal affect deployment decision Understand your Objectives If you do not understand your business requirements you can easily make erroneous assumptions that could affect the accuracy of your deployment estimates Use these questions to help you identify your business objectives What are the business goals of this portal For example do you want to enhance customer service Increase employee productivity Reduce the cost of doing business What kind of portal do you need For example business to business business to consumer business to enterprise or a hybrid Who is your target audience What services or functions will the portal deliver to users How will the target audience benefit from the portal What are the priorities for the portal If you plan to deploy your portal in phases identify priorities for each phase Optional Use these questions to help identify your business objectives if you are deploying a secure portal Do you need to increase employee productivity by making your intranet applications and servers accessible over the Internet Do you
159. r profile It stays efficient as long as the number of LDAP attributes stored is low In general this type of provider is a good performer second only to the file scraper provider within URLScraperProvider Database provider This type of provider utilizes a back end database for its content It requires that you build database connection polling and that you use small queries either single queries or no more than a couple You might also have to perform extra work for HTML formatting In general this type of provider is the worst performer due to its use of database connection pooling large database queries poor coding or lack of indexing on the retrieved data Additionally once the data has been retrieved the portal needs to perform a Portal Server 6 2005001 Deployment Planning Guide 130 Identity and Directory Structure Design large amount of processing to display the data in the Portal Desktop If you use this type of provider push as much data processing logic to the database as possible Also benchmark your portal performance with and without database channels in the user profile Client Support Portal Server supports the following browsers as clients e Internet Explorer 5 5 and 6 0 Netscape Communicator 4 7x or higher See the Portal Server 6 Release Notes for updates to this list Multiple client types whether based on HTML WML or other protocols can access Access Manager and hence Portal Server For
160. rall growth projections for upcoming years e Ina production system keep the error logging level to ERROR and not MESSAGE The MESSAGE error level is verbose and can cause the file system to quickly run out of disk space The ERROR level logs all error conditions and exceptions Documenting the Portal A comprehensive set of documentation on how your portal functions is an important mechanism to increasing the supportability of the system The different areas that need to be documented to create a supportable solution include e System architecture e Software installation and configuration e Operational procedures also known as a run book e Software customizations e Custom code e Third party products integration The run book outlines troubleshooting techniques as well as the deployment life cycle Make this book available during the training and transfer of knowledge phase of the project TIP Do not wait until the end of the deployment project when time and money are usually running short to begin this documentation phase Documenting your portal should occur as an ongoing activity throughout the entire deployment 134 Portal Server 6 2005Q1 Deployment Planning Guide Monitoring Portal Server Monitoring Portal Server This section describes the variables that affect portal performance as well as the portal monitoring you can perform Areas to monitor include e Sun Java System Acc
161. rate non portal node Netlet Proxy node Optional The server used to run applications securely between users remote desktops and the servers running applications on your intranet Rewriter Proxy node Optional The server used to run applications securely between users remote desktops and the servers running applications on your intranet Directory Server node The server running Directory Server software You can install Directory Server on a non portal node Other servers These servers such as mail file and legacy servers provide backend support data and applications to portal users Identity Management Identity Management Portal Server uses the Access Manager to control many users spanning a variety of different roles across the organization and sometimes outside the organization while accessing content applications and services The challenges include Who is using an application In what capacity do users serve the organization or company What do users need to do and what should users be able to access How can others help with the administrative work Access Manager software consists of the following components Java software APIs used to access SSO Token user profiles logging and debugging Command line tools such as amadmin amserver and ampassword Web application services such as session authentication logging and naming Administration console web application Access Manager SDK 30 Portal Server 6 2
162. ration test Identify and document integration test discrepancies Resolve integration test discrepancies and document Identify required modifications such as configuration enhancements interfaces reports Re execute integration tests Update as required Track test progress Obtain test approval Summarize and communicate results to stakeholders Review with stakeholders and establish implementation locations and configurations Develop implementation approach Repeat appropriate tasks from development hardware and software installation Review existing documentation of results of tests Validate scope objectives and critical success factors Update deployment approach Review and approve deployment Review and reconcile system operations Review organization and system procedures Promote to production Update current operations Revise system release and deployment materials Provide transition support Portal Design Task List Table E 8 Design Task List 6 of 7 Major Phases and Tasks Conduct Integration and System Test 4 Deployment Production Confirm Approach Review and Update Deployment Implement Deployment 176 Portal Server 6 2005Q1 Deployment Planning Guide Portal Design Task List Subtasks Confirm organization commitment and expectations Establish training requirements for all personnel Establish training schedules Establish training staff Prepare materials for training Train admin
163. re a grouping mechanism designed to be more efficient and easier to use for applications Each role has members or entries that possess the role As with groups you can specify role members either explicitly or dynamically The roles mechanism automatically generates the 5016 attribute containing the distinguished name DN of all role definitions in which the entry is a member Each role contains a privilege or set of privileges that can be granted to a user or users Multiple roles can be assigned to a single user The privileges for a role are defined in Access Control Instructions ACIs Portal Server includes several predefined roles The Access Manager administration console enables you to edit a role s ACI to assign access privileges within the Directory Information Tree Built in examples include SuperAdmin Role and TopLevelHelpDeskAdmin roles You can create other roles that can be shared across organizations Chapter 5 Creating Your Portal Design 127 Identity and Directory Structure Design See the Portal Server 6 Administration Guide Directory Server Deployment Guide and the Access Manager Deployment Guide for more information on planning your Access Manager and Directory Server structure Implementing Single Sign On Single sign on SSO to Portal Server is managed by Access Manager SSO provides a user with the ability to use any application that has its access policy managed by Access Manager if allowed through the po
164. re e ee EEEE EE EE EE RE ER aS co Search Engine ssoiecisentebbenve qe DECOR Hew ba DERE TA CLIP PEE HERR ES Portal Server 6 2005Q1 Deployment Planning Guide 4 7 E URINE Sehen REUS pauio E E 58 Aggrepation and Integration ccicisocs de Sheets Reta Reda Rae eed et ePe DAER 58 Understanding User Behaviors and 4006708 59 Chapter 4 Pre Deployment Considerations 2200000251 61 Determine Your Goals cies deo UD OD Ne ie yebhbrr eed 3 epe ps peat 61 Portal Sizine TIPS cog ncchxitie bate bac ute ciate et eR DS eb eds ops see eR eere T uae Deine dE 62 Establish Performance opacde en ddte I M ER DR p pg 62 Portal SIS oeste ete dote asl picos babeat Kuk toe eR ns regata ieqie sube ete us 63 Establish Baseline Sizing PIEutes 2 2 epe ipe pb debbie pe REIN POPE I d Eae agde 64 Customize the Baseline Sizing 065 b e es Seether nae aa REIR 69 Validate Baseline Sizing Figures 102 P RSSPDeDU ERE errien n eree raia is 70 Refine Baseline Sizing Figures oi coaches eee des aniani pide a E ERN ya ree S 71 Validate Your Final Figures 5 50052 ERE Y VEPUMREQP OE RE NOE I dad eed 72 PRA DIZE MEL 72 Identifying Gateway Key Performance Requirements 6 cece eee eee eee eens 73 Advanced sawed cassie UGE dhe ee aee nile 75 SRA Gateway and SSL Hardware Accelerators 22e rl pe pa ods PORE DRE ed needs 76 SRA and Sun Enterprise
165. rganization s requirements and expectations Establish modifications for software Establish methods for software modifications Create software modification plan Design software modifications Establish software modification teams Create modifications Test modifications Obtain appropriate stakeholder and organizational review and approval of modifications Confer with stakeholders to establish proper schema Establish modifications for software Establish methods for software modifications Create software modification plan Design software modifications Establish software modification teams Create schema Set up LDAP Receive and verify data Modify mapping as required for LDAP Establish data update methods Test directory Create client user documentation for update methods Perform integration Prepare package integration test plan Perform integration test Produce package integration test results Portal Design Task List Table E 8 Design Task List 4 of 7 Major Phases and Tasks Sun Java System Portal Server Sun Java System Application Server and Other Software Modifications LDAP Directory Setup Legacy Software Integration such as PeopleSoft SAP 174 Portal Server 6 2005Q1 Deployment Planning Guide Portal Design Task List Subtasks Establish reporting requirements for organization Create reporting plan Establish reporting team Design reports Create reports Test reports Review reports
166. rovider 139 properties 123 reloading 161 DIT 127 DMZ description 82 104 document level security 99 documentation overview 16 documenting the portal 134 implementing single sign on 128 independent software vendors types 125 installing as a regular user 104 integrating applications 124 integration design 124 interface bandwidth and netstat 147 Internet Explorer 131 iostat tool 146 ISP hosting deployment 33 isporganization 127 ISVs types 125 J Java compatibility 32 Java properties files 140 JavaScript in Rewriter 47 Portal Server Desktop 82 JavaServer Pages 130 JAXP 29 JCA and sizing 70 jCIFS NetFile 44 JDBC and sizing 70 JSP template files location 140 JSPProvider 130 JSPProvider 123 L LDAP authentication 87 transaction numbers 70 LDAP based provider 130 LDIF file 124 legacy servers 30 Linux Platform 179 load balancing and high availbility 91 Section H high availability 86 HTTP and HTTPS 38 logging 41 multihomed 38 multiple instances 38 Netlet traffic 40 overview 37 page configuration 75 performance requirements 73 profile 39 proxies 39 session information Gateway 40 session stickiness 39 SSL 39 SSL hardware accelerators 76 Gateway profile 39 gateway profile 38 gctool pl tool 164 H hardware redundancy 91 92 heap size 136 high availability 84 and building modules 90 and Portal Server components 85 degrees of 85 high level architecture typical installation 33 high level po
167. rtal design overview 80 horizontal scaling description 83 HTTP and HTTPS modes and Gateway 38 HTTP basic authentication 39 HTTP proxy configuring 162 HttpSession failover 91 IBM WebSphere Application Server overview 157 identifying requirements 51 Identity management features and benefits 54 186 Portal Server 6 2005Q1 Deployment Planning Guide Section M N NetFile access control 46 Allowed URLs or Denied URLs 46 applet 45 components 44 compression 47 compression types 47 initialization 45 multithreading 47 overview 44 Portal Server Desktop 45 search 47 security 46 validating credentials 45 Netlet access control 43 and Microsoft Exchange 42 and third party applications 43 application integration 43 encryption 74 encryption ciphers 41 overview 41 requests and Gateway 38 split tunneling 43 traffic 40 usage characteristics 74 Netlet Proxy and software crash 86 and transparent failover 97 Microsoft Exchange 44 overview 44 third party proxy 44 NetMail 125 NetMail Lite 85 Netscape Communicator 131 netstat tool 147 NFS NetFile 44 45 Non Authenticated URL list and Gateway 40 Novell domain 45 Index 187 and Portal Server failures 94 and Rewriter 49 and SRA 95 with SRA 86 locale file 140 localization 123 log files and troubleshooting 160 location 139 SRA 165 logging errors 134 Gateway 41 number of active sessions 137 login type 75 LoginProvider 130 low level portal design overview 81 m
168. s session information is stored on the client in an HTTP cookie so rerouting around a failed Gateway is transparent to users Portal Server In open mode you can use a load balancer to detect a failed server component and redirect requests to other servers In secure mode Gateway components can detect the presence of a failed server component and redirect requests to other servers This is valid as long as the web container is the Web Server Directory Server A number of options make the LDAP directory highly available See Building Modules and High Availability Scenarios on page 90 for more information Netlet and Rewriter Proxies In the case of a software crash a watchdog process automatically restarts the proxies In addition the Gateway performs load balancing and failure detection failover for the proxies Portal Server System Communication Links Figure 5 1 on page 87 shows the processes and communication links of a Portal Server system that are critical to the availability of the solution Portal Server 6 2005Q1 Deployment Planning Guide 86 Portal Server System Communication Links Figure 5 1 Portal Server Communication Links Browser Gateway HTTP s Authentication Access Manager Comm Channel l ortal Deskto Search Service Admin Console Service P Service Service servlet servlet servlet servlet servlet Access Manager Acces
169. s Manager Logging SDK Mgmt SDK LDAP SMTP IMAP User Policy Service Profile Database Server Directory Server LDAP Server LDAP LDAP Authentication Server In this figure the box encloses the Portal Server instance running on Web Server technology Within the instance are five servlets Authentication Access Manager administration console Portal Desktop Communication Channel and Search and the three SDKs Access Manager SSO Access Manager Logging and Access Manager Management The Authentication service servlet also makes use of an LDAP service provider module A user uses either a browser or the Gateway to communicate with Portal Server This traffic is directed to the appropriate servlet Communication occurs between the Authentication service s LDAP module and the LDAP authentication server between the Communications channel servlet and the SMTP IMAP messaging server between the Access Manager SSO SDK and the LDAP server and between the Access Manager Management SDK and the LDAP server Chapter 5 Creating Your Portal Design 7 Portal Server System Communication Links Figure 5 1 on page 87 shows that if the following processes or communication links fail the portal solution becomes unavailable to end users Portal Server Instance Runs in the context of a web container Components within an instance communicate through the JVM using J
170. s is the best performing provider in terms of how fast it retrieves content On the first fetch of content performance for this provider is usually in the low teen milliseconds On subsequent requests using a built in caching mechanism this provider can usually deliver content in one millisecond or less If applicable consider using the file scraper provider in place of the URL Scraper provider JSPProvider Uses JavaServer Pages JSP technology JSPProvider obtains content from one or more JSP files A JSP file can be a static document HTML only or a standard JSP file with HTML and Java programming language A JSP file can include other JSP files However only the topmost JSP file can be configured through the display profile The topmost JSP files are defined through the contentPage editPage and processPage properties LoginProvider Provides access to the Access Manager authentication service through a Portal Desktop channel This provider enables anonymous Portal Desktop login so that a user can log in directly from the Portal Desktop XMLProvider Transforms an XML document into HTML using an XSLT XML Style Sheet Language file You must create the appropriate XSLT file to match the XML document type XMLProvider is an extension of URLScraperProvider This provider uses the JAXP 1 2 JAR files provided by Web Server LDAP based provider This type of provider retrieves information about a user and use of personalization from use
171. s spanning a variety of different roles across the organization and sometimes outside the organization while accessing content applications and services Access Manager integrates user authentication and single sign on through an SSO API Once the user is authenticated the SSO API takes over Each time the authenticated user tries to access a protected page the SSO API determines if the user has the permissions required based on their authentication credentials If the user is valid access to the page is given without additional authentication If not the user is prompted to authenticate again The Access Manager administration console provides role based delegated administration capabilities to different kinds of administrators to manage organizations users policy roles channels and Portal Desktop providers based on the given permissions Provides single sign on for aggregated applications to the portal Chapter 3 Table 3 1 Feature User policy and provisioning management Single sign on SSO Delegated administration Security Benefit Extends an enterprise s content applications files and services located behind firewalls to authorized suppliers business partners and employees To prevent denial of service attacks you can use both internal and external DMZ based Gateways This component has four parts Gateway Controls communication between the Portal Server and the various
172. s using custom building block providers Organizing content using container channels Chapter 5 Creating Your Portal Design 123 Content and Design Implementation See the Portal Server 6 Developer s Guide and Portal Server 6 Desktop Customization Guide for more information Placement of Static Portal Content Place your static portal content in the web container install root SUNWam public html directory or in a subdirectory under the web container install root SUNWam public html directory the document root for the web container Do not place your content in the web container install root SUNWps web apps https server portal directory as this is a private directory Any content here is subject to deletion when the Portal Server web application is redeployed during a patch or other update Integration Design This section provides information on integration areas that you need to account for in your low level design Creating a Custom Access Manager Service Service Management in Access Manager provides a mechanism for you to define integrate and manage groups of attributes as an Access Manager service Readying a service for management involves 1 Creating an XML service file 2 Configuring an LDIF file with any new object classes and importing both the XML service file and the new LDIF schema into Directory Service 3 Registering multiple services to organizations or sub organizations using the Access Manager
173. s virtually reserved but does not allocate physical memory unless needed The complete address space reserved for object memory can be divided into the young and old generations Chapter6 The Production Environment 5 Monitoring Portal Server Most applications suggest using a larger percentage of the total heap for the new generation but in the case of Portal Server using only one eighth the space for the young generation is appropriate because most memory used by Portal Server is long lived The sooner the memory is copied to the old generation the better the garbage collection GC performance Even with a large heap size after a portal instance has been running under moderate load for a few days most of the heap appears to be used because of the lazy nature of the GC The GC performs full garbage collections until the resident set size RSS reaches approximately 85 percent of the total heap space at that point the garbage collections can have a measurable impact on performance For example on a 900 MHz UltraSPARCII a full GC on a 2 GB heap can take over ten seconds During that period of time the system is unavailable to respond to web requests During a reliability test full GCs are clearly visible as spikes in the response time You must understand the impact on performance and the frequency of full GCs In production full GCs go unnoticed most of the time but any monitoring scripts that measure the performance of the s
174. settings of the browser on the client machine so that the settings point to the local proxy server or Proxylet Itsupports both HTTP and SSL inheriting the transport mode from the Gateway If the Gateway is configured to run on SSL Proxylet establishes a secure channel between the client machine and the Gateway Proxylet uses the JSSE API if the client JVM is 1 4 or higher or if the required jar files reside on the client machine Otherwise it uses the KSSL API Proxylet is enabled from the Access Manager administration console where the client IP address and port are specified Unlike Rewriter Proxylet is an out of the box solution with very little or no post installation changes Also Gateway performance improves because Proxylet does not deal with web content Chapter 2 Portal Server Secure Remote Access Architecture 9 Proxylet 50 Portal Server 6 2005Q1 Deployment Planning Guide Chapter 3 Identifying and Evaluating Your Business and Technical Requirements The first step in planning your deployment is identifying your Sun Java System Portal Server business and technical requirements You need to gather both business and technical requirements before you can address architecture and design issues This chapter contains the following sections Business Objectives e Technical Goals e Mapping Portal Server Features to Your Business Needs e Understanding User Behaviors and Patterns Business Objectives You
175. sider the following Directory Server guidelines when you plan your Portal Server deployment The amount of needed CPU in the Directory Server consumer replica processor set depends on the number of Portal Server instances in the building module as well as performance and capacity considerations If possible dedicate a Directory Server instance for the sole use of the Portal Server instances in a building module See Figure 5 2 on page 89 e Map the entire directory database indexes and cache in memory to avoid disk latency issues e When deploying multiple building modules use a multi master configuration to work around bottlenecks caused by the profile updates and replication overhead to the Directory Server supplier Search Engine Structure When you deploy the Search Engine as part of your building module solution consider the following e Ineach building module make sure only one Portal Server instance has the Search Engine database containing the RDs The remaining Portal Server instances have default empty Search Engine databases e Factors that influence whether to use a building module for the portal Search database include the intensity of search activities in a Portal Server deployment the range of search hits and the average number of search hits for all users in addition to the number of concurrent searches For example the load generated on a server by the Search Engine can be both memory and CPU intensive for a
176. stallation e Server group A server group is a template for creating additional nearly identical copies of an application server configuration This is the equivalent of BEA s cluster e Clones A copy of the server group on the same machine or on different machines Clones are the equivalent of BEA s managed servers See the IBM WebSphere Application Server documentation for more information http www 3 ibm com software webservers appserv doc v40 ae infocenter was welcome html WebSphere Advanced Server provides a more robust approach to clustering because it includes a database In Advanced Server all servers use the database for the configuration information You can use the WebSphere administration console a Swing Java application or the command line utilities xMLConfig and wscpthen to manage the servers Appendix C Portal Server and Application Servers 7 Portal Server on an Application Server Cluster 158 Portal Server 6 2005Q1 Deployment Planning Guide Appendix D Troubleshooting Your Portal Deployment This appendix describes how to troubleshoot the Sun Java System Portal Server software and the Sun Java System Portal Server Secure Remote Access SRA software This appendix contains the following sections e Troubleshooting Portal Server e Troubleshooting SRA Troubleshooting Portal Server This sections contains troubleshooting information for Sun Java System Portal Server UNIX Processes For
177. t each channel can process a request in the shortest possible time you provide a better performing Portal Desktop 128 Portal Server 6 2005Q1 Deployment Planning Guide Identity and Directory Structure Design Choosing and Implementing the Correct Aggregration Strategy The options for implementing portal channels for speed and scalability include e Keeping processing functions on back end systems and application servers not on the portal server The portal server needs to optimize getting requests from the user Push as much business logic processing to the back end systems Whenever possible use the portal to deliver customized content to the users not to process it e Ensuring that the back end systems are highly scalable and performing The Portal Desktop only responds as fast as the servers from which it obtains information to be displayed in the channels e Understanding where data is stored when designing providers how the portal gets that data how the provider gets that data and the type of data For example is the data dynamic that pertains to an individual user or is there code needed to retrieve that customized or personalized data Or is the data static and shared by a small group of users Next you need to understand where the data resides for example in an XML file database and flat file and how frequently the data is updated Finally you need to understand how the business logic is applied for processing th
178. t numbers SRA Gateway and SSL Hardware Accelerators SSL intensive servers such as the SRA Gateway require large amounts of processing power to perform the encryption required for each secure transaction Using a hardware accelerator in the Gateway speeds up the execution of cryptographic algorithms thereby increasing the performance speed The Sun Crypto Accelerator 1000 board is a short PCI board that functions as a cryptographic co processor to accelerate public key and symmetric cryptography This product has no external interfaces The board communicates with the host through the internal PCI bus interface The purpose of this board is to accelerate a variety of computationally intensive cryptographic algorithms for security protocols in e commerce applications SRA Sizing 76 Portal Server 6 2005Q1 Deployment Planning Guide SRA Sizing See the Portal Server Secure Remote Access 6 Administration Guide for more information on the Sun Crypto Accelerator 1000 board and other accelerators NOTE The Sun Crypto Accelerator 1000 board supports only SSL handshakes and not symmetric key algorithms This is not generic to all other cryptographic accelerators Other cryptographic accelerators are on the market and some of them can support symmetric key encryption See the following URL for more information http www zeus com products zws security hardware html You could use a hardware accelerator on the Netlet Proxy and Rewrite
179. t to Look For e colls collisions If your network is not switched then a low level of collisions is expected As the network becomes increasingly saturated collision will increase and eventually will become a bottleneck The best solution for collisions is a switched network Appendix B Analysis Tools 7 netstat netstat e errs errors The presence of errors could indicate device errors If your network is switched errors indicate that you are nearly consuming the bandwidth capacity of your network The solution to this problem is to give the system more bandwidth which can be achieved through more network interfaces or a network bandwidth upgrade This is highly dependent on your particular network architecture Considerations e If network saturation is occuring quickly saturation at less than 8CPUs for an application server running on a 100mbit Ethernet then an investigation to ensure conservative network usage is a good first step e Increase network bandwidth Steps that possibly can be taken upgrade to a switched network more network interfaces are a possible solution or upgrade to a higher bandwidth network to accommodate your network traffic demand netstat sP tcp These netstat options are used to analyze the TCP kernel module Many of the fields reported represent fields in the kernel module that indicate bottlenecks These bottlenecks can be addressed using the ndd command and the tuning 400 132520
180. tal Server Access Manager and Gateways Chapter5 Creating Your Portal Design 9 Portal Server and Access Manager on Different Nodes Modify the following areas in AMConfig properties to be in sync with the first installed instance of Portal Server and Access Manager servers The key that will be used to encrypt and decrypt passwords am encryption pwd t vnY9Uqjfl2NbFywKuAaaHibwlDFNLO lt REPLACE THIS STRING WITH THE ONE FROM FIRST PORTAL INSTALL The following key is the shared secret for application auth module com iplanet am service secret AQICxIPLNCOWWORVlYZNOPnKgyvq3gTU8JA9 gt REPLACE THIS STRING WITH THE ONE FROM FIRST PORTAL INSTALL In etc opt SUNWam config ums modify the following areas in serverconfig xml to be insync with the first installed instance of Portal Server and Access Manager server lt DirDN gt cn puser ou DSAME Users dc sun dc net lt DirDN gt lt DirPassword gt AQICxIPLNcOWWOT22gQnGgnCp9rUf4FuaqpY lt REPLACE THIS STRING WITH THE ONE FROM FIRST PORTAL INSTALL lt DirPassword gt lt DirDN gt cn dsameuser ou DSAME Users dc sun dc net lt DirDN gt lt DirPassword gt AQICxIPLNcCOWWOQT22gQnGgnCp9rUftFuagpY lt REPLACE THIS STRING WITH THE ONE FROM FIRST PORTAL INSTALL lt DirPassword gt Restart amserver services Portal Server 6 2005001 Deployment Planning Guide 110 Designing SRA Deployment Scenarios Designing SRA Deployment Scenarios The S
181. tem The number of connections open at one time is limited you can use this tool to look for bottlenecks netstat a grep your hostname wc 1 Output netstat a wc 1 34567 What to Look For e socket count If the number returned is greater than 20 000 then the number of socket connections could be a possible bottleneck Consider the following e Decrease the point where number of anonymous socket connections start ondd set dev tcp tcp smallest anon port value e Decrease the time a TCP connection stays in TIME WAIT ondd set dev tcp tcp time wait interval value Appendix B Analysis Tools 9 Tuning Parameters for etc system Tuning Parameters for etc system Table B 2 is a list of etc system tuning parameters used during the performance study The changes are applied by appending each to the etc systen file Table B 2 etc system Options Description Hard limit on file descriptors that a single process might have open To override this limit requires superuser privilege Controls the hash table size in the TCP module for all TCP connections Along with tune t flushr autoup controls the amount of memory examined for dirty pages in each invocation and frequency of file system sync operations The value of autoup is also used to control whether a buffer is written out from the free list Buffers marked with the 5 DELWRI flag file content pages that have changed are written out when
182. terface JavaMail JavaHelp J2SE iPlanet the Duke logo the Java Coffee Cup logo the Solaris logo the SunTone Certified logo and the Sun ONE logo are trademarks or registered trademarks of Sun Microsystems Inc in the U S and other countries All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International Inc in the U S and other countries Products bearing SPARC trademarks are based upon architecture developed by Sun Microsystems Inc Legato and the Legato logo are registered trademarks and Legato NetWorker are trademarks or registered trademarks of Legato Systems Inc The Netscape Communications Corp logo is a trademark or registered trademark of Netscape Communications Corporation The OPEN LOOK and Sun TM Graphical User Interface was developed by Sun Microsystems Inc for its users and licensees Sun acknowledges the pioneering efforts of Xerox in researching and developing the concept of visual or graphical user interfaces for the computer industry Sun holds a non exclusive license from Xerox to the Xerox Graphical User Interface which license also covers Sun s licensees who implement OPEN LOOK GUIs and otherwise comply with Sun s written license agreements Products covered by and information contained in this service manual are controlled by U S Export Control laws and may be subject to the export or import laws in other countries Nuclear missile chemical biological weapons or nuclear
183. teristic associated with the Desktop Type is the Desktop Reload variable For both Login Type and Desktop Type select the appropriate content configuration e Light JSP Describes a configuration of two tabs with five channels each Chapter 4 Pre Deployment Considerations 5 e Regular JSP Describes a configuration of two tabs with seven channels each e Heavy JSP Describes a configuration of three tabs with seventeen channels each Scalability You can choose between one two and four CPUs per Gateway instance The number of CPUs bound to a Gateway instance determines the number of Gateway instances required for the deployment Secure Portal Pilot Measured Numbers If you have numbers from a pilot of the SRA portal you can use these numbers in the Gateway sizing tool to arrive at more accurate results You would fill in the following Measured CPU Performance The values used to help calculate the number of Gateway instances include o Initial Portal Desktop Display hits per second per CPU o Portal Desktop Reloads hits per second per CPU e Netlet Applications Block Size This value specifies the Netlet application byte size The Netlet dynamically determines the block size based on the application that is used Block size determined by Netlet for a Telnet is based on the amount of data transferred NOTE You do not need to specify the Page Configuration and Scalability options if you are using trial deploymen
184. ternally by shooter to find unique lines and their count The advantage over the system uniq script is that it finds non adjacent unique lines GWDump class This class is called internally by shooter to obtain the Gateway settings in the Access Manager administration console SRA Log Files Examine the following log files for errors Gateway var opt SUNWps debug srapGat eway_Gatewny hostname_Gateway profile name NetFile Appendix Troubleshooting Your Portal Deployment 165 Troubleshooting SRA var opt SUNWps debug srapNetFile Netlet var opt SUNWps debug srapNetlet Gatewmyostname Gateway profile name 166 Portal Server 6 2005Q1 Deployment Planning Guide Appendix E Portal Deployment Worksheets This appendix provides worksheets to help with the portal deployment process This appendix contains the following sections Portal Assessment Worksheets Portal Design Task List Portal Assessment Worksheets Use these worksheets to learn more about your organization s business needs and potential areas of concern around deploying portals Table E 1 General Questions Identify the business reasons why you want a portal check and elaborate on all that apply Reducing procurement cost Reducing the cost of sharing information with customers suppliers or partners Eliminating the cost of maintaining many point solutions Expanding the reach of the customer base for your services Reducing the time to
185. teway instances for your deployment These advanced Gateway settings are used as input to the automated sizing tool These are the advanced Gateway settings e Page Configuration e Scalability e Secure Portal Pilot Measured Numbers NOTE After your technical representative has given you a figure for your estimated number of CPUs consider how these related performance factors affect this figure Page Configuration If you are using an authenticated portal you must specify both Login Type and Desktop Type in the page configuration section of the automated sizing tool e Login Type Describes the type of portal page content configuration and delivery method that end users initially see after submitting user name and password This process s typically taxing on the system because the process involves checking credentials initializing the session and delivering initial content The Measured CPU Performance characteristic associated with the Login Type is the Initial Desktop Display variable Desktop Type Describes the type of portal pages content configuration and delivery method that end users see after the initial portal page These pages are displayed with each subsequent interaction with the portal or on Desktop refresh Because the session has already been established and cached content can be exploited less system resources are typically required and the pages are delivered more rapidly The Measured CPU Performance charac
186. the Netlet proxy and Rewriter traffic to the Rewriter Proxy Since the Netlet Proxy is within the intranet it can directly contact all the required application hosts without opening multiple ports in the second firewall The traffic between the Gateway in the DMZ and the Netlet Proxy is encrypted and gets decrypted only at the Netlet Proxy thereby enhancing security If the Rewriter Proxy is enabled all traffic is directed through the Rewriter Proxy irrespective of whether the request is for the Portal Server node or not This ensures that the traffic from the Gateway in the DMZ to the intranet is always encrypted Because the Netlet Proxy Rewriter Proxy and Portal Server are all running on the same node there might be performance issues in such a deployment scenario This problem is overcome when proxies are installed on a separate nodes to reduce the load on the Portal Server node Portal Server 6 2005Q1 Deployment Planning Guide 116 Designing SRA Deployment Scenarios Figure 5 14 Netlet and Rewriter Proxies Portal Server Host Client Rewriter F 1 Gateway Proxy i 2 e st NetFile Netlet Netlet Host Proxy Portal SENEI Host Client Rewriter d Proxy NetFile F Gateway kos Netlet Netlet Host Proxy Host HTTP traffic Netlet traffic Chapter5 Creating Your Portal Design 117
187. the average load but over short periods of time Access Manager Cache and Sessions The performance of a portal system is affected to a large extent by the cache hit ratio of the Access Manager cache This cache is highly tunable but a trade off exists between memory used by this cache and the available memory in the rest of the heap You can enable the 33550 and amSDKStats logs to monitor the number of active sessions on the server and the efficiency of the Directory Server cache These logs are located by default in the var opt SUNWam debug directory Use the com iplanet am stats interval parameter to set the logging interval Do not use a value less than five 5 seconds Values of 30 to 60 seconds give good output without impacting performance The com iplanet services stats directory parameter specifies the log location whether to a file or to the console and also is used to turn off thelogs You must restart the server for changes to take effect Logs are not created until the system detects activity NOTE Multiple web container instances write logs to the same file The cache hit ratio displayed in the amsDKStats file gives both an internal value and an overall value since the server was started Once a user logs in the user s session information remains in cache indefinitely or until the cache is filled up When the cache is full oldest entries are removed first If the server has not needed to remove a user s entry it might
188. the portal to be functioning properly check that the following root owned processes are running Use the ps command to see this output Sun Java System Directory Server ns slapd D usr ldap slapd server i usr ldap slapd server logs pid Sun Java System Access Manager identity server install root SUNWam bin doUnix c 8946 Sun Java System Portal Server 159 Troubleshooting Portal Server uxwdog d portal server install root SUNWam servers https server config ns httpd d _portal server install root SUNWam servers https server config Admin Web Server optional but usually running uxwdog d web container install root SUNWam servers https admserv config ns httpd d web container install root SUNWam servers https admserv config Log Files Examine the following log files for errors Sun Java System Web Server errors and access web container install root SUNWam servers https server Logs Sun Java System Directory Server var opt SUNWam 10gs Recovering the Search Database The Search database maintains recoverable transaction logs Thus under normal circumstances you do not have to do anything to recover the database Recovery from errors and transient conditions such as a full disk are straight forward If desired maintain Search database archives and restore from an archive in case you lost the entire database In this scenario you would copy the archive to the original database
189. thereby providing a backup if one of the building modules fails These building modules consist of four CPUs by eight GB RAM When the load balancer detects Portal Server failures it redirects users requests to a backup building module Accuracy of failure detection varies among load balancing products Some products are capable of checking the availability of a system by probing a service involving several functional areas of the server such as the servlet engine and the JVM In particular most vendor solutions from Resonate Cisco Alteon and others enable you to create arbitrary scripts for server availability As the load balancer is not part of the Portal Server software you must acquire it separately from a third party vendor NOTE The Access Manager product requires that you set up load balancing to enforce sticky sessions This means that once a session is created on a particular instance the load balancer needs to always return to the same instance for that session The load balancer achieves this by binding the session cookie with the instance name identification In principle that binding is reestablished when a failed instance is decommissioned Sticky sessions are also recommended for performance reasons Multi master replication MMR takes places between the building modules The changes that occur on each directory are replicated to the other which means that each directory plays both roles of supplier and consumer For mor
190. this portal the infrastructure Who would own the content How do you plan to recruit additional business owners within your organization to contribute their content or applications for your portal What project management architect and technical implementation resources do you have available to help develop this portal Who sets the policies for web site characteristics such as look and feel and presentation Portal Server 6 2005Q1 Deployment Planning Guide 1 168 Portal Assessment Worksheets Table E 3 Business Service level Expectations Questions 1 Are your development projects consistent Do you manage their risk 2 How does your development team work with your test deployment and operations groups 3 How many different platforms does your organization currently support 4 How secure is your information How consistent is the security 5 Arethese challenges getting better or getting worse 6 How do you plan to recruit additional business owners within your organization to contribute their content or applications for your portal 7 What project management architect and technical implementation resources do you have available to help develop this portal 8 Who sets the policies for web site characteristics such as look and feel and presentation Table E 4 Content Management Questions 1 Do you have a content or document management system 2 Do you have any defined workflow to manage the
191. ticate Portal User Description Must have Only authenticated users are allowed to gain access to the portal resources This access restriction applies to all portal resources including content and services This portal relies on the user IDs maintained in the corporate LDAP directory The portal users identify themselves only once for a complete online session In the case that an idle timeout occurs the users must reidentify themselves If the portal user identification fails more often than a specified amount of allowed retries access to the intranet should be revoked or limited deactivated until a system administrator reactivates the account In this case the portal user should be advised to contact the authorized person The identified portal users are able to access only the data and information that they are authorized for Portal end user None Portal end user The portal user is an authorized user Standard corporate LDAP user ID Must be provided to each employee Authorized LDAP entry Every employee has access to the corporate intranet No guest account Friendly customer centric message Status with error message indicating whom to call Presented with Portal Desktop home page Authentication Entitlement Personal information When any portal page is accessed and the user is not yet logged in Chapter5 Creating Your Portal Design 101 Item Priority Context of Use Scope Primary User Speci
192. tion server web application container The Java Enterprise System installs and configures the local files configures the local application server then deploys the three WAR files on the local web application container The WAR files themselves are not self contained The WAR files depend on the local files and directories on the machine to provide their service An application server cluster is a logical entity that groups many application server instances potentially hosted on different machines Pure web applications are deployed on a cluster using application server specific deployment tools Once deployed on the cluster the web applications are deployed to all the server instances that the cluster is made of and managed in a central way Because of Portal Server s dual nature as a local application as well as a web application install Portal Server on an application server using the following steps 1 Install Portal Server on all machines using the same configuration settings Portal Server 6 2005Q1 Deployment Planning Guide 154 Portal Server on an Application Server Cluster 2 Deploy the three web applications portal amserver and amconsole to the cluster The following sections explain what it means to enable Portal Server to run on an application server cluster Overview of Application Server Enterprise Edition The Sun Java System Application Server Enterprise Edition 8 provides a robust J2EE platform for the d
193. tors which are dedicated hardware co processors to off load the SSL functions from a server s CPU Using accelerators frees the CPU to perform other tasks and increases the processing speed for SSL transactions Netlet can provide secure access to fixed port applications and some dynamic port applications that are available on the intranet from outside the intranet The client can be behind a remote firewall and SSL proxy or directly connected to the Internet All the secure connections made from outside the intranet to the intranet applications through the Netlet are controlled by Netlet rules A Netlet applet running on the browser sets up an encrypted TCP IP tunnel between the remote client machine and intranet applications on the remote hosts Netlet listens to and accepts connections on preconfigured ports and routes both incoming and outgoing traffic between the client and the destination server Both incoming and outgoing traffic is encrypted using an encryption algorithm selected by the user or configured by the administrator The Netlet rule contains the details of all servers ports and encryption algorithms used in a connection Administrators create Netlet rules by using the Access Manager administration console Static and Dynamic Port Applications Static port applications run on known or static ports Examples include IMAPand POP servers Telnet daemons and jCIFS For static port applications the Netlet rule includes the desti
194. velopment and support team will require to troubleshoot problems in your deployment of the Sun Java System Portal Server Secure Remote Access product You can also run this tool on a Portal Server machine This tool captures the following data Installation type determines if the installation has Sun Java System Portal Server with Sun Java System Secure Remote Access core or Portal Server with SRA System configuration related information determines the host domain operating system version CPU type and speed clock speed and memory available Processors processor sets and the SRA processes bound to them SRAinstallation log e The platform conf file s Appendix X Troubleshooting Your Portal Deployment 3 e The settings in the Gateway script such as the JVM settings including heap usage and library path Gateway service settings Tuning settings in various files used for configuring Sun Java System Access Manager Sun Java System Directory Server and Sun Java System Web Server e Output of the garbage collection A memory or process footprint while the Gateway was being used e Formatted debug log files e Rewriter rulesets NOTE This tool collects information only for the instance of the Gateway that you specified during installation Using shooter The shooter tool includes five files as described below shooter sh This is the main script Run this script after a test or just before starting
195. you need See Chapter 4 Pre Deployment Considerations for more information Horizontal Scaling In horizontal scaling machines are added This also enables multiple simultaneous processing and a distributed work load In Portal Server you make use of horizontal scaling because you can run the Portal Server Directory Server and Access Manager on different nodes Horizontal scaling can also make use of vertical scaling by adding more CPUs for example Additionally you can scale a Portal Server installation horizontally by installing server component instances on multiple machines Each installed server component instance executes an HTTP process which listens on a TCP IP port whose number is determined at installation time Gateway components use a round robin algorithm to assign new session requests to server instances While a session is established an HTTP cookie stored on the client indicates the session server All subsequent requests go to that server Chapter5 Creating Your Portal Design 3 Portal Server and High Availability The section Working with Portal Server Building Modules on page 89 discusses an approach to a specific type of configuration that provides optimum performance and horizontal scalability Portal Server and High Availability High Availability ensures that your portal platform is accessible 24 hours a day seven days a week Today organizations require that data and applications always be availa
196. you tuning for portal applications rapid response e Are you tuning for a large number of user concurrency As the number of users concurrently connected to the portal increase the response time decreases given the same hardware and same set of parameters Hence gather information about the level of usage expected on your Sun Java System Portal Server the anticipated number of concurrent users at any given 61 Portal Sizing Tips time the number of Portal desktop activity requests the amount of portal channel usage acceptable response time for the end user which is determined by your organization and an optimal hardware configuration to meet the criteria Portal Sizing Tips This section contains a few tips to help you in the sizing process e A business to consumer portal requires that you deploy SRA to use the Gateway and SSL Make sure you take this into account for your sizing requirements Once you turn on SSL the performance of the portal can be up to ten times slower than without SSL Fora business to employee portal make sure that you have a user profile that serves as a baseline e For any portal build in headroom for growth This means not just sizing for today s needs but future needs and capacity This includes usual peaks after users return from a break such as a weekend or holiday or if usage is increased over time because the portal is more sticky e If you are deploying your portal solution across multip
197. ystem need to account for the possibility that a full GC might occur Measuring the frequency of full GCs is sometimes the only way to determine if the system has a memory leak Conduct an analysis that shows the expected frequency of a baseline system and compare that to the observed rate of full GCs To record the frequency of GCs use the vebose gc JVM parameter CPU Utilization When deployed using the building module concept as described in Chapter 5 Creating Your Portal Design Portal Server has a capable scalable CPU architecture that also degrades gracefully under high loads However when monitoring a production site track CPU utilization over time Load usually comes in spikes and keeping ahead of spikes involves a careful assessment of availability capabilities Most organizations find that portal sites are sticky in nature This means that site usage grows over time even when the size of the user community is fixed as users become more comfortable with the site When the size of the user community also grows over time a successful portal site can see a substantial growth in the CPU requirements over a short period of time When monitoring a portal server s CPU utilization determine the average page latency during peak load and how that differs from the average latency Portal Server 6 2005Q1 Deployment Planning Guide 136 Monitoring Portal Server Expect peak loads to be four to eight times higher than

Download Pdf Manuals

image

Related Search

Related Contents

MANUALE D'USO E ISTALLAZIONE LINE LINEA    ワイヤレス&ハンズフリーで通話や音楽が楽しめる!  BETRIEBSANLEITUNG Dieselmotor  OWNERS MANUAL  HUM-xxx-RC Data Guide  How to use  Marlin 94' User's Manual  MANUAL DO UTILIZADOR  

Copyright © All rights reserved.
Failed to retrieve file