ecmwf 1 com intro training course – 2004 ecaccess ecaccess a portal to access ecmwf also known as...
TRANSCRIPT
![Page 1: ECMWF 1 Com Intro training course – 2004 ECaccess ECaccess A portal to access ECMWF Also known as EasyAccess Dominique Lucas](https://reader036.vdocuments.mx/reader036/viewer/2022062619/55154bfc5503465e608b64c9/html5/thumbnails/1.jpg)
ECMWF 1 Com Intro training course – 2004 ECaccess
ECaccessA portal to access ECMWF
Also known as EasyAccess
Dominique Lucas
![Page 2: ECMWF 1 Com Intro training course – 2004 ECaccess ECaccess A portal to access ECMWF Also known as EasyAccess Dominique Lucas](https://reader036.vdocuments.mx/reader036/viewer/2022062619/55154bfc5503465e608b64c9/html5/thumbnails/2.jpg)
ECMWF 2 Com Intro training course – 2004 ECaccess
Content
ECaccess concepts
telnet, ssh and ftp access
X11 access
ECaccess file management
ECaccess job management
Unattended file transfers
ECaccess vs. ecbatch
Tutorial
![Page 3: ECMWF 1 Com Intro training course – 2004 ECaccess ECaccess A portal to access ECMWF Also known as EasyAccess Dominique Lucas](https://reader036.vdocuments.mx/reader036/viewer/2022062619/55154bfc5503465e608b64c9/html5/thumbnails/3.jpg)
ECMWF 3 Com Intro training course – 2004 ECaccess
ECaccess - Concepts
ECaccess provides a portal to access ECMWF archiving and computing facilities
Strict authentication via SecurID card andX509 certificates
Data integrity/confidentiality guaranteed by SSL
![Page 4: ECMWF 1 Com Intro training course – 2004 ECaccess ECaccess A portal to access ECMWF Also known as EasyAccess Dominique Lucas](https://reader036.vdocuments.mx/reader036/viewer/2022062619/55154bfc5503465e608b64c9/html5/thumbnails/4.jpg)
ECMWF 4 Com Intro training course – 2004 ECaccess
ECaccess - Concepts
ECaccess provides:
File and job management in batch or interactive mode through an extended FTP server
File and job management through a Web browser
A secure telnet access to ECMWF
A secure X Windows access to ECMWF
All this via internet or RMDCN.
![Page 5: ECMWF 1 Com Intro training course – 2004 ECaccess ECaccess A portal to access ECMWF Also known as EasyAccess Dominique Lucas](https://reader036.vdocuments.mx/reader036/viewer/2022062619/55154bfc5503465e608b64c9/html5/thumbnails/5.jpg)
ECMWF 5 Com Intro training course – 2004 ECaccess
ECaccess - Architecture
IN R T ME D R CN NE T
ECaccessMS Gateway Ecgate
ECcert Command
ECaccess Server (Java app)ECaccess
GatewayF I R E W A L L
ECproxy Server (C app)
ECcmd Server
(Java app)
ECios Server (C app)
JSSE-SSL
OpenSSL-SSL
ECMWF Gate- way
FTP
Server
X Server
ECaccess Tools
FTP Client
Telnet Client
Web Browser
MS Work- station
ECaccess CA
(OpenSSL)
Multi tiersECaccess Client, ECaccess Gateway, ECaccess Server, ECaccess ecgate
![Page 6: ECMWF 1 Com Intro training course – 2004 ECaccess ECaccess A portal to access ECMWF Also known as EasyAccess Dominique Lucas](https://reader036.vdocuments.mx/reader036/viewer/2022062619/55154bfc5503465e608b64c9/html5/thumbnails/6.jpg)
ECMWF 6 Com Intro training course – 2004 ECaccess
ECaccess client
Standard Telnet, FTP, ssh and HTTP/S client
Standard X Windows and FTP Server
ECaccess tools (eccert …)
ECaccess - Architecture
![Page 7: ECMWF 1 Com Intro training course – 2004 ECaccess ECaccess A portal to access ECMWF Also known as EasyAccess Dominique Lucas](https://reader036.vdocuments.mx/reader036/viewer/2022062619/55154bfc5503465e608b64c9/html5/thumbnails/7.jpg)
ECMWF 7 Com Intro training course – 2004 ECaccess
ECaccess gateway
Entry point for all ECaccess users
Verifies ECaccess users authentication(certificates or passcodes)
Implements Telnet, FTP and HTTP/S protocols
Secure tunnels through firewalls to ECaccess Server
Either local gateway installed at your site or ecaccess.ecmwf.int for internet and msaccess.ecmwf.int for RMDCN.
ECaccess - Architecture
![Page 8: ECMWF 1 Com Intro training course – 2004 ECaccess ECaccess A portal to access ECMWF Also known as EasyAccess Dominique Lucas](https://reader036.vdocuments.mx/reader036/viewer/2022062619/55154bfc5503465e608b64c9/html5/thumbnails/8.jpg)
ECMWF 8 Com Intro training course – 2004 ECaccess
ECaccess Server
Located at ECMWF: ecaccess.ecmwf.int or msaccess.ecmwf.int
Entry point for all ECaccess gateways
Authenticate ECaccess gateways
Provides job and file management functions
Provides functions to monitor file transfers
Provides system access functions
Keeps track of users activity
ECaccess – Architecture
![Page 9: ECMWF 1 Com Intro training course – 2004 ECaccess ECaccess A portal to access ECMWF Also known as EasyAccess Dominique Lucas](https://reader036.vdocuments.mx/reader036/viewer/2022062619/55154bfc5503465e608b64c9/html5/thumbnails/9.jpg)
ECMWF 9 Com Intro training course – 2004 ECaccess
ECaccess ecgate
Runs the ECaccess Certificate Authority (CA)
Provides job management through NQS and LoadLeveler
Provides access to home, scratch and ECFS
Keeps job input, output and error files
Manages spool for unattended file transfers
ECaccess - Architecture
![Page 10: ECMWF 1 Com Intro training course – 2004 ECaccess ECaccess A portal to access ECMWF Also known as EasyAccess Dominique Lucas](https://reader036.vdocuments.mx/reader036/viewer/2022062619/55154bfc5503465e608b64c9/html5/thumbnails/10.jpg)
ECMWF 10 Com Intro training course – 2004 ECaccess
Use local ECaccess gateways if installed
Internet ECaccess gateways available at:
ctbto.de, dmi.dk, knmi.nl, sma.ch, irmet.ie, smhi.se,
meteo.fr, dwd.de, cerfacs.fr, mercator.ocean.fr,
eumetsat.de, univie.ac.at, met.hu, cscs.ch, inm.es
RMDCN ECaccess Gateways available at:
metoffice.com, inm.es, meteor.gov.tr
If local ECaccess gateway not installed, then use ecaccess.ecmwf.int or msaccess.ecmwf.int
ECaccess – local gateways
![Page 11: ECMWF 1 Com Intro training course – 2004 ECaccess ECaccess A portal to access ECMWF Also known as EasyAccess Dominique Lucas](https://reader036.vdocuments.mx/reader036/viewer/2022062619/55154bfc5503465e608b64c9/html5/thumbnails/11.jpg)
ECMWF 11 Com Intro training course – 2004 ECaccess
ECaccess – telnet/ssh
{mshost}$ telnet ecaccess.ecmwf.int…login: xyzPasscode: XXXXXXWhich system: ecgate…ecgate{~xyz}:1
{mshost}$ ssh [email protected]…login: xyzPasscode: XXXXXXWhich system: ecgate
…ecgate1{~xyz}:1
Where xyz is your ECMWF User ID
On local gateways, port 9023 (telnet) or 9022 (ssh) may be needed.
![Page 12: ECMWF 1 Com Intro training course – 2004 ECaccess ECaccess A portal to access ECMWF Also known as EasyAccess Dominique Lucas](https://reader036.vdocuments.mx/reader036/viewer/2022062619/55154bfc5503465e608b64c9/html5/thumbnails/12.jpg)
ECMWF 12 Com Intro training course – 2004 ECaccess
ECaccess - ftp
{mshost}$ ftp ecaccess.ecmwf.int…login: xyzPasscode: XXXXXX…ftp> ls227 Entering Passive Mode. (193,61,196,110,135,230)150 Opening ASCII mode data connectiondrwxr-x--- 1 xyz ecaccess 2048 Nov 05 11:00
ECJOBSdrwxr-x--- 1 xyz ecaccess 2048 Nov 05 11:00
ECSCRATCHdrwxr-x--- 1 xyz ecaccess 2048 Nov 05 11:00
ECTMPdrwxr-x--- 1 xyz ecaccess 2048 Nov 05 11:00
ECFSdrwxr-x--- 1 xyz ecaccess 2048 Nov 05 11:00
ECHOME226 Transfer completeftp>
sftp not yet available.
On local gateways, port 9021 may be needed.
![Page 13: ECMWF 1 Com Intro training course – 2004 ECaccess ECaccess A portal to access ECMWF Also known as EasyAccess Dominique Lucas](https://reader036.vdocuments.mx/reader036/viewer/2022062619/55154bfc5503465e608b64c9/html5/thumbnails/13.jpg)
ECMWF 13 Com Intro training course – 2004 ECaccess
ECaccess - ftp
Local environment
ftp entry for batch access
Local file can be dragged and dropped into ecaccessarea.
![Page 14: ECMWF 1 Com Intro training course – 2004 ECaccess ECaccess A portal to access ECMWF Also known as EasyAccess Dominique Lucas](https://reader036.vdocuments.mx/reader036/viewer/2022062619/55154bfc5503465e608b64c9/html5/thumbnails/14.jpg)
ECMWF 14 Com Intro training course – 2004 ECaccess
ECaccess – X11 via telnet
{mshost}$ echo $DISPLAYhostname:0.0{mshost}$ xhost +ecaccess.ecmwf.int ecaccess being added to access control list{mshost}$ telnet ecaccess.ecmwf.int… (Passcode validation required)Which host …: ecgateWhich proxy … : X…ecgate{~xyz}:1 echo $DISPLAY(Something like … )ecaccess.ecmwf.int:<NN>ecgate{~xyz}:2 xcdp&
A control window showing the DISPLAY to be used will appear. This window or an X11 application should remain present to keep the X11 proxy.
![Page 15: ECMWF 1 Com Intro training course – 2004 ECaccess ECaccess A portal to access ECMWF Also known as EasyAccess Dominique Lucas](https://reader036.vdocuments.mx/reader036/viewer/2022062619/55154bfc5503465e608b64c9/html5/thumbnails/15.jpg)
ECMWF 15 Com Intro training course – 2004 ECaccess
ECaccess – ecxterm via ssh
A control window will also appear. Keep it while X11 access required.
{mshost}$ echo $DISPLAYhostname:0.0{mshost}$ ssh –X [email protected] (N.B. Port number IS mandatory)… (Passcode validation required)Which host …: ecgateecgate{~xyz}:1 echo $DISPLAY(Something like)ecaccess.ecmwf.int:<nn>ecgate{~xyz}:2 xcdp&
![Page 16: ECMWF 1 Com Intro training course – 2004 ECaccess ECaccess A portal to access ECMWF Also known as EasyAccess Dominique Lucas](https://reader036.vdocuments.mx/reader036/viewer/2022062619/55154bfc5503465e608b64c9/html5/thumbnails/16.jpg)
ECMWF 16 Com Intro training course – 2004 ECaccess
ECaccess – ecxterm
![Page 17: ECMWF 1 Com Intro training course – 2004 ECaccess ECaccess A portal to access ECMWF Also known as EasyAccess Dominique Lucas](https://reader036.vdocuments.mx/reader036/viewer/2022062619/55154bfc5503465e608b64c9/html5/thumbnails/17.jpg)
ECMWF 17 Com Intro training course – 2004 ECaccess
ECaccess – web – http://ecaccess.ecmwf.int/
![Page 18: ECMWF 1 Com Intro training course – 2004 ECaccess ECaccess A portal to access ECMWF Also known as EasyAccess Dominique Lucas](https://reader036.vdocuments.mx/reader036/viewer/2022062619/55154bfc5503465e608b64c9/html5/thumbnails/18.jpg)
ECMWF 18 Com Intro training course – 2004 ECaccess
ECaccess tools - ECtools
Must be installed at your end on each platform for which access to ECMWF is required.
If you (still) had/have access to “old” ecbatch commands be careful about the $PATH as some commands are “ambiguous” between the two packages e.g. eccert, ecget, ecput.
Help for each command is available with “-help” option:
{mshost}$ eccert –help
ECtools are also available at ecmwf.
![Page 19: ECMWF 1 Com Intro training course – 2004 ECaccess ECaccess A portal to access ECMWF Also known as EasyAccess Dominique Lucas](https://reader036.vdocuments.mx/reader036/viewer/2022062619/55154bfc5503465e608b64c9/html5/thumbnails/19.jpg)
ECMWF 19 Com Intro training course – 2004 ECaccess
ECaccess - eccert Command
{mshost}$ eccert –verboseechost: ecaccess.ecmwf.intecport: 443eccert: /home/xyz/.eccert.crtCertificate requestECMWF user identifier: xyzPasscode from your SecurID card:Certificate saved (855 bytes){mshost}$
Certificate valid for 7 days.
Certificate only needed for file, job and transfer management, NOT required for unattended transfers (see later - ectrans).
Certificate not needed for ECMWF local use of ECtools.
![Page 20: ECMWF 1 Com Intro training course – 2004 ECaccess ECaccess A portal to access ECMWF Also known as EasyAccess Dominique Lucas](https://reader036.vdocuments.mx/reader036/viewer/2022062619/55154bfc5503465e608b64c9/html5/thumbnails/20.jpg)
ECMWF 20 Com Intro training course – 2004 ECaccess
ECaccess environment
Name Purpose Default value
ECDOMAIN Target domain (either ECFS, ECHOME, ECSCRATCH or ECMARS) and optionally target user.
ECHOME
ECDEBUG Enable debug mode False
ECCERT Certificate file location $HOME/.eccert.crt
ECHOST Gateway host name Local host En
viro
nm
ent
Var
iab
les
Oth
er
ECPORT Gateway port number 443
![Page 21: ECMWF 1 Com Intro training course – 2004 ECaccess ECaccess A portal to access ECMWF Also known as EasyAccess Dominique Lucas](https://reader036.vdocuments.mx/reader036/viewer/2022062619/55154bfc5503465e608b64c9/html5/thumbnails/21.jpg)
ECMWF 21 Com Intro training course – 2004 ECaccess
ECaccess File Management
ecls Print a list of files at $ECDOMAIN.
ecdir Same as the previous command but with any system-dependent information.
ecget Retrieve an $ECDOMAIN file and store it on the local machine.
ecreget Same as the previous command, but transfer is continued from the apparent point of failure.
ecput Store a local file at $ECDOMAIN.
ecdelete Delete a file at $ECDOMAIN.
ecmkdir Create a directory at $ECDOMAIN.
ecrmdir Remove an empty directory at $ECDOMAIN.
ecmodtime Get the last modification date of a file at $ECDOMAIN.
ecsize Get the size of a file at $ECDOMAIN.
No support for meta-characters.
![Page 22: ECMWF 1 Com Intro training course – 2004 ECaccess ECaccess A portal to access ECMWF Also known as EasyAccess Dominique Lucas](https://reader036.vdocuments.mx/reader036/viewer/2022062619/55154bfc5503465e608b64c9/html5/thumbnails/22.jpg)
ECMWF 22 Com Intro training course – 2004 ECaccess
ECaccess file management
{mshost}$ eclsscript.shecaccess-tools.tar.gzecaccess.docecaccess
{mshost}$ ecdir ecaccess10838 drwxr-xr-- 4 xyz systems 96 Mar 14 09:30 .3194 drwxr-xr-x 47 xyz systems 4096 Mar 14
09:30 ..12721 drwxr-x--- 4 xyz systems 96 Mar 13 18:55
client124513 drwxr-x--- 11 xyz systems 2048 Mar 5 11:38
gateway{mshost}$ ecget ecaccess-tools.tar.gz{mshost}$ ecget ecaccess-tools.tar.gz tools.tar.gz{mshost}$ ls *.tar.gzecaccess-tools.tar.gztools.tar.gz{mshost}$
![Page 23: ECMWF 1 Com Intro training course – 2004 ECaccess ECaccess A portal to access ECMWF Also known as EasyAccess Dominique Lucas](https://reader036.vdocuments.mx/reader036/viewer/2022062619/55154bfc5503465e608b64c9/html5/thumbnails/23.jpg)
ECMWF 23 Com Intro training course – 2004 ECaccess
ECaccess file management
{mshost}$ ecdelete ecaccess-tools.tar.gzDELE command successful{mshost}$ ecput ecaccess-tools.tar.gz{mshost}$ ecmkdir ectestMKD command successful{mshost}$ ecrmdir ectestRMD command successful{mshost}$ ecrmdir ecaccessDirectory not empty{mshost}$
![Page 24: ECMWF 1 Com Intro training course – 2004 ECaccess ECaccess A portal to access ECMWF Also known as EasyAccess Dominique Lucas](https://reader036.vdocuments.mx/reader036/viewer/2022062619/55154bfc5503465e608b64c9/html5/thumbnails/24.jpg)
ECMWF 24 Com Intro training course – 2004 ECaccess
ECaccess file management
{mshost}$ export ECDOMAIN=ecfs{mshost}$ ecdir10838 drwxr-xr-- 4 xyz systems 96 Mar 14 09:30 .3194 drwxr-xr-x 47 xyz systems 4096 Mar 14
09:30 ..12721 drwxr-x--- 4 xyz systems 96 Mar 13 18:55
backup124513 drwxr-x--- 11 xyz systems 2048 Mar 5 11:38
doc{mshost}$ export ECDOMAIN=“ecfs[zzz]”…{mshost}$ export ECDOMAIN=echome…{mshost}$
![Page 25: ECMWF 1 Com Intro training course – 2004 ECaccess ECaccess A portal to access ECMWF Also known as EasyAccess Dominique Lucas](https://reader036.vdocuments.mx/reader036/viewer/2022062619/55154bfc5503465e608b64c9/html5/thumbnails/25.jpg)
ECMWF 25 Com Intro training course – 2004 ECaccess
ECaccess Job and transfer management
List Ecaccess target queues ecqls
ecjreq Submit a batch request (file is at $ECDOMAIN).
ecjget Get job input, job output and job error.
Submit a batch request (file is local).
Check status of a batch request.
ecjput
ecjls
ecjdel Delete a batch request.
ectreq Initiate a transfer from $ECDOMAIN, using the ectrans spooling mechanism.
ectls List transfers carried out by ectrans.
ectret Retry a transfer.
ectdel Cancel an ectrans transfer (remove it from the spool).
ectinfo Display the target location for a user-id.
![Page 26: ECMWF 1 Com Intro training course – 2004 ECaccess ECaccess A portal to access ECMWF Also known as EasyAccess Dominique Lucas](https://reader036.vdocuments.mx/reader036/viewer/2022062619/55154bfc5503465e608b64c9/html5/thumbnails/26.jpg)
ECMWF 26 Com Intro training course – 2004 ECaccess
ECaccess Job Management
{mshost}$ ecqlsecgate1 NQS submission on ecgate1(INIT=23 ...)hpca LoadLeveler submission on hpca (INIT=21 ...)...{mshost}${mshost}$ ecqls hpcadiag Diagnostic jobs onlytemp Temporary small jobs < 5 Nodesinter_class Default interactive classdebug Default interactive classos Operational serial/single task workns Serial/single task workbench Benchmark classnp Parallel workop Operational parallel work{mshost}$
![Page 27: ECMWF 1 Com Intro training course – 2004 ECaccess ECaccess A portal to access ECMWF Also known as EasyAccess Dominique Lucas](https://reader036.vdocuments.mx/reader036/viewer/2022062619/55154bfc5503465e608b64c9/html5/thumbnails/27.jpg)
ECMWF 27 Com Intro training course – 2004 ECaccess
ECaccess Job Management
{mshost}$ ecjreq -helpSyntax: JREQ ECaccess-queue remote-script [args ...] -at - start date (yyyy-MM-dd HH:mm) -nd - no directives within the input script -tg - specify the target gateway name -tr - specifiy the access method (msuser[@destination]) -to - transfer output file when the request ends -te - transfer error file when the request ends -ti - transfer input file when the request ends -tk - keep in spool (default: deleted if transfer
successful) -mu - send mail for the request to the stated address -mb - send mail when the execution/transfer begins -me - send mail when the execution/transfer ends -mf - send mail when the execution/transfer fails
![Page 28: ECMWF 1 Com Intro training course – 2004 ECaccess ECaccess A portal to access ECMWF Also known as EasyAccess Dominique Lucas](https://reader036.vdocuments.mx/reader036/viewer/2022062619/55154bfc5503465e608b64c9/html5/thumbnails/28.jpg)
ECMWF 28 Com Intro training course – 2004 ECaccess
ECaccess Job Management
{mshost}$ ecjreq ecgate script.sh –me34850{mshost}$ ecjreq ecgate test.shError opening file{mshost}$
{mshost}$ ecjput ecgate1 test.sh –me34851{mshost}$
![Page 29: ECMWF 1 Com Intro training course – 2004 ECaccess ECaccess A portal to access ECMWF Also known as EasyAccess Dominique Lucas](https://reader036.vdocuments.mx/reader036/viewer/2022062619/55154bfc5503465e608b64c9/html5/thumbnails/29.jpg)
ECMWF 29 Com Intro training course – 2004 ECaccess
ECaccess Job Management
{mshost}$ ecjls4421 ecgate WAIT Nov 24
21:333884 [email protected] DONE Nov 18
11:423146 ecgate1 DONE Nov 15
21:33{mshost}$ ecjls 3884
Jobid: 3884 Location: [email protected]
Date/Time: Nov 18 11:42 Status: DONEstdout size: 221stderr size: 219 stdin size: 241Jobid: 4421{mshost}$
![Page 30: ECMWF 1 Com Intro training course – 2004 ECaccess ECaccess A portal to access ECMWF Also known as EasyAccess Dominique Lucas](https://reader036.vdocuments.mx/reader036/viewer/2022062619/55154bfc5503465e608b64c9/html5/thumbnails/30.jpg)
ECMWF 30 Com Intro training course – 2004 ECaccess
ECaccess Job Management
{mshost}$ ecjget o34852{mshost}$ ls JOB*JOB-o34852{mshost}$ ecjget o34852 job.out{mshost}$ ls –ail job.out71196 -rw-r----- 1 xyz group 686 Mar 13 19:10
job.out{mshost}$
{mshost}$ ecjdel 34852JDEL command successful{mshost}$
ecjdel kills job running and removes all files.
![Page 31: ECMWF 1 Com Intro training course – 2004 ECaccess ECaccess A portal to access ECMWF Also known as EasyAccess Dominique Lucas](https://reader036.vdocuments.mx/reader036/viewer/2022062619/55154bfc5503465e608b64c9/html5/thumbnails/31.jpg)
ECMWF 31 Com Intro training course – 2004 ECaccess
ECtrans Command
MS Server ms2
MS Workstation
ms3
MS Workstation
ms1
MS Server running the gateway
ECaccess Gateway
(Member State)
Shared File System
MS Network
file: / /
ftp: / /
Internet
ECaccess Server (ECMWF)
$ ectrans –gateway ecaccess.ecmwf.int \ -remote msuser@destination \ –source [location/]filename \ [-target [location/]filename]
destination= ftp://$msuser[name]:$msuser[passwd]@$hostname/$location
ecgate, or hpca:
ECAccess Member State
Gateway:
Unattended file transfers, issued from ECMWF
It is preferable if the ECaccess gateway is installed at your end.
RMDCN
![Page 32: ECMWF 1 Com Intro training course – 2004 ECaccess ECaccess A portal to access ECMWF Also known as EasyAccess Dominique Lucas](https://reader036.vdocuments.mx/reader036/viewer/2022062619/55154bfc5503465e608b64c9/html5/thumbnails/32.jpg)
ECMWF 32 Com Intro training course – 2004 ECaccess
ECtrans - msuser maintenance
![Page 33: ECMWF 1 Com Intro training course – 2004 ECaccess ECaccess A portal to access ECMWF Also known as EasyAccess Dominique Lucas](https://reader036.vdocuments.mx/reader036/viewer/2022062619/55154bfc5503465e608b64c9/html5/thumbnails/33.jpg)
ECMWF 33 Com Intro training course – 2004 ECaccess
ECtrans - msuser maintenance
![Page 34: ECMWF 1 Com Intro training course – 2004 ECaccess ECaccess A portal to access ECMWF Also known as EasyAccess Dominique Lucas](https://reader036.vdocuments.mx/reader036/viewer/2022062619/55154bfc5503465e608b64c9/html5/thumbnails/34.jpg)
ECMWF 34 Com Intro training course – 2004 ECaccess
ECtrans - msuser maintenance
![Page 35: ECMWF 1 Com Intro training course – 2004 ECaccess ECaccess A portal to access ECMWF Also known as EasyAccess Dominique Lucas](https://reader036.vdocuments.mx/reader036/viewer/2022062619/55154bfc5503465e608b64c9/html5/thumbnails/35.jpg)
ECMWF 35 Com Intro training course – 2004 ECaccess
ECtrans - msuser maintenance
![Page 36: ECMWF 1 Com Intro training course – 2004 ECaccess ECaccess A portal to access ECMWF Also known as EasyAccess Dominique Lucas](https://reader036.vdocuments.mx/reader036/viewer/2022062619/55154bfc5503465e608b64c9/html5/thumbnails/36.jpg)
ECMWF 36 Com Intro training course – 2004 ECaccess
ECtrans - msuser maintenance
MS associations are specific to each ECaccess gateway.
![Page 37: ECMWF 1 Com Intro training course – 2004 ECaccess ECaccess A portal to access ECMWF Also known as EasyAccess Dominique Lucas](https://reader036.vdocuments.mx/reader036/viewer/2022062619/55154bfc5503465e608b64c9/html5/thumbnails/37.jpg)
ECMWF 37 Com Intro training course – 2004 ECaccess
ECtrans Command – at ECMWF
{ec-host}$ ectrans –helpusage: ectrans [-get] -gateway name \
–remote msuser@destination \ -source name [args ...]
-gateway str - target gateway name-source str - source file name-echost str - eccmd host name (default: localhost)-ecport num - eccmd port number (default: 644)-remote str - target user (default: same as ecuser)-target str - target file name (default: same a source)-verbose - verbose mode on-help - this message-get - transfer file from your site to ECMWF-status - check the status on file transfer Default values can also be set by the ECHOST, ECPORT, ECUSER or GATEWAY shell variables.{ec-host}$
![Page 38: ECMWF 1 Com Intro training course – 2004 ECaccess ECaccess A portal to access ECMWF Also known as EasyAccess Dominique Lucas](https://reader036.vdocuments.mx/reader036/viewer/2022062619/55154bfc5503465e608b64c9/html5/thumbnails/38.jpg)
ECMWF 38 Com Intro training course – 2004 ECaccess
ECtrans Command{ecgate1}$ ectrans –gateway ecaccess.ecmwf.int \
-remote from_usl@genericFtp –source ./data.grib \
–target data.grib \ -verboseechost: ecaccess.ecmwf.intecport: 644ecuser: uslsource: ./data.grib target: data.grib keep : falseoption: rejectFile to upload (585 bytes)10129250216245
{ecgate1}$
Users can maintain MS user’s associations on local gateway, via the web interface.
ectrans is available in both directions.
![Page 39: ECMWF 1 Com Intro training course – 2004 ECaccess ECaccess A portal to access ECMWF Also known as EasyAccess Dominique Lucas](https://reader036.vdocuments.mx/reader036/viewer/2022062619/55154bfc5503465e608b64c9/html5/thumbnails/39.jpg)
ECMWF 39 Com Intro training course – 2004 ECaccess
ECaccess transfer Management
{mshost/echost}$ ectreq –helpSyntax: TREQ source [args ...] -remote str - target user (default: current) -gateway str - target gateway name (default:
current) -target str - target file name (default: same as
source) -keep - keep the request in the spool -reject - if the target file already exists
(default) -append - if the target file already exists -resume - if the target file already exists -erase - if the target file already exists{mshost}$ {mshost/echost}$ ectreq job.out10161191420729{mshost}$
![Page 40: ECMWF 1 Com Intro training course – 2004 ECaccess ECaccess A portal to access ECMWF Also known as EasyAccess Dominique Lucas](https://reader036.vdocuments.mx/reader036/viewer/2022062619/55154bfc5503465e608b64c9/html5/thumbnails/40.jpg)
ECMWF 40 Com Intro training course – 2004 ECaccess
ECaccess transfer Management
{mshost/echost}$ ectret 10161191420729TRET command successful{mshost}$
$SCRATCH used for temporary file storage.
![Page 41: ECMWF 1 Com Intro training course – 2004 ECaccess ECaccess A portal to access ECMWF Also known as EasyAccess Dominique Lucas](https://reader036.vdocuments.mx/reader036/viewer/2022062619/55154bfc5503465e608b64c9/html5/thumbnails/41.jpg)
ECMWF 41 Com Intro training course – 2004 ECaccess
ECaccess transfer Management
{mshost/echost}$ ectls10161191420729 STOP [email protected] Mar 14
15:1910164593445344 DONE [email protected] Mar 14
15:2210161193432443 DONE [email protected] Mar 14
15:19{mshost}$ ectls 10161191420729
Copyid: 10161191420729MS user: xyz
Hostname: ecaccess.ecmwf.int Access: ECaccess gateway Status: STOP
Error message: No target location for xyz Date/Time: Mar 14 15:19
Source: ./job.out Target: ./job.out
{mshost/echost}$
![Page 42: ECMWF 1 Com Intro training course – 2004 ECaccess ECaccess A portal to access ECMWF Also known as EasyAccess Dominique Lucas](https://reader036.vdocuments.mx/reader036/viewer/2022062619/55154bfc5503465e608b64c9/html5/thumbnails/42.jpg)
ECMWF 42 Com Intro training course – 2004 ECaccess
ECaccess vs. ECbatch
Function ECBATCH software ECaccess software
General Information Not implemented. MS-host:> echelp …MS-host:> ecinfoMS-host:> ectinfo …
Certificate Information MS-host:> eccert –d MS-host:> eccert –expireMS-host:> eccert –ecuser
Certificate generation MS-host:> eccert [-v] MS-host:> eccert
Batch mode Job Submission from MS‑host to ECMWF (script local)
Only supported for Ecgate1, never for HPCF.MS-host:> ecqsub …
Supported for Ecgate1 and for HPCFMS-host:> ecjput …
Batch mode Job Submission from MS‑host to ECMWF (script at ECMWF)
Not implemented. MS-host:> ecjreq …
![Page 43: ECMWF 1 Com Intro training course – 2004 ECaccess ECaccess A portal to access ECMWF Also known as EasyAccess Dominique Lucas](https://reader036.vdocuments.mx/reader036/viewer/2022062619/55154bfc5503465e608b64c9/html5/thumbnails/43.jpg)
ECMWF 43 Com Intro training course – 2004 ECaccess
ECaccess vs. ECbatchFunction ECBATCH software ECaccess software
Return Job’s Stdout/Stderr To MS-host; requires Eccopyd on
MS‑host
To be retrieved from ECMWF
via ecget or ectrans (or via
Web)
Push File on ECMWF‑host to
MS‑host
Requires Eccopyd on MS‑host +
MS‑host:home/.echosts. Ecgate1:>
eccopy …
Requires MS gateway + URL
for user (to be set up by
administrator)
Ecgate1:> ectrans …
File Size Limitations Eccopy limits the file size to 28 MB. File system limits the file size
Push File on MS‑host to
ECMWF
MS-host:> ecput … MS-host:> ecput …
Pull File on MS‑host from
ECMWF
MS-host:> ecget … (No support for
ECFS).
MS-host:> ecget …
![Page 44: ECMWF 1 Com Intro training course – 2004 ECaccess ECaccess A portal to access ECMWF Also known as EasyAccess Dominique Lucas](https://reader036.vdocuments.mx/reader036/viewer/2022062619/55154bfc5503465e608b64c9/html5/thumbnails/44.jpg)
ECMWF 44 Com Intro training course – 2004 ECaccess
ECaccess vs. ECbatch
Function ECBATCH software ECaccess software
Pull File on MS‑host
from ECMWF
MS-host:> ecget … MS-host:> ecget …
Pull File on MS‑host
from ECMWF – restart
after failure
(No support for ECFS). MS-host:> ecreget …
ECMWF File Access
and Management on
MS‑host
Not implemented. ecls, ecdir, ecdelete,
ecmkdir, ecrmdir.
Web File Access and
Management
ecls. Files can be listed,
viewed, stored,
retrieved or deleted.
![Page 45: ECMWF 1 Com Intro training course – 2004 ECaccess ECaccess A portal to access ECMWF Also known as EasyAccess Dominique Lucas](https://reader036.vdocuments.mx/reader036/viewer/2022062619/55154bfc5503465e608b64c9/html5/thumbnails/45.jpg)
ECMWF 45 Com Intro training course – 2004 ECaccess
ECaccess vs. ECbatch
Function ECBATCH software ECaccess software
Web Job Submission
and Management
Not implemented. Job Submission,
termination; status
check; view, store, edit,
retrieve or delete
output.
Telnet to Ecgate1 Not implemented. Provide SecurID code
only once.
X11 to Ecgate1 Not implemented. Provide SecurID code
only once.
Service Discontinued on 31 Dec.
2003
Available since early
2002
![Page 46: ECMWF 1 Com Intro training course – 2004 ECaccess ECaccess A portal to access ECMWF Also known as EasyAccess Dominique Lucas](https://reader036.vdocuments.mx/reader036/viewer/2022062619/55154bfc5503465e608b64c9/html5/thumbnails/46.jpg)
ECMWF 46 Com Intro training course – 2004 ECaccess
ECaccess pointers
http://www.ecmwf.int/services/ecaccess
User’s manual
Administrator’s manual
Registration center (for local ECaccess gateway)
Quick start – check first if local gateway available
http://ecaccess.ecmwf.int/
telnet ecaccess.ecmwf.int
ssh [-X] [email protected]
ftp ecaccess.ecmwf.int
ectrans