Sec+ Chapter 09: Resilience and Physical Security Flashcards
Redundancy
Having more than one of a system, service, device, or other component to maintain uptime
Geographic dispersal of systems
Ensures a single disaster, attack, or failure can’t disable or destroy systems
Also protects against power grid failures, network connectivity, etc
EX: Common rule of thumb for datacenters is to place them 90 miles apart, preventing most common natural disasters from disabling them
Separation of servers
Used to avoid a single server rack being a point of failure. Systems may be placed in two or more racks in case a single point of failure of a PDU (power distribution unit) or even something simple as a leak that drips into the rack.
Multipath
Use of multiple network paths to ensure a severed cable or failed device doesn’t cause a loss of connectivity
Redundant network devices
Multiple routers, firewalls, and IPSs to prevent a single point of failure.
Load balancers
Balances the load between multiple servers
Someone access the load balancer, which then decides what server is able to provide the particular requested service
Balancer is always checking in with active servers, and if one doesn’t respond the balancer will disable connections to that server and enable a standby server instead
Commonly used to allow system upgrades by redirecting traffic away while it’s being upgraded and returning it after it’s patched or upgraded
NIC Teaming
AKA: LBFO (load balancing / fail over)
Plug in and use multiple connections to a server, but instead of a primary and standby, you can use both simultaneously and aggregate bandwidth between both
Provides increased throughput and a way to have redundant paths in case one of the connections fails
On the server, configured by installing multiple NICs which look as one interface on server OS
Also configure the switch side to interpret traffic to any connections as something NIC teamed in the server
Provides redundancy as well in case of any connectivity issues
UPS
Uninterruptible power supply
An actual piece of hardware that provides battery-powered backup power options for short periods of time
Three types:
1) Offline / standby UPS: simplest, least expensive and not normally enabled unless power is lost
2) Line-interactive UPS: If the voltage is slowly diminishing on the line, this slowly ramps up backup power
3) Online / double-conversion UPS: most complex and expensive, always online and providing power
Gas generators are used for longer outages but may take a few minutes to get up to speed, so use battery UPS and generator to ensure no downtime
Managed PDU
Managed power distribution unit
Provides intelligent power management and remote control of power delivered inside server racks and other environment
Diversity of technologies
Using different vendors, cryptographic solutions, platforms, and controls can make it more difficult for a single attack or failure to have major impact.
Major cost to this, like additional training, issues when integrating disparate systems, and potential for human error as complexity increases.
RAID
Redundant array of inexpensive disks
A common solution that uses multiple disks with data either striped (spread across disks) or mirrored (copied), and technology to ensure data isn’t corrupted or lost (parity)
Ensures one or more disk failures can be handled by an array without losing data
RAID 0
Striping without parity
Data is spread across all drives in the array
Better I/O (input/output) performance (speed), all capacity used
No fault tolerance, all data lost if a drive is lost
RAID 1
Mirroring
All data is copied exactly to another drive or drives
High read speeds from multiple drives, data available if a drive fails
Uses twice the storage for the same amount of data
RAID 5
Striping with parity
Data is striped across drives, with one drive used for parity (checksum) of the data. Parity is spread across drives as well as data
Data reads are fast, data writes slightly slower. Drive failures can be rebuilt as long as only one drive fails.
Can only tolerate a single drive failure at a time. Rebuilding arrays after a drive loss can be slow and impact performance
RAID 6
Striping with double parity
Like RAID 5 but additional parity is stored on another drive
Like RAID 5 but allows for more than one drive to fail at a time
Slower write performance than RAID 5 as the additional parity data is managed. Rebuilding arrays after a drive loss can be slow and impact performance.
RAID 10
Mirroring and striping
Sometimes written RAID 1+0
Data is striped across two or more drives and then mirrored to the same number of drives
Combines the advantages and disadvantages of both RAID 0 and 1
Combines the advantages and disadvantages of RAID 0 and 1.