Presentation is loading. Please wait.

Presentation is loading. Please wait.

Fault Tolerance Jacob Holt Nick Chaconas John Aucoin.

Similar presentations


Presentation on theme: "Fault Tolerance Jacob Holt Nick Chaconas John Aucoin."— Presentation transcript:

1 Fault Tolerance Jacob Holt Nick Chaconas John Aucoin

2 Server Mirroring 11/19/14 11/16/14 Identical files are not mirrored New files are sent from primary server to secondary server All files can be replicated Modules are used to copy files to primary server

3 Server Mirroring Pro: Very effective for fault-tolerance Con: $$ expensive

4 RAID RAID initially meant Redundant Array of Inexpensive Disks but nowadays means Redundant Array of Independent Disks. We can have a hardware-based array if archived through a proprietary expansion card controller (maybe a component integrated into the motherboard) or Software-based array if everything is archived through the main cpu (or cpus). Anyway the RAID levels are the same

5 RAID 0 A 1 A 3 A 5 A 7 A 8 A 6 A 4 A 2 Pros: Read and write operations on your computer will occur faster Cons: Very little pure read/write that gets done on a computer, you have the dead drive problem that you alluded to, "brown out" problem Drive 1 Drive 2 Striping

6 RAID 1 A 1 A 2 A 3 A 4 A 3 A 2 A 1 Pros: One Write or two Reads possible per mirrored pair, 100% redundancy of data means no rebuild is necessary in case of a disk failure, just a copy to the replacement disk, simplest RAID storage subsystem design Cons: Highest disk overhead of all RAID types (100%) – inefficient, typically the RAID function is done by system software, loading the CPU/Server and possibly degrading throughput at high activity levels, hardware implementation is strongly recommended Drive 1 Drive 2 Mirrored data to both drives

7 RAID 2 A 0 B 0 C 0 D 0 D 1 C 1 B 1 A 1 Pros: 'On the fly' data error correction, extremely high data transfer rates possible, the higher the data transfer rate required, the better the ratio of data disks to ECC disks Cons: Very high ratio of ECC disks to data disks with smaller word sizes – inefficient, entry level cost very high - requires very high transfer rate requirement to justify, no commercial implementations exist Drive 1 Drive 2 A 2 B 2 C 2 D 2 D 3 C 3 B 3 A 3 Drive 3 Drive 4 ECC AX ECC BX ECC CX ECC DX ECC DY ECC CY ECC BY ECC AY ECC DZ ECC CZ ECC BZ ECC AZ Bit-level striping with dedicated hamming code parity

8 RAID 3 A 0 B 0 C 0 D 0 D 1 C 1 B 1 A 1 Pros: Very high Read data transfer rate, very high Write data transfer rate, disk failure has an insignificant impact on throughput, low ratio of ECC (Parity) disks to data disks means high efficiency Cons: Transaction rate equal to that of a single disk drive at best (if spindles are synchronized), controller design is fairly complex, very difficult and resource intensive to do as a 'software' RAID Drive 1 Drive 2 A 2 B 2 C 2 D 2 C 4 C 3 B 3 A 3 Drive 3 Drive 4 AP BP CP DP Parallel transfer with dedicated parity

9 RAID 4 A 0 B 0 C 0 D 0 D 1 C 1 B 1 A 1 Pros: Very high Read data transaction rate, low ratio of ECC (Parity) disks to data disks means high efficiency, high aggregate Read transfer rate, low ratio of ECC (Parity) disks to data disks means high efficiency Cons: Quite complex controller design, worst Write transaction rate and Write aggregate transfer rate, difficult and inefficient data rebuild in the event of disk failure, block Read transfer rate equal to that of a single disk Drive 1 Drive 2 A 2 B 2 C 2 D 2 C 4 C 3 B 3 A 3 Drive 3 Drive 4 AP BP CP DP Independent data disks with shared parity disk

10 RAID 5 A 1 B 1 C 1 DP D 1 CP B 2 A 2 Pros: Highest Read data transaction rate, medium Write data transaction rate, low ratio of ECC (Parity) disks to data disks means high efficiency, good aggregate transfer rate Cons: Disk failure has a medium impact on throughput, most complex controller design, difficult to rebuild in the event of a disk failure (as compared to RAID level 1), individual block data transfer rate same as single disk Drive 1 Drive 2 A 3 BP C 2 D 2 C 4 C 3 B 3 AP Drive 3 Drive 4 Independent data disks with distributed parity blocks

11 RAID 6 A 1 B 1 C 1 DP DQ CP B 2 A 2 Pros: RAID 6 is essentially an extension of RAID level 5 which allows for additional fault tolerance by using a second independent distributed parity scheme (two-dimensional parity), data is striped on a block level across a set of drives, just like in RAID 5, and a second set of parity is calculated and written across all the drives; RAID 6 provides for an extremely high data fault tolerance and can sustain multiple simultaneous drive failures, perfect solution for mission critical applications Cons: Very complex controller design, controller overhead to compute parity addresses is extremely high, very poor write performance, requires N+2 drives to implement because of two- dimensional parity scheme Drive 1 Drive 2 A 3 BP CQ D 1 C 2 BQ AP Drive 3 Drive 4 AQ B 3 C 3 D 3 Independent data disks with two independent distributed parity schemes Drive 5

12 Scripting DiskRAID DiskRAID can be scripted on any computer running Windows Server 2008 or Windows Server 2003 with an associated VDS hardware provider. To invoke a DiskRAID script, at the command prompt type: diskraid /s By default, DiskRAID stops processing commands and returns an error code if there is a problem in the script. To continue running the script and ignore errors, include the NOERR parameter on the command.

13 DiskRAID error codes CodeDescription 0No error occurred. The entire script ran without failure. 1A fatal exception occurred. 2The arguments specified on a DiskRAID command line were incorrect. 3DiskRAID was unable to open the specified script or output file. 4One of the services DiskRAID uses returned a failure. 5A command syntax error occurred. The script failed because an object was improperly selected or was invalid for use with that command.

14 Network Area Storage (NAS) device is a server that is dedicated to nothing more than file sharing. NAS does not provide any of the activities that a server in a server- centric system typically provides, such as email, authentication or file management. NAS allows more hard disk storage space to be added to a network that already utilizes servers without shutting them down for maintenance and upgrades. With a NAS device, storage is not an integral part of the server. Instead, in this storage-centric design, the server still handles all of the processing of data but a NAS device delivers the data to the user. A NAS device does not need to be located within the server but can exist anywhere in a LAN and can be made up of multiple networked NAS devices.

15 DLink DNS-323 Netgear ReadyNAS Duo Netgear ReadyNAS Ultra 2 Iomega StorCenter ix4-200d Netgear ReadyNAS Ultra 4 Netgear ReadyNAS Ultra 6

16 Storage Area Network A Storage area network, or SAN, is a high-speed network of storage devices that also connects those storage devices with servers. SAN provides block-level storage that can be accessed by the applications running on any networked servers. SAN storage devices can include tape libraries, and, more commonly, disk-based devices, like RAID hardware.

17 Storage Area Network


Download ppt "Fault Tolerance Jacob Holt Nick Chaconas John Aucoin."

Similar presentations


Ads by Google