Opened 2 years ago

Closed 2 years ago

Last modified 2 years 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 by robe, 2 years ago

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:3 by tomkralidis, 2 years ago

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


comment:4 by robe, 2 years ago

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 by robe, 2 years ago

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 by tomkralidis, 2 years ago


Last edited 2 years ago by tomkralidis (previous) (diff)

comment:7 by robe, 2 years ago

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 by robe, 2 years ago

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 by tomkralidis, 2 years ago

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 by tomkralidis, 2 years ago

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

comment:11 by robe, 2 years ago

Resolution: fixed
Status: newclosed

As discussed on irc all set and switched over.

Committed the changes at

comment:12 by robe, 2 years ago

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