Install Cassandra on Fulltest VMs

Explains how to provision and configure virtual machine instances specifically for Buildbot testing.

CassandraSE is no longer actively being developed and has been removed in MariaDB 10.6arrow-up-right. See MDEV-23024arrow-up-right.

Here are the steps I took to install Cassandra on the Fulltest VMs.

  1. backed up the fulltest VMs with:

rsync -avP /kvm/vms/*fulltest* host:/destination/path/
  1. boot the amd64 fulltest VM:

vm=vm-precise-amd64-fulltest.qcow2
kvm -m 2048 -hda /kvm/vms/${vm} -boot c -smp 2 -cpu qemu64 -net nic,model=virtio -net user,hostfwd=tcp:127.0.0.1:22666-:22 -nographic
  1. login to the VM:

ssh -t -p 22666 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -i /kvm/vms/ssh-keys/id_dsa dbart@localhost
  1. in the VM, install Cassandra:

sudo vi /etc/apt/sources.list.d/cassandra.list

# paste in the following two lines:
deb http://www.apache.org/dist/cassandra/debian 11x main
deb-src http://www.apache.org/dist/cassandra/debian 11x main

gpg --keyserver pgp.mit.edu --recv-keys F758CE318D77295D
gpg --export --armor F758CE318D77295D | sudo apt-key add -

gpg --keyserver pgp.mit.edu --recv-keys 2B5C1B00
gpg --export --armor 2B5C1B00 | sudo apt-key add -

sudo apt-get update
sudo apt-get install cassandra
  1. in the VM, launch the cassandra-cli program and test the Cassandra installation:

  • Output of the above:

  1. in the VM, shut it down:

  1. Do steps 2-6 for vm-precise-i386-fulltest.qcow2. The output of the testing step was:

  1. on the other build hosts, rsync the files over:

This page is licensed: CC BY-SA / Gnu FDL

spinner

Last updated

Was this helpful?