Oracle® Solaris Cluster Data Service for Oracle Solaris Zones Guide

Exit Print View

Updated: July 2014, E39657-01
 
 

Configuration Requirements

The configuration requirements in this section apply only to HA for Solaris Zones.


Caution

Caution  -  If your data service configuration does not conform to these requirements, the data service configuration might not be supported.


Dependencies Between HA for Solaris Zones Components

The dependencies between the HA for Solaris Zones components are described in the following table:

Table 1-2  Dependencies Between HA for Solaris Zones Components
Component
Dependency
Zone boot resource (sczbt)
SUNW.HAStoragePlus - In a failover configuration for a non-global zone, the zone's zone path must be on a highly available file system managed by a SUNW.HAStoragePlus resource
SUNW.HAStoragePlus - In a failover configuration for a kernel zone, the SUNW.HAStoragePlus resource is used to monitor the storage devices configured as a boot device or as a suspend device. If the boot device points to a zvol, then the corresponding zpool is managed by SUNW.HAStoragePlus. Similarly, if the suspend device is specified to point to a path, then the storage resource managing the corresponding highly available file system is specified as the resource dependency.
SUNW.LogicalHostName - This dependency is required only if the zone's address is managed by a SUNW.LogicalHostName resource and the ip-type is set to shared
Zone script resource (sczsh)
Zone boot resource
Zone SMF resource (sczsmf)
Zone boot resource

These dependencies are set when you register and configure HA for Solaris Zones. For more information, see Registering and Configuring HA for Solaris Zones.

The sczbt_register script defines a resource dependency of type Resource_dependencies_offline_restart as follows:

  • If you set the SC_LH variable within the sczbt_config file, then the Resource_dependencies_offline_restart property of the sczbt component will contain the SUNW.LogicalHostname resource name as set with the SC_LH variable.

  • If you set the HAS_RS variable within the sczbt_config file, then the Resource_dependencies_offline_restart property of the sczbt component will contain the storage resource name as set with the HAS_RS variable.

When you configure a solaris-kz brand zone for warm migration, where the suspend image is hosted on a file system managed by HASP or on any other cluster resource managing that file system, you need to set HAS_RS to the corresponding resource name. This will ensure that the resource dependency to the storage resource is setup when the sczbt resource is getting registered.

The zone script resource and SMF resource are optional. If used, multiple instances of the zone script resource and SMF resource can be deployed within the same resource group as the zone boot resource. Furthermore, if more elaborate dependencies are required then refer to the r_properties (5) and rg_properties (5) man pages for further dependencies and affinities settings.

If the sczbt component is configured for a kernel zone with Migrationtype=warm set, it will still perform the start and stop operations on the corresponding services that are managed by the sczsh or the sczsmf component. If you need to have all the services running within the kernel zone during warm migration, then do not configure the sczsh or the sczsmf component for those services.