|
|
| YBET | IT forum | Magasin logiciel gestion en ligne |
8.1. Introduction - 8.2. Technology SCSI - 8.3 Connection of peripherals SCSI - 8.4. RAID (Redundant Array of Independent Disk) - 8.5. Hardware and software RAID
The data (and its principal support, the hard disk) are of primary importance in all processing applications. In the case of servers computers, two directions are used to increase the speed and to guarantee reliability in the event of breakdown of a hard disk: the use of solutions SCSI for the storage and the establishment of the RAID. Both are generally established at the same time.
In first year, we saw only IDE and SATA hard drive. This year, with the servers, we will be interested in SCSI hard disks and peripherals.
Connections SCSI (Small Computer System Interfaces) have compared to peripherals IDE several advantages.
All this explains why speeds are higher than in IDE (even to rate of transfer are equivalent), with prices which vary at the same time.
Standard SCSI evolved/moved, but one meets still almost all the standards according to apparatuses' to be connected. NARROW refers to a bus 8 bits, WIDE refers to a bus 16 bits.
| Standards SCSI | Rate maximum MB/s transfer | Width drunk
(out of bits) |
Maximum length cables SCSI | Numbers conducting | Max. Number connection (not included/understood the board controller) | ||
| SE | LVD | HVD | |||||
| SCSI
(NARROW)
SCSI 1 |
5 | 8 | 6 m | - | - | 25 | 7 |
| FAST NARROW SCSI | 10 | 8 | 3 m | - | - | 50 | 7 |
| Fast Wide SCSI
SCSI 2 |
20 | 16 | 3 m | 12 m | 25 m | 68 or 80 | 15 |
| Ultra SCSI Narrow | 20 | 8 | 3 m | - | - | 50 | 3 |
| Ultra SCSI Narrow | 20 | 8 | 1,5 m | - | - | 50 | 7 |
|
Wide Ultra SCSI SCSI 3 |
40 |
16 bits |
3 m |
- |
- |
68 or 80
|
3
|
| Wide Ultra SCSI
|
40
|
16 bits
|
1,50
|
-
|
-
|
68 or 80
|
7
|
| Wide Ultra SCSI SCSI
3 DIFFERENTIEL
|
40 |
16 bits |
- |
12 m |
25 m |
68 or 80 |
15 |
|
Ultra 2 SCSI (Narrow) |
40 |
8 bits |
6 m |
- |
- |
50 |
7 |
|
Ultra 2 SCSI |
80 |
16 bits |
- |
12 m |
25 m |
68 or 80 |
15 |
|
Ultra 3 SCSI or SCSI 5 |
160 |
16 bits |
- |
12 m |
- |
68 or 80 |
15 |
|
Ultra Wide 320 SCSI |
320 |
16 bits
|
- |
12 m |
- |
68 or 80
|
15 |
| By comparison | |||||||
| E-IDE ATA 133 | 133 | 16 bits | - | 80 wire (connector 40) | 2 | ||
The rate of transfer, the length of the cords, the number of wire and peripherals differs according to the standard.
What it is important to know to order a cord or terminating:
All the other information is superfluous in the field of the connectors.
SCSI 1 (NARROW SCSI): It is coded on 8 bits only
SCSI 2 (WIDE SCSI): Coded on 16 bits it authorizes a rate of transfer up
to 20 MB/s
![]() |
![]() |
| Board SCSI 2 Adaptec AH 3940. This board is identical to one 2940 but has 2 distinct internal channels (RAID) |
Internal connector SCSI2 |
SCSI 3 (ULTRAWIDE SCSI): it makes it possible to reach rates of transfer of 40 MB/s
SCSI 3 DIFFERENTIAL: it uses cable of very good quality appairé and conveys per pairs two signals, the useful signal being the difference between the two. There are 2 types of differential chains:
The connector industry is specific to each 3 standard: the cords and the tablecloths intern do not have the same impedance in Ultra Wide, HVD or LVD. The terminating ones also are different. One thus should not mix the various types of cords and terminating between them, especially the HVD incompatible with the remainder. However standard LVD makes it possible to connect peripherals not LVD on the board host and contrary connecting components LVD on a board host not LVD. Of course the flows will not be in this case those of the LVD.
The standard Ultra 2 SCSI LVD is an extension of the SCSI 3. On the connector industry plan the signals are conveyed in two wire at the same time, the useful signal being the difference between the two. This method is also used in Ethernet connection (amongst other things). Cords LVD must of high quality and with the good impedance. Theoretical maximum speed is 80 MB/s.
The Ultra standard 3 SCSI or Ultra 160/m or SCSI 5 (SCSI PARALLEL INTERFACES SPI-3):
The Ultra 160/m is a specific establishment of the Ultra standard 3 SCSI and retains only 3 elements of this standard:The Ultra standard 320 SCSI (SCSI PARALLEL INTERFACES SPI-4) :
This new standard enriches while keeping the specifications by the preceding standard Ultra 160/m:
![]()
DB 25
![]()
External Centronix 50 male (more pine than the connector centronix printing standard)
|
|
|
|
SUB 50 male |
|
![]()
Connector DB68HD
The types of peripherals in SCSI which are connected in SCSI are
The choice of the number of peripheral is done either by bridging, or by a rotary selector. The address must be single on the same cable or rather on the same controller. Indeed, the internal and external peripherals generally divide the same controller.
The end of the connection of the external peripherals must end in a resistance of termination specific to the type of connection SCSI. Indeed, for the external peripherals, connection is chained. One begins from the controller towards the peripheral. The following cable passes from the peripheral to the following peripheral. In certain peripherals, the termination is included in the peripherals (bridging to insert to activate it).
The standard cables intern take again generally only 3 connectors but models taking again more peripherals are in the trade.
Generally, one does not mix peripherals SCSI of various types, nevertheless special terminations make it possible to chain peripherals NARROW (50 pine) with ULTRA WIDE (68 pine), as well in-house as into external.
This possibility requires a controller particular disc and... always a specific operating system heavy network (once more, avoid Win 95/98). Adaptec provided of the controllers RAID IDE, but it is not the majority of the cases for questions of performances. Certain operating systems network also allow, to a lesser extent, to carry out software RAID. This is not advised since it is the processor which replaces the work of the controllers, from where a deceleration.
The RAID makes it possible to associate several hard disk drives in the same way standard (connection SCSI and capacity) in only one bunch. In the event of failure of a disc, the versions of RAID other than 0 make it possible to rebuild the data lost starting from the other units of the bunch. The establishment of this technology can be of material, software nature or pass by a combination of both. The solutions suggested can be gathered in six great families, of Raid 0 with RAID 5.
RAID 0 does not bring any data security, it increases only the rate of transfer of information. Information is cut out following the other on the whole of the hard disks (4 discs in the case below but more generally 2) the unit which gathers the discs profits from the sum of the flows of each disc. An access (operation of reading) or a transfer (operation of writing) is carried out into simultaneous on the whole of the bunch on a parallel mode. The breakdown of only one hard disk causes the loss of all the data.

The total capacity is equivalent to the sum of the capacities of each hard disks (of identical capacities).
In the connections RAID 1, the data are duplicated completely on a second disc or a second group of hard disks. The performances in reading are doubled thanks to the simultaneous access to the two discs (with the proviso of having two separate controllers). This method reduced nevertheless storage capacity. It corresponds to the software Mode "Mirror" of Windows NT4 or Windows 2000 Server.

Writing

Reading

RAID 2 rests on a bunch with several discs of parity and a synchronization of the access. This technology is used little from its complexity and the overcost which it involves. It is identical to RAID 0 with an integrated control of the data. One generally uses 3 discs of control for 4 discs of data. The method of correction is the ECC (same that memories). Nevertheless, all hard disks SCSI include this control of error, from where anecdotic character of this mode. This technology were not marketed in an industrial way.

RAID 3 is based on group of hard drives identical with a storage unit reserved to the storage of the bit of parity. If the disc of parity breaks down, one finds oneself in RAID 0. The data security is established little. Attention, the disc of parity is 2 times more used than the other discs.

RAID 4 is different from RAID 3 by an asynchronous management of the units. Even if the accesses function in parallel on the various units, the disc of parity is more often requested. This implies in RAID 3 a bottleneck. The only difference with RAID 3 is the structure of the data established on the discs.

Into writing, the data are broken up into blocks of small size and distributed on the various discs composing RAID 4. At the same time, the parity check is registered on the disc dedicated for this purpose.

Reading:

Advantages:
Defaults:
RAID 5 is connected with RAID 4 with a bit of parity distributed on the whole of the units of the bunch, thus removing the famous bottleneck while profiting from the performances of asynchronous management. This mode corresponds to the aggregate by bands with parity under NT4 or 2000 Server. The discs work all as much. At the time of a hot plug of a hard disk, the data are recreated starting from the other hard disks.

Advantages:
Disadvantages:
Applications:
Orthogonal RAID 5, software technique developed by IBM, this mode uses a controller by disc. In the language running, it is assimilated to a RAID 5.
Other system RAID are proposed. They are only RAID 5 advanced. These modes remain rare because of a complex architecture and a high cost.
The RAID can be managed in manner hardware or software. The range of the "professional" operating systems of Microsoft can manage the RAID in a software way: Windows NT, 2000 in version server manage RAID 0, 1, 5
Netware manages in native mode (software) RAID 1
Linux manages RAID 0, 1, 4 and 5
The series "amateurs" (DOS, WIN95/98/Me and XP Home) do not manage the RAID in native mode.
This manner of proceeding allows the operating system to use several discs in RAID mode without dedicated hardware. On the other hand, by using a hardware (with the associated driver) adequate, all the operating systems can work in RAID in theory. For recall, the operating systems "personal" of Microsoft do not draw either part of the possibilities of the SCSI, in particular for the transfer by simultaneous DMA of data enter hard drives.
|
The continuation of the Hardware 2 course > Chapter 9: Storage and safeguard network |
1. Network hardware course - 2. Introduction to communication - 3. Base of transmission - 4. Ethernet - 5. Switch, router, ... Ethernet - 6. Internet connections - 7. Networks servers - 8. SCSI, SAS, RAID - 9. Backup Tape drives, NAS, ... - 10. Communications Securities - 11. Wireless and Wifi - 12. UPS, Inverter, Power Supply - 13 . Corporate network - 14. Alternative technologies - 15. Touch Screen, video projector 17. Exercise: hardware firewall
Hardware 1 course: computer and peripherals equipments , Hardware 2 course: networks, servers and communications
For the whole of hardware training.
© YBET data processing 2006