Opened 4 years ago

Closed 4 years ago

#2420 closed task (fixed)

Reformat osgeo3 as an lxd host

Reported by: robe Owned by: sac@…
Priority: normal Milestone: Sysadmin Contract 2020-I
Component: SysAdmin Keywords:


Plan is to setup osgeo3 similar to osgeo4 and osgeo7.

osgeo3 will server as a secondary production server but to serve things that are of a more riskay or experimental nature.

So I'm thinking of things like jenkins, bots, exploratory services, old vms.

Many of the old vms that were on osgeo3 that are running old os, I'd like to move back from osgeo7 to osgeo3.

I'm also thinking we might want to explore things we need actual vms for.

The current version of lxd we are using on osgeo4 and osgeo7 in addition to supporting containers also supports virtual machines via QEMU.

So virtual machines would be useful for cases that aren't linux. E.g. I'm thinking of BSDs and possibly windows (windows we might want to just do cloud because of the licensing and the fact windows is a hog).

Change History (1)

comment:1 by robe, 4 years ago

Resolution: fixed
Status: newclosed

I have osgeo3 up now with zfs and lxd.

It's same setup as osgeo4 except this time realizing I needed more rootfs for storing images and snapshots I had Lance reset it up

So it has 6 1.8 TB

The first two disks are configured using hardware raid 1 - and he set aside 800GB for the root partition. The remaining 1TB we can either put another lvm or expand the rootfs.

The remaining 4 drives (are RAID 0, so the mirroring is done via zfs). I took up the whole space there so we have a total of 3.6 TB essentially RAID1 in zfs speak.

I have two containers set up so far

a hop -- which is accessible via -- it serves the same purpose as hop on osgeo4 and download on osgeo7. Anyone who can ssh to download currently can ssh to this.

osgeo3-nginx -- this one I decided to go with debian 10/our osgeo ldap ssh so that other osgeo admins can administer without having to go thru lxd.

nexus -- is a work in progress built using the debian10 osgeo-ldap-ssh-withdocker image I had built. I plan to install nexus using the docker container. Might make sense to tdo the same with geoserver jenkins or just replicate their current server on osgeo3 using lxd2pc.

Note: See TracTickets for help on using tickets.