Skip to content

Archive Trac jetstream 2017

madscatt edited this page Jun 20, 2026 · 1 revision

Jetstream 2017

Legacy Trac archive page imported from jetstream_2017. Source: https://genapp.rocks/wiki/wiki/jetstream_2017. Review age, links, and examples before treating as current.

jetstream 2017 - migration, instance notes

  • genapp wiki & home page
    • copied from quarry gw105 (svn,wiki) & gw106 (webpage) to jetstream tacc (maybe later on tacc iu?)
    • public ip 129.114.17.30
    • trying with
    • m1.small
    • dc6c3bc5-cce9-42cd-91b1-cc9646528d47 Ubuntu 16.04 LTS Dev
nova boot TG-MCB170057-api-genapp_home \
  --flavor m1.small \
  --image dc6c3bc5-cce9-42cd-91b1-cc9646528d47 \
  --key-name i73 \
  --security-groups global-https-svn \
  --nic net-name=genapp-net

nova floating-ip-associate TG-MCB170057-api-genapp_home 129.114.17.30 
  • current id 65b88b69-eeb8-41d1-8bbb-f4c30b3f4c9a
  • done:
    • rsync of wiki & svn from gw105
    • website from gw106
    • activate svn
    • checked out
    • put repo in /svn/
    • open port 3690 for anonymous checkouts
    • backups on i5
    • /etc/cron.hourly/genapp.tacc
      • /sdb1/genapp.tacc
    • old ips for reference
gw105.iu.xsede.org 149.165.228.103
gw106.iu.xsede.org 149.165.228.104
- ntpd already running
- postfix
- dns svn.genapp.rocks wiki.genapp.rocks
- both point to the new server
- redirect genapp.rocks
- activate trac
- https://www.hiroom2.com/2016/08/06/ubuntu-16-04-install-trac/
- https://trac.edgewall.org/wiki/TracUpgrade#to1.2
- https://trac-hacks.org/wiki/AccountManagerPlugin
- some steps done
trac-admin /srv/wiki/genapp upgrade
trac-admin /srv/wiki/genapp wiki upgrade
sudo trac-admin /srv/wiki/genapp deploy /var/www/html/wiki
- bring over users, keys
- monitor installed
- final rsync
- turn off svn & tracd on gw105
- from gw105
cd /
rsync -av svn 129.114.17.30:/srv/
cd /wiki
rsync -av wiki 129.114.17.30:/srv/
- from genapp.tacc
service apache2 stop
cd ~/saveconfig
cp trac.ini /srv/wiki/genapp/conf
chown -R www-data:www-data /srv/wiki/genapp
service apache2 start
- turn off i5 backups of gw106
- start monitor runs
- test email hooks1
- announce
- {{{svn relocate svn+ssh://<redacted-email>/svn/base/xxx}}}
- add full backup of genapp.rocks to i5 (home etc)
  • requested:
    • redirect quarry domain names
  • todo:
    • save instance image & backup to iu?
    • copy of instance for alexey git play
    • https for genapp.rocks
  • namdrunner tacc
    • public ip 129.114.104.18

backup image for alexey testing

  • didn't work, ssh closed :(
nova boot TG-MCB170057-api-genapp_home_test \
  --flavor m1.small \
  --image 2785ca3d-d330-4343-97af-4abbc0e29992 \
  --key-name i73 \
  --security-groups global-https-svn \
  --nic net-name=genapp-net

nova floating-ip-associate TG-MCB170057-api-genapp_home_test 129.114.17.253
  • try from base image
nova boot TG-MCB170057-api-genapp_home_test \
  --flavor m1.small \
  --image dc6c3bc5-cce9-42cd-91b1-cc9646528d47 \
  --key-name i73 \
  --security-groups global-https-svn \
  --nic net-name=genapp-net

nova floating-ip-associate TG-MCB170057-api-genapp_home_test 129.114.17.253 

Clone this wiki locally