The steps below are an outline of how to setup an Mac Mini (or Mac Pro) with OS-X Lion Server that has two or more drives.

|
The steps outlined are similar if you have a Mac Mini or Mac Pro running OSX 10.6.x or earlier. You will have and install DVD and can do most of the steps without connecting to the internet.
|
The general process to prepare such as machine for optimal performance is:
- Stripe the drives
- re-install lion server
- Install Postgres as normal.
- Restore a database to that server
The steps have a degree of technical complexity and assume you are able to interpret and adapt to variations in the process yourself.
Striping a Mac with two or more drives under Lion
Since Lion does not come with any install disks, you will need to follow a special procedure to stripe the drives on a lion servers as follows:
- Make a backup of any data on the computer that you deem important if you have been using it for a while
- Connect the Mac Mini/Mac Pro to the internet, a monitor and keyboard. The internet is important as it will be required to restore the operating system.
- restart the mac with the Apple and R keys held down. This will boot from the internal lion partition on the drive.
- When the machine responds with the OS-X operating system installer screen, select the language of your choice and begin the install
- The next screen will be the utilities window. Select Disk Utility and:
- After selecting a drive, click on the the 'RAID' tab.
- Select 'STRIPED RAID SET' for the 'RAID Type' prompt. The default is a mirrored drive set, so be careful otherwise you might end up starting over.
- Drag both drives into the Raid Stripe and verify that the estimated size of the RAID set is the total of both drives.
- Create the Raid Striped Set.
- After confirming you want to do this, partition utility will bring the raid array back online.
- Quit 'Disk Utility'
- On the main window, you should now select 'Reinstall Mac OSX Lion' (optionally, you could restore from a time machine backup). Follow any/all prompts and reinstall Lion. It may say that file vault or some other features are disabled. So be it -- its the price of gaining a lot of performance from the dual drive server.
- The download from the Apple web site may take a while, so let the installer do its thing.
Post Installation Steps