Sun Cluster Data Service for Agfa IMPAX Guide for Solaris OS

ProcedureHow to Register and Configure Sun Cluster HA for Agfa IMPAX as a Failover Data Service

  1. Add an impaxscripts resource.

    This resource allows Sun Cluster to perform certain tasks before Oracle starts and to clean up afterward if necessary.

    1. Edit the registration configuration file /opt/SUNWscpax/impaxscripts/util/impaxscripts_config and change the resource and resource group names according to your configuration.

      The following shows the contents of the impaxscripts_config file. If they are appropriate to your configuration, you can use the default values for RS and RG.

      # These parameters can be customized in (key=value) form
          #        RS - name of the resource for the application
          #        RG - name of the resource group containing RS
          #      PORT - name of the port number
          #        LH - name of the LogicalHostname SC resource
          #    HAS_RS - name of the HAStoragePlus SC resource
    2. Verify that the /opt/SUNWscpax/impaxscripts/etc/config configuration file contains the correct variable settings.

      These variables are provided by the Agfa IMPAX installation. They should read as follows:

      # default userid for impax installations
    3. Create the resource and register it in the cluster by gaining root access and using the impaxscripts_register utility.

      # /opt/SUNWscpax/impaxscripts/util/impaxscripts_register

      If this utility fails, return to Step b and verify that the configuration file is correct.

  2. Register the SUNW.gds resource type.

    # scrgadm -a -t SUNW.gds
  3. Register the SUNW.HAStoragePlus resource type.

    # scrgadm -a -j ora-ds -t SUNW.HAStoragePlus -

    The logical name for the Oracle database

  4. Create an HAStoragePlus resource for the file system on which the database files reside.

    # scrgadm -a -j ora-ds -t SUNW.HAStoragePlus -g impax-rg \ 
    -x FileSystemMountPoints=/dbase, /cache1
  5. To optimize the data path, manage the global file system in the same manner as you manage the disk groups.

    This approach makes the system local to the base services, although the files are available on both nodes.

    # scrgadm -a -t SUNW.HAStoragPlus -x FileSystemMountPoints=/global/export
  6. Edit the /opt/SUNWscpax/impaxapp/util/impax_config file to match the following:

    • your configuration

    • the name of your resource group, as specified in Step 1.

    • your dependencies

  7. Register the resource in the cluster framework by using the impax_register utility.

    # /opt/SUNWscpax/impaxapp/util/impax_register