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
# # Copyright 2012 Oracle Corporation. All rights reserved. # Use is subject to license terms. # # ident "@(#)sczbt_config 1.5 08/04/17" # # 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 resource # RG - Name of the resource group containing RS # PARAMETERDIR - Name of the parameter file direcrory # SC_NETWORK - Identifies if SUNW.LogicalHostname will be used # true = zone will use SUNW.LogicalHostname # false = zone will use it's own configuration # # NOTE: If the ip-type keyword for the non-global zone is set # to "exclusive", only "false" is allowed for SC_NETWORK # # The configuration of a zone's network addresses depends on # whether you require IPMP protection or protection against # the failure of all physical interfaces. # # If you require only IPMP protection, configure the zone's # addresses by using the zonecfg utility and then place the # zone's address in an IPMP group. # # To configure this option set # SC_NETWORK=false # SC_LH=Name of the SC Logical Hostname resource # # If IPMP protection is not required, just configure the # zone's addresses by using the zonecfg utility. # # To configure this option set # SC_NETWORK=false # SC_LH=Name of the SC Logical Hostname resource # # If you require protection against the failure of all physical # interfaces, choose one option from the following list. # # - If you want the SUNW.LogicalHostName resource type to manage # the zone's addresses, configure a SUNW.LogicalHostName # resource with at least one of the zone's addresses. # # To configure this option set # SC_NETWORK=true # SC_LH=Name of the SC Logical Hostname resource # # - Otherwise, configure the zone's addresses by using the # zonecfg utility and configure a redundant IP address # for use by a SUNW.LogicalHostName resource. # # To configure this option set # SC_NETWORK=false # SC_LH=Name of the SC Logical Hostname resource # # Whichever option is chosen, multiple zone addresses can be # used either in the zone's configuration or using several # SUNW.LogicalHostname resources. # # e.g. SC_NETWORK=true # SC_LH=zone1-lh1,zone1-lh2 # # SC_LH - Name of the SC Logical Hostname resource # 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 HAStoragePlus SC resource # RS= RG= PARAMETERDIR= SC_NETWORK= SC_LH= 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" (default) or "solaris10" # 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 # "solaris" Zonebrand. # LXrunlevel Runlevel which needs to get reached before the zone is # considered booted. This option is only used for the "lx" # Zonebrand. # SLrunlevel Solaris legacy runlevel which needs to get reached before the # zone is considered booted. This option is only used for the # "solaris8" or "solaris9" 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. # # 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 Solaris Cluster. # Zonename="" Zonebrand="solaris" Zonebootopt="" Milestone="multi-user-server" LXrunlevel="3" SLrunlevel="3" Mounts=""