Opened 21 months ago

Closed 21 months ago

Last modified 21 months ago

#2452 closed task (fixed)

new VM for

Reported by: tomkralidis Owned by: sac@…
Priority: normal Milestone: Sysadmin Contract 2020-I
Component: Systems Admin Keywords: pycsw demo
Cc: robe

Description is running off the old adhoc machine.

We (pycsw) would like a new VM so we can setup an autodeploy via Docker, which will lessen the legacy footprint of AdhocVM.

Change History (12)

comment:1 Changed 21 months ago by robe

I'll start off with 4G RAM, 4 CPU, 100 GB. Is that okay? We can go up if needed those are just soft-limits so easy to change without rebooting.

I've been slowly resetting up monitoring for all the servers.

Can you see if you can log into here --

Once I have the new server setup you'll see metrics for it on the OSGeo7 dashboard.

comment:2 Changed 21 months ago by robe

oops sorry url is

comment:3 Changed 21 months ago by tomkralidis

Specs are great. Yup I can login to just fine.


comment:4 Changed 21 months ago by robe

VM is setup, I haven't added it to the monitor yet.

the container is called pycsw and I gave you sudo rights in it.

So you should be able to login with tomkralidis@osgeo7-pycsw and finish setting it up however you like. It's already got docker installed.

comment:5 Changed 21 months ago by robe

As discussed with Tom on IRC. proxying port 80 on nginx to domain

We'll flip it to once he's done setting it off and shut off the running on old-adhoc.

comment:6 Changed 21 months ago by tomkralidis


Last edited 21 months ago by tomkralidis (previous) (diff)

comment:7 Changed 21 months ago by robe

Tom I can't figure out how to give a different user group access to docker. It seems docker is hardwired to accept only docker as a group. I'm sure it's buried somewhere and we can rename it, but not sure

So what I did instead is this -- which is pretty much following the directions you had above

sudo usermod -aG docker tomkralidis #add tom to docker group
sudo usermod -aG docker robe # add regina to docker group

Then I exited out of pycsw and logged back in and tried doing this. Note logging out and logging back in is required for new permissions to take effect.

 docker run hello-world

and it was successful. Before that it gave a permission error.

Is that okay, or you really need the group to be called pycsw-demo?

comment:8 Changed 21 months ago by robe

tomkralidis just one more note -- since you are an admin of this container you can do anything you want with it including adding new members to docker group.

The container is snapshotted nightly and 30 days of backup is kept, so if you screw it up badly we can always restore from a previous backup.

comment:9 Changed 21 months ago by tomkralidis

Thanks Regina, group name docker is just fine, thanks.

I didn't realize it was ok for me to make admin changes, will do so in the future. As well, thanks for the note about backups. Excellent SAC services here!

comment:10 Changed 21 months ago by tomkralidis

I think we are ready for the switchover. Let's discuss on IRC (I am unsure on how HTTPS will work).

comment:11 Changed 21 months ago by robe

Resolution: fixed
Status: newclosed

As discussed on irc all set and switched over.

Committed the changes at

comment:12 Changed 21 months ago by robe

Milestone: UnplannedSysadmin Contract 2020-I
Note: See TracTickets for help on using tickets.