Sun Microsystems 2005Q2 quick start Setting up Load Balancing

Page 17

http://localhost:port/clusterjsp

Replace the localhost variable with the name of the system that the Domain Admin Server is running on.

Replace the port variable with the value of HTTP-LISTENER-PORTfor i1. This example uses http://localhost:38081/clusterjsp.

2.Add some session attribute data.

3.Examine the Session and Host information displayed. For example:

Executed From Server: localhost

Server Port Number: 38081

Executed Server IP Address: 198.19.255.255

Session Created: Day Mon 05 14:55:34 PDT 2005

4.Add some session data and click the Add to Session button.

5.Repeat this procedure for instance i2 by typing this URL in your browser: http://localhost :38080/clusterjsp

In this section you deployed an application to a cluster and tested that the application is available on all instances in the cluster.

Congratulations! You have completed the basic steps in this Quick Start Guide. You can stop the Quick Start trail here if you do not wish to proceed to the advanced steps.

Setting up Load Balancing

A load balancer is typically deployed in front of a cluster. It:

Allows an application or service to be scaled horizontally across multiple physical (or logical) hosts yet still presents the user with a single URL

Insulates the user from host failures or server crashes, when it is used with session replication

Enhances security by hiding the internal network from the user

Application Server includes load balancing plug-ins for popular web servers like Apache, Microsoft Windows IIS, and Sun Java™ System Web Server.

This section provides instructions on how to download and set up the Web Server software to act as a load balancer to the cluster of Application Servers. To complete this section, you must have sufficient memory to run a Web Server on your system in addition to the Domain Administration Server and the two Application Server instances you have created so far in this guide. A system with 512 Mbytes to 1024 Mbytes of memory is recommended to complete this section.

Chapter 1 • Quick Start 17

Image 17
Contents Sun Microsystems, Inc Network Circle Santa Clara, CA 050727@12762 Contents Quick Start for Setting Up High Availability Failover Quick Start Variable Names and Default PathsAbout Application Server Administration To Start the Domain on Solaris and Linux Starting the Domain Administration ServerStarting the Server To Start the Domain on Windows To Log In to the Admin Console Logging in to the Admin ConsolePress a key to close the message window Steps 1. Type this URL in your browserPage Examining the Log File To View the Domain Administration Server Log FileWhen you are prompted, provide the master password Steps 1. In a terminal window, type this commandCreating a Cluster To Start the Node AgentYou see a screen like this Click OK. The create process can take a few minutes To Deploy the Sample Application Deploying an ApplicationTo Verify the Application Deployment To Start the ClusterClick OK Steps 1. Type the following URL in your browserSetting up Load Balancing Installing Web Server Software Creating a Load Balancer Configuration Installing the Load Balancer Plug-inTo Install the Load Balancer Plug-in Verifying Load Balancing Starting Load BalancingTo Create an Http Load Balancer Configuration Export the configuration to a file loadbalancer.xmlHttp//localhostwebserverport/clusterjsp To Verify Load BalancingAdd a name and value pair Name=Name Value=Duke for storing Cleaning UpTo Uninstall Completely To Remove the Sample Cluster Only Uninstall the Application ServerWhere to Go Next Quick Start for Setting Up High Availability Failover About High Availability Clusters Hadb Preinstallation StepsTo Configure Your System for Hadb Starting Hadb Installing HadbTo Install Hadb Steps 1. Change to the /etc/init.d directory Run the command to start the agentRun the command to start the agent ma -i ma.cfg To Start Hadb in a Stand-Alone Installation on WindowsConfiguring a Cluster and Application for High Availability To Configure a Cluster and Application for High AvailabilityTo Restart the Cluster Restarting the ClusterOnce the instances are stopped, click Start Instances Verifying Http Session FailoverTo Verify Http Session Failover Cleaning Up A stand-alone Windows Application Server Installation To Remove the Sample Cluster Rename the loadbalancer.xml file Run the command to stop the agent ma -rWhere to Go Next

2005Q2 specifications

Sun Microsystems, a company renowned for its innovative technologies and commitment to open standards, reported its second quarter financial results for the fiscal year 2005 (2005Q2) on May 10, 2005. During this quarter, Sun continued to focus on its primary mission of delivering reliable and robust hardware and software solutions, notably in the domain of enterprise computing.

One of the standout features of Sun's offerings during this period was the continued evolution of their UltraSPARC processors. The UltraSPARC IV and IV+ processors represented significant advancements in performance, offering superior computational power and efficiency for enterprise applications. These processors were built on the SPARC architecture, which is known for its scalability and reliability, making them ideal for mission-critical workloads.

In 2005Q2, Sun also emphasized its commitment to the Solaris operating system. Solaris 10 was lauded for its enhanced security features, extended virtualization capabilities, and advanced resource management tools. The introduction of features like DTrace, ZFS, and Time Slider exemplified Sun's dedication to providing customers with enhanced system insight and flexibility. These innovations positioned Solaris as a leading choice for enterprises looking to optimize their IT infrastructure.

Sun's software portfolio saw significant developments, particularly in the realms of Java technology and the Sun Java System. The company continued its advocacy for Java as a universal programming platform, recognizing its pivotal role in the burgeoning field of web services and distributed computing. Sun's development tools and application servers, such as the Sun Java System Application Server, provided developers with robust resources for building and deploying enterprise applications.

Moreover, the company made strides in network performance through its Sun Network.com initiative. This program was aimed at enhancing the deployment of managed services and offered customers solutions designed to improve network efficiency and reliability.

Financially, Sun Microsystems reported revenue growth during this quarter, driven by increased demand for their products and services. The company’s focus on open-source solutions and partnership strategies allowed it to attract new clients and expand its market presence, reinforcing its role as a key player in the technology sector.

In summary, 2005Q2 marked a significant period for Sun Microsystems, characterized by cutting-edge technologies, a strong software ecosystem, and a focus on delivering value to enterprise customers. Through its innovative hardware and commitment to open standards, Sun continued to influence the trajectory of computing in a rapidly changing technological landscape.