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 22 # 23 # Copyright 2007 Sun Microsystems, Inc. All rights reserved. 24 # Use is subject to license terms. 25 # 26 27 #ident "@(#)ha_mysql_config.ksh 1.7 07/06/06 SMI" 28 29 # This file will be sourced in by ha_mysql_register and the parameters 30 # listed below will be used. 31 # 32 # These parameters can be customized in (key=value) form 33 # 34 # RS - name of the resource for the application 35 # RG - name of the resource group containing RS 36 # 37 # To have the mysql agent local zone aware, 4 Variables are needed: 38 # ZONE - the zone name where the Mysql Database should run in 39 # Optional 40 # ZONEBT - The resource name which controls the zone. 41 # Optional 42 # PROJECT - A project in the zone, that will be used for this service 43 # specify it if you have an su - in the start stop or probe, 44 # or to define the smf credentials. If the variable is not set, 45 # it will be translated as :default for the sm and default 46 # for the zsh component 47 # Optional 48 # ZUSER - A user in the the zone which is used for the smf method 49 # credentials. Your smf service will run under this user 50 # Optional 51 # 52 # Mysql specific Variables 53 # 54 # BASEDIR - name of the Mysql bin directory 55 # DATADIR - name of the Mysql Data directory 56 # MYSQLUSER - name of the user Mysql should be started of 57 # LH - name of the LogicalHostname SC resource 58 # MYSQLHOST - name of the host in /etc/hosts 59 # FMUSER - name of the Mysql fault monitor user 60 # FMPASS - name of the Mysql fault monitor user password 61 # LOGDIR - name of the directory mysqld should store it's logfile. 62 # CHECK - should HA-MySQL check MyISAM index files before start YES/NO. 63 # HAS_RS - name of the MySQL HAStoragePlus SC resource 64 # 65 # The following examples illustrate sample parameters 66 # for Mysql 67 # 68 # BASEDIR=/usr/local/mysql 69 # DATADIR=/global/mysqldata 70 # MYSQLUSER=mysql 71 # LH=mysqllh 72 # MYSQLHOST=mysqllh 73 # FMUSER=fmuser 74 # FMPASS=fmuser 75 # LOGDIR=/global/mysqldata/logs 76 # CHECK=YES 77 # 78 79 RS= 80 RG= 81 PORT= 82 LH= 83 HAS_RS= 84 85 # local zone specific options 86 87 ZONE= 88 ZONE_BT= 89 PROJECT= 90 91 # mysql specifications 92 93 BASEDIR= 94 DATADIR= 95 MYSQLUSER= 96 MYSQLHOST= 97 FMUSER= 98 FMPASS= 99 LOGDIR= 100 CHECK= 101