This presentation will discuss how you go about configuring a session Data Grid with IBM WebSphere (r) DataPower (r) XC10 and WebSphere Application Server. You will first learn how you configure a session grid for a server then you will learn how you. Configure a Data Grid on the appliance and then point WebSphere Application Server to the cache.
This presentation will discuss how you go about configuring a session Data Grid with IBM WebSphere (r) DataPower (r) XC10 and WebSphere Application Server. You will first learn how you configure a session grid for a server then you will learn how you. Configure a Data Grid on the appliance and then point WebSphere Application Server to the cache.
This presentation will discuss how you go about configuring a session Data Grid with IBM WebSphere (r) DataPower (r) XC10 and WebSphere Application Server. You will first learn how you configure a session grid for a server then you will learn how you. Configure a Data Grid on the appliance and then point WebSphere Application Server to the cache.
session Data Grid configuration This presentation will discuss how you go about configuring a session data grid with IBM WebSphere
DataPower
XC10 and WebSphere Application Server. XC10_SessiondatagridConfiguration.ppt Page 1 of 19
Agenda Configuring a session data grid for a server Configuring a session data grid for an individual application Summary 2 session Data grid configuration 2010 IBM Corporation In this presentation, you will see specifically how you go about configuring IBM WebSphere Application Server to use a DataPower XC10 session data grid. There are two parts to this. You will first learn how you configure a session data grid for a server then you will learn how you configure a session data grid for an individual application. XC10_SessiondatagridConfiguration.ppt Page 2 of 19
Session data grid Extension of legacy session management caching mechanism in WebSphere Application Server Extensions to WebSphere Application Server administrative console to support DataPower XC10 session management caching Two ways to create the grid Create data grid on the appliance and then point WebSphere Application Server to the cache Create the data grid on the appliance directly from the WebSphere Application Server administrative console 3 session Data grid configuration 2010 IBM Corporation Before you see how to configure a session data grid, here is a recap of its functionality. IBM WebSphere DataPower XC10 supports session data grid for WebSphere Application Server. Session management data caching exists in current releases and previous releases of WebSphere Application Server. DataPower XC10 provides extensions so that WebSphere Application Server can now use the appliance for the session data cache, instead of relying on local JVM memory or data base storage. You can create the session data grids ahead of time in the appliance, and then using the WebSphere Application Server administrative console, you can associate servers directly with the data grid that youve already created. Alternatively, you can use the WebSphere Application Server administrative console to create the session data grid on the appliance at the time you enable the server for session data caching. XC10_SessiondatagridConfiguration.ppt Page 3 of 19
2010 IBM Corporation 4 session Data grid configuration Configuring a session data grid for a server Configuring a session data grid for a server In this section, you will see how you configure a session data grid for a server XC10_SessiondatagridConfiguration.ppt Page 4 of 19 3
Connecting from WebSphere Application Server to DataPower XC10 for session management Seamless connection DataPower XC10 provides plug-ins for WebSphere Application Server Configure session data offload from WebSphere Application Server administrative console Configuration available at several levels Application Server Individual applications WAS Cell 1 IHS DMgr Custom Node 2 Custom Node 5 session Data grid configuration 2010 IBM Corporation DataPower XC10 will provide the client code and any necessary plug-ins so that there is a seamless connection from WebSphere Application Server to the DataPower XC10 appliance. WebSphere Application server can be configured through its administrative console to offload session data for HTTP requests to a data grid on the DataPower XC10 appliance. You can configure this connection from an entire set of applications on a server or for individual applications. XC10_SessiondatagridConfiguration.ppt Page 5 of 19
2010 IBM Corporation 6 session Data grid configuration Creating a session data grid from WebSphere Application Server 1 2 3 To create a session data grid from the WebSphere Application Server administrative console, first click the server you want to configure for session management, shown in Item one. Then under Container Settings, click Session management, depicted in Item two. Finally in the Configuration screen for session management, click eXtreme Scale session management settings, shown in Item three. This will take you to the detailed settings screen, shown on the next slide. XC10_SessiondatagridConfiguration.ppt Page 6 of 19
2010 IBM Corporation 7 session Data grid configuration 1 The eXtreme Scale session management settings screen 2 3 4 5 6 1. Check to enable session management 2. Type in the IP or host name of the appliance 3. Type in DataPower XC10 user name and password 4. Click Test connection to test the connection to the appliance 5. You can supply a Grid name here and create the new cache on the appliance now 6. Or, you can select a pre-existing data grid on the appliance 7. Click Apply or OK Create new grid here, or select an existing grid on the appliance 7 On the eXtreme Scale session management settings screen, you extend session management caching to the DataPower XC10 by: Step one, check Enable session management. Step two, type the IP or host name of the DataPower XC10 into IP or host name entry field Step three, type your credentials for the DataPower XC10 into the User name and Password fields Step four, test the connection information and credentials by clicking the Test connection button. Step five, select either Persist session in a new grid or Step six, select Persist session in an existing grid . For an existing grid, use the Browse button to display the existing data grids on the DataPower XC10. Note that these are grids that will have already been created on the DataPower XC10 appliance console. Step seven, click Apply or OK. You will later have to save these settings into your configuration. XC10_SessiondatagridConfiguration.ppt Page 7 of 19
2010 IBM Corporation 8 session Data grid configuration Establishing connection to the XC10 1 2 3 4 Here is more detail about the connection information you supply in WebSphere Application Server about the DataPower XC10. In Step one, you check enable session management. In Step two, you type the IP or host name of the DataPower XC10. In Step three, you type the User name and Password that the DataPower XC10 administrator has provided to you. In Step four, you click Test connection to verify that you can access the DataPower XC10 and that the user credentials are correct. A successful connection will result in a popup window with the message Connection to appliance <ip address or host name> is successful. When you review these settings later, the user credential information is not visible but the credentials are retained in the configuration for the connection. However, you will need to type the credentials again later if you subsequently want to test the connection using the Test connection button. XC10_SessiondatagridConfiguration.ppt Page 8 of 19
Creating a new session data grid from WebSphere Application Server Select Persist sessions in a new grid Type the cache name in the Grid name box Click OK You will later need to save the change to the configuration 1 2 3 9 session Data grid configuration 2010 IBM Corporation Here is more detail about creating a new session data grid from the WebSphere Application Server administrative console. Assuming you have already provided the necessary connection information, you must: Step one, select Persist sessions in a new grid (which is the default selection) Step two, in the Grid name entry field, review the generated name, or overtype the generated name with the data grid name you want Step three, click Apply or OK. You will later need to save the change to the configuration. XC10_SessiondatagridConfiguration.ppt Page 9 of 19
Connecting to a predefined grid from WebSphere Application Server 1. Select Persist sessions in an existing grid 2. Click Browse 3. Select the cache name in the popup window 4. Click OK You will later need to save the change to the configuration 1 2 3 4 10 session Data grid configuration 2010 IBM Corporation Here is more detail about how to specify a predefined data grid from the WebSphere Application Server administrative console. Assuming you have already provided the necessary connection information, you must: Step one: Select Persist session in an existing grid Step two: Type in the cache name if you know it, or click Browse to display a list of active data grids on the DataPower XC10 Step three: Select the data grid you want Step four: Click OK or Apply You will later need to save the change to the configuration. XC10_SessiondatagridConfiguration.ppt Page 10 of 19
Review server session management settings Application servers (server name) Session management eXtreme Scale session management settings Notice that DataPower XC10 administrative credentials are not displayed, but connection is still active Credentials must be typed again if you use Test connection 11 session Data grid configuration 2010 IBM Corporation You can review or change the servers session management settings later by clicking on Application server > (server name) > Session management > eXtreme Scale session management settings. You will notice that the DataPower XC10 administrative credentials are blank; however the connection information is still stored within the configuration so that the connection to the data grid is still active. However, if you choose to test the connection to the appliance from this screen, or if you change the settings, you must first provide the credentials. XC10_SessiondatagridConfiguration.ppt Page 11 of 19
2010 IBM Corporation 12 session Data grid configuration Configuring a session data grid for an Configuring a session data grid for an individual application individual application This section will show you how to configure a session data grid for an individual application. XC10_SessiondatagridConfiguration.ppt Page 12 of 19
Configuring session data grid when installing an application 1. Specify application to upload and install 2. Select Detailed options 3 2 1 3. In Step 15 you specify session management settings 13 session Data grid configuration 2010 IBM Corporation You can specify eXtreme Scale session management settings in the administrative console during the installation of a WebSphere Application application. Other applications running on the same server will not participate in the session caching with this specific data cache only the application you configure. Item one shows the beginning of the installation of an application. In the Preparing for the application installation dialog, select Detailed show all installation options and parameters, shown in Item two. Then proceed normally within the application installation dialogue to eXtreme Scale session management setting. Item three shows that this new step is near the end of the application installation sequence. The next slide shows you the subsequent settings for the application installation sequence. XC10_SessiondatagridConfiguration.ppt Page 13 of 19
Details of eXtreme Scale session management settings 1. Check Enable session management 2. Type IP or host name of appliance 3. Type DataPower XC10 administrative credentials 4. Test connection function available Primes the Session persistence preference to Persist session in a new grid with a suggested name Click Next to continue 2010 IBM Corporation 1 2 3 4 14 session Data grid configuration The steps for configuring an application to cache session data on the DataPower XC10 are identical to configuring an application server at this point. You must first check Enable session management as shown in Item one. Then type in the IP or the host name of the DataPower XC10, shown in Item two. As shown in Item three, you must then type the credentials for the appliance. Note that when you revisit this screen later, the credentials will still be active but are not shown on the screen. Then finally, click Test connection to test the connection, shown in Item four. You see that the Persist sessions in a new grid is primed with a suggested data grid name. Use this name or type in your own name if you want to define a new data grid name at this point, and then click Next to proceed with the application installation. The next slide shows you how to select a predefined data grid from the appliance. XC10_SessiondatagridConfiguration.ppt Page 14 of 19
Setting an application to use an existing data grid To use a predefined data grid on the DataPower XC10: 1. Click Persist session in an existing grid 2. Click Browse 3. Click the name of the active data grid You then continue with traditional application installation by clicking Next to proceed 1 2 3 15 session Data grid configuration 2010 IBM Corporation This example assumes you have already provided valid connection information within the application installation steps. If you want to use a predefined data grid on the DataPower XC10, you first select Persist session in an existing grid, shown in Item one. Then click the Browse button, shown in Item two. A popup window opens with the list of data grids on the DataPower XC10 that are available for you to use, depicted in Item three. Click the data grid name you want to use. At this point you can continue with traditional application installation by clicking Next at the bottom of the screen. XC10_SessiondatagridConfiguration.ppt Page 15 of 19
Review the applications session management settings Enterprise Applications (appname) Session management eXtreme Scale session management settings You can review or change the applications session management setting by navigating to Enterprise Applications > (application name) > Session management > eXtreme Scale session management settings. Note that the XC10 appliance console credentials are not shown. The credentials are saved within the configuration so that the applications connection to the DataPower XC10 is still active. However, if you choose to test the connection to the appliance from this screen, or if you change the settings, you must first provide the credentials. 16 session Data grid configuration 2010 IBM Corporation XC10_SessiondatagridConfiguration.ppt Page 16 of 19
Summary Session data grids can be created from DataPower XC10 appliance console WebSphere Application Server administrative console A new or existing session data grid can be configured for a server A new or existing session data grid can be configured for an individual application 17 session Data grid configuration 2010 IBM Corporation Session data grids can be created from DataPower XC10 appliance console or from WebSphere Application Server administrative console during application install. A new session data grid can be created and configured for a server so all applications installed and running that server will use that session grid. A server can also be configured to use an existing session data grid. A new session data grid can be configured for an individual application during install. In addition, an application being installed on WebSphere can be configured to use an existing session data grid. XC10_SessiondatagridConfiguration.ppt Page 17 of 19
Feedback Your feedback is valuable You can help improve the quality of IBM Education Assistant content to better meet your needs by providing feedback. Did you find this module useful? Did it help you solve a problem or answer a question? Do you have suggestions for improvements? Click to send email feedback: mailto:iea@us.ibm.com?subject=Feedback_about_XC10_SessiondatagridConfiguration.ppt This module is also available in PDF format at: ../XC10_SessiondatagridConfiguration.pdf 18 session Data grid configuration 2010 IBM Corporation You can help improve the quality of IBM Education Assistant content by providing feedback. XC10_SessiondatagridConfiguration.ppt Page 18 of 19
TTrraaddeemmaarrkkss,, ddiissccllaaiimmeerr,, aan ndd ccooppyyrriigghhtt iinnffoorrmmaattiioonn IBM, the IBM logo, ibm.com, DataPower, and WebSphere are trademarks or registered trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of other IBM trademarks is available on the Web at "Copyright and trademark information" at http://www.ibm.com/legal/copytrade.shtml Java, and all Java-based trademarks and logos are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both. THE INFORMATION CONTAINED IN THIS PRESENTATION IS PROVIDED FOR INFORMATIONAL PURPOSES ONLY. WHILE EFFORTS WERE MADE TO VERIFY THE COMPLETENESS AND ACCURACY OF THE INFORMATION CONTAINED IN THIS PRESENTATION, IT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. IN ADDITION, THIS INFORMATION IS BASED ON IBMS CURRENT PRODUCT PLANS AND STRATEGY, WHICH ARE SUBJECT TO CHANGE BY IBM WITHOUT NOTICE. IBM SHALL NOT BE RESPONSIBLE FOR ANY DAMAGES ARISING OUT OF THE USE OF, OR OTHERWISE RELATED TO, THIS PRESENTATION OR ANY OTHER DOCUMENTATION. NOTHING CONTAINED IN THIS PRESENTATION IS INTENDED TO, NOR SHALL HAVE THE EFFECT OF, CREATING ANY WARRANTIES OR REPRESENTATIONS FROM IBM (OR ITS SUPPLIERS OR LICENSORS), OR ALTERING THE TERMS AND CONDITIONS OF ANY AGREEMENT OR LICENSE GOVERNING THE USE OF IBM PRODUCTS OR SOFTWARE. Copyright International Business Machines Corporation 2010. All rights reserved. 19 2010 IBM Corporation XC10_SessiondatagridConfiguration.ppt Page 19 of 19