Preparing storage for Oracle binary and data files
Before installing Oracle9i on local hard disks of each node, you must create disk group, volume, and mount points on each node that would be a part of the cluster.
Creating disk group, volume, and mount points for Oracle binaries
Perform the following steps in each node in the cluster. The example procedure assumes the node as galaxy.
To create disk group, volume, and mount points for Oracle
-
Log in as superuser on one node.
-
On one node, create a disk group.
galaxy> # vxdg init orabindg_galaxy c4t0d2
-
Create the volume in the group.
galaxy> # vxassist -g orabindg_galaxy make orabinvol_galaxy 5000M
For the Oracle9i Release 2 binaries, make the volume 5,000 MB.
-
Create a VxFS file system on or_vol to install the Oracle9i binaries. For example:
galaxy> # mkfs -F vxfs -o largefiles /dev/vx/rdsk/orabindg_galaxy/orabinvol_galaxy
-
Create the mount point for the file system.
galaxy> # mkdir /app/oracle/orahome
-
Mount the file system using the device file for the block device.
galaxy> # mount -F vxfs /dev/vx/dsk/orabindg_galaxy/orabinvol_galaxy /oracle
-
Edit the /etc/fstab file and list the new file system. For example:
/dev/vx/dsk/orabindg_galaxy/orabinvol_galaxy /app/oracle/
orahome vxfs delaylog 0 1
-
Assign ownership of the Oracle directory to oracle:
galaxy> # chown -R oracle:dba //app/oracle/orahome
galaxy> # chmod 775 //app/oracle/orahome
-
Repeat step 1 through step 8 on the other nodes.