01 Create PADSTOW System

Procedure

Overview

The PADSTOW has a similar structure to that of PENRITH1 except that all of the shared disks are really raw devices on a local disk.

UDEV Configuration

The following lines are added to /etc/udev/rules.d/60-raw.rules :

# OCR
ACTION=="add", KERNEL=="sdc1", RUN+="/bin/raw /dev/raw/raw1 %N", OWNER="root", GROUP="oinstall", MODE="0660"
ACTION=="add", KERNEL=="sdc2", RUN+="/bin/raw /dev/raw/raw2 %N", OWNER="root", GROUP="oinstall", MODE="0660"
# Voting Disks
ACTION=="add", KERNEL=="sdc3", RUN+="/bin/raw /dev/raw/raw3 %N", OWNER="crs", GROUP="oinstall", MODE="0660"
ACTION=="add", KERNEL=="sdc5", RUN+="/bin/raw /dev/raw/raw4 %N", OWNER="crs", GROUP="oinstall", MODE="0660"
ACTION=="add", KERNEL=="sdc6", RUN+="/bin/raw /dev/raw/raw5 %N", OWNER="crs", GROUP="oinstall", MODE="0660"
# ASM Disks
ACTION=="add", KERNEL=="sdc7", RUN+="/bin/raw /dev/raw/raw6 %N", OWNER="asm", GROUP="asmdba", MODE="0660"
ACTION=="add", KERNEL=="sdc8", RUN+="/bin/raw /dev/raw/raw7 %N", OWNER="asm", GROUP="asmdba", MODE="0660"

This does the raw device mapping and the setting of the permissions.