New xvm_config
  1 #
  2 # CDDL HEADER START
  3 #
  4 # The contents of this file are subject to the terms of the
  5 # Common Development and Distribution License (the License).
  6 # You may not use this file except in compliance with the License.
  7 #
  8 # You can obtain a copy of the license at usr/src/CDDL.txt
  9 # or http://www.opensolaris.org/os/licensing.
 10 # See the License for the specific language governing permissions
 11 # and limitations under the License.
 12 #
 13 # When distributing Covered Code, include this CDDL HEADER in each
 14 # file and include the License file at usr/src/CDDL.txt.
 15 # If applicable, add the following below this CDDL HEADER, with the
 16 # fields enclosed by brackets [] replaced with your own identifying
 17 # information: Portions Copyright [yyyy] [name of copyright owner]
 18 #
 19 # CDDL HEADER END
 20 #
 21 # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
 22 # Use is subject to license terms.
 23 #
 24 #ident   "@(#)xvm_config 1.1     08/02/14 SMI"
 25 #
 26 #
 27 # This file will be sourced in by xvm_register and the parameters
 28 # listed below will be used.
 29 #
 30 # These parameters can be customized in (key=value) form
 31 #
 32 #       +++ Required parameters +++
 33 #
 34 #               RS - name of the SC resource for the xVM guest domain
 35 #               RG - name of the SC resource group to contain RS 
 36 #           HAS_RS - name of the SC HAStoragePlus resource (optional)
 37 #           DOMAIN - name of the xVM guest domain
 38 #  DOMAIN_PATHNAME - name of the xVM guest domain pathname
 39 #         FAILOVER - type of failover to perform
 40 #               valid entry is "normal"|"migrate"|"migrate --live"
 41 #               e.g.
 42 #       
 43 #               Failover="normal"
 44 #                 o Stop the resource (shutdown the domain)
 45 #                 o Failover the resource group from the source node to the target node
 46 #                 o Start the resource (start the domain)
 47 #
 48 #               Failover="migrate"
 49 #                 o Suspend the domain on the source node
 50 #                 o Copy the domain's memory pages from the source node to the target node
 51 #                 o Resume the domain on the target node
 52 #
 53 #               Failover="migrate --live"
 54 #                 o Iteratively copy the domain's memory pages from the source node to the taregt node
 55 #                 o When pre-copy is no longer benefical, suspend the domain on the source node
 56 #                 o Copy the domain's remaning "dirty" pages from the source node to the taregt node
 57 #                 o Resume the domain on the target node
 58 #
 59 # +++ Required parameters +++
 60 #
 61 RS=
 62 RG=
 63 HAS_RS=
 64 DOMAIN=
 65 DOMAIN_PATHNAME=
 66 FAILOVER=