Skip Navigation Links | |
Exit Print View | |
![]() |
Oracle Solaris Cluster Data Service for Solaris Containers Guide Oracle Solaris Cluster |
1. Installing and Configuring HA for Solaris Containers
A. Files for Configuring HA for Solaris Containers Resources
# # Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # # ident "@(#)sczsmf_config 1.1 06/02/22 SMI" # # This file will be sourced in by sczsmf_register and the parameters # listed below will be used. # # These parameters can be customized in (key=value) form # # RS - Name of the resource # RG - Name of the resource group containing RS # SCZBT_RS - Name of the SC Zone boot resource # ZONE - Name of the Zone # # For SERVICE, RECURSIVE and STATE, refer to the svcadm(1M) # man page # # SERVICE - {FMRI | pattern} # FMRI - Fault management resource identifier # pattern - Pattern matching a service # # RECURSIVE - {false | true} Default: true # False - Just enable the service and no dependents # True - Enable the service and recursively enable # its dependents # # RECURSIVE=true equates to svcadm enable "-r" # # STATE - {false | true} Default: true # False - Do not wait until service state is reached # True - Wait until service state is reached # # STATE=true equates to svcadm enable/disable "-s" # # SERVICE_PROBE - Script to check the SMF service # # The optional parameter, SERVICE_PROBE, provides the # ability to check that the SMF service is working. # This must be a script within the zone and must # adhere to these return codes, # # 0 - The SMF service is working # 100 - The SMF service should be restarted # 201 - The SMF service should initiate a failover of # the Resource Group # # Note: That return code 201, requires that this resource # has an appropriate extension property value for # FAILOVER_MODE and FAILOVER_ENABLED=TRUE # # For FAILOVER_MODE refer to the r_properties(5) man page. # RS= RG= SCZBT_RS= ZONE= SERVICE= RECURSIVE=true STATE=true SERVICE_PROBE=""