Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Setup Puppet (Getting started - Marcus will need to do before docs will be good)
    1. Login to foreman https://gonzo-foreman.ncsa.illinois.edu/hosts
      1. verify existence of host - the name will be <name of vm>.os.ncsa.edu
      2. puppet env
        1. production
      3. puppet classes
        1. clowder
        2. or install java

          Code Block
          sudo apt-get install default-jre


    2. maybe service puppet restart on host machine
  2. configure clowder
    1. login to clowder machine

    2. Edit /home/clowder/clowder/custom/custom.confconf 

      1. clowder should (as in must) have a security token if exposed to internet

        Code Block
        permissions = public
        application.context="/clowder/"
        
        initialAdmins=""   		# add admin emails between quotes
        smtp.host="smtp.ncsa.illinois.edu"
        
        # securesocial customization
        securesocial.onLoginGoTo=/clowder/
        securesocial.onLogoutGoTo=/clowder/login
        securesocial.ssl=false
        securesocial.cookie.idleTimeoutInMinutes=1440
        
        # rabbitmq
        clowder.rabbitmq.uri="amqp://clowder:***********@rabbitmq.ncsa.illinois.edu/clowder" 	# you'll need the security code
        clowder.rabbitmq.exchange="gltg-clowder-dev"
        
        # mongodb      These are the IP addresses for the current mongodb servers
        mongodbURI="mongodb://141.142.209.172:27017,141.142.209.173:27017,141.142.209.174:27017/gltg?replicaSet=GLTG&maxpoolsize=100"
        
        # postgres
        postgres.user="***********"			# you'll need the postgres username
        postgres.password="**************"  # you'll need the postgres user password
        postgres.host="141.142.209.176"		# This is the IP of the current postgres vm
        postgres.db="geostream-dev"         # you can start by using one of the existing databases - this is for gltg-dev
        
        # cache
        geostream.cache=/home/clowder/cache
        
        # security options
        
        application.secret="******************************************************"  	# you'll need to create and application.secret (random)
        commKey=************															# you'll need to create	commKey (random)
        
        
        # storage
        service.byteStorage=services.filesystem.DiskByteStorageService
        clowder.diskStorage.path="/home/clowder/data"


      2. set


      3. securesocial.ssl=
    3. Edit /home/clowder/clowder/custom/play.plugins

      Code Block
      9992:services.RabbitmqPlugin
      10005:services.PostgresPlugin


...