Home > Articles > Programming > General Programming/Other Languages

  • Print
  • + Share This
Like this article? We recommend

The Stack

FIGURE 3 and FIGURE 4 show the stack under consideration. FIGURE 3 illustrates the layering relationship between the various software components in this stack, and FIGURE 4 shows the basic cluster configuration. It consists of a two-node cluster providing the Oracle9i Real Application Cluster (RAC) data service.

Figure 3FIGURE 3 Layering Relationship Between the Various Software Components in the Stack


Figure 4FIGURE 4 Basic Stack Configuration


The stack has the following main components:

  • Sun Fire™ 4800 servers as nodes

  • Sun StorEdge™ T3 array storage

  • FCAL switches for host-to-storage connectivity

  • Gigabit Ethernet for private network

  • Solaris™ 8 Operating Environment (Solaris OE) upgrade 6

  • Sun Cluster 3.0 upgrade 2 on each node

  • Oracle9i Real Application Cluster (Oracle9i RAC) software on each node

  • Veritas Volume Manager, VxVM (CVM)

Database and system stress load is provided by an online transaction processing (OLTP) load. This load simulates an application where each transaction is made up of updates into fixed-size tables and insert operations to some other tables. This workload was chosen because its transactions are uniform and it can thus be handled tractably while doing white-box analysis of the relevant layers in the stack.

Preliminary Results

The black-box measurements of this project have been ongoing, and Table 1 summarizes some of the preliminary results obtained for this stack. Note that these results are preliminary in nature, and more importantly, should not be extrapolated to any other Sun Cluster stack.

TABLE 1 Preliminary Measurements

Event Type

Outage

Node Failure

60-80 seconds

Interconnect Failure

80 seconds

Cluster rgmd dying

70 seconds

Oracle process dying

30 seconds

Node Rejoin

20 seconds


The five fault injection tests reported here are: (1) a node going down, (2) a split brain being induced by causing a failure of the private networks between the nodes, (3) one of the critical Sun Cluster framework daemons dying and causing that node to go down, (4) an Oracle process dying, and (5) a down node rejoining the cluster.

The first three fault injection scenarios correspond to one of the nodes going down, either immediately as a result of fault injection (as in node failure cases) or as a by product of the fault that was injected (as in the split brain induced by interconnect failure case, which would then result in one of the nodes going down). A node going down results in the following outage subcomponents:

  • Detection of the node death by the clustering software on the other node

  • Reconfiguration of the Sun Cluster and VxVM software as well as the Oracle9i RAC layers

  • Recovery of the VxVM and/or Oracle9i RAC layers

The outages reported in TABLE 1 are from the client's perspective, and are defined as the time interval, in seconds, for which no transactions were committed to the database. The outage intervals will span the detection, reconfiguration, and parts of the VxVM and Oracle recovery process. The remainder of the VxVM and Oracle recovery process proceeds after the outage interval, in asynchronous steps.

The fourth fault injection scenario consists of killing one of the Oracle processes, which leads to the Oracle instance on that node going down. This causes the Oracle instance on the other node to perform recovery, leading to an outage.

The last scenario corresponds to the first three fault injections where the node that went down reboots and joins the cluster. During the resulting reconfiguration, the various layers reintegrate with their counterparts in the existing cluster, which results in a short outage (TABLE 1).

TABLE 2 System Availability and Yearly Downtime

Parameter

PARAMSET 1

PARAMSET 2

MTBF

4000 hours

3000 hours

MTTR_1

1 hour

1 hour

MTTR_2

2 hours

4 hours

Recovery_Time

60 seconds

60 seconds

Node_Rejoin_Time

20 sees

20 seconds

p

0.99

0.98

a

0.2

0.2

System availability

0.99998

0.99993

System yearly downtime

11 minutes, 13.87 seconds

36 minutes, 18.12 seconds


These preliminary results can be used for the outage-related parameters in the RAScad model developed in "RAScad Modeling." For the remaining parameters, data collection efforts are underway. In the meantime, to analyze the effect of these parameters on the availability of the system, some preliminary numbers have been picked for these parameters. These numbers represent preliminary values obtained from a few Sun_ internal deployment environments.

Two different sets of values have been picked for each such parameter. With these values plugged into the tool, RAScad can compute several useful metrics, such as system availability and system downtime. The differential analysis that follows shows that both sets of data yield the same prioritized list of parameters. Thus, at least from the differential analysis perspective, the actual values of these parameters are not as critical, within the specified ranges.

Availability Calculations

TABLE 2 shows the results from RAScad for the stack with the two parameter sets, PARAMSET1 and PARAMSET2. The parameters are listed in the first seven rows (MTBF through a). The two sets differ in the values used for MTBF, MTTR_2 and p. From an availability perspective, the values in the first set are better than those in the second. The parameter values are followed by the calculated values for system availability and system yearly downtime for each set.

For the first set, the system availability is calculated to be 0.99998, and system yearly downtime is calculated to be 11 minutes, 13.87 seconds. With the second set, the system availability decreases to 0.99993 with system yearly downtime increasing to 36 minutes, 8.12 seconds. Note that these results are based on preliminary parameter values. Also, the RAScad model developed in "Proposed Methodology" models outages only due to a node going down, and these results apply only for that scenario.

Differential Analysis in RAScad

For both the sets, each parameter was decreased by ten percent and a differential analysis was done to yield the percentage of downtime change due to the variable change. These results are reported in Table 3 for the two parameter sets. Negative values in Table 3 indicate that the downtime decreases when the parameter is changed, and vice versa.

TABLE 3 Differential Analysis Results

Parameter

PARAMSET1

PARAMSET2

MTBF

11.28

11.29

MTTR_1

-0.13

-0.14

MTTR_2

-4.82

-7.87

Recovery_Time

-3.90

-1.61

Node_Rejoin_Time

-1.29

-0.52

p

462

377

a

-0.023

-0.025


The largest change in downtime is contributed to by the parameter p. A decrease in its value by 10 percent resulted in an increase in downtime by 462 percent and 377 percent, for initial values of 0.99 and 0.98 respectively. Similarly, a decrease in the value of MTTR_2 by 10 percent results in a decrease in the downtime by 4.82 percent and 7.87 percent, for initial values of two hours and four hours, respectively. A comparison of the results across these two data sets clearly demonstrates the same ordering of the importance of the factors to system availability.

In decreasing order of importance, this ordering is:

  • p
  • MTBF
  • Recovery_Time, MTTR_2
  • Node_Rejoin_Time
  • MTTR_1, a

This analysis reveals the main areas of focus not only for testing and development purposes, but also for establishing a set of best practices that will lead to high availability environments. The next section discusses the basic philosophy behind these best practices, and then lists a set of these practices.

The RAScad model from "RAScad Modeling" applies directly to scalable services only. A similar model has been built for failover services, where only one node is actively servicing the client. Although not discussed in this article, a differential analysis of the failover model has also been done. This analysis results in the same list of the top four parameters to focus on, as in the case of scalable services.

  • + Share This
  • 🔖 Save To Your Account

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020