Hi,
I am working on a research project about OSv, where one of the topics is to
have a working Cassandra cluster running on OSv, and I've run into some
issues.
To put all my questions into one, is there a way to configure a Cassandra
image file in a way so that:
1) a single image can be used to run several cassandra nodes,
2) the cassandra.yaml file of each instance is configured when running
scripts/run.py, where
a) each started instance of the image is given a unique IP address
which is inserted in the listen_address parameter in the .yaml file*
b) only the cassandra seed nodes have static IP addresses (hardcoded
into seed_provider > seeds and listen_address in the .yaml file, in their
respective instances)**
3) when starting an instance of the image, a virtual block storage is setup
and connected to that cassandra node.
* An alternative to this could be, according to what I've found so far, to
have the parameter listen_interface=eth0, though this requires an upgrade
of the Cassandra version running on osv to something higher than the
current 2.1.0, although I haven't managed to do this.
** The only way that I've found so far, at least, to do this is to use the
--mac option when running scritps/run.py as used here [
https://groups.google.com/forum/#!msg/osv-dev/HjG51LSjlcE/j6XcETW4BwAJ].
But this doesn't seem like a good solution if I want the IP addresses of
the seed nodes to be permanent, as this solution is unstable and unreliable
since it depends on configurations outside of the node. Suggestions of
better solutions are appreciated.
I apologize in advance for any lack of knowledge I may present with this
question, as I am new to networking and the Cassandra database. Suggestions
of solutions, or any tips on where I can find this information IF it does
exist (and I've just somehow managed to miss it), is very much appreciated.
Thank you!
--
You received this message because you are subscribed to the Google Groups "OSv
Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.