-
-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Script to start the Alert System Microservice and BSV node #39
Merged
galt-tr
merged 14 commits into
master
from
SVN-2898_start_alert_microservice_and_bsv_node_script
Feb 14, 2024
Merged
Script to start the Alert System Microservice and BSV node #39
galt-tr
merged 14 commits into
master
from
SVN-2898_start_alert_microservice_and_bsv_node_script
Feb 14, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
JackieChain
force-pushed
the
SVN-2898_start_alert_microservice_and_bsv_node_script
branch
from
February 13, 2024 13:53
e07e8f7
to
6ab166a
Compare
galt-tr
approved these changes
Feb 14, 2024
galt-tr
pushed a commit
that referenced
this pull request
Feb 15, 2024
* Start Alert System Microservice and BSV node * Put Alert System Microservice stderr log etires into a log file * Proper Alert System Microservice binary name, logs are no longer needed. * Print out the starting information * Script documentation * Update help * Fix flake8 issues * Fix Flake8 issues * Fix isort issues * Fix black issues * Fix black issues * alert-system renamed to alert_system * Error only on non-zero return code * Proper binary name is alert-system Update keys/topics for testnet/stn chore(deps): bump go.mongodb.org/mongo-driver from 1.13.1 to 1.13.2 Bumps [go.mongodb.org/mongo-driver](https://github.com/mongodb/mongo-go-driver) from 1.13.1 to 1.13.2. - [Release notes](https://github.com/mongodb/mongo-go-driver/releases) - [Commits](mongodb/mongo-go-driver@v1.13.1...v1.13.2) --- updated-dependencies: - dependency-name: go.mongodb.org/mongo-driver dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
galt-tr
pushed a commit
that referenced
this pull request
Feb 15, 2024
* Start Alert System Microservice and BSV node * Put Alert System Microservice stderr log etires into a log file * Proper Alert System Microservice binary name, logs are no longer needed. * Print out the starting information * Script documentation * Update help * Fix flake8 issues * Fix Flake8 issues * Fix isort issues * Fix black issues * Fix black issues * alert-system renamed to alert_system * Error only on non-zero return code * Proper binary name is alert-system Update keys/topics for testnet/stn chore(deps): bump go.mongodb.org/mongo-driver from 1.13.1 to 1.13.2 Bumps [go.mongodb.org/mongo-driver](https://github.com/mongodb/mongo-go-driver) from 1.13.1 to 1.13.2. - [Release notes](https://github.com/mongodb/mongo-go-driver/releases) - [Commits](mongodb/mongo-go-driver@v1.13.1...v1.13.2) --- updated-dependencies: - dependency-name: go.mongodb.org/mongo-driver dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
galt-tr
pushed a commit
that referenced
this pull request
Feb 15, 2024
* Start Alert System Microservice and BSV node * Put Alert System Microservice stderr log etires into a log file * Proper Alert System Microservice binary name, logs are no longer needed. * Print out the starting information * Script documentation * Update help * Fix flake8 issues * Fix Flake8 issues * Fix isort issues * Fix black issues * Fix black issues * alert-system renamed to alert_system * Error only on non-zero return code * Proper binary name is alert-system Update keys/topics for testnet/stn chore(deps): bump go.mongodb.org/mongo-driver from 1.13.1 to 1.13.2 Bumps [go.mongodb.org/mongo-driver](https://github.com/mongodb/mongo-go-driver) from 1.13.1 to 1.13.2. - [Release notes](https://github.com/mongodb/mongo-go-driver/releases) - [Commits](mongodb/mongo-go-driver@v1.13.1...v1.13.2) --- updated-dependencies: - dependency-name: go.mongodb.org/mongo-driver dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
galt-tr
pushed a commit
that referenced
this pull request
Feb 15, 2024
* Start Alert System Microservice and BSV node * Put Alert System Microservice stderr log etires into a log file * Proper Alert System Microservice binary name, logs are no longer needed. * Print out the starting information * Script documentation * Update help * Fix flake8 issues * Fix Flake8 issues * Fix isort issues * Fix black issues * Fix black issues * alert-system renamed to alert_system * Error only on non-zero return code * Proper binary name is alert-system Update keys/topics for testnet/stn chore(deps): bump go.mongodb.org/mongo-driver from 1.13.1 to 1.13.2 Bumps [go.mongodb.org/mongo-driver](https://github.com/mongodb/mongo-go-driver) from 1.13.1 to 1.13.2. - [Release notes](https://github.com/mongodb/mongo-go-driver/releases) - [Commits](mongodb/mongo-go-driver@v1.13.1...v1.13.2) --- updated-dependencies: - dependency-name: go.mongodb.org/mongo-driver dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
galt-tr
deleted the
SVN-2898_start_alert_microservice_and_bsv_node_script
branch
February 15, 2024 14:20
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Run:
python3 start_aks_bsv.py -h
for help.
Example 1:
python3 start_aks_bsv.py -datadir=/tmp/bitcoin_data
This will run alert-system binary on local system and BSV node with provided -datadir. Any bitcoind and bitcoin-cli options can be used.
alert-system binary needs to be symlinked in the /usr/bin for example. Proper ALERT_SYSTEM_* environment variables need to be set.
Example 2:
python3 start_aks_bsv.py -asm_host=123.134.145.156 -asm_user=nchain -asm_pk_path=my_pk.pem -datadir=/tmp/bitcoin_data -bsv_host=123.134.145.156 -bsv_user=nchain -bsv_pk_path=my_pk.pem
In this case both the Alert System Microservice (alesrt-system) and BSV node (bitcoind) will be started through the SSH using key-based authentication.
IMPORTANT: ssh server must be properly configured to pick the ALERT_SYSTEM_* environment variables. Make sure that:
ssh -i my_pk.pem nchain@123.134.145.156 env
lists all required ALERT_SYSTEM_* environment variables. If not, alert-system binary will fail to start.
Use -verbose option for detailed information.