Go to main content

Oracle® Solaris Cluster Data Service for Oracle VM Server for SPARC Guide

Exit Print View

Updated: June 2017
 
 

SPARC: How to Configure Oracle VM Server for SPARC to Reset for Control Domain Failures

The failure policy settings on the primary domain determine the action to be taken on the logical domain when there is a primary domain failures. When configured to failure-policy=reset, the logical domain would panic when the primary domain fails. If the failure policy is not set to reset on all the primary domains, the resource creation would fail. You must set the master-slave domain dependency and auto-boot? variable to appropriate values. Perform the following steps on the node where the ldg0 logical domain is created:

  1. Set the domain failure policy to reset.
    # ldm set-domain failure-policy=reset primary
    # ldm list -o domain primary
    NAME             STATE      FLAGS   UTIL
    primary          active       -n-cv-      0.6%
    
    SOFTSTATE
    Solaris running
    
    HOSTID
    0x84d4a2ce
    
    CONTROL
    failure-policy=reset
    
    DEPENDENCY
    master=
  2. Configure the master-slave domain dependency.
    # ldm set-domain master=primary ldg0
  3. Set the auto-boot? variable to false.
    # ldm set-var auto-boot?=false ldg0
    # ldm list -o domain ldg0
    NAME             STATE      FLAGS   UTIL
    ldg0             active     n---  0.1%
    
    SOFTSTATE
    Solaris running
    
    HOSTID
    0x84f8a040
    
    CONTROL
    failure-policy=reset
    
    DEPENDENCY
    master=primary
    
    VARIABLES
    auto-boot?=false
    boot-device=vdisk1
    keyboard-layout=US-English