Skip to content

System Configurations for Availability and Reliability

標準~37 min6 terms14 past questions

Goals of this unit

  • Tell a dual system from a duplex system by how each uses its two sets of equipment in normal operation.
  • Explain what a cluster and replication each duplicate to make a system harder to bring down.
  • Judge, for each RAID level, whether it survives one disk failure and how much capacity is usable, and say what kind of device NAS is.
Terms at a glance (6)
TermIn one lineWhat is multipliedMain aim
デュアルシステムA setup in which two systems run the same processing at once and compare the resultsProcessing systems (both live)Correct results and reliability
デュプレックスシステムA setup in which an active system handles live work while a standby system waits in case it failsProcessing systems (one on standby)Keeping work going by switching over on failure
クラスタA setup that groups several computers so they appear as one systemComputers (more can be added)Staying up and processing capacity
レプリケーションA function that copies a database to another server and keeps the two in syncData on the serversStaying up and performance
RAIDA technique that treats several disks as one to raise speed or fault toleranceDisksSpeed and fault tolerance
NASA storage device connected directly to a LAN so that files can be shared(The device itself; some models use RAID inside)Sharing files

Terms

デュアルシステムDual System

Open in glossary デュアルシステム

A dual system (デュアルシステム) is a setup in which two systems carry out the same processing at the same time and compare the results to confirm they are correct.

  1. Input
  2. Both systems run the same processing
  3. Compare the two results
  4. Output once they match

Both systems handle live processing, so if the comparison turns up a mismatch, one of them has gone wrong. Running two full sets of equipment at all times is costly, but it suits work that demands high reliability.

AnalogyIt is like an accounts office where two clerks each total the same voucher and check every time that their answers agree.

How to remember"Dual" means "two". Picture a swordsman with a sword in each hand, both blades in action.

Exam points

  • ExamWhen one side of a dual system (デュアルシステム) fails, that side is cut off and the other carries on with the processing alone.

1 past questions on this term デュアルシステム

デュプレックスシステムDuplex System

Open in glossary デュプレックスシステム

A duplex system (デュプレックスシステム) provides an active system (現用系, the primary) that handles live processing and a standby system (待機系, the secondary) kept ready in case it fails, and switches over to the standby system when a failure occurs.

  1. Active system handles live work
  2. Active system fails
  3. Switch over to standby
  4. Standby system takes over live work

The standby system takes on live processing, and work carries on.

4 / 4

In normal operation only the active system does live processing, and the standby system can take on other jobs while it waits. When the active system stops, processing moves to the standby system so work can continue, though service may pause briefly during the switchover.

AnalogyIt is like a bus company whose relief driver does office work most days and only takes the wheel when the regular driver suddenly calls in sick.

How to rememberIn English, a "duplex" is also a house split into two homes that share a wall. Picture the unit next door, always ready to move into.

Exam points

  • ExamIn a duplex system (デュプレックスシステム), only the active system (現用系) handles live processing, and the spare capacity of the standby system (待機系) can go to other work.
  • Mix-upA dual system (デュアルシステム) runs live processing on both sets and compares the results. A duplex system leaves live work to one set and keeps the other waiting to take over.

1 past questions on this term デュプレックスシステム

Dual System vs. Duplex System

AspectDual SystemDuplex System
Key differenceHow the two sets are used normallyBoth run the same live processingOnly the active system runs live work; the standby waits
Comparing resultsThe two results are comparedNot done
On failureThe failed side is cut off and the other continuesSwitches over to the standby and continues
The waiting sideNoneCan handle other jobs while waiting
CostTends to be highEasier to keep down

A cluster (クラスタ) links several computers over a network so they work together and appear to users as a single system.

Users can work without knowing which machine is handling their request. If one machine fails, the others take over its work, so the system as a whole keeps running. Adding machines also makes it easy to scale up.

AnalogyIt is like a shop where several clerks share one checkout line. When one goes on break the line keeps moving, and when more customers arrive the shop just adds clerks.

How to rememberA "cluster" can be a bunch of grapes. Many separate grapes look like one bunch, just as many machines look like one system.

Exam points

  • ExamA cluster (クラスタ) is used not only to withstand failures but also to share a heavy load of requests across machines and raise processing capacity.

2 past questions on this term クラスタ

レプリケーションReplication

Open in glossary レプリケーション

Replication (レプリケーション) is a function, mainly provided by a DBMS (the software that manages a database), that keeps a copy of a database on another server and applies each update made at the source to the copy, keeping the two in sync.

  1. Data is updated on the source server
  2. The update is sent to the replica
  3. The replica applies it and the contents match

The replica makes the same change, and the two databases now hold the same contents.

3 / 3

Because the replica holds the same contents as the source, processing can continue on the replica if the source server fails, which raises availability, the degree to which a system stays usable without stopping. Sending read requests to the replica also lightens the load on the source server and improves performance.

AnalogyIt is like a head store whose every entry in the stock ledger is copied into the branch's ledger too. Even when the head store is closed, the branch can answer inquiries from its own ledger.

How to rememberA "replica" is a copy, the same word used for museum reproductions. Think of a function that keeps making copies you cannot tell from the original.

Exam points

  • ExamReplication (レプリケーション) is a DBMS function that keeps copying and synchronizing data between servers, raising availability (可用性) and helping performance as well.
  • Mix-upA backup (バックアップ) saves the contents as of a certain moment so they can be restored to that point later. Replication applies every update to the replica and keeps the contents matching.

2 past questions on this term レプリケーション

RAID combines several disks so they can be handled as one, and uses the way data is placed across them to gain speed or fault tolerance.

LevelHow data is writtenWhen one disk failsUsable capacity (n disks)
RAID0 (striping)Split and written to several disks in parallelData is lostn disks' worth
RAID1 (mirroring)The same data is written to several disksThe remaining disks keep runningOne disk's worth
RAID5Data and a value computed for recovery (parity) are spread across three or more disksCan be rebuilt by calculation from the remaining data and parityn − 1 disks' worth

The ways of placing data are identified by numbers called RAID levels (RAID レベル), and each level strikes a different balance between speed, resistance to failure and usable capacity. The parity (パリティ) in RAID5 is recovery information calculated from the data, so if one disk's worth is lost, the original contents can be recalculated from it and the remaining data.

AnalogyIf you keep a separate slip with just the total of three people's scores, losing one person's slip is no problem: subtract the other two scores from the total to get it back.

How to rememberThe R in RAID stands for Redundant. Only level 0 has zero redundancy, which matches its number.

Exam points

  • ExamRAID1 (mirroring, ミラーリング) writes the same data to every disk, so it keeps running on the remaining disks if one fails. The trade-off is that usable capacity is only one disk's worth.
  • ExamRAID5 can recalculate lost contents from the remaining data and parity (パリティ) when one disk fails. Since one disk's worth goes to parity, usable capacity equals the number of disks minus one.
  • Mix-upStriping (ストライピング, RAID0) splits data and writes it in parallel for speed, while mirroring (RAID1) writes the same data more than once to guard against failure.

3 past questions on this term RAID

NAS is a storage device, connected directly to a LAN, that specializes in sharing files.

Because it has its own built-in functions for managing and serving files, several terminals on the network can read and write the same files without a separate server computer. Many models also build their internal disks as RAID to guard against failure.

AnalogyIt is like a shared bookcase in the middle of the office. Anyone can come over from their own desk to take out or put back the same documents.

How to rememberNAS stands for Network Attached Storage. Read it literally, "storage attached to the network", and the picture is right there.

Exam points

  • ExamNAS is a file-sharing storage device connected directly to the network, letting several terminals use the same files over it.
  • Mix-upRAID is a technique for binding several disks into one, while NAS is a device that connects to the network so files can be shared.

2 past questions on this term NAS

RAID vs. NAS

AspectRAIDNAS
Key differenceWhat it isA technique for organizing disksA storage device (hardware) on the network
Main purposeRaise speed and fault toleranceLet several terminals share files
How they relateSometimes used inside a NASMany models use RAID for their internal disks

Key points

  • In a duplex system, service may stop briefly while it switches from the active to the standby system.
  • A cluster scales up easily by adding machines and keeps one machine's failure from stopping the whole system.
  • Replication keeps the replica in sync with the source, so processing can continue on the replica if the source server stops.
  • With n disks, usable RAID capacity is n disks' worth for RAID0, one disk's worth for RAID1 and n − 1 disks' worth for RAID5.
  • NAS is a storage device connected directly to a LAN that lets several terminals use the same files.

Check questions

5 past questions from this unit

Start the check questions

All past questions in this topic