Top Banner
Module 3 - Storage MIS5122: Enterprise Architecture for IT Auditors
61

Module 3 - Storage

Feb 13, 2016

Download

Documents

Trevor Trevor

Module 3 - Storage. MIS5122: Enterprise Architecture for IT Auditors. Agenda. Storage Characteristics of Different Types of Storage Primary Storage Secondary Storage Magnetic Tape Magnetic Disk Storage Safety Nets SAN and NAS Cache Controllers. Case Study – Focus on Storage. Desktops. - PowerPoint PPT Presentation
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Module 3 - Storage

Module 3 - Storage

MIS5122: Enterprise Architecture for IT Auditors

Page 2: Module 3 - Storage

Agenda• Storage

– Characteristics of Different Types of Storage– Primary Storage– Secondary Storage

• Magnetic Tape• Magnetic Disk

– Storage Safety Nets– SAN and NAS– Cache Controllers

Page 3: Module 3 - Storage

Case Study – Focus on Storage

`

Glenside

Computer Room

Jenkintown

Computer Room

Branch 1 of 5

` ` `

Switch

Switch

NAS

` `

` ` `

2nd Floor LAN

1st Floor LAN

GS-FP-1File/Print

GS-DC-1Domain Controller

DNS/DHCP

GS-SQL-1SQL Server

GS-WEB-1Web Server GS-APP-1

Application Server

Switch

JNK-FP-1File/Print JNK-DC-1

Domain ControllerDNS/DHCP Server

JNK-SQL-1SQL Server

JNK-WEB-1Web Server

JNK-APP-1Application Server

Switch

Router

Switch

` ` `

1st Floor LAN

Switch

Router

VPN Gateway

Exposed Servers

Router

Internet Firewall

Internet

DMZDMZ Firewall

Branch 2 of 5

` ` `

Switch

Router

DesktopsServersSpecial Purpose MachinesNAS SAN

Page 4: Module 3 - Storage

Support immediate execution of programs

Provide long-term storage of programs and data

Don’t forget registers and caches!

Page 5: Module 3 - Storage

Question?• Assume that primary storage (i.e. RAM) is

1,000,000 times faster than secondary storage (i.e. disk).

• If it took one second to access a byte in RAM, how long would it take to access disk?

• Put this in useful units

Page 6: Module 3 - Storage

What are the following characteristics of storage devices?• Speed• Volatility• Access method• Portability• Cost• Capacity

Page 7: Module 3 - Storage

Memory-Storage Hierarchy

Volatile

Non-volatile

Page 8: Module 3 - Storage
Page 9: Module 3 - Storage

Question?• Who has nonvolatile RAM with them right now?• What kind?

Page 10: Module 3 - Storage

What did you learn?• The contents of most forms of RAM are _______,

making them unsuitable for long term data storage.

• __________ is typically stated in milliseconds for secondary storage devices and nanoseconds for primary storage devices.

volatile

Access time

Page 11: Module 3 - Storage

What did you learn?• _________ storage is slower, cheaper, and non-

volatile versus _______ storage which is faster, more expensive and volatile.

• Tape drives are __________ devices. Disk drives are random or direct access devices.

serial access

Secondaryprimary

Page 12: Module 3 - Storage

What did you learn?• Modern personal computers generally use memory

packaged on small standardized circuit boards called _______________.DIMMs or SIMMs

Page 13: Module 3 - Storage

Question?• In your own words, what is the “duality of

magnetism?”

Page 14: Module 3 - Storage
Page 15: Module 3 - Storage

15

Page 16: Module 3 - Storage
Page 17: Module 3 - Storage
Page 18: Module 3 - Storage

18

Page 19: Module 3 - Storage

Question?• If I worked for a hard drive manufacturer and my

boss told me that our current hard drives were not fast enough, where would I focus my attention to make them faster?

• If my boss told me that we needed to improve density, where would I focus my attention?

• Can I both make drives faster and improve the density?

Page 20: Module 3 - Storage
Page 21: Module 3 - Storage
Page 22: Module 3 - Storage

DRC-DDell PowerEdge 28502-Way 3.4 GHz Xeon

2 MB Cache800 MHz FSB

4 GB DDR2 400 MHz

C-Dr

iveO

S36

GB

15K

RPM

C-Dr

iveO

S M

irror

36 G

B15

K RP

M

E-Dr

iveDa

ta30

0 G

B10

K RP

M

E-Dr

iveDa

ta M

irror

300

GB

10K

RPM

F-Dr

iveSQ

L Lo

gs36

GB

15K

RPM

F-Dr

iveSQ

L Lo

gs

Mirr

or36

GB

15K

RPM

DRC-D

C-Drive (Mirrored)36 GB Total Usable SpaceOS & All Application

E-Drive (Mirrored)300 GB Total Usable SpaceAll SQL Databases and Other DRC data stored in:

E:\DRC-Prodand Replicated to HOTSPARE

E:\DRC-Prod

F-Drive (Mirrored)36 GB Total Usable SpaceAll SQL Logs stored in:

F:\DRC-ProdAnd Replicated to HOTSPARE

F:\DRC-Prod

Page 23: Module 3 - Storage

Solid State Drive$789 for 64 GB

Why are reads so fast?

Are writes that fast?

Why shouldn’t you defrag this device?

Page 24: Module 3 - Storage

Solid State Drive

Page 25: Module 3 - Storage

What did you learn?• The ______________ of a hard disk drive

generates or responds to a magnetic field .

• Data stored on magnetic media for long periods of time may be lost due to _______________ and _____________.

read/write heads

magnetic leakagemagnetic decay

Page 26: Module 3 - Storage

What did you learn?• A(n) ____________ stores data in magnetically

charged areas on a rigid platter.

• The three components of average access time for a disk drive are _____________________, ___________________, and _____________.

hard disk drive

head to head switch timetrack to track seek time rotational delay

Page 27: Module 3 - Storage

BREAK TIME

Page 28: Module 3 - Storage

Fault Tolerance• Methods of securing file content against hardware

failure– File backup/Recovery– Mirroring– RAID (Redundant Array of Inexpensive Disks)– Transaction logging

Page 29: Module 3 - Storage

File Backup• Protects against data loss (file content, directory content, and storage

allocation tables)• Store backup copies on a different storage device in a different

physical location– Tape– Disk

• Manual or automatic• Full or incremental• Test restores on a regular basis like your job depends on it!

Page 30: Module 3 - Storage

Question?• If I had six 100 gig volumes and I wanted to

mirror my hard drives, how much usable space would I have?

• If I wanted to build a RAID-5 array, how much usable space would I have?

• What is better, mirroring or RAID-5? Why?

Page 31: Module 3 - Storage

DRC-DDell PowerEdge 28502-Way 3.4 GHz Xeon

2 MB Cache800 MHz FSB

4 GB DDR2 400 MHz

C-Dr

iveO

S36

GB

15K

RPM

C-Dr

iveO

S M

irror

36 G

B15

K RP

M

E-Dr

iveDa

ta30

0 G

B10

K RP

M

E-Dr

iveDa

ta M

irror

300

GB

10K

RPM

F-Dr

iveSQ

L Lo

gs36

GB

15K

RPM

F-Dr

iveSQ

L Lo

gs

Mirr

or36

GB

15K

RPM

DRC-D

C-Drive (Mirrored)36 GB Total Usable SpaceOS & All Application

E-Drive (Mirrored)300 GB Total Usable SpaceAll SQL Databases and Other DRC data stored in:

E:\DRC-Prodand Replicated to HOTSPARE

E:\DRC-Prod

F-Drive (Mirrored)36 GB Total Usable SpaceAll SQL Logs stored in:

F:\DRC-ProdAnd Replicated to HOTSPARE

F:\DRC-Prod

Mirroring

Page 32: Module 3 - Storage

Consolidate-SQLDell PowerEdge 28502-Way 3.4 GHz Xeon

2 MB Cache800 MHz FSB

4 GB DDR2 400 MHz

C-D

rive

OS

36 G

B15

K R

PM

C-D

rive

OS

Mirr

or36

GB

15K

RPM

E-D

rive

Dat

a30

0 G

B10

K R

PM

Consolidate-SQL

C-Drive (Mirrored)36 GB Total Usable SpaceOS & All Application

E-Drive (RAID 5 Array)900 GB Total Usable SpaceAll SQL DBs, Logs, Image Files, etc. data stored in:

E:\SQL1-Prodand Replicated to HOTSPARE

E:\SQL1-ProdE-D

rive

Dat

a30

0 G

B10

K R

PM

E-D

rive

Dat

a30

0 G

B10

K R

PM

E-D

rive

Dat

a30

0 G

B10

K R

PM

RAID

Page 33: Module 3 - Storage

RAID

Page 34: Module 3 - Storage
Page 35: Module 3 - Storage

Case Study – Mirroring & RAID-5Let’s take a look!

`

Glenside

Computer Room

Jenkintown

Computer Room

Branch 1 of 5

` ` `

Switch

Switch

NAS

` `

` ` `

2nd Floor LAN

1st Floor LAN

GS-FP-1File/Print

GS-DC-1Domain Controller

DNS/DHCP

GS-SQL-1SQL Server

GS-WEB-1Web Server GS-APP-1

Application Server

Switch

JNK-FP-1File/Print JNK-DC-1

Domain ControllerDNS/DHCP Server

JNK-SQL-1SQL Server

JNK-WEB-1Web Server

JNK-APP-1Application Server

Switch

Router

Switch

` ` `

1st Floor LAN

Switch

Router

VPN Gateway

Exposed Servers

Router

Internet Firewall

Internet

DMZDMZ Firewall

Branch 2 of 5

` ` `

Switch

Router

Servers

All C-Drives Mirrored

All SQL Logs Mirrored

File/Print & SQL Data RAID-5

Page 36: Module 3 - Storage

What did you learn?• RAID 10 combines disk mirroring and _______ to

achieve performance improvement and fault tolerance.

striping

Page 37: Module 3 - Storage

DRC-DDell PowerEdge 28502-Way 3.4 GHz Xeon

2 MB Cache800 MHz FSB

4 GB DDR2 400 MHz

C-Dr

iveOS 36 G

B15

K RP

M

C-Dr

iveOS

Mirr

or36

GB

15K

RPM

E-Dr

iveDa

ta30

0 GB

10K

RPM

E-Dr

iveDa

ta M

irror

300

GB10

K RP

M

F-Dr

iveSQ

L Lo

gs36

GB

15K

RPM

F-Dr

iveSQ

L Lo

gs

Mirr

or36

GB

15K

RPM

DRC-D

C-Drive (Mirrored)36 GB Total Usable SpaceOS & All Application

E-Drive (Mirrored)300 GB Total Usable SpaceAll SQL Databases and Other DRC data stored in:

E:\DRC-Prodand Replicated to HOTSPARE

E:\DRC-Prod

F-Drive (Mirrored)36 GB Total Usable SpaceAll SQL Logs stored in:

F:\DRC-ProdAnd Replicated to HOTSPARE

F:\DRC-Prod

Transaction Logging

Page 38: Module 3 - Storage

Case Study – Transaction Logging Let’s Take a Look!

`

Glenside

Computer Room

Jenkintown

Computer Room

Branch 1 of 5

` ` `

Switch

Switch

NAS

` `

` ` `

2nd Floor LAN

1st Floor LAN

GS-FP-1File/Print

GS-DC-1Domain Controller

DNS/DHCP

GS-SQL-1SQL Server

GS-WEB-1Web Server GS-APP-1

Application Server

Switch

JNK-FP-1File/Print JNK-DC-1

Domain ControllerDNS/DHCP Server

JNK-SQL-1SQL Server

JNK-WEB-1Web Server

JNK-APP-1Application Server

Switch

Router

Switch

` ` `

1st Floor LAN

Switch

Router

VPN Gateway

Exposed Servers

Router

Internet Firewall

Internet

DMZDMZ Firewall

Branch 2 of 5

` ` `

Switch

Router

SQL Servers

Page 39: Module 3 - Storage

Question?• Which is better, NAS technology or SAN

technology? Why?

Page 40: Module 3 - Storage

Storage Consolidation• Overcomes inefficiencies of direct-attached

storage (DAS) in multiple-server environments

• Common approaches– Storage area network (SAN)– Network-attached storage (NAS)

Page 41: Module 3 - Storage

SANs at Temple

Page 42: Module 3 - Storage

42

Page 43: Module 3 - Storage

43

Page 44: Module 3 - Storage

Case Study – Network Attached Storage

`

Glenside

Computer Room

Jenkintown

Computer Room

Branch 1 of 5

` ` `

Switch

Switch

NAS

` `

` ` `

2nd Floor LAN

1st Floor LAN

GS-FP-1File/Print

GS-DC-1Domain Controller

DNS/DHCP

GS-SQL-1SQL Server

GS-WEB-1Web Server GS-APP-1

Application Server

Switch

JNK-FP-1File/Print JNK-DC-1

Domain ControllerDNS/DHCP Server

JNK-SQL-1SQL Server

JNK-WEB-1Web Server

JNK-APP-1Application Server

Switch

Router

Switch

` ` `

1st Floor LAN

Switch

Router

VPN Gateway

Exposed Servers

Router

Internet Firewall

Internet

DMZDMZ Firewall

Branch 2 of 5

` ` `

Switch

Router

NAS

Page 45: Module 3 - Storage

What did you learn?• In a(n) ____, multiple servers share access to the

same storage server over a special-purpose network dedicated to low-level storage accesses. 

• Under ____, a specialized server manages one or more file systems and responds to the file I/O requests sent across a LAN or WAN.

SAN

NAS

Page 46: Module 3 - Storage

Question?• How does a caching disk controller improve read

access times?

• How does a caching disk controller improve write times?

Page 47: Module 3 - Storage

Device Controllers

Page 48: Module 3 - Storage

Cache Controller

Page 49: Module 3 - Storage

Write access: Sending confirmation (2) before data is written to secondary storage device (3) can improve program performance; program can immediately proceed with other processing tasks.

Page 50: Module 3 - Storage

Read accesses are routed to cache (1). If data is already in cache, it is accessed from there (2). If data is not in cache, it must be read from the storage device (3). Performance improvement realized only if requested data is already waiting in cache.

Page 51: Module 3 - Storage

What did you learn?• An access to primary storage that is found within a

cache is called a(n) ________.cache hit

Page 52: Module 3 - Storage

Case Study – Focus on Storage

`

Glenside

Computer Room

Jenkintown

Computer Room

Branch 1 of 5

` ` `

Switch

Switch

NAS

` `

` ` `

2nd Floor LAN

1st Floor LAN

GS-FP-1File/Print

GS-DC-1Domain Controller

DNS/DHCP

GS-SQL-1SQL Server

GS-WEB-1Web Server GS-APP-1

Application Server

Switch

JNK-FP-1File/Print JNK-DC-1

Domain ControllerDNS/DHCP Server

JNK-SQL-1SQL Server

JNK-WEB-1Web Server

JNK-APP-1Application Server

Switch

Router

Switch

` ` `

1st Floor LAN

Switch

Router

VPN Gateway

Exposed Servers

Router

Internet Firewall

Internet

DMZDMZ Firewall

Branch 2 of 5

` ` `

Switch

Router

DesktopsServersSpecial Purpose Machines

NAS

SAN

Page 53: Module 3 - Storage

Review• Storage

– Characteristics of Different Types of Storage– Primary Storage– Secondary Storage

• Magnetic Tape• Magnetic Disk

– Storage Safety Nets– SAN and NAS– Cache Controllers

Page 54: Module 3 - Storage

Working with RAID Arrays

Page 55: Module 3 - Storage

Purpose• Get your hands dirty configuring RAID arrays on

a Windows 2008 Server• Get more exposure with virtual machine

technology• Have fun (in a geeky sort of way)!

Page 56: Module 3 - Storage

Plan• Regroup into the same teams that you formed

during the server installation lab• Add six 2 GB virtual hard drives to our virtual

machines and fire them up• Configure four of the drives into a RAID array• Configure the other two into a pair of mirrored

drives

Page 57: Module 3 - Storage

One Drive Goes Bad• Shutdown your server• Delete one of the drives in your RAID-5 array• Bring up your systems and check out the state of

the volume• See that you can still access the data even through

the singe drive has failed• Shutdown your servers

Page 58: Module 3 - Storage

New Drive Added• Add another drive to your server• Fire up your server and we’ll see if we can repair

the array• Make sure we can still get to the data after the

array has been recovered• Delete the volume and kiss your data goodbye

Page 59: Module 3 - Storage

Mirrored Drives• Can you do it again with mirrored drives?• How much space is available on a mirrored

volume?

Page 60: Module 3 - Storage

Questions?• Any questions?• Have fun!

Page 61: Module 3 - Storage

RAID 5 vs. Mirrored Drives• Which one is better?• RAID 5

– Pros?– Cons?

• Mirrored Drives– Pros?– Cons?