Versions Compared

Key

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

...

  1. cd $CAS_PP_HOME/bin
  2. Edit the 'pushpull' shell script making sure to replace the key variables as shown below:
    Code Block
    title[CAS_PP_HOME]/bin/pushpull
    borderStyledashed
    
    line
    25   ${JAVA_HOME}/bin/java \
    26   -cp ${LIB_DEPS} -Dcom.sun.management.jmxremote \
    27   -Djava.util.logging.config.file=../etc/logging.properties \
    28   -Djavax.net.ssl.trustStore=${CAS_PP_RESOURCES}/jssecacerts \
    29   org.apache.oodt.cas.pushpull.daemon.DaemonLauncher \
    30   --rmiRegistryPort ${DAEMONLAUNCHER_PORT} \
    31   --propertiesFile ${CAS_PP_RESOURCES}/push_pull_framework.properties \
    32   --remoteSpecsFile ${CAS_PP_RESOURCES}/examples/RemoteSpecsFiles/RemoteSpecs.xml 
    
    # You can leave this file unchanged by merely exporting the following env vars (bash shell)
    
    export CAS_PP_RESOURCES=$CAS_PP_HOME/etc
    export DAEMONLAUNCHER_PORT=9012
    
    # Or you can always use this config and not setup env vars
    line
    25   ${JAVA_HOME}/bin/java \
    26   -cp ${LIB_DEPS} -Dcom.sun.management.jmxremote \
    27   -Djava.util.logging.config.file=${CAS_PP_HOME}/etc/logging.properties \
    28   -Djavax.net.ssl.trustStore=${CAS_PP_HOME}/etc/jssecacerts \
    29   org.apache.oodt.cas.pushpull.daemon.DaemonLauncher \
    30   --rmiRegistryPort 9012 \
    31   --propertiesFile ${CAS_PP_HOME}/etc/push_pull_framework.properties \
    32   --remoteSpecsFile ${CAS_PP_HOME}/etc/examples/RemoteSpecsFiles/RemoteSpecs.xml 
    
  3. ./pushpull

That should be about it. The daemon should start up on port 9012 (given this config)

FAQ Section

Pushpull keeps re-downloading files I have ingested. How can I prevent PushPull from repeatedly downloading products?

...