Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
asapo
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Joao Alvim Oliveira Dias De Almeida
asapo
Commits
d824bff5
Commit
d824bff5
authored
4 years ago
by
Sergey Yakubov
Browse files
Options
Downloads
Patches
Plain Diff
refactor
parent
44d3b639
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
common/cpp/src/data_structs/data_structs.cpp
+1
-1
1 addition, 1 deletion
common/cpp/src/data_structs/data_structs.cpp
deploy/asapo_services/run_maxwell.sh
+10
-9
10 additions, 9 deletions
deploy/asapo_services/run_maxwell.sh
with
11 additions
and
10 deletions
common/cpp/src/data_structs/data_structs.cpp
+
1
−
1
View file @
d824bff5
...
...
@@ -39,7 +39,7 @@ Error GetSourceTypeFromString(std::string stype,SourceType *type) {
*
type
=
SourceType
::
kProcessed
;
return
nullptr
;
}
else
{
return
TextError
(
"cannot parse
error
type: "
+
stype
);
return
TextError
(
"cannot parse
/wrong source
type: "
+
stype
);
}
}
...
...
This diff is collapsed.
Click to expand it.
deploy/asapo_services/run_maxwell.sh
+
10
−
9
View file @
d824bff5
#!/usr/bin/env bash
IMAGE
=
yakser/asapo-cluster:20.06.3
#folders
NOMAD_ALLOC_HOST_SHARED
=
/var/tmp/asapo/container_host_shared/nomad_alloc
SERVICE_DATA_CLUSTER_SHARED
=
/home/yakubov/asapo/asapo_cluster_shared/service_data
DATA_GLOBAL_SHARED
=
/gpfs/petra3/scratch/yakubov/asapo_shared
DATA_GLOBAL_SHARED_ONLINE
=
/
tmp
DATA_GLOBAL_SHARED_ONLINE
=
/
gpfs/petra3/scratch/yakubov/asapo_shared_online
MONGO_DIR
=
/scratch/mongodb
# due to performance reasons mongodb can benefit from writing to local filesystem (HA to be worked on)
#service distribution
MAX_NOMAD_SERVERS
=
3
# rest are clients
...
...
@@ -21,9 +23,9 @@ ACL_ENABLED=true
#docker stuff
DOCKER_ENDPOINT
=
"127.0.0.1:2376"
#comment to use unix sockets
DOCKER_TLS_CA
=
/
data/netapp
/docker/certs/ca.pem
DOCKER_TLS_KEY
=
/
data/netapp
/docker/certs/
$USER
/key.pem
DOCKER_TLS_CERT
=
/
data/netapp
/docker/certs/
$USER
/cert.pem
DOCKER_TLS_CA
=
/
beegfs/desy/sys
/docker/certs/ca.pem
DOCKER_TLS_KEY
=
/
beegfs/desy/sys
/docker/certs/
$USER
/key.pem
DOCKER_TLS_CERT
=
/
beegfs/desy/sys
/docker/certs/
$USER
/cert.pem
#adresses to use
USE_IB_FOR_RECEIVER
=
true
...
...
@@ -53,9 +55,9 @@ echo consider increasing max_map_count - needed for elasticsearch
# exit 1
fi
docker
rm
-f
asapo
docker
rm
-f
asapo
&>/dev/null
docker pull
yakser/asapo-cluster
docker pull
$IMAGE
if
[
-f
$ASAPO_VAR_FILE
]
;
then
MOUNT_VAR_FILE
=
"-v
$ASAPO_VAR_FILE
:/var/run/asapo/user_vars.tfvars"
...
...
@@ -76,14 +78,13 @@ $MOUNT_VAR_FILE \
-e
TF_VAR_online_dir
=
$DATA_GLOBAL_SHARED_ONLINE
\
-e
TF_VAR_offline_dir
=
$DATA_GLOBAL_SHARED
\
-e
TF_VAR_mongo_dir
=
$MONGO_DIR
\
-e
TF_VAR_asapo_user
=
$ASAPO_USER
\
-e
ADVERTISE_IP
=
$ADVERTISE_IP
\
-e
RECURSORS
=
$RECURSORS
\
-e
TF_VAR_asapo_user
=
$ASAPO_USER
\
-e
IB_ADDRESS
=
$IB_ADDRESS
\
-e
ACL_ENABLED
=
$ACL_ENABLED
\
-e
SERVER_ADRESSES
=
$SERVER_ADRESSES
\
-e
ASAPO_LIGHTWEIGHT_SERVICE_NODES
=
$ASAPO_LIGHTWEIGHT_SERVICE_NODES
\
-e
DOCKER_ENDPOINT
=
$DOCKER_ENDPOINT
\
-e
N_SERVERS
=
$N_SERVERS
\
--name
asapo yakser/asapo-cluster
--name
asapo
$IMAGE
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment