# # Install instructions for the AstroGrid registry. # # These instructions assumes that the following environment variables have already been set : # JAVA_HOME # CATALINA_HOME # ASTROGRID_HOME # ASTROGRID_HOSTNAME # # -------- -------- -------- -------- # Install registry webapp. # # # Set the local registry authority identifier. # Convention is to use your DNS domain name reversed. # Example 'www.astrogrid.org' DNS domain becomes 'org.astrogrid' registry authority. export ASTROGRID_REGISTRY_AUTH= # # Set the registry version. export ASTROGRID_REGISTRY_VERSION=2006.3.03r # # Create registry directories. mkdir ${ASTROGRID_HOME}/registry mkdir ${ASTROGRID_HOME}/registry/webapp mkdir ${ASTROGRID_HOME}/registry/log mkdir ${ASTROGRID_HOME}/registry/exist mkdir ${ASTROGRID_HOME}/registry/exist/data # # Get the latest registry webapp. wget -P ${ASTROGRID_HOME}/registry/webapp http://www.astrogrid.org/maven/org.astrogrid/wars/astrogrid-registry-${ASTROGRID_REGISTRY_VERSION}.war # # Extract the default registry config. unzip -j -d ${ASTROGRID_HOME}/registry/exist $ASTROGRID_HOME/registry/webapp/astrogrid-registry-${ASTROGRID_REGISTRY_VERSION}.war WEB-INF/conf.xml # # Configure the database location. vi ${ASTROGRID_HOME}/registry/exist/conf.xml ** Replace {ASTROGRID_HOME} with the full path (two places) ** .... .... .... # # Create registry context file. vi ${CATALINA_HOME}/conf/Catalina/localhost/astrogrid-registry.xml ** Replace {ASTROGRID_HOME} with the full path (three places) ** Replace {ASTROGRID_REGISTRY_VERSION} with the webapp version (one place) ** Replace {ASTROGRID_REGISTRY_AUTH} with the local authority identifier (one place) ** Replace {ASTROGRID_REGISTRY_EMAIL} with your email address (one place) # # Check the registry home page. # http://${ASTROGRID_HOSTNAME}:8080/astrogrid-registry/ # # Check the registry admin page (workshop, qwerty). # http://${ASTROGRID_HOSTNAME}:8080/astrogrid-registry/admin/index.jsp # # Self register form # http://${ASTROGRID_HOSTNAME}:8080/astrogrid-registry/admin/selfRegisterForm.jsp Title Publisher ContactName ContactEmail # # Check for entry listed in browse page. # http://${ASTROGRID_HOSTNAME}:8080/astrogrid-registry/browse.jsp?IvornPart=${ASTROGRID_REGISTRY_AUTH} # # -------- -------- -------- -------- # Set the registry endpoint URLs. # This will set the endpoint URLs that your services will use to find other services. # Please check with the astrogrid team a Leicester for the correct URLs. # # The registry update endpoint should always point to your local registry. export ASTROGRID_REGISTRY_ADMIN=http://${ASTROGRID_HOSTNAME}:8080/astrogrid-registry/services/RegistryUpdate # # For a local test system, this should point to your local registry. # This will mean that your components will only be able to use services within your local system. export ASTROGRID_REGISTRY_QUERY=http://${ASTROGRID_HOSTNAME}:8080/astrogrid-registry/services/RegistryQuery # # For a test service, you need to point to the development grid registry at Leicester. # This will mean that your components will be able to use services registered with the development system. # export ASTROGRID_REGISTRY_QUERY=http://katatjuta.star.le.ac.uk:8080/astrogrid-registry/services/RegistryQuery # # For a live service, you need to point to the main global registry at Leicester. # This will mean that your components will be able to use services registered with the main AstroGrid system. # export ASTROGRID_REGISTRY_QUERY=http://galahad.star.le.ac.uk:8080/astrogrid-registry/services/RegistryQuery # # -------- -------- -------- -------- # Register your registry with the AstroGrid registry. # For a local test system, you don't need to register with the main AstroGrid system. # For a test system, you should register with the development grid registry at Leicester. # For a live system, you should register with the main global registry at Leicester. # # # Add an entry for your registry into the external registry. # This record will tell the external registry where to find our publishing registry. # ** Edit the following entry and then email it to a member of the AstroGrid team at Leicester. # ** Replace {ASTROGRID_REGISTRY_NAME} with your institute name (one place). # ** Replace {ASTROGRID_REGISTRY_AUTH} with the local authority identifier (three places). # ** Replace {ASTROGRID_HOSTNAME} with the the correct host name (one place). # {ASTROGRID_REGISTRY_NAME} registry ivo://{ASTROGRID_REGISTRY_AUTH}/org.astrogrid.registry.RegistryService http://{ASTROGRID_HOST}:8080/astrogrid-registry/services/RegistryHarvest {ASTROGRID_REGISTRY_AUTH} # # Ask the AstroGrid registry to harvest your local registry. # ** This needs to be done by a member of the AstroGrid team at Leicester ** # # Check your registry is visible in the AstroGrid registry.