Oracle® Solaris Cluster Data Service for Oracle Solaris Zones Guide

Exit Print View

Updated: July 2014, E39657-01
 
 

Registering and Configuring HA for Solaris Zones

Before you perform this procedure, ensure that the HA for Solaris Zones data service packages are installed.

Use the configuration and registration files in the following directories to register the HA for Solaris Zones resources:

  • /opt/SUNWsczone/sczbt/util

  • /opt/SUNWsczone/sczsh/util

  • /opt/SUNWsczone/sczsmf/util

The files define the dependencies that are required between the HA for Solaris Zones components. For information about these dependencies, see Dependencies Between HA for Solaris Zones Components.

The register script for each component reads the component configuration file and registers the resource types, ORCL.ha-zone_sczbt, ORCL.ha-zone_sczsh, and ORCL.ha-zone_sczsmf. The register script does not register the pure generic data service based resources. The variables for each component configuration file need to get defined as extension properties within the new resource types. The register script reads the variables from the components configuration file and relates them to the corresponding resource properties upon registration.

Registering and configuring HA for Solaris Zones involves the tasks that are explained in the following sections:

  1. Specifying Configuration Parameters for the Zone Boot Resource

  2. Writing Scripts for the Zone Script Resource

  3. Specifying Configuration Parameters for the Zone Script Resource

  4. Writing a Service Probe for the Zone SMF Resource

  5. Specifying Configuration Parameters for the Zone SMF Resource

  6. How to Create and Enable Resources for the Zone Boot Component

  7. How to Create and Enable Resources for the Zone Script Component

  8. How to Create and Enable Resources for the Zone SMF Component