PanDA Client

PanDA Client is a tool which allows user to submit jobs to PanDA server.

Installation

PanDA Client can be obtained from github it's a part of server code:

# git clone https://github.com/PanDAWMS/panda-server

Environment

export PYTHONPATH=$PWD/bigpanda-client:$PYTHONPATH #add client to python path

export X509_CERT_DIR="/etc/grid-security/certificates" #set the CA certificates directory

export PANDA_URL=http://pandaserver:25080/server/panda #set the HTTP URL to server

export PANDA_URL_SSL=https://pandaserver:25443/server/panda #set the HTTPS URL to server

Example test scripts

You can find an examples by the link:

https://github.com/PanDAWMS/panda-server/tree/master/pandaserver/test

Submitting jobs using python scripts

Job can be submitted as following:

# python testScript.py ANALY_RRC-KI-HPC (where ANALY_RRC-KI-HPC is a dedicated PanDA site name )

Testing you certificate and server connection

To run the jobs user should have valid certificate and create proxy:

voms-proxy-init --cert ~/.globus/usercert.pem --key ~/.globus/userkey.pem

by default proxy file will be created at /tmp with name x509up_uXXXXX, where XXXXX is your UID

Simplest way to check PanDA server is to run following command:

curl --cert /tmp/x509up_uXXXXX --capath /etc/grid-security/certificates https://pandaserver:25443/server/panda/isAlive -v

Right response should be: alive=yes

Certificates troubleshooting

Userfull commands for debugging:

voms-proxy-info

openssl s_client -host pandaserver -port 25443

openssl x509 -in ~/.globus/usercert.pem -issuer -noout

RuslanMashinistov - 2015-06-11

Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r5 - 2015-06-18 - RuslanMashinistov
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    PanDA All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback