VERITAS Storage Foundation 4.1 for Oracle RAC HP Serviceguard Storage Management Suite Extracts, December 2005

Setting Up the SFRAC Storage Checkpoint Feature for Use
2. Create and mount a file system for the database repository. In this example, the shared
file system ckptrepvol1 with a size of 300 Megabytes is created and mounted at the
mount point ckptrep. The repository directory is /ckptrep/test.
# vxdg -s init ckptrepdg c2t3d0
# vxassist -g ckptrepdg make ckptrepvol1 300m
# vxdg -g ckptrepdg set activation=sw
# mkfs -F vxfs /dev/vx/rdsk/ckptrepdg/ckptrepvol1
# mount -F vxfs -o cluster /dev/vx/dsk/ckptrepdg/ckptrepvol1 \
/ckptrep
# mkdir /ckptrep/test
To set ownership of repository directory
On the system where the instance is running, set the ownership of the repository
directory:
# chown oracle:dba /ckptrep/test
To set the permissions of the repository directory and create a locks directory
1. Log in as oracle user.
2. As user oracle, set the permissions for the repository directory:
$ chmod 777 /ckptrep/test
3. Create a locks directory in the repository:
$ mkdir /ckptrep/test/locks
To create Storage Checkpoints
1. Making sure that the instance is running, set the PATH and VXDBA_DBPATH
environment variables:
$ export PATH=$PATH:/opt/VRTSdbckp/bin
$ export VXDBA_DBPATH=/ckptrep/test
2. Run the sfrac_update command to create the repository:
$ sfrac_update -S db12 -H /oracle/92064/orahome
See “Creating or Updating The Repository Using sfrac_update on page 143 for more
information about the sfrac_update command.
3. Create the checkpoint:
$ sfrac_ckptcreate -S db12 -H /oracle/92064/orahome -o online
See also “Creating Storage Checkpoints Using sfrac_ckptcreate” on page 144.
134 VERITAS Storage Foundation for Oracle RAC Installation and Configuration Guide