Why ?
Simply we will be requested to install Oracle Grid RAC DB on Redhat RHEL 8, below is my note for this installation.
How ?
1- OS installed + asm disks by servers admin
Done By OS and VM team
Ensure: secure boot not working for grid
# mokutil --sb-state
2- Install packages:
3- setup ASMLIB:
## linux disks for redhat :
https://access.redhat.com/
https://labmice.in/oraclerac/
OL8/RHEL8: ASMLib: root.sh is failing with CRS-1705: Found 0 Configured Voting Files But 1 Voting Files Are Required (Doc ID 2789052.1)
yum install kmod-oracleasm
yum localinstall libbpf-0.6.0-6.el8.x86_64.rpm
yum localinstall oracleasmlib-2.0.12-1.el7.x86_
yum localinstall oracleasm-support-2.1.11-2.
lsblk
parted /dev/sde --script mklabel gpt mkpart primary 0% 100%
sudo oracleasm configure -i
sudo systemctl enable --now oracleasm
sudo oracleasm createdisk data1 /dev/sde1
sudo oracleasm scandisks
oracleasm listdisks
4- setup DNS records
**3 IPs for scan
** 2 IPs for vir ( added to hosts )
** hosts in DNS
5- creat directories and user for Grid
create user/groups
groupadd -g 54321 oinstall
groupadd -g 54329 asmadmin
groupadd -g 54327 asmdba
groupadd -g 54328 asmoper
groupadd -g 54322 dba
groupadd -g 54323 oper
groupadd -g 54324 backupdba
groupadd -g 54325 dgdba
groupadd -g 54326 kmdba
groupadd -g 54330 racdba
useradd -u 54321 -g oinstall -G dba,asmdba,backupdba,dgdba,
useradd -u 54331 -g oinstall -G dba,asmdba,backupdba,dgdba,
echo "oracle123" | passwd --stdin oracle
echo "grid123" | passwd --stdin grid
## create directories
mkdir -p /u01/app/19.0.0/grid
mkdir -p /u01/app/grid
chown -R grid:oinstall /u01
chmod -R 775 /u01/
## etc hosts on both nodes
#Virtual IPs:
x.x.x.x <hostname1>-vip <hostname1>-vip.<domain>
x.x.x.x <hostname2>-vip <hostname2>-vip.<domain>
6- unzip home and apply patch during the instllation:
## patch GRID_HOME with latest page during the installation ** make sure to update OPatch version
./gridSetup.sh -applyRU /u01/patches/34762026
/u01/app/19.0.0/grid/
No comments:
Post a Comment