From: <tho...@us...> - 2014-04-04 15:19:49
|
Revision: 8047 http://sourceforge.net/p/bigdata/code/8047 Author: thompsonbry Date: 2014-04-04 15:19:44 +0000 (Fri, 04 Apr 2014) Log Message: ----------- Relocate and rename the configuration file for the init.d script for HA to /etc/default/bigdata/bigdataHA to be in keeping with conventions. Modified Paths: -------------- branches/BIGDATA_RELEASE_1_3_0/src/resources/etc/init.d/bigdataHA Added Paths: ----------- branches/BIGDATA_RELEASE_1_3_0/src/resources/etc/default/ branches/BIGDATA_RELEASE_1_3_0/src/resources/etc/default/bigdata/ branches/BIGDATA_RELEASE_1_3_0/src/resources/etc/default/bigdata/bigdataHA Removed Paths: ------------- branches/BIGDATA_RELEASE_1_3_0/src/resources/etc/bigdata/ branches/BIGDATA_RELEASE_1_3_0/src/resources/etc/default/bigdata/bigdataHA.config Copied: branches/BIGDATA_RELEASE_1_3_0/src/resources/etc/default/bigdata/bigdataHA (from rev 7912, branches/BIGDATA_RELEASE_1_3_0/src/resources/etc/bigdata/bigdataHA.config) =================================================================== --- branches/BIGDATA_RELEASE_1_3_0/src/resources/etc/default/bigdata/bigdataHA (rev 0) +++ branches/BIGDATA_RELEASE_1_3_0/src/resources/etc/default/bigdata/bigdataHA 2014-04-04 15:19:44 UTC (rev 8047) @@ -0,0 +1,46 @@ +# Environment for bigdata HA services. +# +# binDir - The directory containing the installed scripts. +# pidFile - The pid is written on this file. +# +# Note: You MUST provide the location of the executable scripts and the +# pid file that is written by $binDir/startHAServices. These SHOULD be +# absolute path names. + +#binDir= +#pidFile= + +## +# The following variables configure the startHAServices script, which +# passes them through to HAJournal.config. +## + +# Name of the bigdata gederation of services. Override for real install. +export FEDNAME=bigdataInstallTest + +# This is different for each HA replication cluster in the same federation +# of services. If you have multiple such replication cluster, then just +# given each such cluster its own name. +export LOGICAL_SERVICE_ID=HAJournalServer-1 + +# Local directory where the service will store its state. +export FED_DIR=/var/bigdata/${FEDNAME} + +# Apache River - NO default for "LOCATORS". +export GROUPS="$FEDNAME" +#export LOCATORS="jini://bigdata15/,jini://bigdata16/,jini://bigdata17/" + +# Apache ZooKeeper - NO default. +#export ZK_SERVERS="bigdata15:2081,bigdata16:2081,bigdata17:2081"; + +# All of these have defaults. Override as necessary. +#export REPLICATION_FACTOR=3 +#export HA_PORT=9090 +#export JETTY_PORT=8080 +#export JETTY_XML=var/jetty/WEB-INF/jetty.xml +#export JETTY_RESOURCE_BASE=var/jetty +#export COLLECT_QUEUE_STATISTICS= +#export COLLECT_PLATFORM_STATISTICS= +#export GANGLIA_REPORT= +#export GANGLIA_LISTENER= +#export SYSSTAT_DIR= Deleted: branches/BIGDATA_RELEASE_1_3_0/src/resources/etc/default/bigdata/bigdataHA.config =================================================================== --- branches/BIGDATA_RELEASE_1_3_0/src/resources/etc/bigdata/bigdataHA.config 2014-03-04 22:43:01 UTC (rev 7912) +++ branches/BIGDATA_RELEASE_1_3_0/src/resources/etc/default/bigdata/bigdataHA.config 2014-04-04 15:19:44 UTC (rev 8047) @@ -1,46 +0,0 @@ -# Environment for bigdata HA services. -# -# binDir - The directory containing the installed scripts. -# pidFile - The pid is written on this file. -# -# Note: You MUST provide the location of the executable scripts and the -# pid file that is written by $binDir/startHAServices. These SHOULD be -# absolute path names. - -#binDir= -#pidFile= - -## -# The following variables configure the startHAServices script, which -# passes them through to HAJournal.config. -## - -# Name of the bigdata gederation of services. Override for real install. -export FEDNAME=bigdataInstallTest - -# This is different for each HA replication cluster in the same federation -# of services. If you have multiple such replication cluster, then just -# given each such cluster its own name. -export LOGICAL_SERVICE_ID=HAJournalServer-1 - -# Local directory where the service will store its state. -export FED_DIR=/var/bigdata/${FEDNAME} - -# Apache River - NO default for "LOCATORS". -export GROUPS="$FEDNAME" -#export LOCATORS="jini://bigdata15/,jini://bigdata16/,jini://bigdata17/" - -# Apache ZooKeeper - NO default. -#export ZK_SERVERS="bigdata15:2081,bigdata16:2081,bigdata17:2081"; - -# All of these have defaults. Override as necessary. -#export REPLICATION_FACTOR=3 -#export HA_PORT=9090 -#export JETTY_PORT=8080 -#export JETTY_XML=var/jetty/WEB-INF/jetty.xml -#export JETTY_RESOURCE_BASE=var/jetty -#export COLLECT_QUEUE_STATISTICS= -#export COLLECT_PLATFORM_STATISTICS= -#export GANGLIA_REPORT= -#export GANGLIA_LISTENER= -#export SYSSTAT_DIR= Modified: branches/BIGDATA_RELEASE_1_3_0/src/resources/etc/init.d/bigdataHA =================================================================== --- branches/BIGDATA_RELEASE_1_3_0/src/resources/etc/init.d/bigdataHA 2014-04-04 15:08:58 UTC (rev 8046) +++ branches/BIGDATA_RELEASE_1_3_0/src/resources/etc/init.d/bigdataHA 2014-04-04 15:19:44 UTC (rev 8047) @@ -49,7 +49,7 @@ #/sbin/sysctl -w vm.swappiness=0 # Setup the environment. -source bigdata/bigdataHA.config +source /etc/default/bigdata/bigdataHA if [ -z "$binDir" ]; then echo $"$0 : environment not setup: binDir is undefined." This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <tho...@us...> - 2014-04-04 16:55:58
|
Revision: 8052 http://sourceforge.net/p/bigdata/code/8052 Author: thompsonbry Date: 2014-04-04 16:55:54 +0000 (Fri, 04 Apr 2014) Log Message: ----------- Missed 2 files in the last commit. Modified Paths: -------------- branches/BIGDATA_RELEASE_1_3_0/src/resources/etc/init.d/bigdataHA Added Paths: ----------- branches/BIGDATA_RELEASE_1_3_0/src/resources/etc/default/bigdataHA Copied: branches/BIGDATA_RELEASE_1_3_0/src/resources/etc/default/bigdataHA (from rev 8047, branches/BIGDATA_RELEASE_1_3_0/src/resources/etc/default/bigdata/bigdataHA) =================================================================== --- branches/BIGDATA_RELEASE_1_3_0/src/resources/etc/default/bigdataHA (rev 0) +++ branches/BIGDATA_RELEASE_1_3_0/src/resources/etc/default/bigdataHA 2014-04-04 16:55:54 UTC (rev 8052) @@ -0,0 +1,46 @@ +# Environment for bigdata HA services. +# +# binDir - The directory containing the installed scripts. +# pidFile - The pid is written on this file. +# +# Note: You MUST provide the location of the executable scripts and the +# pid file that is written by $binDir/startHAServices. These SHOULD be +# absolute path names. + +#binDir= +#pidFile= + +## +# The following variables configure the startHAServices script, which +# passes them through to HAJournal.config. +## + +# Name of the bigdata gederation of services. Override for real install. +export FEDNAME=bigdataInstallTest + +# This is different for each HA replication cluster in the same federation +# of services. If you have multiple such replication cluster, then just +# given each such cluster its own name. +export LOGICAL_SERVICE_ID=HAJournalServer-1 + +# Local directory where the service will store its state. +export FED_DIR=/var/bigdata/${FEDNAME} + +# Apache River - NO default for "LOCATORS". +export GROUPS="$FEDNAME" +#export LOCATORS="jini://bigdata15/,jini://bigdata16/,jini://bigdata17/" + +# Apache ZooKeeper - NO default. +#export ZK_SERVERS="bigdata15:2081,bigdata16:2081,bigdata17:2081"; + +# All of these have defaults. Override as necessary. +#export REPLICATION_FACTOR=3 +#export HA_PORT=9090 +#export JETTY_PORT=8080 +#export JETTY_XML=var/jetty/WEB-INF/jetty.xml +#export JETTY_RESOURCE_BASE=var/jetty +#export COLLECT_QUEUE_STATISTICS= +#export COLLECT_PLATFORM_STATISTICS= +#export GANGLIA_REPORT= +#export GANGLIA_LISTENER= +#export SYSSTAT_DIR= Modified: branches/BIGDATA_RELEASE_1_3_0/src/resources/etc/init.d/bigdataHA =================================================================== --- branches/BIGDATA_RELEASE_1_3_0/src/resources/etc/init.d/bigdataHA 2014-04-04 16:52:01 UTC (rev 8051) +++ branches/BIGDATA_RELEASE_1_3_0/src/resources/etc/init.d/bigdataHA 2014-04-04 16:55:54 UTC (rev 8052) @@ -49,7 +49,7 @@ #/sbin/sysctl -w vm.swappiness=0 # Setup the environment. -source /etc/default/bigdata/bigdataHA +source /etc/default/bigdataHA if [ -z "$binDir" ]; then echo $"$0 : environment not setup: binDir is undefined." This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |