Sun Cluster 2.2 Software Installation Guide

10.7.1 How to Set a Data Service Dependency for SAP

To set a data service dependency, issue one of the hasap_dbms commands described below.


Note -

The hasap_dbms command can be used only when Sun Cluster HA for SAP is registered but is in the off state. Run the command on only one node, while that node is a member of the cluster. See the hasap_dbms(1M) man page for more information.



Caution - Caution -

If the hasap_dbms(1M) command returns an error stating that it cannot add rows to or update the CCD, it might be because another cluster utility is also trying to update the CCD. If this occurs, re-run hasap_dbms(1M) until it runs successfully. After the hasap_dbms(1M) command runs successfully, verify that all necessary rows are included in the resulting CCD by running the command hareg -q sap.

If the hareg(1M) command returns an error, then first restore the original method timeouts by running the command hasap_dbms -f. Second, restore the default dependencies by running the command hasap_dbms -r. After both commands complete successfully, retry the original hasap_dbms(1M) command to configure new dependencies and method timeouts. See the hasap_dbms(1M) man page for more information.


  1. Set the data service dependency using one of the following commands.

    If you are using only Sun Cluster HA for NFS and Sun Cluster HA for SAP on the same logical host, use the following command:

    # /opt/SUNWcluster/ha/sap/hasap_dbms -d nfs
    

    If you are using only Sun Cluster HA for Oracle and Sun Cluster HA for SAP on the same logical host, use the following command:

    # /opt/SUNWcluster/ha/sap/hasap_dbms -d oracle
    

    If you are using Sun Cluster HA for Oracle, Sun Cluster HA for NFS, and Sun Cluster HA for SAP on the same logical host, use the following command:

    # /opt/SUNWcluster/ha/sap/hasap_dbms -d oracle,nfs
    
  2. Check the dependencies set for Sun Cluster HA for SAP using the following command:

    # hareg -q sap -D