Go to main content

Oracle® Solaris Cluster Data Service for Oracle Real Application Clusters Guide

Exit Print View

Updated: April 2016
 
 

How to Remove a Dependency

This procedure shows how to set the offline-restart dependency to remove a dependency.

  1. Assume the root role.
  2. Display the current start dependency that the database has on the Oracle Grid Infrastructure storage_proxy resource.
    # Grid_home/bin/crsctl stat res ora.testdb.db -p | grep START_DEPENDENCIES
    START_DEPENDENCIES=hard(sun.grid-storage-proxy-rs) weak(type:ora.listener.type,
    global:type:ora.scan_listener.type,uniform:ora.ons,uniform:ora.eons)
    
    # clresource show -p resource_dependencies_offline_restart rac-server-proxy-rs
    === Resources ===
    
    Resource: rac-server-proxy-rs
    Resource_dependencies_offline_restart: crs-fw-rs scal-dg1-rs
  3. Remove the offline-restart dependency on the SUNW.ScalDeviceGroup or SUNW.ScalMountPoint resource from the Support for Oracle RAC instance proxy resource.

    This command clears the dependencies that the Oracle Grid Infrastructure database resource has on the Oracle Grid Infrastructure storage_proxy resource. Note that the command includes the minus (-) symbol.

    # clresource set -p resource_dependencies_offline_restart-=scal-dg1-rs rac-server-proxy-rs
  4. Verify that the start dependency on the Oracle Grid Infrastructure resource is removed.
    # Grid_home/bin/crsctl stat res ora.testdb.db -p | grep START_DEPENDENCIES
    START_DEPENDENCIES=weak(type:ora.listener.type,global:type:ora.scan_listener.type,
    uniform:ora.ons,uniform:ora.eons)
    
    # clresource show -p resource_dependencies_offline_restart rac-server-proxy-rs
    
    === Resources ===
    
    Resource: rac-server-proxy-rs
    Resource_dependencies_offline_restart: crs-fw-rs