Sun Microsystems 2005Q2 quick start Quick Start for Setting Up High Availability Failover

Page 25

CHAPTER 2

Quick Start for Setting Up High

Availability Failover

With the configuration used in the previous chapter, if a server instance goes down, users lose session state. This section, the second of two advanced topics, provides the steps for installing the high-availability database (HADB), creating a highly available cluster, and testing HTTP session persistence.

Application Server supports both HTTP session persistence and persistence for Stateful Session Beans. The procedures in this chapter cover HTTP session persistence.

These steps assume you have already performed the steps in the previous sections of this Quick Start. The steps are presented in the order that you should complete them.

Note – Completing this section may require additional hardware resources.

This topic contains the following sections:

“About High Availability Clusters and HADB” on page 26

“HADB Preinstallation Steps” on page 26

“Installing HADB” on page 28

“Starting HADB” on page 28

“Configuring a Cluster and Application for High Availability” on page 30

“Restarting the Cluster” on page 31

“Verifying HTTP Session Failover” on page 32

“Cleaning Up” on page 33

“Where to Go Next” on page 37

25

Image 25
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 Starting the Server Starting the Domain Administration ServerTo Start the Domain on Solaris and Linux 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 To Install the Load Balancer Plug-in Installing the Load Balancer Plug-inCreating a Load Balancer Configuration 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 BalancingTo Uninstall Completely Cleaning UpAdd a name and value pair Name=Name Value=Duke for storing 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 To Install Hadb Installing HadbStarting 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 ClusterTo Verify Http Session Failover Verifying Http Session FailoverOnce the instances are stopped, click Start Instances 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.