RAC 12c installation on OEL
Installation
This is not intended to be a full guide.
Minimum requirements votings disks when storing them on ASM using external redundancy: At least 1 300MB volume for the voting disk and at least 1 300MB volume for the OCR.
# Create volumes
lvcreate -L 300M -n tomora-vote /dev/vg0
lvcreate -L 300M -n tomora-ocr /dev/vg0
# Export them as iscsi LUNs
tgtadm --lld iscsi --mode target --op new --tid=2 --targetname iqn.2007-01.be.hacks:tomora
tgtadm --lld iscsi --mode logicalunit --op new --tid 2 --lun 1 -b /dev/vg0/tomora-vote
tgtadm --lld iscsi --mode logicalunit --op new --tid 2 --lun 2 -b /dev/vg0/tomora-ocr
tgtadm --lld iscsi --mode target --op bind --tid 2 -I ALL
tgtadm --
# Save iscsi config:
tgt-admin --dump > /etc/tgt/targets.conf
# Mount them on the rac nodes:
# Discover target:
iscsiadm -m discovery -t st -p <ip> -P 1
# Add targets:
iscsiadm -m node -T iqn.2007-01.be.hacks:tomora [-p <ip[:port]>] -l
# Add target to auto-startup:
iscsiadm -m node -T iqn.2007-01.be.hacks:tomora [-p <ip[:port]>] -o update -n node.startup -v automatic
Install some useful utilities:
yum install nfs-utils xauth libXp libXtst