Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
configuration
Commits
c190ae90
Commit
c190ae90
authored
Jun 28, 2017
by
Adam
Committed by
GitHub
Jun 28, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3944 from edx/add-splunk-to-neo4j
Add splunk to neo4j
parents
7326348e
93990a4b
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
57 additions
and
5 deletions
+57
-5
CHANGELOG.md
+5
-0
playbooks/edx-east/neo4j.yml
+2
-0
playbooks/roles/neo4j/defaults/main.yml
+2
-0
playbooks/roles/neo4j/meta/main.yml
+3
-3
playbooks/roles/neo4j/tasks/main.yml
+41
-2
playbooks/roles/splunkforwarder/defaults/main.yml
+4
-0
No files found.
CHANGELOG.md
View file @
c190ae90
-
Role: neo4j
-
Enabled splunk forwarding for neo4j logs.
-
Increased maximum amount of open files to 40000, as suggested by neo4j.
-
Updated the java build that neo4j uses to run.
-
Role: edxapp
-
Set the default value for EDXAPP_BULK_EMAIL_ROUTING_KEY_SMALL_JOBS to
'edx.lms.core.low'.
...
...
playbooks/edx-east/neo4j.yml
View file @
c190ae90
...
...
@@ -13,3 +13,5 @@
-
coursegraph
# - aws
-
neo4j
-
role
:
splunkforwarder
when
:
COMMON_ENABLE_SPLUNKFORWARDER
playbooks/roles/neo4j/defaults/main.yml
View file @
c190ae90
...
...
@@ -21,12 +21,14 @@ NEO4J_SERVER_NAME: "localhost"
neo4j_gpg_key_url
:
https://debian.neo4j.org/neotechnology.gpg.key
neo4j_apt_repository
:
"
deb
http://debian.neo4j.org/repo
stable/"
neo4j_version
:
"
3.0.3"
neo4j_defaults_file
:
"
/etc/default/neo4j"
neo4j_server_config_file
:
"
/etc/neo4j/neo4j.conf"
neo4j_wrapper_config_file
:
"
/etc/neo4j/neo4j-wrapper.conf"
neo4j_https_port
:
7473
# default in package is 7473
neo4j_http_port
:
7474
# default in package is 7474
neo4j_listen_address
:
"
0.0.0.0"
neo4j_heap_max_size
:
"
3000"
neo4j_log_dir
:
"
/var/log/neo4j"
# Properties file settings
neo4j_https_settings_key
:
"
dbms.connector.https.address"
...
...
playbooks/roles/neo4j/meta/main.yml
View file @
c190ae90
...
...
@@ -2,7 +2,7 @@
dependencies
:
-
common
-
role
:
oraclejdk
oraclejdk_version
:
"
8u
60
"
oraclejdk_base
:
"
jdk1.8.0_
60
"
oraclejdk_build
:
"
b
27
"
oraclejdk_version
:
"
8u
131
"
oraclejdk_base
:
"
jdk1.8.0_
131
"
oraclejdk_build
:
"
b
11
"
oraclejdk_link
:
"
/usr/lib/jvm/java-8-oracle"
playbooks/roles/neo4j/tasks/main.yml
View file @
c190ae90
...
...
@@ -72,9 +72,48 @@
-
install
-
install:configuration
-
name
:
set log dir for neo4j
lineinfile
:
create
:
yes
dest
:
"
{{
neo4j_server_config_file
}}"
regexp
:
"
dbms.directories.logs="
line
:
"
dbms.directories.logs={{
neo4j_log_dir
}}"
tags
:
-
install
-
install:configuration
-
name
:
Create neo4j logging dir
file
:
path
:
"
{{
neo4j_log_dir
}}"
state
:
directory
owner
:
neo4j
mode
:
"
0755"
tags
:
-
install
-
install:base
-
name
:
Create neo4j default file
file
:
path
:
"
{{
neo4j_defaults_file
}}"
state
:
touch
owner
:
neo4j
mode
:
"
0755"
tags
:
-
install
-
install:base
-
name
:
set max open files to 40000
lineinfile
:
dest
:
"
{{
neo4j_defaults_file
}}"
regexp
:
"
#NEO4J_ULIMIT_NOFILE=40000"
line
:
"
NEO4J_ULIMIT_NOFILE=40000"
tags
:
-
install
-
install:base
-
name
:
restart neo4j
service
:
name
:
neo4j
service
:
name
:
neo4j
state
:
restarted
tags
:
-
manage
...
...
playbooks/roles/splunkforwarder/defaults/main.yml
View file @
c190ae90
...
...
@@ -76,6 +76,10 @@ SPLUNKFORWARDER_LOG_ITEMS:
recursive
:
true
index
:
'
{{
COMMON_ENVIRONMENT
}}-{{
COMMON_DEPLOYMENT
}}'
sourcetype
:
'
rabbitmq'
-
source
:
'
/var/log/neo4j'
recursive
:
true
index
:
'
{{
COMMON_ENVIRONMENT
}}-{{
COMMON_DEPLOYMENT
}}'
sourcetype
:
'
neo4j'
#
# OS packages
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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