Site icon Ron Ekins' – Oracle Technology, DevOps and Kubernetes Blog

Oracle 18c Grid Infrastructure installation on NFS

Background

Knowing not many people get the chance to experience Oracle on Enterprise NFS storage, and being a long time fan, I thought it was about time I documented the steps to install Oracle 18c Grid Infrastructure on NFS.

Preparation

[root@z-oracle1 ~]# cd /u01/app/18.0.0/grid/cv/rpm
[root@z-oracle1 rpm]# ls
cvuqdisk-1.0.10-1.rpm

[root@z-oracle1 rpm]# rpm -ivh cvuqdisk-1.0.10-1.rpm
Preparing… ################################# [100%]
Updating / installing…
1:cvuqdisk-1.0.10-1 ################################# [100%]

18c Grid Infrastructure installation

Confirm ‘grid’ owner groups.

[grid@z-oracle1 grid]$ id grid

uid=54331(grid) gid=1001(dba) groups=1001(dba),54321(oinstall),54333(asmdba),54334(asmoper),54335(asmadmin),54336(racdba)

Create 18c Grid Infrastructure Oracle Base, Home and admin directories e.g.

[grid@z-oracle1 ~]$mkdir -p /u01/app/18.0.0/grid
[grid@z-oracle1 ~]$mkdir /u01/app/grid

Launch installer from terminal capable of starting X session.

[grid@z-oracle1 grid]$ cd $GRID_HOME
[grid@z-oracle1 grid]$ ./gridSetup.sh

Select Clustered, non-clustered or software only installation, in this Blog post I will be creating a New Cluster.

Enter your Cluster Name and DNS resolvable SCAN Name to 3 IP addresses, this confirmed by performing an nslookup test. e.g

[root@z-fbhost3 grid]# nslookup z-fbhost-scan
Server: 10.225.112.2
Address: 10.225.112.2#53

Name: z-fbhost-scan.uklab.purestorage.com
Address: 10.225.112.23
Name: z-fbhost-scan.uklab.purestorage.com
Address: 10.225.112.22
Name: z-fbhost-scan.uklab.purestorage.com
Address: 10.225.112.21

Use the Add a range of nodes, if your servers follow are sequential e.g. z-fbhost[2-4] will generate 3 hosts named z-fbhost2, z-fbhost3, and z-fbhost4.

From Oracle 18c we can now specify an NFS location without having to create an empty device file with ‘dd’.

Enter your shared NFS directory, ensuring it’s mounted on every node within the cluster at same mount point.

From now on the installation is the same as non-NFS installation, which you can check out at on my previous post Oracle 18c Grid Infrastructure installation.

If you change directory to the NFS directory specified above you should now see our newly created OCR (Oracle Cluster Registry) voting disk ocrvfdgdisk0.

[root@z-fbhost1] #ls -lh
total 28G
-rw-rw---- 1 grid asmadmin 28G Apr  2 16:12 ocrvfdgdisk0

[twitter-follow screen_name=’RonEkins’ show_count=’yes’]

Exit mobile version