Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
130713fa
Commit
130713fa
authored
Feb 19, 2016
by
Leigh B Stoller
Browse files
Add new configure variable BIGDB, to turn on the bigger DB settings
we already use on the mothership. Enable for the APT cluster.
parent
fdaa6df8
Changes
4
Hide whitespace changes
Inline
Side-by-side
configure
View file @
130713fa
...
...
@@ -698,6 +698,7 @@ OPSVM_MOUNTPOINT
OPSVM_ENABLE
NEEDMCQUERIER
TBUSEDBI
BIGDB
SELFLOADER_DATA
IMPORT_TMPDIR
NOSHAREDFS
...
...
@@ -5035,6 +5036,7 @@ CLIENT_MANDIR="/usr/local/man"
TBSECURECOOKIES
=
1
TBMAINSITE
=
0
TBUSEDBI
=
0
BIGDB
=
0
FANCYBANNER
=
0
VIRTNODE_NETWORK
=
172.16.0.0
VIRTNODE_NETMASK
=
255.240.0.0
...
...
configure.ac
View file @
130713fa
...
...
@@ -273,6 +273,7 @@ AC_SUBST(NOSHAREDFS)
AC_SUBST(IMPORT_TMPDIR)
AC_SUBST(SELFLOADER_DATA)
AC_SUBST(TBUSEDBI)
AC_SUBST(BIGDB)
AC_SUBST(NEEDMCQUERIER)
AC_SUBST(OPSVM_ENABLE)
AC_SUBST(OPSVM_MOUNTPOINT)
...
...
@@ -361,6 +362,7 @@ CLIENT_MANDIR="/usr/local/man"
TBSECURECOOKIES=1
TBMAINSITE=0
TBUSEDBI=0
BIGDB=0
FANCYBANNER=0
VIRTNODE_NETWORK=172.16.0.0
VIRTNODE_NETMASK=255.240.0.0
...
...
defs-apt
View file @
130713fa
...
...
@@ -66,6 +66,7 @@ TBCOOKIESUFFIX="APT"
# Start a multicast IGMP querier
NEEDMCQUERIER=0
TBUSEDBI=1
BIGDB=1
#
# SSL Certificate stuff. Used to customize config files in ssl directory.
# Note that OrganizationalUnit is set in the cnf file.
...
...
rc.d/2.mysql-server.sh.in
View file @
130713fa
...
...
@@ -6,6 +6,7 @@
# KEYWORD: shutdown
MAINSITE
=
"@TBMAINSITE@"
BIGDB
=
"@BIGDB@"
# On FreeBSD 6.X we need to wrap the wrapper with daemon to prevent HUP signal
fbsdvers
=
`
uname
-v
|
sed
-e
's/FreeBSD \([0-9][0-9]*\).*/FreeBSD\1/'
`
...
...
@@ -16,11 +17,11 @@ major=${majmin%%.*}
minor
=
${
majmin
##*.
}
opts
=
"-O long_query_time=2 --skip-innodb"
if
[
$MAINSITE
==
"0"
]
;
then
opts
=
"-O key_buffer=32M -O table_cache=128 -O sort_buffer=2M"
if
[
$MAINSITE
==
"0"
-a
$BIGDB
==
"0"
]
;
then
opts
=
"
$opts
-O key_buffer=32M -O table_cache=128 -O sort_buffer=2M"
opts
=
"
$opts
-O record_buffer=1M -O max_connections=250"
else
opts
=
"-O key_buffer=256M -O table_cache=256 -O sort_buffer=4M"
opts
=
"
$opts
-O key_buffer=256M -O table_cache=256 -O sort_buffer=4M"
opts
=
"
$opts
-O record_buffer=1M -O query_cache_size=16M"
opts
=
"
$opts
-O join_buffer_size=256K -O thread_cache_size=4"
opts
=
"
$opts
-O tmp_table_size=32M -O max_heap_table_size=32M"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment