Skip Navigation Links | |
Exit Print View | |
Oracle Solaris Cluster Data Service for Solaris Containers Guide |
Installing and Configuring HA for Solaris Containers
HA for Solaris Containers Overview
Overview of Installing and Configuring HA for Solaris Containers
Planning the HA for Solaris Containers Installation and Configuration
Restrictions for Zone Network Addresses
Restrictions for an HA Container
Restrictions for a Multiple-Masters Zone
Restrictions for the Zone Path of a Zone
Restrictions on Major Device Numbers in /etc/name_to_major
Dependencies Between HA for Solaris Containers Components
Parameter File Directory for HA for Solaris Containers
Installing and Configuring Zones
How to Enable a Zone to Run in Failover Configuration
How to Enable a Zone to Run in a Multiple-Masters Configuration
How to Install a Zone and Perform the Initial Internal Zone Configuration
Verifying the Installation and Configuration of a Zone
How to Verify the Installation and Configuration of a Zone
Installing the HA for Solaris Containers Packages
How to Install the HA for Solaris Containers Packages
Registering and Configuring HA for Solaris Containers
Specifying Configuration Parameters for the Zone Boot Resource
Writing Scripts for the Zone Script Resource
Specifying Configuration Parameters for the Zone Script Resource
Writing a Service Probe for the Zone SMF Resource
Specifying Configuration Parameters for the Zone SMF Resource
How to Create and Enable Resources for the Zone Boot Component
How to Create and Enable Resources for the Zone Script Component
How to Create and Enable Resources for the Zone SMF Component
Verifying the HA for Solaris Containers and Configuration
How to Verify the HA for Solaris Containers Installation and Configuration
Patching the Global Zone and Non-Global Zones
How to Patch to the Global Zone and Non-Global Zones
Tuning the HA for Solaris Containers Fault Monitors
Operation of the HA for Solaris Containers Parameter File
Operation of the Fault Monitor for the Zone Boot Component
Operation of the Fault Monitor for the Zone Script Component
Tuning the HA for Solaris Containers Stop_timeout property
Choosing the Stop_timeout value for the Zone Boot Component
Choosing the Stop_timeout value for the Zone Script Component
Choosing the Stop_timeout value for the Zone SMF Component
Denying Cluster Services for a Non-Global Zone
Debugging HA for Solaris Containers
How to Activate Debugging for HA for Solaris Containers
A. Files for Configuring HA for Solaris Containers Resources
The HA for Solaris Containers fault monitors verify that the following components are running correctly:
Zone boot resource
Zone script resource
Zone SMF resource
Each HA for Solaris Containers fault monitor is contained in the resource that represents Solaris Zones component. You create these resources when you register and configure HA for Solaris Containers. For more information, see Registering and Configuring HA for Solaris Containers.
System properties and extension properties of these resources control the behavior of the fault monitor. The default values of these properties determine the preset behavior of the fault monitor. The preset behavior should be suitable for most Oracle Solaris Cluster installations. Therefore, you should tune the HA for Solaris Containers fault monitor only if you need to modify this preset behavior.
Tuning the HA for Solaris Containers fault monitors involves the following tasks:
Setting the interval between fault monitor probes
Setting the time-out for fault monitor probes
Defining the criteria for persistent faults
Specifying the failover behavior of a resource
For more information, see Tuning Fault Monitors for Oracle Solaris Cluster Data Services in Oracle Solaris Cluster Data Services Planning and Administration Guide.
The HA for Solaris Containers zone boot and script resources uses a parameter file to pass parameters to the start, stop and probe commands. Changes to these parameters take effect at every restart or enabling, disabling of the resource.
The fault monitor for the zone boot component ensures that the all requirements for the zone boot component to run are met:
The corresponding zsched process for the zone is running.
If this process is not running, the fault monitor restarts the zone. If this fault persists, the fault monitor fails over the resource group that contains resource for the zone boot component.
Every logical hostname that is managed by a SUNW.LogicalHostname resource is operational.
If the logical hostname is not operational, the fault monitor fails over the resource group that contains resource for the zone boot component.
The specified milestone for the native zone brand type is either online or degraded. The specified run level for the lx, solaris8 or solaris9 zone brand type is active.
If the milestone is not online or degraded, or if the specified run level is not active, the fault monitor restarts the zone. If this fault persists, the fault monitor fails over the resource group that contains resource for the zone boot component.
To verify the state of the milestone or run level, the fault monitor connects to the zone. If the fault monitor cannot connect to the zone, the fault monitor retries every five seconds for approximately 60% of the probe time-out. If the attempt to connect still fails, then the fault monitor restarts the resource for the zone boot component.
The fault monitor for the zone script component runs the script that you specify for the component. The value that this script returns to the fault monitor determines the action that the fault monitor performs. For more information, see Table 3.
The fault monitor for the zone SMF component verifies that the SMF service is not disabled. If the service is disabled, the fault monitor restarts the SMF service. If this fault persists, the fault monitor fails over the resource group that contains the resource for the zone SMF component.
If the service is not disabled, the fault monitor runs the SMF service probe that you can specify for the component. The value that this probe returns to the fault monitor determines the action that the fault monitor performs. For more information, see Table 4.