Table of Contents | ||||
---|---|---|---|---|
|
Single Node Setup Instructions:
...
Pre-requisites:
1. Ensure you have the syndeia-cloud-3.
45
.zip
(or latest service pack) downloaded to your home directory (or home directory's Downloads folder) from the download/license instructions sent out by our team.
Note: the .ZIP will pre-create a separate folder for its contents when extracted so there is no need to pre-create a separate folder for it.
2. Review Syndeia Cloud's recommendations, ie: (Open|Oracle)JDK/JRE, memory, FS selection, params, etc. in Deployment.
Note: Syndeia Cloud can be deployed on a different machine VS Cassandra but these steps will focus on a single-node deployment.
3. If using a firewall, ensure the following port(s) are accessible from client machines (consult your local network admin if required): TCP port 9000 (HTTP), 9443 (HTTPS).
If you wish to use JMX monitoring (or Grafana), the following additional ports will also need to be accessible from where you will run monitoring:
SC service | JMX port # |
---|---|
sc-auth | 31101 |
sc-store | 31102 |
sc-graph | 31103 |
sc-webgateway | 31100 |
sc-aras | 31112 |
sc-artifactory | 31116 |
sc-bitbucket | 31104 |
sc-collaborator | 31118 |
sc-confluence | 31105 |
sc-doors | 31115 |
sc-github | 31106 |
sc-gitlab | 31107 |
sc-jama | 31114 |
sc-jira | 31108 |
sc-restful | 31119 |
sc-sysmlv2 | 31112 |
sc-testrail | 31113 |
sc-twcloud | 31109 |
sc-volta | 31117 |
sc-wc | 31110 |
...
Downloading & Extracting Syndeia Cloud:
...
2. Set an environment var for the build version, ex: new_build_version=3.4.SP1_2021-10-14 5 ; export new_build_version
3. Create a new user and group named syndeia-cloud
, ie: sudo useradd --system --user-group syndeia-cloud
...
IMPORTANT: please ensure you have enabled JMX monitoring per Appendix C3.5 (if for whatever reason you do not wish to use JMX, you can disable it post SC setup via the steps in Appendix C3.6).
...
Installing, Configuring, and Starting Syndeia Cloud
...
:
7. In a new terminal session, launch a CQLSH session (see Appendix C3.3 for instructions) & authenticate (see Appendix C3.1 on how to validate/configure this) with a superuser account (or have the Cassandra administrator authenticate) to do the following for you or your team:
Note1: If you ran the setup script specified in the JanusGraph setup page, this account should already be created and you can skip this section or just validate via LIST ROLES
below.
Note2: If you have a user account you can check by running the CQL command LIST ROLES
to list all roles to confirm your account has superuser privilege
Code Block | ||||
---|---|---|---|---|
| ||||
$./cqlsh -u cassandra cassandra-syndeia-cloud.mycompany.com
Password:
Connected to Test Cluster at 127.0.0.1:9042.
[cqlsh 5.0.1 | Cassandra 3.0.15 | CQL spec 3.4.0 | Native protocol v4]
Use HELP for help.
cassandra@cqlsh> LIST ROLES;
role | super | login | options
------------------+-------+-------+---------
cassandra | True | True | {}
(1 rows)
cassandra@cqlsh> |
8. Create a new syndeia_admin
role and provide it with a new strong password, ie:
CREATE ROLE syndeia_admin WITH LOGIN = true AND SUPERUSER = true AND PASSWORD = '
<syndeia_admin_strong_password>';
where <syndeia_admin_strong_password> is a strong password, ex: ‘M1Str9ngPass80rd
' ( Avoid any of the following special characters: \?*[]+#&.{}$
)
Then, run the following command to list all roles and confirm syndeia_admin
has login access (if you get an error from the CREATE
command or do not see syndeia_admin
listed in the LIST ROLES
output, see Appendix C3.4)
LIST ROLES;
Code Block | ||||
---|---|---|---|---|
| ||||
cassandra@cqlsh> LIST ROLES;
role | super | login | options
---------------+-------+-------+---------
cassandra | True | True | {}
syndeia_admin | True | True | {} |
Installing, Configuring, and Starting Syndeia Cloud:
9. In the directory you downloaded and extracted the main .zip
, run the install script, ie: ./bin/syndeia-cloud-3.4_install.bash -SC_v ${
. This will: new_build_version}
- install Syndeia Cloud 3.4 (or latest service pack) to /opt/icx/syndeia-cloud-${new_build_version}
,
- make syndeia-cloud:syndeia-cloud
the owner,
- configure the application.conf
files if necessary,
- generate a concatenated schema file,
- stop any existing Syndeia Cloud 3.4 processes,
- update/create a "current
" symlink to the installed version,
- stop the Janusgraph service (on single-node deployments only),
- stop the Kafka service (on single-node deployments only),
- archive any old Kafka logs (on single-node deployments only),
- drop any old keyspaces & generate the new schema in the DB (Cassandra),
- start Kafka service (on single-node deployments only),
- start Janusgraph service (on single-node deployments only),
- initialize the Janusgraph configuration (on single-node deployments only),
- install a tmpfiles.d
.conf
file for syndeia-cloud,
- install systemd .target
and .service
files for syndeia-cloud microservices
- start all Syndeia Cloud microservices,
- create the superuser
account, and
- create default repository-type data.
Note: you may be prompted for sudo
authentication when installing to /opt/...
you will also be prompted for your syndeia_admin
password set previously
Note, If you are deploying SC 3.4 SP1+ on a multi-node configuration where SC is not on the same machine as Cassandra or JG, please: a. ensure you have CQLSH installed, b. update JG_HOST on L42 in the provided conf/init/systemd/sc-graph.service
file, c. update localhost
with \localhost\
on L477-478 in the provided bin/syndeia-cloud-3.4_install.bash
, and d. run the SC setup with the --multi_node
or -m
switch.
Warning | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
IMPORTANT: If you get an error at the end with the or the
... please run them manually, ie:
If you wish to skip the automatic running of the devops actions at the end because you have an environment in which these actions do not succeed, you can pass the |
10. Validate correct operation and create/update an archive image to use as a new base image if the node needs to be rebuilt or if you wish to create a cluster.
Before making the image you may wish to first stop and optionally disable Syndeia Cloud's services temporarily to prevent auto-start on boot, ie: sudo systemctl disable sc.target
Managing Syndeia Cloud:
11. To check the status of Syndeia Cloud services, use systemctl status
<service_name>; where <service_name> = one of sc-auth|sc-store|sc-graph|sc-
web-gateway|sc-aras|sc-artifactory|sc-bitbucket|sc-confluence|sc-doors|sc-github|sc-gitlab|sc-jama|sc-jira|sc-sysmlv2|sc-testrail|sc-twcloud|sc-wc
12. To stop/start the Syndeia Cloud services, use sudo systemctl
<action> <service_name>; where <action> = one of start|stop
, and <service_name> = one of 9. In the directory you downloaded and extracted the main .zip
, run the install script, ie: ./bin/syndeia-cloud-3.5_install.bash -SC_v ${
. This will: new_build_version}
- install Syndeia Cloud 3.5 (or latest service pack) to /opt/icx/syndeia-cloud-${new_build_version}
,
- make syndeia-cloud:syndeia-cloud
the owner,
- configure the application.conf
files if necessary,
- generate a concatenated schema file,
- stop any existing Syndeia Cloud 3.5 processes,
- update/create a "current
" symlink to the installed version,
- stop the Janusgraph service (on single-node deployments only),
- stop the Kafka service (on single-node deployments only),
- archive any old Kafka logs (on single-node deployments only),
- drop any old keyspaces & generate the new schema in the DB (Cassandra),
- start Kafka service (on single-node deployments only),
- start Janusgraph service (on single-node deployments only),
- initialize the Janusgraph configuration (on single-node deployments only),
- install a tmpfiles.d
.conf
file for syndeia-cloud,
- install systemd .target
and .service
files for syndeia-cloud microservices
- start all Syndeia Cloud microservices,
- create the superuser
account, and
- create default repository-type data.
Note: you may be prompted for sudo
authentication when installing to /opt/...
you will also be prompted for your syndeia_admin
password set previously
Info | ||
---|---|---|
| ||
Note, If you are deploying SC 3.5 on a multi-node configuration where SC is not on the same machine as Cassandra or JG, please:
|
10. Validate correct operation and create/update an archive image to use as a new base image if the node needs to be rebuilt or if you wish to create a cluster.
Before making the image you may wish to first stop and optionally disable Syndeia Cloud's services temporarily to prevent auto-start on boot, ie: sudo systemctl disable sc.target
...
Managing Syndeia Cloud:
11. To check the status of Syndeia Cloud services, use systemctl status
<service_name>; where <service_name> = one of sc-auth|sc-store|sc-graph|sc-
web-gateway|sc-aras|sc-artifactory|sc-bitbucket|sc-collaborator|sc-confluence|sc-doors|sc-github|sc-gitlab|sc-jama|sc-jira|sc-restful|sc-sysmlv2|sc-testrail|sc-twcloud|sc-volta|sc-wc
...
12. To stop/start the Syndeia Cloud services, use sudo systemctl
<action> <service_name>;
...
where <action> = one of start|stop
, and <service_name> = one
...
of sc-auth|sc-store|sc-graph|sc-
web-gateway|sc-aras|sc-artifactory|sc-bitbucket|sc-collaborator|sc-confluence|sc-doors|sc-github|sc-gitlab|sc-jama|sc-jira|sc-restful|sc-sysmlv2|sc-testrail|sc-twcloud
...
|sc-volta|sc-wc
Note: services are enabled to start on boot by default. For more information on installing the .service
files manually and configuring them to start after Cassandra, see information see Setting up Services to Start on Boot.
13. To tail or view the logs for any Syndeia Cloud service, use either sudo journalctl -feu sc-
<service_name> or less /opt/icx/syndeia-cloud-${new_build_version}/logs/
<service_name>.log
; where <service_name> = one of auth|store|graph|web-gateway|sc-aras|sc-artifactory|sc-bitbucket|collaborator|sc-confluence|sc-doors|sc-github|sc-gitlab|sc-jama|sc-jira|restful|sc-sysmlv2|sc-testrail|sc-twcloud|sc-wcvolta|w
c
...
Validating Syndeia Cloud Installation & Configuration:
...