# @(#)90 1.6 src/43haes/usr/sbin/cluster/sa/db2/cat/cl_db2preimport.sh, hacmp.assist.db2, 61haes_r714 6/4/08 07:56:15 # IBM_PROLOG_BEGIN_TAG # This is an automatically generated prolog. # # 61haes_r714 src/43haes/usr/sbin/cluster/sa/db2/cat/cl_db2preimport.sh 1.6 # # Licensed Materials - Property of IBM # # Restricted Materials of IBM # # COPYRIGHT International Business Machines Corp. 2005,2008 # All Rights Reserved # # US Government Users Restricted Rights - Use, duplication or # disclosure restricted by GSA ADP Schedule Contract with IBM Corp. # # IBM_PROLOG_END_TAG KLIB_MSGCATALOG="db2sa.cat" KLIB_MSGSET=50 KLIB_OUTPUT_CONSOLE=false KLIB_DEFAULT_LOGFILE=/var/hacmp/log/db2sa.log KLIB_HACMPLOG_ENTRY=db2sa.log KLIB_OUTPUT_CONSOLE=false typeset -A MSG MSG[1]="\nERROR: Unable to find a network for service IP label: %s\n" MSG[2]="\nUsing HACMP network: %s for the specified aliased service IP label: %s\n" MSG[3]="\nPerforming discovery on takeover node(s): %s: " MSG[4]="\nERROR: Service IP label: %s is not resolveable on the local\n\ node.\n\ Please check /etc/resolv.conf for nameserver issues, and /etc/hosts to\n\ ensure the service IP label can be resolved from the local node.\n" MSG[5]="\nERROR: DB2 Instance: %s is configured as a partitioned instance.\n\ The HACMP DB2 UDB Smart Assistant can only add non-partitioned instances to\n\ the cluster configuration.\n\ Please select a DB2 UDB non-partitioned instance.\n" MSG[6]="\nChecking DB2 UDB Instance: %s type: " MSG[7]="\nChecking service IP label: %s can be resolved on the local node: " MSG[8]="\nChecking DB2 instance volume group: %s is accessible from all takeover nodes: " MSG[9]="\nERROR: The DB2 UDB instance home volume group could not be\n\ determined during HACMP instance discovery.\n\ \n\ Please check to ensure the volume group is varied on, and the instance home\n\ directory filesystem is mounted.\n" MSG[10]="\nERROR: The DB2 UDB volume group: %s accessible on node: %s is not\n\ accessible on node: %s\n\ \n\ Please ensure the appropriate PVIDs for this volume group are shared across all\n\ the nodes that will takeover for DB2 instance: %s.\n" MSG[11]="\nERROR: The specified service IP label: %s is configured as an\n\ IP via replacement service. DB2 UDB Smart Assistant only allows aliased\n\ service IP labels.\n\ \n\ Please specify a service IP label that is configured as an aliased service.\n" MSG[12]="\nERROR: Unable to discover the takeover node(s): %s\n\ \n\ Please check the communication paths between the local node and the takeover\n\ node(s).\n" MSG[13]="\nPerforming pre-verification of the DB2 UDB instance: %s\n\ on cluster nodes: %s\n\n" MSG[14]="\nPre-verification completed successfully.\n" MSG[15]="\nChecking databases in instance: %s with USEREXIT enabled: " MSG[16]="\nERROR: The environment variables ARCHIVE_PATH, RETRIEVE_PATH and AUDIT_ERROR_PATH\n\ are not set for DB2 instance: %s and database: %s in the instance db2profile\n\ or userprofile files. One or more of these environment variables are required when\n\ the LOGRETAIN value is set to RECOVERY and the USEREXIT function is enabled.\n\ \n\ Please set the ARCHIVE_PATH, RETRIEVE_PATH and AUDIT_ERROR_PATH variables\n\ in either db2profile or userprofile and re-run discovery.\n" MSG[17]="\nValidating the DB2 instance: %s contains the selected database: %s: " MSG[18]="ERROR: The DB2 database selected: %s does not exist in the DB2 instance: %s\n\ Please select a DB2 database that exists in the selected instance.\n" MSG[19]="\nERROR: The DB2 instance selected: %s is already defined to the HACMP\n\ cluster configuration in resource group: %s.\n" MSG[20]="\nERROR: The DB2 instance: %s shares volume group(s):\n\ %s\n\ with DB2 instance: %s\n\ \n\ DB2 UDB instances must use different volume groups for each DB2 instance, this includes\n\ the archive log, overflow log, instance home volume group, retrieve log, and all tablespaces\n\ paths must exist volume groups that are separate from all other DB2 instances.\n" MSG[21]="\nVerifying the DB2 instance shared volume groups do not contain other instances: " MSG[22]="\nVerifying all DB2 instance volume groups are non-concurrent: " MSG[23]="\nERROR: The DB2 UDB instance: %s contains concurrent VGs:\n\ \n\ %s\n\ \n\ The use of concurrent volume groups in a DB2 UDB instance may result in\n\ data loss if another node in the HACMP cluster varies on the volume group\n\ in concurrent mode. It is advised that ONLY non-concurrent VGs be used\n\ in DB2 instances.\n" MSG[24]="\nERROR: The same service label: %s cannot be used for both DB2\n\ instance: %s and DB2 instance: %s\n\ Please choose different service IP labels for each selected DB2 instance.\n" MSG[25]="\nERROR: The same DB2 instance: %s was selected twice for mutual takeover.\n\ Please choose two separate instances for mutual takeover.\n" MSG[26]="\nWARNING: The DB2 instace: %s was inactive during discovery, the only\n\ volume group discovered was volume group: %s.\n\ \n\ If there are other volume groups associated with this instance for tablespaces,\n\ archive log files, or other instance components then please either add these\n\ volume groups to the resource group configuration, or remove the instance\n\ resource group and re-run discovery with the DB2 instance active.\n" MSG[27]="\nWARNING: The DB2 instance: %s home directory is on %s, which is not\n\ shared volume group. Please make sure instance home directory is configured\n\ and available on other nodes.\n" MSG[100]="PASS\n" MSG[200]="FAILED\n"