The /opt/SUNWsczone/zone component/util directory contains files that automate the process of configuring HA for Solaris Zones resources. Listings of these files are provided in the following sections:
# # Copyright (c) 2006, 2016, Oracle and/or its affiliates. All rights reserved. # # # ident "@(#)sczbt_config 1.15 16/06/21" # # This file will be sourced in by sczbt_register and the parameters # listed below will be used. # # These parameters can be customized in (key=value) form # # RS - Name of the sczbt resource # RG - Name of the resource group containing the sczbt resource RS # FAILOVER - Identifies if the zone's zone path is on a # highly available local file system # # e.g. FAILOVER=true - highly available local file system # FAILOVER=false - local file system # # HAS_RS - Name of the SUNW.HAStoragePlus resource (or any other # cluster resource providing HA storage used by the zone). # If set, the sczbt_register script will list the # resource within the Resource_dependencies_offline_restart # property of the sczbt resource. # RS= RG= FAILOVER= HAS_RS= # # The following variable will be placed in the parameter file # # Parameters for sczbt (Zone Boot) # # Zonename Name of the zone # Zonebrand Brand of the zone. Current supported options are # "solaris" or "solaris-kz". # Zonebootopt Zone boot options ("-s" requires that Milestone=single-user) # Milestone SMF Milestone which needs to be online before the zone is # considered booted. This option is only used for the # "native", "solaris10", "solaris" or "solaris-kz" Zonebrand. # Mounts Mounts is a list of directories and their mount options, # which are loopback mounted from the global zone into the # newly booted zone. The mountpoint in the local zone can # be different to the mountpoint from the global zone. # # This option cannot be used with the "solaris-kz" Zonebrand. # # The Mounts parameter format is as follows, # # Mounts="/<global zone directory>:/<local zone directory>:<mount options>" # # The following are valid examples for the "Mounts" variable # # Mounts="/globalzone-dir1:/localzone-dir1:rw" # Mounts="/globalzone-dir1:/localzone-dir1:rw /globalzone-dir2:rw" # # The only required entry is the /<global zone directory>, the # /<local zone directory> and <mount options> can be omitted. # # Omitting /<local zone directory> will make the local zone # mountpoint the same as the global zone directory. # # Omitting <mount options> will not provide any mount options # except the default options from the mount command. # # Note: You must manually create any local zone mountpoint # directories that will be used within the Mounts variable, # before registering this resource within Oracle Solaris # Cluster. # # Migrationtype Defines the type of migration that should be used for a # configured Oracle Solaris kernel zone. Values for Migrationtype # can be "cold", "warm" and "live". # # With Migrationtype=cold, the Oracle Solaris kernel zone is # shut down on the current running node and freshly booted on the # new node, when the resource group performs a failover or # switchover. # # With Migrationtype=warm, the Oracle Solaris kernel zone is # suspended on the current running node and booted from the # suspended image on the new node, when the resource group # performs a switchover. # # With Migrationtype=live, the Oracle Solaris kernel zones is live # migrated from the current node to the new node, when the # resource group performs a switchover to a new node. # # If the sczbt probe indicates a problem, the Oracle Solaris # kernel zone is restared, similar to the case where # Migrationtype=cold is set. # # This option is only used with the "solaris-kz" branded zone. # Zonename="" Zonebrand="solaris" Zonebootopt="" Milestone="svc:/milestone/multi-user-server" Mounts="" Migrationtype="cold"