Skip Navigation Links | |
Exit Print View | |
![]() |
Oracle Solaris Cluster Data Service for Oracle Solaris Zones Guide Oracle Solaris Cluster 4.0 |
1. Installing and Configuring HA for Solaris Zones
Overview of Installing and Configuring HA for Solaris Zones
Planning the HA for Solaris Zones Installation and Configuration
Restrictions for Zone Network Addresses
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 Zones Components
Parameter File Directory for HA for Solaris Zones
Installing and Configuring Zones
How to Enable a Zone to Run in a 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 Zones Package
How to Install the HA for Solaris Zones Package
Registering and Configuring HA for Solaris Zones
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 Zones and Configuration
How to Verify the HA for Solaris Zones Installation and Configuration
Upgrading Non-Global Zones Managed by HA for Oracle Solaris Zones
Tuning the HA for Solaris Zones Fault Monitors
Operation of the HA for Solaris Zones Parameter File
Operation of the Fault Monitor for the Zone Boot Component
Operation of the Fault Monitor for the Zone Script Component
Operation of the Fault Monitor for the Zone SMF Component
Tuning the HA for Solaris Zones Stop_timeout property
Choosing the Stop_timeout value for the Zone Boot Component
Choosing the Stop_timeout value for the Zone Script Component
Denying Cluster Services for a Non-Global Zone
Debugging HA for Solaris Zones
How to Activate Debugging for HA for Solaris Zones
The HA for Solaris Zones components consist all of the resource type SUNW.gds(5). As described in Stop_command Property in Oracle Solaris Cluster Data Services Developer’s Guide, the value for the Stop_timeout should be chosen so that the Stop_command can successfully return within 80% of its value.
The stop method for the zone boot component spends 60% of the value for the Stop_timeout performing a complete "zoneadm -z zonename shutdown" for the zone. If that failed, the next 20% of the value for the Stop_timeout will be spent halting the zone performing a "zoneadm —z zonename halt" and perform some additional cleanup steps in order to force the zone into the state installed. Therefore the Stop_timeout value for the zone boot component should be computed so that 60% is enough to successfully shutdown the zone.
The stop method for the zone script component calls the command or script configured for the ServiceStopCommand keyword. Therefore the Stop_timeout value for the zone script component should be computed so that 80% is enough for the configured ServiceStopCommand to succeed.
The stop method for the zone SMF component spends 60% of the value for the Stop_timeout using svcadm to disable the configured SMF service in the zone. If that failed, the next 20% of the value for the Stop_timeout will be spent to first send SIGTERM then SIGKILL to the processes associated with this SMF service. Therefore the Stop_timeout value for the zone SMF component should be computed so that 60% is enough to successfully disable the configured SMF service in the zone.