Common cluster operations
In the text, node 192.168.2.100 is "seed-node". When the "admin interface" is specified, this means that you should "surf" to the admin interface on an existing cluster node such as http://192.168.2.100/admin.
Add a cluster node
In the example, the 192.168.2.110 node should be added to a cluster.
- Add the following in custom/conf/sitevision.properties on 192.168.2.110
- sitevision.cassandra.listen_address=192.168.2.110
- sitevision.cassandra.seeds=192.168.2.100
- Go to the admin interface and click on "Allow new node" and enter 192.168.2.110. Click ok
- Start Sitevision on 192.168.2.110
- In the admin interface, make sure that the new node appears in the cluster ring
Remove a cluster node
In the example, the 192.168.2.110 node should be removed from the cluster.
- Surf to the admin interface (not on 192.168.2.110 ) and right-click on 192.168.2.110 and select "Shutdown"
- Wait until the node is down and red
- Right-click on 192.168.2.110 and select "Remove"
- In the admin interface, make sure that the new node disappears from the cluster ring. This operation may take a few minutes
- Note! Do not start Sitevision again on 192.168.2.110 without emptying data/cassandra
Change the IP address on a cluster node
In the example, the 192.68.2.110 node should change IP address to 192.168.2.111
- Go to the admin interface and right-click on 192.168.2.110 and select "Shutdown"
- Wait until the node is down and red
- Change IP address on the machine from 192.68.2.110 to 192.168.2.111
- Add the following in custom/conf/sitevision.properties on 192.168.2.111
- sitevision.cassandra.listen_address=192.168.2.111
- Go to the admin interface and click on "Allow new node" and enter 192.168.2.111. Also, choose to replace the 192.168.2.110 node. Click ok
- Start Sitevision on 192.168.2.111
- In the admin interface, make sure that the node appears in the cluster ring
Change listen_address from localhost to "real" IP address
In the example, the 192.168.2.110 node should change
- Change the following in custom/conf/sitevision.properties on 192.168.2.110
- sitevision.cassandra.listen_address=192.168.2.110
- Restart Sitevision
You cannot access the settings if the website is located in Sitevision Cloud.
You need to log in with the system user to access this feature.
The page published:
Did the information help you?
help.sitevision.se always refers to the latest version of Sitevision
Print page