Symantec logo
Taking the Oracle resources offline

If only the Oracle 10g instances are under VCS control, you must take the Oracle resources offline.

 To take the Oracle resources offline

  1. Log in as superuser.
  2. On each node, take the Oracle resources in the VCS configuration file (main.cf) offline.

    # hagrp -offline oracle_group -sys node_name

    For example:

    # /opt/VRTSvcs/bin/hagrp -offline Oracle1 -sys galaxy

    # /opt/VRTSvcs/bin/hagrp -offline Oracle1 -sys nebula

    These commands stop the Oracle resources under VCS control running on the specified nodes.

  3. On each node, take the CSSD resources in the VCS configuration file (main.cf) offline.

    # hares -offline cssd_resource -sys node_name

    For example:

    # hares -offline cssd-resource1 -sys galaxy

    # hares -offline cssd-resource1 -sys nebula

    These commands stop the CSSD resources under VCS control running on the specified nodes.

  4. Verify the state of the Oracle and CVM service groups.

    # /opt/VRTSvcs/bin/hagrp -state

    #Group Attribute System Value

    Oracle1 State galaxy |OFFLINE|

    Oracle1 State nebula |OFFLINE|

    cvm State galaxy |ONLINE|

    cvm State nebula |ONLINE|