Sun Microsystems 2005Q2 Creating a Cluster, To Start the Node Agent, To Create a Cluster

Page 12

Next Steps In this section you started the Domain Administration Server and confirmed that it is running. You also logged in to the Admin Console and used the Log Viewer. You can stop the Quick Start trail here if you do not wish to continue, or you can go on to the next section.

Creating a Cluster

This section, the second of three basic topics, explains how to create a cluster that contains two Application Server instances. For simplicity, the cluster runs completely within one machine. This topic includes the following tasks:

“To Start the Node Agent” on page 12

“To Create a Cluster” on page 12

To Start the Node Agent

A node agent is a lightweight process running on each machine that participates in an Application Server administrative domain. The node agent is responsible for starting and stopping server instances on the host. It also collaborates with the Domain Administration Server to create new Application Server instances.

One node agent is needed on a machine, for each Application Server administrative domain that the machine belongs to. If you chose the Node Agent Component during installation, a default node agent called hostname was created.

Steps 1. In a terminal window, type this command:

asadmin start-node-agent hostname

Replace the variable hostname with the name of the host where the Application Server is running.

2.When you are prompted, provide the master password.

The node agent starts and connects with the Domain Administration Server.

Note – If the Domain Administration Server is not running, the node agent might fail to start.

To Create a Cluster

A cluster is a group of server instances (typically on multiple hosts) that share the same configurations, resources, and applications. A cluster facilitates load balancing across server instances and high availability through failover. You can create clusters

12Sun Java System Application Server Enterprise Edition 8.1 2005Q2 Quick Start Guide

Image 12
Contents Sun Microsystems, Inc Network Circle Santa Clara, CA 050727@12762 Contents Quick Start for Setting Up High Availability Failover Variable Names and Default Paths Quick StartAbout Application Server Administration Starting the Domain Administration Server Starting the ServerTo Start the Domain on Solaris and Linux To Start the Domain on Windows Logging in to the Admin Console To Log In to the Admin ConsolePress a key to close the message window Steps 1. Type this URL in your browserPage To View the Domain Administration Server Log File Examining the Log FileSteps 1. In a terminal window, type this command When you are prompted, provide the master passwordCreating a Cluster To Start the Node AgentYou see a screen like this Click OK. The create process can take a few minutes Deploying an Application To Deploy the Sample ApplicationTo Start the Cluster To Verify the Application DeploymentClick OK Steps 1. Type the following URL in your browserSetting up Load Balancing Installing Web Server Software Installing the Load Balancer Plug-in To Install the Load Balancer Plug-inCreating a Load Balancer Configuration Starting Load Balancing Verifying Load BalancingTo Create an Http Load Balancer Configuration Export the configuration to a file loadbalancer.xmlTo Verify Load Balancing Http//localhostwebserverport/clusterjspCleaning Up To Uninstall CompletelyAdd a name and value pair Name=Name Value=Duke for storing Uninstall the Application Server To Remove the Sample Cluster OnlyWhere to Go Next Quick Start for Setting Up High Availability Failover Hadb Preinstallation Steps About High Availability ClustersTo Configure Your System for Hadb Installing Hadb To Install HadbStarting Hadb Run the command to start the agent Steps 1. Change to the /etc/init.d directoryTo Start Hadb in a Stand-Alone Installation on Windows Run the command to start the agent ma -i ma.cfgConfiguring a Cluster and Application for High Availability To Configure a Cluster and Application for High AvailabilityRestarting the Cluster To Restart the ClusterVerifying Http Session Failover To Verify Http Session FailoverOnce the instances are stopped, click Start Instances Cleaning Up A stand-alone Windows Application Server Installation To Remove the Sample Cluster Run the command to stop the agent ma -r Rename the loadbalancer.xml fileWhere 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.