Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Linux RHEL/CentOS7: Step 3, add note about how to manage systemd service file

Table of Contents
outlinetrue
absoluteUrltrue
stylenone

Setting up Services to Start on Boot

...

Code Block
languagepowershell
themeRDark
# Replace server.domain with your server FQDN/name
do {
    $result = Test-NetConnection -ComputerName "cassandraserver.mycompany.comdomain" -Port 9042 -InformationLevel "Quiet";
} until ($result)

...

2. Run sudo systemctl reload-daemon
3. Run sudo systemctl enable syndeia-cloud

(info) To (re)start, stop, or check the status of the syndeia-cloud service, use systemctl, ie:  sudo systemctl <action> syndeia-cloud ; where <action> = (re)start, stop, or status

...

Remote-node Cassandra

1. From your installation of Syndeia Cloud, copy the syndeia-cloud.remote-node_cassandra.service systemd .service file from <syndeia-cloud-home>/bin/init/systemd/ to /etc/systemd/system/ as syndeia-cloud.service, ie: sudo cp /opt/icx/syndeia-cloud-3.2/bin/init/systemd/syndeia-cloud.remote-node_cassandra.service /etc/systemd/system/syndeia-cloud.service

(info) If this file is unavailable, copy and paste the code from Appendix D4.5 into the above location and comment/uncomment out the relevant section for single or multi-node Cassandra.

2. From your installation of Syndeia Cloud, edit the line below the /etc/systemd/system/syndeia-cloud.service script file and replace server.domain with the FQDN of your server, ex: cassandra.mycompany.com, ie:

Code Block
languagepowershell
themeRDark
ExecStartPre=/bin/sh -c "echo 'Syndeia Cloud: Waiting until Cassandra port is up...';until echo test > /dev/tcp/server.domain/9042 ; do sleep 1; done;"

3. Run sudo systemctl reload-daemon
34. Run sudo systemctl enable syndeia-cloud

...