While baking cookies, I rewrote the broker scripts for the DNS changes. On the bright side, I never updated them to cluster.dev, so it was straight from IPs to cluster.test. I was confused about why the Bookies had port 6650 mapped when it could not be configured. Turns out, that is a Broker port thatContinue reading “Pulsar Up, Again”
Category Archives: Tech
Up, Again
And cluster.test is up and running as far as BookKeeper. All six http:// URLs work. All scripts and documents now use cluster.test instead of cluster.dev. (Google is evil!) There were a few bobbles along the way, but I’m getting reasonably good at this, unfortunately. Discovery: When you send –restart always to a docker run command,Continue reading “Up, Again”
Google Is EVIL
I cannot connect a web browser to my new entirely internal domain because I named it cluster.dev and Google has registered “.dev” and hard-coded into browsers that it must be secure. I’m not screwing with TLS infrastructure. Now I need to rename the whole thing. “.test” is supposed to be reserved. We’ll see. Many thanksContinue reading “Google Is EVIL”
ZooKeeper Up – Again
It’s running on names, now. I’ve also restructured the files with the intent to upload it all to github as one package and documented a step-by-step guide, getting this far, at least. Note that I didn’t lose the Zoo data. It’s also generating log files, now, so they can be picked up by logstash (someday)Continue reading “ZooKeeper Up – Again”
DNS Up
BIND doesn’t seem to have a logo, so I picked this. On the off chance anyone sees it, I picked a watermarked picture in the hopes of not running into copyright issues. Aside from the clever name, it’s an interesting site. My virtual machines now have names (and static IPs) and can see each otherContinue reading “DNS Up”
Pulsar Up
I have no idea if it is working and I’m going to bed before trying to find out. It is started. Three VMs each with a ZooKeeper, BookKeeper, and Broker running on them. Once I get it tested, I’m definitely arranging this properly and putting it on github. This should not have been so difficult.Continue reading “Pulsar Up”
ZooKeeper Up
Was that a nightmare. They refused to talk to each other. It would have been easier if I had had any confidence in the VM network, but since I didn’t know if that was failing or not, there were many more variables. The answer was simple, but “simple” does not mean “easy”. There are fiveContinue reading “ZooKeeper Up”
Python Adventures
I cheated. I’m running Cassandra 3.11 in docker containers. The shell (cqlsh) is a Python script that runs fine in docker, if you can figure out how: I want cross-VM access, so I need to run it outside of docker. I haven’t figured out how to give Virtual Box VMs DNS names, so I usedContinue reading “Python Adventures”
Zoo & Book Up
Wow. That was harder than Cassandra and I still haven’t started on Pulsar. A few notes: ZooKeeper needs persistent volumes. BookKeeper expects some metadata to be there. If you don’t persist it, you end up with race conditions when they start (as each one tries to bootstrap the metadata). Get the right image from dockerhub.Continue reading “Zoo & Book Up”
Distributed Systems & Failure
I have a three node Cassandra cluster running. It’s three containers on one virtual machine. Pulsar is next. I decided on a new virtual machine from the same base image the Cassandra one started from. That way, it’s free of any “Cassandra pollution”. And I have been taking notes, so I know what I didContinue reading “Distributed Systems & Failure”