Your SlideShare is downloading. ×
0
C02
C02
C02
C02
C02
C02
C02
C02
C02
C02
C02
C02
C02
C02
C02
C02
C02
C02
C02
C02
C02
C02
C02
C02
C02
C02
C02
C02
C02
C02
C02
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
165
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Speaker Name YOGESH BHATIATitle PORTAL AND WEMP CLUSTERING CONCEPTS
  • 2. WebSphere Technical Conference 2008 AGENDA INTRODUCTION TO WAS CLUSTERING CONCEPTS WAS CLUSTERING STEPS INTROUDUCTION TO PORTAL WHY WAS STEPS NOT APPLICABLE IN PORTAL CONCERNS IN PORTAL CLUSTERING STEPS FOR PORTAL CLUSTERING INTRODUCTION TO WEMP WHY PORTAL STEPS NOT APPLICABLE IN WEMP Gain new insights, knowledge and skills | 19-22 August 2008 Suntec Singapore Page 1© 2008 IBM Corporation
  • 3. WebSphere Technical Conference 2008 WAS CORE CONCEPTS An application server is a Java Virtual Machine (JVM) that is running user applications. The application server collaborates with the Web server to return a dynamic, customized response to a client request. Application code, including servlets, JavaServer Pages (JSP) files, enterprise beans and their supporting classes, runs in an application server. Conforming to the Java 2 platform, Enterprise Edition (J2EE) component architecture, servlets and JSP files run in a Web container, and enterprise beans run in an Enterprise JavaBeans (EJB) container. Gain new insights, knowledge and skills | 19-22 August 2008 Suntec Singapore Page 2© 2008 IBM Corporation
  • 4. WebSphere Technical Conference 2008 Cluster Concept Clusters are groups of servers that are managed together and participate in workload management. A cluster can contain nodes or individual application servers. A node is usually a physical computer system with a distinct host IP address that is running one or more application servers. Clusters can be grouped under the configuration of a cell, which logically associates many servers and clusters with different configurations and applications with one another depending on the discretion of the administrator and what makes sense in their organizational environments. Clusters are responsible for balancing workload among servers. Servers that are a part of a cluster are called cluster members. When you install an application on a cluster, the application is automatically installed on each cluster member. Gain new insights, knowledge and skills | 19-22 August 2008 Suntec Singapore Page 3© 2008 IBM Corporation
  • 5. WebSphere Technical Conference 2008 Vertical Scaling and Horizontal Scaling Gain new insights, knowledge and skills | 19-22 August 2008 Suntec Singapore Page 4© 2008 IBM Corporation
  • 6. WebSphere Technical Conference 2008 Gain new insights, knowledge and skills | 19-22 August 2008 Suntec Singapore Page 5© 2008 IBM Corporation
  • 7. WebSphere Technical Conference 2008 FROM STAND ALONE TO FEDERATED Gain new insights, knowledge and skills | 19-22 August 2008 Suntec Singapore Page 6© 2008 IBM Corporation
  • 8. WebSphere Technical Conference 2008 REPOSITORY STRUCTURE IN CELL Gain new insights, knowledge and skills | 19-22 August 2008 Suntec Singapore Page 7© 2008 IBM Corporation
  • 9. WebSphere Technical Conference 2008 PORTAL SERVER OVERVIEW Product of WebSphere family for displaying portlets ,web site and personalization From WAS point of view , application sitting on top of WAS Upon Installation , its give option to use existing WAS set up or install new WAS Its huge application with lots of libraries and create its own folder structure and config repository Gain new insights, knowledge and skills | 19-22 August 2008 Suntec Singapore Page 8© 2008 IBM Corporation
  • 10. WebSphere Technical Conference 2008 FUNDAMENTAL CHARACTERISTICS Information aggregation Targeted and personalized information Accessibility Single sign-on Gain new insights, knowledge and skills | 19-22 August 2008 Suntec Singapore Page 9© 2008 IBM Corporation
  • 11. WebSphere Technical Conference 2008 Typical Portal Set up Gain new insights, knowledge and skills | 19-22 August 2008 Suntec Singapore Page 10© 2008 IBM Corporation
  • 12. WebSphere Technical Conference 2008 PORTAL AND WAS CLUSTERING TRADEOFF In WAS no importance of default applications Portal has set of applications required for its functionality ANY SOLUTIONS ? Gain new insights, knowledge and skills | 19-22 August 2008 Suntec Singapore Page 11© 2008 IBM Corporation
  • 13. WebSphere Technical Conference 2008 WAS CLUSTERING DEPLOYMENT MANAGER addNode addNode NODE 1 NODE 2 SERVER 1 SERVER 1 Gain new insights, knowledge and skills | 19-22 August 2008 Suntec Singapore Page 12© 2008 IBM Corporation
  • 14. WebSphere Technical Conference 2008 CLUSTERED WEBSPHERE PORTAL Gain new insights, knowledge and skills | 19-22 August 2008 Suntec Singapore Page 13© 2008 IBM Corporation
  • 15. WebSphere Technical Conference 2008 PORTAL CLUSTERING DEPLOYMENT MANAGER addNode - addNode includeApps NODE 1 NODE 2 SERVER 1 SERVER 1 PRIMARY NODE SECONDARY NODE Gain new insights, knowledge and skills | 19-22 August 2008 Suntec Singapore Page 14© 2008 IBM Corporation
  • 16. WebSphere Technical Conference 2008 STEPS FOR PORTAL CLUSTER SET UP Install Portal on both nodes Install Deployment Manager Migrate Cloudescape to Db2 of primary node Enable LDAP security on primary node Add Primary node with includeapps Add Secondary node Create Cluster Gain new insights, knowledge and skills | 19-22 August 2008 Suntec Singapore Page 15© 2008 IBM Corporation
  • 17. WebSphere Technical Conference 2008 INTRODUCTION TO WEMP Gain new insights, knowledge and skills | 19-22 August 2008 Suntec Singapore Page 16© 2008 IBM Corporation
  • 18. WebSphere Technical Conference 2008 What is WebSphere Everyplace Mobile Portal? It is an extension to WebSphere Portal Enables device specific markup capability Extends Portal navigation to mobile devices Adds mobile administration portlets Provides a framework that can be used to create device independent portlet applications (XDIME Portlets) XDIME Aggregator – displays navigation nodes which are configured and stored in Portal. XDIME Portlets – render applications that generate XDIME. Mutli Channel Server (MCS) Integration – converts XDIME to device-specific markup. Easily supports new devices with mobile device update service It takes advantage of many Portal Features Configuration (xml access) Navigation (Aggregator/Model API) Security (e.g. TAI/ACL) Scalability (cluster) Virtual Portal It includes an extensive tooling suite built on IBM’s Eclipse-based Rational Software Development Platform Gain new insights, knowledge and skills | 19-22 August 2008 Suntec Singapore Page 17© 2008 IBM Corporation
  • 19. WebSphere Technical Conference 2008With unlimited applications and thousands of devices, the challengebecomes how to solve an expanding "M x N" matrix M applications... N devices Gain new insights, knowledge and skills | 19-22 August 2008 Suntec Singapore Page 18© 2008 IBM Corporation
  • 20. WebSphere Technical Conference 2008The solution is to define a Mobile Platform that dynamicallyand intelligently adapts to the specific device M applications... IBM WebSphere® Everyplace® Mobile Portal software N devices Gain new insights, knowledge and skills | 19-22 August 2008 Suntec Singapore Page 19© 2008 IBM Corporation
  • 21. WebSphere Technical Conference 2008 WebSphere Everyplace Mobile Portal Overview WebSphere Application Server WebSphere Portal MCS XDIME XDIME runtime Aggregator Portlets Devices MCS Components Repository Layout Device Theme Gain new insights, knowledge and skills | 19-22 August 2008 Suntec Singapore Page 20© 2008 IBM Corporation
  • 22. WebSphere Technical Conference 2008 Runtime Component Interaction Portal Manage Mobile Navigation and Pages 1 Content Model 4 Portlet Container XDIME 3 PortletRequest PortletResponse XDIME (XDIME) 2 XDIME ServletRequest MCS XDIME 5 Servlet Filter Aggregator Portlet Filters (IBM XHTML Portlets only) Basic ServletResponse PortletRequest WML XHTML XHTML MP MP 7 Device - PortletResponse XHTML XDIME Basic WML specific Multi - Channel 6 Server WebSphere Portal (WP) Legend WEMP extensions to WP MCS Policy Repository MCS components Gain new insights, knowledge and skills | 19-22 August 2008 Suntec Singapore Page 21© 2008 IBM Corporation
  • 23. WebSphere Technical Conference 2008 REQUIREMENT FOR WEMP INSTALLATION MCS to be installed after Portal Problem is in secondary node as well , MCS needs to be installed and it requires database ANY SOLUTIONS ? Gain new insights, knowledge and skills | 19-22 August 2008 Suntec Singapore Page 22© 2008 IBM Corporation
  • 24. WebSphere Technical Conference 2008 SOLUTION INSTALL BOTH PORTAL NODES MIGRATE PRIMARY NODE CONNECT SECONDARY NODE WITH SAFE MODE USE SAME DATABASE FOR SECONDARY NODE Gain new insights, knowledge and skills | 19-22 August 2008 Suntec Singapore Page 23© 2008 IBM Corporation
  • 25. WebSphere Technical Conference 2008 VARIOUS STRATEGIES FOR WEMP CLUSTERING Install WEMP on federated Portal Node Install WEMP on node not managed by DMGR ( discussed ) Install WEMP to a Portal Cluster Gain new insights, knowledge and skills | 19-22 August 2008 Suntec Singapore Page 24© 2008 IBM Corporation
  • 26. WebSphere Technical Conference 2008 INSTALL WEMP ON FEDERATEDE NODE Install WebSphere Portal on WP01 Create the Installing and configuring a WebSphere Portal cluster . Verify that WebSphere Portal works with the Web server configuration. Install the mcs Multi-Channel Server for DB2 or Install Multi-Channel Server for Oracle. Install the Everyplace Mobile Portal extensions. Replace the ./WPSconfig.sh init mcs-deploy-mcs command with: ./WPSconfig.sh init mcs-config-cluster-secondary-node -DMcsRepositoryType=odbc -DMcsDbVendor=<db_vendor> -DMcsDbHost=<hostname> -DMcsDbPort=<port_number> -DMcsDbSource=<db_name> -DMcsDbUser=<db_instance> -DMcsDbPassword=<db_instance_password> -DMcsProject=mobile-portalUse the same Multi-Channel Server database information used by the WP01 instance. Gain new insights, knowledge and skills | 19-22 August 2008 Suntec Singapore Page 25© 2008 IBM Corporation
  • 27. WebSphere Technical Conference 2008 INSTALL WEMP NOT MANAGED BY DMGR Install WebSphere Portal on this instance following steps in Installing WP02 in Installing WebSphere Portal on a separate WebSphere Application Server node not managed by the deployment manager. Follow the remaining required steps and actions in the topic Before you install Everyplace Mobile Portal. Install WebSphere Portal on this instance and then follow the remaining required steps and actions in the topic Before you install Everyplace Mobile Portal. Before reconfiguring the database from Cloudscape to the database used by the WP01 instance: Follow the procedures in the topic Installing Multi-Channel Server for DB2 or Installing Multi-Channel Server for Oracle and use the following information: Gain new insights, knowledge and skills | 19-22 August 2008 Suntec Singapore Page 26© 2008 IBM Corporation
  • 28. WebSphere Technical Conference 2008 ….continued Use the same Multi-Channel Server database information used by the WP01 instance. Ensure that the following parameters have identical values for both WP01 and WP02: DMcsRepositoryType, DMcsDbVendor, DMcsDbHost, DMcsDbPort, DMcsDbSource, DMcsDbUser, DMcsDbPassword Do not run the following command since the default device policies were imported when you installed Multi-Channel Server on WP01: ./WPSconfig.sh init mcs-import-devices -DMcsProject=mobile-portal When installing the Everyplace Mobile Portal extensions, do not run the following commands since the Everyplace Mobile Portal extensions policies were imported when you installed the Everyplace Mobile Portal extensions on WP01: ./WPSconfig.sh mwp-import-policies ./WPSconfig.sh mwp-import-portlet-policies Gain new insights, knowledge and skills | 19-22 August 2008 Suntec Singapore Page 27© 2008 IBM Corporation
  • 29. WebSphere Technical Conference 2008 INSTALLING WEMP TO PORTAL CLUSTER Perform the recommended steps and actions in the topic Before you install Everyplace Mobile Portal. Verify that WebSphere Portal works properly. Follow the procedures in the topic Installing Multi-Channel Server for DB2 or Installing Multi-Channel Server for Oracle. Follow the procedures in the topic Installing Everyplace Mobile Portal extensions and replace the ./WPSconfig.sh mwp-config or ./WPSconfig.sh mwp-config-all command with ./WPSconfig.sh mwp- config-cluster-primary-node Gain new insights, knowledge and skills | 19-22 August 2008 Suntec Singapore Page 28© 2008 IBM Corporation
  • 30. WebSphere Technical Conference 2008 ….CONTINUED Following steps should be performed after installing WP02: Load the Administrative Console from DM01 and perform the following steps: Run Full Resynchronize on both nodes. Restart the cluster. Configure the Everyplace Mobile Portal extensions for cluster using one of the following options: Option 1 - To install and configure all of the Everyplace Mobile Portal extensions, run the following command: ./WPSconfig.sh mwp-config-cluster-allOption 2 - To install and configure all of the Mobile Portal extensions, except for the sample XDIME portlets and the sample XDIME pages, run the following command: ./WPSconfig.sh mwp-config-clusterTo activate the portlets, run the following command: ./WPSconfig.sh activate-portlets Gain new insights, knowledge and skills | 19-22 August 2008 Suntec Singapore Page 29© 2008 IBM Corporation
  • 31. WebSphere Technical Conference 2008 THANK YOU QUESTIONS ??? Gain new insights, knowledge and skills | 19-22 August 2008 Suntec Singapore Page 30© 2008 IBM Corporation

×