Versions Compared

Key

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

Start AWS Instance

Puppet Setup

  1. Locally clone the fcrepo-aws-puppet project
  2. Follow the README from the fcrepo-aws-puppet project
  3. There are two configurations to choose from:
    1. Single node, async-indexing (default)
      1. Includes YourKit agent for remote profiling
    2. Clustered
Clustered Configuration

To run a clustered configuration, locally update fcrepo-aws-puppet/modules/tomcat7/manifests/init.pp  uncommenting the clustered $repo_config and $etc_default_tomcat elements, and commenting out the previous values of those elements.

  • From

    Code Block
        $repo_config = 'classpath:/config/async-indexing/repository.json',
    #    $repo_config = 'classpath:/config/clustered/repository.json',
        $etc_default_tomcat = 'tomcat7/default-tomcat7.erb',
    #    $etc_default_tomcat = 'tomcat7/default-tomcat7-clustered.erb',
  • To

    Code Block
    #    $repo_config = 'classpath:/config/async-indexing/repository.json',
        $repo_config = 'classpath:/config/clustered/repository.json',
    #    $etc_default_tomcat = 'tomcat7/default-tomcat7.erb',
        $etc_default_tomcat = 'tomcat7/default-tomcat7-clustered.erb',

    Note, for the clustered configuration, start as many instances as desired.

    • All clustered instances will automatically join the same cluster

Puppet Run

  • Run

    Code Block
    ./fcrepo-aws-puppet/cloud-init/create-ec2-instance.sh

JMeter

...coming