Please follow these guidelines while deciding about using either Vertical or horizontal clustering
Vertical clustering
To fully utilize the processing power of modern SMP servers
Local redundancy
Horizontal cluster
To achieve scalability beyond the limitation of individual server
Reduandancy and reliability
Hardware failover
Horizontal scaling is especially effective in environments that contain many smaller, less powerful machines. Client requests that would overwhelm a single small machine can be distributed over several machines in the solution. Failover is another benefit of horizontal scaling. If a machine becomes unavailable, its work can be routed to other machines
containing cluster members.
By contrast, vertical cloning benefits Symmetric Multi-Processing (SMP) systems and should be implemented when system resources are found to be underutilized. For Java, systems with multiple processors typically outperform multiple systems with fewer processors, when comparing the total number of processors.
A general rule of thumb has always been to allocate a single Java Virtual Machine (JVM) to a single processor. Traditionally, this was based on the constraint that the compaction phase of Garbage Collection (GC) was single threaded. Recent versions of the JVM have, however, minimized this restriction, potentially allowing a greater number of JVMs to run given the total number of available processors. It is also worth remembering that there are a number of JVMs associated with the Deployment Manager and NodeAgent (a NodeAgent is required for each individual physical node participating in the cell) when running Portal Server V6.0.1 in a clustered environment.
It is highly recommended to use combination of horizontal and vertical clustering to make full use of the system resources and still making sure that system is fault tolerent if one of the server hardware fails
Showing posts with label multiplecluster. Show all posts
Showing posts with label multiplecluster. Show all posts
Additional considerations for multiple lines of productions
In case of multiple lines of productions environment every cell + portal cluster will have its own release database but they will share customization database, because of this if user customizes any of the resource using one cluster those changes would be available when same user will access the resource even through other cluster.
Since multiple lines of production will share the customization database they should be exact replica of each other, i.e. the object ids of the resource such as portlet or page should be same in both lines of production. In order to make sure that object ids are same you will have follow some additional guidelines in case of multiple lines of production
First you will need to execute empty-portal configuration task on both lines of productions to clean it up during the setup process. Once that is done you will have to export configuration from the staging environment and import same configuration with ID generation mode set to false. this will make sure that the portal does not generate object ids while importing portal configuration.
You should use the release builder tool to build subsequent releases
Since multiple lines of production will share the customization database they should be exact replica of each other, i.e. the object ids of the resource such as portlet or page should be same in both lines of production. In order to make sure that object ids are same you will have follow some additional guidelines in case of multiple lines of production
First you will need to execute empty-portal configuration task on both lines of productions to clean it up during the setup process. Once that is done you will have to export configuration from the staging environment and import same configuration with ID generation mode set to false. this will make sure that the portal does not generate object ids while importing portal configuration.
You should use the release builder tool to build subsequent releases
Maintenance procedure for multiple cluster environment
In case of multiple cell+cluster environment i.e. WebSphere Portal Server Gold Availability Standard environment every cluster gets its own Release domain but the customization and community data is shared. As a result you can safely apply the major fixes that change the configuration stored in the release database.
Follow this procedure to update the multi cell environment
Follow this procedure to update the multi cell environment
- Change the IT Sprayer so that it stops forwarding requests to the one line of production
- Once that is done you can update that line of production and during that time second line of production will service requests
- Test the first line of production and once your satisfied you start the first line of production and reconfigure IP sprayer to forward request to first line of production
- Follow similar procedure for all other lines of productions
Multiple cluster architecture
Starting from WPS 6.0.1, you can architect multiple portal clusters within the same WebSphere Cell.
Please note that multiple cluster architecture has one very important limitation, which is that, only a single J2EE enterprise application of a unique name can be deployed into a given websphere cell at any one time. All enterprise applications are cell scoped. This limitation makes it impossible to deploy different versions of the same enterprise application against the different portal clusters within the same cell, as the case might be during the periods of 24*7 maintenance. This extends to the WebSphere Portal server itself, which consist of number of enterprise applications that make up the effective runtime and also to the every portlet application deployed within the solution. As a consequence, it is not possible to upgrade one portal cluster in isolation from another as the underlying enterprise application and supporting class libraries are common to both.
This architecture meets requirement of continuous operation during scheduled or unscheduled architecture but it is not a good feet if you want truly 24*7 service. In case of requirement for 24*7 service you should think about WebSphere Portal Server Gold Availability standard
Please note that multiple cluster architecture has one very important limitation, which is that, only a single J2EE enterprise application of a unique name can be deployed into a given websphere cell at any one time. All enterprise applications are cell scoped. This limitation makes it impossible to deploy different versions of the same enterprise application against the different portal clusters within the same cell, as the case might be during the periods of 24*7 maintenance. This extends to the WebSphere Portal server itself, which consist of number of enterprise applications that make up the effective runtime and also to the every portlet application deployed within the solution. As a consequence, it is not possible to upgrade one portal cluster in isolation from another as the underlying enterprise application and supporting class libraries are common to both.
This architecture meets requirement of continuous operation during scheduled or unscheduled architecture but it is not a good feet if you want truly 24*7 service. In case of requirement for 24*7 service you should think about WebSphere Portal Server Gold Availability standard
Subscribe to:
Posts (Atom)