Table of Contents | ||||||
---|---|---|---|---|---|---|
|
Setting up Services to Start on Boot
...
Code Block | ||||
---|---|---|---|---|
| ||||
# 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
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/
to init/systemd
//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
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 | ||||
---|---|---|---|---|
| ||||
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
...