|By Chris Lockhart||
|July 29, 2005 05:15 PM EDT||
Given the broad range of configurations open to an infrastructure planner when dealing with WebSphere software, it’s no wonder there’s often a great deal of confusion when it comes to making a complex product like Portal highly available. Naturally, there’s no “Learn Clustering in 20 Minutes” manual, but there are general steps to follow and some to avoid.
Let’s start with a very basic explanation of the WebSphere cell and how the Portal fits into it. (See Figure 1.)
A basic WebSphere AppServer install is often on a single machine typically referred to as a node. A simple enterprise infrastructure might include several AppServer nodes each doing their own tasks. As the infrastructure evolves and grows more complex, the need arises to simplify operational management of the multiple nodes. The Network Deployment incarnation of the WebSphere Application Server gives you the ability to manage and control multiple Application Servers centrally. The configuration of security parameters, user directories, and JNDI resources is greatly simplified by this centralization of operational management. Instead of deploying code to three different WebSphere machines, I can now deploy once and have the Network Deployment services distribute the code for me. The combination of the Network Deployment Manager and the Application Servers it manages represent the WebSphere Cell.(See Figure 2.)
The process of adding Application Server nodes to the cell is called federation. Its opposite, unfederation, describes removing a node from a Cell and returning it to standalone status.
The Deployment Manager communicates with Cell members via a small JVM called the nodeagent located on each of the managed nodes. The Deployment Manager will keep track of all configuration changes and use the nodeagents on the federated nodes to “synchronize” the configurations so they all represent what’s defined in the master configuration on the Deployment Manager itself.
In many respects Portal is no different than any other web application that would be configured to run in a WebSphere Cell. Just like a regular webapp, I could choose to run Portal on a single node in the Cell or on multiple nodes or even have multiple instances running on a single node. (See Figure 3.)
Unlike a regular Web application, Portal uses several other services that aren’t part of the regular WebSphere Application Server product set. As such, there’s a completely separate installation that must exist on each node that you want to run Portal.
A Network Deployment infrastructure consisting of several WebSphere AppServer nodes gives you tremendous advantages that could (and do) fill entire Red Books. For purposes of the Portal, four are of primary importance:
- Simplification of the operational management
- Central management of the Portal configurations
- Highly available environment
- Session and cache data replicated between all Portal nodes
Which Way To Cluster?
Starting with Portal 5.1, there are two ways to establish a Portals cluster. The first way is to build a WebSphere Cell out of multiple federated nodes and then install Portal on each node in the existing Cell. The second way is to take a set of standalone nodes with Portal already installed on them and federate them into a Cell. Which is the better way? Well, that depends.
Using an existing Cell of AppServers and simply installing Portal into that topology is easiest, but has its drawbacks. When an Application Server node is federated into a Cell, it loses its default configuration and assumes the configuration dictated by the Network Deployment Manager. If the node is unfederated at any time, then the original configuration is loaded from a backup copy and the node reverts to its standalone state. Therefore, if I have a node that’s already been federated and then install an application on it, if that node ever gets unfederated it will revert to its default state and the application I installed on it will go away. You can see the limitation here. I could not unfederate a Portal node and have it still be a Portal node.
Conversely, if I have a standalone node on which I install Portal and then federate it, the Portal is part of the node’s original pre-federated configuration and will always be present on the node, even if it gets unfederated. Unfortunately, doing it this way is more complicated and prone to error and endless frustration. Historically this has been the only way to cluster the Portal and it has led to many late nights and high consulting fees.
A real-world recommendation, one that recognizes impossible deadlines, unrealistic demands, and the constant need to document procedures, would be to go the first route. Build your Cell of federated WebSphere nodes, verify that they function, then add Portal to the mix. It’s less flexible, but I think you’ll find yourself going home at 5pm more often.
Naturally you first have to install WebSphere Application Server. Let’s assume you can get this far and you have two WAS nodes (WAS1 and WAS2) installed and ready to go at version 5.1.x. There are no Web applications installed other than the default ones. You have also installed and configured a Network Deployment Manager (DM1) for version 5.1.x. For argument’s sake, let’s say each component is installed on a separate Windows machine.
In our scenario, WebSphere Global Security isn’t enabled (yet). This makes the federation process easy. On each of the two WAS nodes you would execute the following:
HostName DM1_SOAP_PortBy default, the SOAP port of the Deployment Manager out-of-the-box is 8879.
Once executed, you’ll see the console output describing the federation process. When it’s complete on both nodes, you’ll have a Cell. See? Easy. Now let’s put Portal into the mix.
Installing the Portal
Our plan is to install Portal first on WAS1, do some basic configuration, then install what’s called a “secondary” Portal on WAS2. Prior to installing Portal anywhere, however, we must ensure that the WAS1 and WAS2 nodes have any and all patches/efixes required by the Portal release that we’re installing. In our example, we’re going to install Portal 5.1.
At this point you go ahead and install Portal on WAS1. This is a Custom Install. You’ll be choosing the Application Server that’s already installed on this node and federated into the Cell. The installer will recognize that this is a federated node and prompt you to designate whether this is a primary or secondary node. Since this is the first install, you must select primary node. The installer will interface with the Deployment Manager controlling this node and install the appropriate files.
- Execute the installer on WAS1
- Agree to the terms. Click Next. (See Figure 4.)
- Select Custom. Click Next. (See Figure 5.)
- Select the instance that you want to use from the list. If the installation program doesn’t detect an instance of WebSphere Application Server but you know that it’s on the machine, you can enter the directory path to the WebSphere Application Server. Click Next. (See Figure 6.)
- Select Primary, and click Next. (See Figure 7.)
- Specify the directory where you want to install the WebSphere Portal. Click Next. (See Figure 8.)
- Verify the components to be installed and click Next.
- When the installation is finished, the installation program displays a confirmation panel listing the components that have been installed.
- Click Finish.
|Shanthi 01/31/06 07:03:33 AM EST|
This was a great article .. helped me understand clustering better. I was looking for a way to add a node into a pre-configured cluster and this article pointed me in the right direction. I am going to use this as reference for my production deploy.
|WebSphere News Desk 07/29/05 04:39:57 PM EDT|
Your Guide to Portal Clustering in WebSphere Portal Server 5.1. Some things in WebSphere PortalServer work well and are well documented. Other things are well documented and work well in theory. Still other things have okay documentation and will work well when all of the WebSphere stars are aligned. Depending on your implementation, Portal Clustering can fit into all three categories.
IoT device adoption is growing at staggering rates, and with it comes opportunity for developers to meet consumer demand for an ever more connected world. Wireless communication is the key part of the encompassing components of any IoT device. Wireless connectivity enhances the device utility at the expense of ease of use and deployment challenges. Since connectivity is fundamental for IoT device development, engineers must understand how to overcome the hurdles inherent in incorporating multipl...
Apr. 28, 2016 02:45 PM EDT Reads: 1,287
Machine Learning helps make complex systems more efficient. By applying advanced Machine Learning techniques such as Cognitive Fingerprinting, wind project operators can utilize these tools to learn from collected data, detect regular patterns, and optimize their own operations. In his session at 18th Cloud Expo, Stuart Gillen, Director of Business Development at SparkCognition, will discuss how research has demonstrated the value of Machine Learning in delivering next generation analytics to im...
Apr. 28, 2016 02:30 PM EDT Reads: 1,508
Manufacturers are embracing the Industrial Internet the same way consumers are leveraging Fitbits – to improve overall health and wellness. Both can provide consistent measurement, visibility, and suggest performance improvements customized to help reach goals. Fitbit users can view real-time data and make adjustments to increase their activity. In his session at @ThingsExpo, Mark Bernardo Professional Services Leader, Americas, at GE Digital, will discuss how leveraging the Industrial Interne...
Apr. 28, 2016 01:15 PM EDT Reads: 1,020
The paradigm has shifted. A Gartner survey shows that 43% of organizations are using or plan to implement the Internet of Things in 2016. However, not just a handful of companies are still using the old-style ad-hoc trial-and-error ways, unaware of the critical barriers, paint points, traps, and hidden roadblocks. How can you become a winner? In his session at @ThingsExpo, Tony Shan will present a methodical approach to guide the holistic adoption and enablement of IoT implementations. This ov...
Apr. 28, 2016 01:00 PM EDT Reads: 1,454
SYS-CON Events announced today that Stratoscale, the software company developing the next generation data center operating system, will exhibit at SYS-CON's 18th International Cloud Expo®, which will take place on June 7-9, 2016, at the Javits Center in New York City, NY. Stratoscale is revolutionizing the data center with a zero-to-cloud-in-minutes solution. With Stratoscale’s hardware-agnostic, Software Defined Data Center (SDDC) solution to store everything, run anything and scale everywhere...
Apr. 28, 2016 12:45 PM EDT Reads: 1,379
Angular 2 is a complete re-write of the popular framework AngularJS. Programming in Angular 2 is greatly simplified – now it's a component-based well-performing framework. This immersive one-day workshop at 18th Cloud Expo, led by Yakov Fain, a Java Champion and a co-founder of the IT consultancy Farata Systems and the product company SuranceBay, will provide you with everything you wanted to know about Angular 2.
Apr. 28, 2016 12:15 PM EDT Reads: 1,532
Digital payments using wearable devices such as smart watches, fitness trackers, and payment wristbands are an increasing area of focus for industry participants, and consumer acceptance from early trials and deployments has encouraged some of the biggest names in technology and banking to continue their push to drive growth in this nascent market. Wearable payment systems may utilize near field communication (NFC), radio frequency identification (RFID), or quick response (QR) codes and barcodes...
Apr. 28, 2016 12:00 PM EDT Reads: 467
SYS-CON Events announced today that Men & Mice, the leading global provider of DNS, DHCP and IP address management overlay solutions, will exhibit at SYS-CON's 18th International Cloud Expo®, which will take place on June 7-9, 2016, at the Javits Center in New York City, NY. The Men & Mice Suite overlay solution is already known for its powerful application in heterogeneous operating environments, enabling enterprises to scale without fuss. Building on a solid range of diverse platform support,...
Apr. 28, 2016 11:30 AM EDT Reads: 2,104
You deployed your app with the Bluemix PaaS and it's gaining some serious traction, so it's time to make some tweaks. Did you design your application in a way that it can scale in the cloud? Were you even thinking about the cloud when you built the app? If not, chances are your app is going to break. Check out this webcast to learn various techniques for designing applications that will scale successfully in Bluemix, for the confidence you need to take your apps to the next level and beyond.
Apr. 28, 2016 11:00 AM EDT Reads: 1,350
The increasing popularity of the Internet of Things necessitates that our physical and cognitive relationship with wearable technology will change rapidly in the near future. This advent means logging has become a thing of the past. Before, it was on us to track our own data, but now that data is automatically available. What does this mean for mHealth and the "connected" body? In her session at @ThingsExpo, Lisa Calkins, CEO and co-founder of Amadeus Consulting, will discuss the impact of wea...
Apr. 28, 2016 10:30 AM EDT Reads: 476
Whether your IoT service is connecting cars, homes, appliances, wearable, cameras or other devices, one question hangs in the balance – how do you actually make money from this service? The ability to turn your IoT service into profit requires the ability to create a monetization strategy that is flexible, scalable and working for you in real-time. It must be a transparent, smoothly implemented strategy that all stakeholders – from customers to the board – will be able to understand and comprehe...
Apr. 28, 2016 10:15 AM EDT Reads: 879
So, you bought into the current machine learning craze and went on to collect millions/billions of records from this promising new data source. Now, what do you do with them? Too often, the abundance of data quickly turns into an abundance of problems. How do you extract that "magic essence" from your data without falling into the common pitfalls? In her session at @ThingsExpo, Natalia Ponomareva, Software Engineer at Google, will provide tips on how to be successful in large scale machine lear...
Apr. 28, 2016 10:00 AM EDT Reads: 673
SYS-CON Events announced today that Ericsson has been named “Gold Sponsor” of SYS-CON's @ThingsExpo, which will take place on June 7-9, 2016, at the Javits Center in New York, New York. Ericsson is a world leader in the rapidly changing environment of communications technology – providing equipment, software and services to enable transformation through mobility. Some 40 percent of global mobile traffic runs through networks we have supplied. More than 1 billion subscribers around the world re...
Apr. 28, 2016 10:00 AM EDT Reads: 616
SYS-CON Events announced today that Fusion, a leading provider of cloud services, will exhibit at SYS-CON's 18th International Cloud Expo®, which will take place on June 7-9, 2016, at the Javits Center in New York City, NY. Fusion, a leading provider of integrated cloud solutions to small, medium and large businesses, is the industry's single source for the cloud. Fusion's advanced, proprietary cloud service platform enables the integration of leading edge solutions in the cloud, including cloud...
Apr. 28, 2016 09:30 AM EDT Reads: 2,451
The IETF draft standard for M2M certificates is a security solution specifically designed for the demanding needs of IoT/M2M applications. In his session at @ThingsExpo, Brian Romansky, VP of Strategic Technology at TrustPoint Innovation, will explain how M2M certificates can efficiently enable confidentiality, integrity, and authenticity on highly constrained devices.
Apr. 28, 2016 09:00 AM EDT Reads: 914
There is an ever-growing explosion of new devices that are connected to the Internet using “cloud” solutions. This rapid growth is creating a massive new demand for efficient access to data. And it’s not just about connecting to that data anymore. This new demand is bringing new issues and challenges and it is important for companies to scale for the coming growth. And with that scaling comes the need for greater security, gathering and data analysis, storage, connectivity and, of course, the...
Apr. 28, 2016 09:00 AM EDT Reads: 461
We’ve worked with dozens of early adopters across numerous industries and will debunk common misperceptions, which starts with understanding that many of the connected products we’ll use over the next 5 years are already products, they’re just not yet connected. With an IoT product, time-in-market provides much more essential feedback than ever before. Innovation comes from what you do with the data that the connected product provides in order to enhance the customer experience and optimize busi...
Apr. 28, 2016 08:45 AM EDT Reads: 757
In his session at @ThingsExpo, Chris Klein, CEO and Co-founder of Rachio, will discuss next generation communities that are using IoT to create more sustainable, intelligent communities. One example is Sterling Ranch, a 10,000 home development that – with the help of Siemens – will integrate IoT technology into the community to provide residents with energy and water savings as well as intelligent security. Everything from stop lights to sprinkler systems to building infrastructures will run ef...
Apr. 28, 2016 08:45 AM EDT Reads: 382
Increasing IoT connectivity is forcing enterprises to find elegant solutions to organize and visualize all incoming data from these connected devices with re-configurable dashboard widgets to effectively allow rapid decision-making for everything from immediate actions in tactical situations to strategic analysis and reporting. In his session at 18th Cloud Expo, Shikhir Singh, Senior Developer Relations Manager at Sencha, will discuss how to create HTML5 dashboards that interact with IoT devic...
Apr. 28, 2016 08:15 AM EDT Reads: 689
Artificial Intelligence has the potential to massively disrupt IoT. In his session at 18th Cloud Expo, AJ Abdallat, CEO of Beyond AI, will discuss what the five main drivers are in Artificial Intelligence that could shape the future of the Internet of Things. AJ Abdallat is CEO of Beyond AI. He has over 20 years of management experience in the fields of artificial intelligence, sensors, instruments, devices and software for telecommunications, life sciences, environmental monitoring, process...
Apr. 28, 2016 07:15 AM EDT Reads: 678