-
-
Notifications
You must be signed in to change notification settings - Fork 604
Cassandra quickstart on OSv with KVM
You can follow the GettingStarted page from the Cassandra Wiki with a few modifications.
Follow the instructions in the OSv README.
The OSv build process will automatically download Cassandra when you build a Cassandra image:
make image=cassandra
By default, you will get a QCOW2 image at build/release/usr.img
. Important: as of Cassandra 2.0.3 and OSv 0.06-rc1, this is only about 158MB in size. The build is not broken. OSv images really are that small.
Java and Cassandra configuration are in the file apps/cassandra/start-cassandra
in the OSv repo. You can modify the defaults there.
(You may need to edit the -Xss option in start-cassandra if it hasn't been fixed in the version you have.)
Run the startup script:
sudo apps/cassandra/start-cassandra
(The sudo
is required in order to set up networking.)
By default, the OSv guest starts with the IP address 192.168.122.89, so you can complete the rest of the GettingStarted instructions with this cqlsh command:
cqlsh 192.168.122.89