Yuuuhooooo! Working on r-hub again!
OS updates
First of all, I ran apt-get update; apt-get upgrade
etc. on the various hosts:
r-hub.io
ci.r-hub.io
- Linux builder 1
- Linux builder 2
cran.r-hub.io
monitor.r-hub.io
install-github.me
jenkins.r-pkg.org
seer.r-pkg.org
crandb.r-pkg.org
docs.r-pkg.org
www.r-pkg.org
AWS changed the IP address of ci.r-hub.io
, because I stopped it. Hmmm, it really should not do that. I had to change it in the DNS.
Running out of disk
The disk of cran-r-hub.io
was filling up. This is the machine that builds the Docker images for the builders, so it needs more disk as we are adding more images. It is easy to resize the disk on Azure, just:
- shut down the machine,
- stop it from the Azure web portal (wait for it…),
- resize the disk on the Azure web portal,
- start the machine.
Resized to 100GiB now, this should be enough for a lot of images.
SSL certificates
Next, I updated the SSL certificates for
ci.r-hub.io
cranlogs.r-pkg.org
Monitoring
I added monitoring to the following machine:
cran.r-hub.io
The following are monitored:
- whether the machine is up,
- disk space,
- cpu load
For Linux machines, I had to run this. Add repos and install packages first:
Put the following into /etc/sensu/conf.d/rabbitmq.json
:
Copy the Sensu certificate and the private key from the monitoring server to /etc/sensu/ssl/cert.pem
and /etc/sensu/ssl/key.pem
:
Make sure they are owned by sensu:sensu
.
Put this into /etc/sensu/conf.d/client.json
:
Enable sensu on boot, start the client:
Enable the client in the AWS firewall, in the sensu dashboard
security group.