blob: bfea34a87f39d6bf7658647eda0fca56ca3fc1a8 [file] [log] [blame]
#!/bin/bash
# @@@ START COPYRIGHT @@@
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
#
# @@@ END COPYRIGHT @@@
#====================================================
# Trafodion Configuration File
# This file contains default values for the installer.
# Users can also edit this file and provide values for all parameters
# and then specify this file on the run line of trafodion_install.
# Example:
# ./trafodion_install --config_file <Trafodion-config-file>
# WARNING: This mode is for advanced users!
#
#=====================================================
#=====================================================
##################################################
#THESE MUST BE FILLED OUT.
#IF NOT INSTALL WILL FAIL
##################################################
# a blank separated list of nodes in your cluster
# node names should include full domain names
#This can not be left blank!
export NODE_LIST=""
#JAVA HOME must be a JDK. Must include FULL Path. Must be 1.7.0_65 or higher.
export JAVA_HOME=""
# full path of the Trafodion package tar file
export TRAF_PACKAGE=""
# Either "cloudera" or "hortonworks" (all lowercase)
export HADOOP_TYPE=""
# The URL for Cloudera/Hortonworks REST API (i.e. http://node1.hp.com:8080)
# Include 'http' or 'https'
export URL=""
##################################################
#Can MOSTLY LIKELY stay as defaults.
#Please review though before starting install
#################################################
#Must be set to 'true' if on a SUSE linux system. If on another type of system
#this must be set to false.
export SUSE_LINUX="false"
# The working directory where Trafodion installer untars files, etc.
# do not change this unless you really know what you are doing
export TRAF_WORKDIR="/usr/lib/trafodion"
# The maximum number of dcs servers, i.e. client connections
export DCS_SERVERS_PARM="8"
# Trafodion userid, This is the userid the Trafodion instance will run under
export TRAF_USER="trafodion"
# Trafodion userid's password
export TRAF_USER_PASSWORD="traf123"
# the directory prefix for the trafodion userid's $HOME directory
# i.e. /opt/home, not /opt/home/trafodion
export HOME_DIR="/opt"
#Default value set to "Y" if using a build BEFORE 05/11/2016 set this to "N"
export ONE_TAR_INSTALL="Y"
#This user will be set for backup and restore.
#Must be able to have select sudo access
export BACKUP_USER="trafodion"
# Cloudera/Hortonworks UI admin's userid and password
export ADMIN="admin"
export PASSWORD="admin"
# the Hadoop HDFS userid
export HDFS_USER="hdfs"
# the Hadoop HBase userid and group
export HBASE_USER="hbase"
export HBASE_GROUP="hbase"
# The hadoop HBase service name
export HBASE="hbase"
# full path of where to install Trafodion to
# On an upgrade, it is recommend to choose a different directory.
# First time install : /home/trafodion/traf
# On Upgrade: /home/trafodion/traf_<date>
# By doing this the previous version will remain and allow for an easier rollback.
export TRAF_HOME="/opt/trafodion/trafodion"
# Start Trafodion after install completes
export START="Y"
#----------------- security configuration information -----------------
#Enter in Kerberos details if Kerberos is enabled on your cluster
#Indicate Kerberos is enabled
export SECURE_HADOOP="N"
#Location of Kerberos server for admin access
export KDC_SERVER=""
#Kerberos Admin principal used to create Trafodion principals and keytabs
#Please include realm, for example: trafadmin/admin@MYREALM.COM
export ADMIN_PRINCIPAL=""
#Keytab for HBase admin user, used to grant Trafodion user CRWE privilege
export HBASE_KEYTAB=""
#Keytab for HDFS admin user, used to create data directories for Trafodion
export HDFS_KEYTAB=""
#Kerberos ticket defaults for the Trafodion user
export MAX_LIFETIME="24hours"
export RENEW_LIFETIME="7days"
#Trafodion keytab information
export TRAF_KEYTAB=""
export TRAF_KEYTAB_DIR=""
#Enter in LDAP configuration information
#Turn on authentication - MUST have existing LDAP configured.
export LDAP_SECURITY="N"
#Name of LDAP Config file
export LDAP_AUTH_FILE="traf_authentication_config_${HOSTNAME}"
#LDAP name to map to database user DB__ROOT
DB_ROOT_NAME="trafodion"
#----------------- end security configuration -----------------
export CONFIG_COMPLETE="true"
#HA configuraton enabled, if want to enable set to true and add valid floating IP address.
export ENABLE_HA="false"
#Floating IP address for HA configuration only if ENABLE_HA is set to true
export FLOATING_IP=""
#If HA enabled the set the DCS Backup nodes
export BACKUP_DCS_NODES=""
#If HA enabled then set INTERFACE to match the interface of the floating ip
export INTERFACE=""
#Define if cloud environment is being used, if specified "Y" for CLOUD_CONFIG
#the please define the type of cloud (CLOUD_TYPE) being used
export CLOUD_CONFIG="N"
#Define the type of cloud being used(1: AWS(Amazon cloud), 2: OpenStack, 3: Other)
export CLOUD_TYPE=""
#Based of cloud type, then set any of set one of following to true
export AWS_CLOUD=""
export OPEN_STACK=""
export CLOUD_OTHER=""
#Specify the node name of primary DcsMaster node, Default is the host where
#dcs start script is run
export DCS_PRIMARY_MASTER_NODE=`hostname -f`
#Ability to add nodes while trafodion is running
export ELASTICITY_ENABLED="Y"
#Default is number of nodes
export NUM_ELASTIC_NODES=""