Difference between revisions of "RAC 12c installation on OEL"

From Tom's notes
Jump to navigation Jump to search
(Created page with "=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...")
 
Line 27: Line 27:
 
# Add target to auto-startup:
 
# 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
 
iscsiadm -m node -T iqn.2007-01.be.hacks:tomora [-p <ip[:port]>] -o update -n node.startup -v automatic
 +
</source>
 +
 +
 +
Install some useful utilities:
 +
<source lang="sh">
 +
yum install nfs-utils xauth libXp libXtst
 
</source>
 
</source>

Revision as of 00:34, 8 May 2016

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