Versions Compared

Key

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

...

    Add an ec2 site to your sites.xml:
        <site handle="ec2" sysinfo="INTEL64::LINUX">
            <profile namespace="env" key="PEGASUS_HOME">/usr/local/pegasus/default</profile>
            <profile namespace="env" key="GLOBUS_LOCATION">/usr/local/globus/default</profile>
            <profile namespace="env" key="LD_LIBRARY_PATH">/usr/local/globus/default/lib</profile>
            <profile namespace="pegasus" key="bundle.stagein">1</profile>
            <profile namespace="pegasus" key="bundle.stageout">1</profile>
            <profile namespace="pegasus" key="transfer.proxy">true</profile>
            <profile namespace="pegasus" key="style">glidein</profile>
            <profile namespace="condor" key="universe">vanilla</profile>
            <profile namespace="condor" key="requirements">(Arch==Arch)&&(Disk!=0)&&(Memory!=0)&&(OpSys==OpSys)&&(FileSystemDomain!="")</profile>
            <lrc url="rls://example.com"/>
            <gridftp url="gsiftp://" storage="" major="2" minor="4" patch="0"/>
            <jobmanager universe="vanilla" url="example.com/jobmanager-pbs" major="2" minor="4" patch="3"/>
            <jobmanager universe="transfer" url="example.com/jobmanager-fork" major="2" minor="4" patch="3"/>
            <workdirectory>/shared</workdirectory>
        </site>
        
    Add the path to your proxy to the "local" site in sites.xml:
        <!- - This is needed so Pegasus can transfer the proxy to EC2 for gridftp - ->
        <profile namespace="env" key="X509_USER_PROXY">/tmp/x509up_u724</profile>
    
    In your pegasus.properties file, disable thirdparty transfer mode:
        # Comment-out the next line to run on site "ec2"
        #pegasus.transfer.*.thirdparty.sites=*
        
    If you installed your application code in the image, then modify your
    Transformation Catalog to include the new entries. (Tip: Make sure the
    sysinfo of your "ec2" site matches the new transformations you add to
    the TC)

...