Skip to content

Latest commit

 

History

History
55 lines (44 loc) · 1.14 KB

README.md

File metadata and controls

55 lines (44 loc) · 1.14 KB

sca-service-hpss

This service allows you to transfer files to/from HPSS and publish SCA progress events.

If you are running this on a machine behind firewall, you will need to set environment parameter HPSS_BEHIND_FIREWALL

config.json

Put files to hpss

Copy localpath to hpsspath while creating any missing parent directories on hpss.

{
    "put": [
        { "localpath": "/etc/issue", "hpsspath": "test/issue.txt"},
        { "localpath": "/etc/hostname", "hpsspath": "test/hostname.txt"}
    ],
    "auth": {
        "username": "scauser1",   
        "keytab": "scauser1.keytab"
    }
}

Get files from hpss

{
    "get": [
        { "localdir": "/placeto/download", "hpsspath": "test/issue.txt"},
        { "localdir": "/placeto/download", "hpsspath": "test/hostname.txt"}
    ],
    "auth": {
        "username": "scauser1",   
        "keytab": "scauser1.keytab"
    }
}

Remove files on hpss

{
    "remove": [
        { "hpsspath": "test/issue.txt"},
        { "hpsspath": "test/hostname.txt"}
    ],
    "auth": {
        "username": "scauser1",   
        "keytab": "scauser1.keytab"
    }
}