My Oracle Support Banner

How to configure Oracle Linux to be highly available using RAID1 (software RAID) (Doc ID 759260.1)

Last updated on AUGUST 04, 2018

Applies to:

Linux OS - Version 2.4 to 2.6
Linux x86-64
Linux x86

Goal

This article describes how to configure an Oracle Linux System to be highly available using RAID1.
The article is intended for Linux System Administrators.

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
 1. Original System Configuration
 2. Add Second Hard Disk
 3. Partition Second Hard Disk
 4. Modify Secondary Disk Partitions to Type RAID
 5. Create RAID1 Arrays on Second Disk
 6. Taking a Closer Look at RAID Devices
 7. RAID Configuration
 8. Create Filesystems/Swap Devices on RAID devices
 9. Backup Current System Configuration
 10. Mount Filesystems on RAID Devices
 11. Optionally mount/swapon filesystems/swap device on RAID devices as their non-RAID devices
 12. Modify fstab to Use RAID Devices
 13. Add Failback title to grub.conf
 14. Remake Initial RAM Disk (One of Two)
 15. Copy Contents of Non-RAID filesystems to RAID filesystems
 16. Install/Reintall GRUB
 17. Reboot the System (Degraded Array)
 18. Modify Primary Disk Partitions to Type RAID
 19. Add Primary Disk Partitions to RAID Arrays
 20. Modify grub.conf
 21. Remake Initial RAM Disk (Two of Two)
 22. Testing
 22.1 Test - persistent mount on degraded array (/dev/sdb software failed))
 22.2 Test - boot into degraded array (/dev/sdb software removed)
 22.3 Test - boot into degraded array (/dev/sdb software removed)
 22.4 Test - boot into degraded array (/dev/sda physically removed)
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.