Home
ECaccess User Guide - ECMWF Confluence Wiki
Contents
1. 7 All jobs are kept E Echeme files Jobs submitted by usl ESR aig wae ii ECfs files identity number The m JobId ECaccess queue Date Time Status job status can be A either INIT WAIT Jobs list EXEC DONE or Browse queues 7 STOP Browse basket O 3146 ecgate1 NQS Nov 15 21 33 WAIT Submit new job sanere dos D 1163 hpca LoadLeveler Nov 13 10 14 sToP m 1162 hpca LoadLeveler Nov 13 09 29 sTOP Job submissions To get more details Tile transfers Oo 1181 pra Inadieveler Naw 12 99 27 stap a a job select it Browse history 5 with your mouse in Total 4 the list by clicking the Delete selected Track job icon ECtrans setup Get certificate Log off usl You can delete one or more than one job by ticking the job s in the list and clicking the Delete selected button ECMWF Disclaimer r A gos E Fa 9 internet 7 Your submitted jobs are listed You are informed of the status of the jobs meanings of the different values are provided in the help tips You can use the show details icon to get more information about a job For example if a job submission failed you can get the reason for this failure by looking at the job details Once a job is marked as DONE you can select it with your mouse to see its output 44 ECMWF Technical Notes STS ECMWF 7 1 Monitoring batch job submissions A ECMWF ecaccess serv etails Microsoft Internet Explorer 0 x
2. Check ftp and eccert are in the PATH ftp ftp eccert eccert ECMWF Technical Notes 61 lt SECMWF ECaccess User Guide Then we can set values for ECUSER ECHOST and ECDOMAIN using default helper Set values for default SECHOST ecaccess meteo ms default verb SECDOMAIN echome ECHOST and If the ECHOST parameter is not set we use ECDOMAIN EC ECHOST Sres DOMAIN Sres the ecaccess meteo ms host name and if the ECDOMAIN is not set we take the ecgate home directory which is the echome domain Then we can create the temporary password distribution Create temporary passcode ccert Seccert cpass if 1 then Secho n Seccert exit 2 fi cuser echo Seccert Sawk F cpass echo Seccert Sawk F calling the eccert command provided within the ecaccess printf S s n 1 printf ss n 2 If authentication fails the script stops Error code 2 is returned authentication error FTP can now be called the result is stored in the local parameter called session Call ftp session Sftp v n d 2 gt dev null lt lt xx open SECHOST quote USER Secuser verb SECDOMAIN quote PASS Secpass ls x bye xx If FTP is successful return code is 0 the result must be checked using the check helper to ensure there
3. Ee ECMWF ecaccess service gt Files gt EctransDetails o Displays additional information concerning the transfer with copyid EChome files 8933488341 The transfer has ECscratch files been stopped ECfs files ECtrans transfers summary because an error has occured This transfer can be either deleted or restarted if you can solve the issue Copy id 8933488341 Remote identifier test_usl Browse queues Hostname ecaccess ecmwf int Browse basket Access ECaccess gateway a start your gateway Submit new job Submit new jo Status STOP for example Date Time Nov 15 21 58 Job submissions Source ec trajectory tar gz ile transfers Targat e RETA Browse history tart abe Sar File size 236 8K Error message no default destination This option let you restart this transfer with the input file already copied in ECtrans setup n n Get certificate If you wish to restart this transfer your ECtrans spool Set certificate directory Log off usl The access type ECaccess gateway Y The target ECaccess gateway Eccopy host The remote identifier The target name If the target file already exists Send mail to I keepin the spool jusi ecmwf int I an enerace This will delete the input files stored inside your ECtrans spool directory a Done You may use the cut and paste function of the operating system to get the complete file or just read it on line ECMWF T
4. nm C L C gt rr yA O nm CN ECaccess User Guide User Support Operations Department Version 3 3 0 May 2009 Copyright 2009 European Centre for Medium Range Weather Forecasts Shinfield Park Reading RG2 9AX United Kingdom Literary and scientific copyrights belong to ECMWF and are reserved in all countries The information within this publication is given in good faith and considered to be true but ECMWF accepts no liability for error omission and for loss or damage arising from its use CONTENTS lt SECMWF Contents 1 Introduction 3 2 Ecaccess concepts 4 2 1 ECaccess gateway ee 4 22 Using an EGAceesS gateway o oada o ee a e ee ee ee 5 2 PINONG ie s oe ark Bde ek A EE Oe ee A ee ae eee ee 5 3 Security authentication 7 2 1 EGactess Gariiedia lt lt ceeds ana fhe he we a ee Sie 7 22 EGGer Command o ic a aa Fe a ae 7 4 Unattended file transfers initiated from ECMWF 10 Ai Vetgetlaeaign lt lt io a E ee eee EO OS 10 AS ELTANS command lt o ees cd ed Pee ed ce ee ek ee ee a 11 4 2 1 Transfer to a Member State host via gateway 0 12 4 2 2 Transfer from a Member State host via gateway oaoa e 12 5 Shell commands 14 Bal AI 14 5 2 AccesstoShellcommands 0 000 ia aa e ee 15 5 3 Generalinformation 15 BA File management occ eee ee a A eo a 15 5 5 Batch job management e og iocta eee a A A 15 5 6 Management of ECMWF initiated tra
5. ECMWF Technical Notes 23 S ECMWF ECaccess User Guide 5 9 4 Management of notifications Users will first have to create a notification using the ecevent command on ecgate To get the options of the ecevent command ecevent help usage ecevent create send clear delete grant update lt MyNotification gt comment comment_for_my_notification public private env variables_to_pass seq lt number gt notify subscribe users list_of_users For example with ecevent create an00 comment The ECMWF operational Anaysis at 00Z is ready public a user will create a public event called an00 and become its owner Other users will be able to subscribe batch jobs to this notification using ecjput or the ECaccess Web interface When the event is created the owner can send notifications to this event which will trigger the users jobs which have subscribed to this event The notification of the event can happen at your remote site with ecesend To get the options Secesend help Syntax ESEND event id seq args env arg variables to pass delay arg submission delay default immediate submission at arg submission date default immediate submission Assuming that the event an00 has been created the following command will send a notification Secesend an00 36 env DATE SDATE TIME 00 where 36 is a notification sequence number whi
6. 228 bytes received in 0 1473 seconds 1 512 Kbytes s local job out remote jbd 03884 ftp gt Finally to remove the alias ftp gt quote alias list list 200 ALIAS command successful ftp gt The next Is or dir command will act normally 11 3 7 TREQ command Assuming user xyz is still connected to display treq options ftp gt quote help treq 214 Syntax TREQ source args 214 gateway arg target gateway name default msaccess meteo ms 214 remote arg target location in the format msuser destination default ecuser 214 target arg target file name default same as source 214 mailto arg target email address default ecuser 214 onsuccess mail sent on successful transfer 214 onfailure mail sent when transfer has failed 214 keep keep the request in the spool 214 reject if existing target file default 214 append if existing target file 214 resume if existing target file 214 overwrit if existing target file 214 Direct comments to ecaccess ecmwf int ftp gt This command follows the same syntax as the ectrans command described in section 4 2 Assuming user xyz is still connected and has a file called filename in his home directory default domain to transfer filename from ecgate to his gateway ftp gt quote treq filenam 213 10130074296659 ftp gt The copy identifier number 10130074296659 is r
7. The jreq command is used to submit a script which is already at ECMWF but if you want to submit a script which is local to your workstation the put command needs to be invoked with the stoe command store and execute rather than the stor command called by the client put command ECMWF Technical Notes 55 S ECMWF ECaccess User Guide ftp gt quote alias stor stoe 200 ALIAS command successful ftp gt ftp gt put test sh jreq ecgat mb me 200 PORT command successful 150 File status okay about to open Binary mode connection 213 12828 ftp 40 bytes sent in 0 00Seconds 40000 00Kbytes sec ftp gt The command is successful The job identifier is given by message 213 12828 in this case To remove the alias ftp gt quote alias stor stor 200 ALIAS command successful ftp gt The next put command will act normally 11 3 4 JDEL command The jdel command cancels any previous jreq running or not It is an interface to the NQS qdel command Assuming user xyz is still connected and wants to cancel his previous jreq with job identifier 87006 ftp gt quote jdel 87006 200 JDEL command successful ftp gt 11 3 5 QLS command Assuming user xyz is still connected to list Ecaccess queues the ftp dir or Is command needs to be invoked with the qls command rather than the list command called by the ftp dir commana ftp gt quote alias list qls ftp gt dir 2
8. adsl then select floating window as Window option leave the default Floating window application to xterm and press Log on This after some windows warning about certificates and ssh key which you need to accept will display the following page Pa Secure Access to ECMWF ecaccess ecmwf int sa i xX q K https ecaccess ecmwf int nx plugin ecaccess nx jsp Ly Y The session is ready to run Click on the button to start O NOMACHINE ct Cancel If you have problems using the Java Applet please download the NX Client from NoMachine and open it with this Session File Save Link Target As You will need to click on the Continue button to start the NX connection The following window will appear e O e NX ecaccess NOMACHINE Login lt your user id gt Password annnnnana Login as a guest user Configure Login Cancel ECMWF Technical Notes 37 SSECMWF ECaccess User Guide This window allows you to enter your userid and corresponding passcode generated by your security token After entering the appropriate information click on Login to proceed The Java applet in the web browser will display various messages detailing the progress of the connection to ECMWF depending on your firewall setup you may get various warning messages you will need to authorise all sessions from anything related to NX nxclient nxauth nxssh etc until this will be d
9. Submit SeaMonkey _ File Edit View Go Bookmarks Tools Window Help S ECMWF Browse queues Browse basket Submit new job Job submissions Flete Browse history ECtrans setup Get certificate Log off us2 Submit a script g ECMWF ecaccess service gt Jobs gt Submit Please write your script Batch request script class ns queue lcd TEMP If progf o prog prog Or upload it from Browse Subscribe to notification s Subscription s Toa Name Comment Notification s list 172 CUE UE DE UE DE EE JE BE DE BETE ULT 3 ef00hmetgram fe12h036 fe12h072 fe12h144 moferefe fe12h240 feOOhmetgram folahmetgram wa00h240 ef00h504 be00h072 an00h000 ant2h000 At this stage the EPS metgram database at OOUITC has beer updated At this stage the deterministic forecast at 12UTC for step 36 one day and a half is complete At this stage the deterministic forecast at 12UTC for step 72 3 days is complete At this stage the deterministic forecast at 12UTC for step 144 6 days is complete At this stage the Monthly Forecast hindcast products have been updated At this stage the deterministic forecast at 12UTC for step 240 10 days is complete At this stage the classical metgram database OOUTC has been updated At this stage the classical metgram database 12UTC has been updated At this stage the global wave model at ODLITC is complet
10. Users working on Microsoft systems without X11 server or who want to optimise the use of the network connection to ECMWF and wanting to launch X11 applications at ECMWF may choose to install the VNC Virtual Network Computing software available from www realvnc com on their local system ECMWF Technical Notes 49 S ECMWF ECaccess User Guide If you are using telnet after the validation with your security token and the selection of your hostname to access you will have to request a VNC proxy by typing V After having started the VNC listening viewer locally a VNC Desktop will be started on your local system together with your interactive telnet into ECMWF Any X application launched from this interactive session or from the VNC Desktop itself will be displayed in the VNC Desktop environment If you are using SSH you will need to use the option R like in ssh 1 UID R5500 your_local_host 5500 ecaccess ecmwf int Please refer to the SSH man page for further information 50 ECMWF Technical Notes lt ECMWF 11 The FTP server FTP is an acronym for File Transfer Protocol It is the Internet mechanism for transferring files between two computers The Ecaccess FTP plugin is an extended FTP Server adding features to submit jobs to ecgate or the High Performance Computers or to exchange files with ECFS directories The FTP plugin supports both methods of authentication described in section 3 The main purpose of the F
11. job out The transfer has been aborted because the connecting parameters attached to the MS user xyz do not allow a connection to the selected destination to be opened If you correct this error by updating the login parameters of the MS user xyz using the Web interface on the gateway ecaccess meteo ms you can restart your transfer request from the ectrans spool ectret 10161191 TRET command successful Your transfer is restarted You could also have decided to modify any parameters using the various ectret options ectret help Syntax TRET copy id args gateway arg target gateway name remote arg target location in the format msuser destination target arg target file nam mailto arg target email address onsuccess arg mail sent on successful transfer true false onfailure arg mail sent when transfer has failed true false keep arg keep the request in the spool true false reject if existing target file append if existing target file resume if existing target file overwrite if existing target file If there is an existing target and no option is selected the value provided to the ectreq command is used Note that these Ecaccess shell commands only have very limited support for metacharacters Only the ecls and ecdir commands allow you to use the character All other commands work on a file by file basis
12. specify the target gateway name tr specify 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 ni notifications ids list separated by or o redirect sterr to stdout ro renew subscription off default is on 00 one script to one notification off default is on 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 mr send mail when the execution transfer retries jn job name default source file name mp man page content comment for the operators ECMWF Technical Notes 5 9 Examples of Shell command usage SS ECMWF lt job input output lifetime in days default is 7 re define the number of retries default is 0 rf define the frequency of retries in seconds default is 600 A special service see option ni allows registered users to run their own batch jobs when the ECMWF operational activity has reached certain stages For more information please refer to www ecmwf int services computing docs tc_apps tc_opt1l html To submit the script script sh from your ecgate home directory to the normal queue ecjreq is used ecjreq
13. 96 Mar 13 18 55 client To download the ecaccess tools tar gz ecget is used ecget ecaccess tools tar gz ecget ecaccess tools tar gz tools tar gz S ls tar gz ecaccess tools tar gz tools tar gz The first ecget downloads the ecaccess tools tar gz file and the second ecget downloads the ecaccess tools tar gz file renaming it tools tar gz To delete the remote file ecaccess tools tar gz and upload the local file ecaccess tools tar gz ecdelete and ecput are used ecdelet caccess tools tar gz D command successful ecput ecaccess tools tar gz T i To create a new remote directory called ectest use ecmkdir ecmkdir ectest MKD command successful 18 ECMWF Technical Notes 5 9 Examples of Shell command usage SS ECMWF To remove the newly created directory ecrmdir is used ecrmdir ectest RMD command successful A user tries to remove a non empty directory ecrmdir ecaccess Directory not empty To access ECFS files the default domain is changed export ECDOMAIN ecfs Now all subsequent commands will be executed from the ECFS domain To list ECFS files ecdir 10838 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 backup 124513 drwxr x 11 xyz systems 2048 Mar 5 11 38 doc To list ECFS files of
14. Browse queues Browse basket Submit new job Job submissions Cile transfers Browse history ECtrans setup Get certificate Log off usl isk Target file s The target name If the target file already exists job e2900 jjob 02900 job i2900 reject z keep in the spool Target host The target ECaccess gateway And the remote identifier Do not run before yyyy MM dd HH mm Send mail to jecaccess met ms my_account 2003 11 14 21 56 usl r r r at the begining at the end on success at the end on failure Send file s to your target gateway You can either rename a target file or cancel its transfer by leaving its associated field blank However you need at least one file to be properly set in order to process a download Files are downloaded thanks to your ECaccess gateway Your download request will succeed only if the specified gateway is accessible from Ecmwf and is running a Done A 49 Internet vile Once it is spooled a summary screen gives you the copy identifier number of your new transfer request It can be used to reference the secure file transfer using the monitoring interface described in the next section Aj ECMWF ecaccess service gt Fil File Edit View Favorites Tools Help gt DoDownload Microsoft Internet Explorer Back gt on Qsearch Favorites Meda 3 Ey 3 ga a S ECM
15. Eile it view Favorites Bak gt O A A Asearch Favorites GH Links gt c ECMWF ecaccess service gt Jobs gt Details Displays additional information concerning the job number 3146 Your job is done You EChome files Job execution summary ee ECfsfiles download edit the job Jobid 3146 files or return to the ECaccess queue ecgate1 Job submissions Status DONE interface to delete it Browse queues Date Time Nov 15 21 33 Browse basket Scheduler NQS Submit new job Realld 25255 Job submissions La Typa Nama Eiza Browse history mi Stdout file job 03146 802b O Stderr file job e3146 181b ECtrans setup 2 Get certificate E r Stdin file job i3146 134b Log off usl Sig Total size 1 0K I want to Copy files to ECtrans spool y py file o ECfs Copy files to EChome ECMWF Disclaimer E Done By 6 internet h You can view the content of the output error or input files associated with the job You can also choose not to consult these files on line but copy them to one of your directories or get them using the secure file transfer feature Use the I want to button for this purpose To edit one of them just click the edit icon on the corresponding line A ECMWF ecaccess service gt gt EctransDetails Microsoft Internet Explorer 10 x File Edit View Favorites Tools Help Back gt O A Asearch Favorites media Ey S al El inks gt gt
16. Gig Favorites PMedia ES 3 a El Ee ECMWF gateway service gt ECtrans gt Setup Your ECMWF account EChome files Dominique Lucas x2386 ECscratch files ECfs files Login usl Userid 1107 Group id 1212 Browse queues Home directory home us usl Browse basket Submit new job A O Your ECtrans configuration Access methods associated with ECMWF user usl Job submissions Cile transfers Browse history Enabled Name Comment r ist of ECtrans associations I trajectory otal 1 trajectory data ECtrans setup Get certificate Log off usl Name Module Active ist of ECtrans destinations gt genericFile file tue gt genericFtp fip tue genericsftp sftp tue Total 3 Add associaton f Grant association s Delete association s From your ECMWF account ECuser usl you can use ECtrans to perform unattended file transfers to or from one of your local Member State account s You need to create associations with these MSusers The access method needs to be specified il the remote option of the ectrans comman in the format association destinatio where association specifies the ECtrans association and destination specifies the ECtrans destination Click the expand Las Le ota 4 Done e A 49 Internet Select the association to which you want to give access to another user Enter the E
17. NX Connection Wizard Desktop Using NX Client you can run RDP VNC and X desktops depending on what the service provider has made available NOMACHINE ME E custom pal 7 Select size of your remote desktop _ 640x480 w 800 H 600 Authorization credentials are always encrypted at the time connection is established To enhance performance you can disable the encryption of the data traffic k C Disable encryption of all traffic Cuo 5 D Click on Next to get the following window NX Connection Wizard Configuration completed Congratulations connection to ecaccess ecmwf int will be saved as ecgate xterm You may further configure your NOMACHINE session by running the Advanced Configuration dialog e Y Show the Advanced Configuration dialog Cuo Gamh C ECMWF Technical Notes 41 S ECMWF ECaccess User Guide Check the Show the Advanced Configuration dialog box and click the Finish button You will get the following window NX ecgate xterm NOMACHINE f General Advanced Services Environment About E Server Host ecaccess ecmwf int Port 22 Remember my password Key Desktop Unix 5 Custom EH Settings MODEM ISDN ADSL WAN LAN Display 640x480 W 800 gt 4 600 _ Use custom settings Settings Delete Save Cok y Cancel If you then click Ok you will be able to start your session In th
18. are no error codes 451 501 425 or 426 Analyse previous ftp session if 0 then Check for error messages for n in 425 426 451 501 530 550 do check session n done Check for binary transfers 150 to 226 if echo Ssession grep 226 T then echo Ssession 62 ECMWF Technical Notes 12 3 More examples S ECMWF sed n 150 0 7226 T p sed 150 O d sed 226 T d exit 0 i fi If an error code is found the script stops and returns it using the check helper Otherwise the list of files extracted between messages 150 and 226 is displayed If messages 150 and 226 are not found the following code is executed ftp or protocol error if debug display session if SECDEBUG yes then echo ftp error try ECDEBUG yes 0 args to enable debugging else echo Ssession fi exit 3 If the debug mode is not set the user is invited to use it to get more details otherwise the complete session content is displayed Return code is 3 indicating a protocol error 12 3 More examples The ecaccess script used to implement the Shell commands gives a more complex example using all the extended FTP features ECMWF Technical Notes 63
19. been validated to enter ecgate you will not need a certificate when using these ECaccess shell commands on ecgate 5 1 Environment Table 2 gives a list of environment variables used by ECaccess Environment variable Purpose Default value ECHOST Gateway host name Local host ECCERTPORT Gateway SSL port num 443 ber ECFTPPORT Gateway FTP port num 21 ber ECCERT Certificate file location SHOME eccert crt ECDOMAIN Target domain Home directory ECDEBUG Enable debug mode False Table 2 ECaccess environment variables ECDOMAIN value Purpose ECFS for the home directory on ECFS ECTMP for the temporary directory on ECFS ECHOME for ecgate home directory ECSCRATCH for ecgate scratch directory ECHOST to access file systems on a specific host e g c1a ECJOBS to access the auto start batch job directories ECMARS to access the auto start Mars requests directory Table 3 ECDOMAIN values The ECDOMAIN value see table 3 is case insensitive Moreover to access another user s domain use the following syntax domain nameltarget user Finally to select the domain from the path just set ECDOMAIN to This corresponds to a virtual Root directory under which all domains ECFS ECTMP ECHOME are Then the domain name must be added to the beginning of the path e g ECFS myFile or ECFS myFile to point to the ECFS file myFile Your gateway administra
20. ecgate script sh mu xyz meteo ms mb m 34850 ecjreq ecgate test sh Error opening file In the above example the normal queue will be included as a LoadLeveler directive with class normal in the script script sh The first command is successful A mail will be sent to xyz meteo ms at the begin ning and end of the request execution The job identifier number 34850 is returned It can be used with the command ecjls or to reference the submitted job using the interface described in section 7 The second command is rejected because the source script is not available The ecjreq command is used to submit a script that is already at ECMWF but if you want to submit a script that is local to your system the ecjput command must be used Assuming the file test sh is a local file ecjput is used ecjput ecgate test sh mu xyz meteo ms mb m 34852 The command is successful and the job identifier number 34852 is returned Note that ecjput will transfer your file test sh to ECMWF into a spool area before submitting it not into your ECDOMAIN To monitor the status of all your jobs use ecjls ecjls 34850 normal ecgate DONE Mar 13 19 05 34852 normal ecgate DONE Mar 13 19 05 To monitor the status of a specific job ecjls 34852 Jobid 34852 Location normal ecgate Date Time Mar 13 19 05 Status DONE stdout size 686 stderr size 45 stdin size 7 The job i
21. from Member State MS to transfer from cla ECMWF Technical Notes 53 S ECMWF ECaccess User Guide ftp gt cd ECHOST 250 CWD command successful ftp gt 1s 200 PORT command successful 150 Opening ASCII mode data connection ecgate cla 226 Transfer complete ftp gt cd cla ms_tmp ms MS xyz 250 CWD command successful ftp gt mget out 11 3 2 INFO command Assuming user xyz is still connected to display the ECMWF service info ftp gt quote info 214 214 214 System session 214 214 214 WEDNESDAY 12 11 2003 214 214 08 00 10 00 UTC ECFS servers upgrade 214 xxx ECFS services affected 214 214 08 00 10 00 UTC ARS servers possible test session 214 preparation of extended session below 214 214 SATURDAY 15 11 2003 214 214 214 08 00 20 00 UTC Mars server system session 214 xxx Mars service affected as access to Mars tapes 214 will be unavailable 214 214 Sorry for any inconvenience this may cause 214 214 To read this message again more or cat etc motd 214 214 214 Direct comments to ecaccess ecmwf int ftp gt 11 3 3 JREQ command The jreq command allows jobs to be submitted from Member States to ECMWF It is an interface to the NQS qsub command Options that can be passed to the NQS qsub command can be specified within the first comment block inside the batch request script file as embedded default options Such options in
22. gt O A Al Asearch Favorites Beda Ay S BI E lol x Links gt c ECMWF gateway service gt ECtrans gt Setup Your ECMWF account x ini From your ECMWF E Echomefles Dominique Lucas x2386 ASUR EGUSE LEIT ECf Ecte tles Login usl User id 1107 Group id 1212 Browse queues Home directory home us usl Browse basket Submit new job O Your ECtrans configuration you can use ECtrans to perform unattended file transfers to or from one of your local Member State account s You need to create associations Access methods associated with ECMWF user usl with these MSusers Job submissions Cile transfers gt Browse hisi Name Comment Enabled List of ECtrans associations No ECtrans associations The access method needs to be specified in ECtrans setup Total 0 the remote option of Get certificate the ectrans command gt Loa offusl y in the format Name Module Active association destination List of ECtrans destinations where association specifies the ECtrans genericFile file true association and destination specifies genericFtp ftp true the ECtrans destination E genericSftp sftp true Total 3 Add associaton Click the expand button to the left of m eq L I B Internet To create a new association click the Add association button Choose an Association name trajectory in the example below This is the name t
23. notification only available on ecgate Sents a notification to an event Table 9 Shell commands for management of events at ECMWF 5 8 Execution return codes Shell commands return 0 if successful otherwise one of the error codes listed in table 10 Each time an error occurs a message indicating the error is displayed to the user The ECDEBUG environment variable can be set to yes to display information concerning a command exe cution Code Meaning To do 1 Configuration error Check ftp and eccert are in your path 2 Authentication error Check your certificate is valid and the gateway is available 3 Protocol error Run the debug mode to get more details 425 Cant open data connection Check your network configuration FTP must be al lowed between the gateway and your system 426 Connection closed transfer Check your network configuration FTP must be al aborted lowed between the gateway and your system 451 Requested action aborted local Gateway error read details in the embedded mes error in processing sage 501 Syntax error in parameters or Check the command usage arguments Table 10 Shell commands error codes 5 9 Examples of Shell command usage This section shows a number of examples of Shell command usage from a user s viewpoint The following assumes user xyz has already created an ECaccess certificate and runs commands from within a Bourne shell First of all to dis
24. see the batch queues available on cla ecqls hpcd debug ES os ns xs bench bench bench n2 oF of tr Ef nF nf xp np tp op diag 2 1 debug class INIT 815 WAIT 1 EXEC 5 DONE 4 623 STOP 108 0 DONE 50 STOP 1 INIT 2 WAIT 0 EXEC 0 DONE 5 STOP 2 time critical MS serial single task work operational serial single task work serial single task work system bypass class for serial single task work Top half benchmark class Bottom half benchmark class benchmark class parallel work requiring fractional fractional fractional fractional fractional fractional bypass class parallel work lt 31 lt 62 lt 31 lt 62 lt 31 lt 62 for time critical MS operational parallel work system diagnostic jobs only Cpus Cpus Cpus Cpus Cpus Cpus parallel work 2 CPUs operational parallel work without SMT operational parallel work with SMT time critical time critical parallel work parallel work parallel work work without SMT work with SMT without SMT with SMT reserved for operations To submit a batch job first take a look at the different options available with ecjreq 20 ecjreq help Syntax JREQ ECaccess queue remote script args at start date yyyy MM dd HH mm nd no directives within the input script tg
25. session login by providing your ECMWF user identifier and your passcode You may modify the default value of 30 minutes to a greater value if you plan to use the service with breaks of more than 30 minutes 000 ECMWF ECaccess login e a Y e o a OL nros ecaccess ecmwf int ecmwf t 1241168631448 wr 307 ECMWF ECaccess login O You can manage your files organise transfers or submit batch jobs through the web interface Web session 3 When using Automatic logout will occur after an idie time of 30 minutes EF aso Tnm navi jon not Please enter your userid o Eso Your passcode obtained from your security token button To make the service more secure ECaccess ae instructs your not to You can open an interactive session with support for GUI applications on one of ECMWF systems cache personal NX interactive session ECMWF server ecgate IE Or workstation o Please note that be Network link speed adst TE AS from a few seconds Window option floating window FS ha w aooaa ing size of the files Floating window application xterm EE Dring this tes the Virtual desktop resolution available area J be window will pam Once authenticated your browser is redirected to the main page containing the menu described in the previ ous section the default option is Browsing gt ECHOME files To browse other directories from your home directory select a target directory and press the Browse
26. their plugins e Web memory cache pages collected by the MSgateway from ECMWF and passed to Member State browsers can be stored in a memory cache If the same page is required again it is retrieved from this cache Since this cache is located on the MSgateway this is quicker than access through the Internet 2 2 Using an ECaccess gateway If the basic features available via the ECMWF ECaccess gateway interfaces are sufficient you can use ecaccess ecmwt int for the web and the FTP interface The Shell commands section 5 use ecaccess ecmwf int as the default gateway name If you have access to RMDCN and want to use it for accessing ECMWF you can use msaccess ecmwf int instead If you wish to use the advanced features only available via a Member State ECaccess gateway you will need to find out on which host this gateway has been installed at your local site and which FTP and HTTPS ports are being used by that gateway You may be able to obtain this information by running the ecenv Shell command If ecenv is in your command path it will provide information about your Member State ECaccess gateway If the command is not available you will need to contact your local ECaccess administrator or the Computing representative for your country or organisation You can also email advisory ecmwf int 2 3 Plugins By default the following plugins are automatically started on all the gateways e The FTP plugin al
27. 00 PORT command successful 150 Opening ASCII mode data connection ecgate LoadLeveler submission on ecgate INIT 819 WAIT 1 EXEC 2 DONE 4631 STOP 107 cla LoadLeveler submission on cal INIT 9 WAIT 0 EXEC 0 DONE 50 STOP 1 hpcf LoadLeveler submission on hpcf INIT 2 WAIT 0 EXEC 0 DONE 5 STOP 2 226 Transfer complete ftp gt To see the batch queues available at ECMWF for one ECaccess queue e g c1a ftp gt dir cla 200 PORT command successful 150 Opening ASCII mode data connection debug debug class ts time critical MS serial single task work os operational serial single task work ns serial single task work xs system bypass class for serial single task work 56 ECMWF Technical Notes lt ECMWF Extended commands bench2 Top half benchmark class benchl Bottom half benchmark class bench benchmark class n2 parallel work requiring 2 CPUs oF fractional lt 31 Cpus operational parallel work without SMT of fractional lt 62 Cpus operational parallel work with SMT tF fractional lt 31 Cpus time critical work without SMT EE fractional lt 62 Cpus time critical work with SMT nF fractional lt 31 Cpus parallel work without SMT nf fractional lt 62 Cpus parallel work with SMT xp bypass class for parallel work reserved for operations np parallel work tp time critical MS parallel work op operational parallel work d
28. 8h ar 31 12 40 change file mode ECMWF Technical Notes 3 2 ECcert command lt ECMWF getTempFile 168h Mar 31 12 40 create temporary file getTransferList 168h Mar 31 12 40 get transfer list As can be seen from the output for a normal user id the certificate expiration is 168 hours for all services The date time shows when the certificate has been requested To display the user of the current ECaccess certificate in clear text eccert ecuser XYZ ECMWF Technical Notes 9 S ECMWF ECaccess User Guide 4 Unattended file transfers initiated from ECMWF The ectrans command allows you to transfer files securely between ECMWF and remote sites Like the UNIX rcp command ectrans requires no password to be specified for the remote host the ECaccess gateway performs the security checking Unlike standard FTP ectrans is suitable for unattended file transfers in scripts cron jobs etc as it avoids the problems inherent in storing passwords in text files and sending passwords across networks Even if you don t have a local gateway installed you can benefit from the ectrans command by using the ECMWF ECaccess gateway Please note that in this case the transfer is not as secured as when a Member State ECaccess gateway is used 4 1 Target location Users who wish to transfer files between ECMWF and Member State servers need to declare one or more remote Member State users msuser association for the sto
29. CMWF user name Then grant the association 34 ECMWF Technical Notes 6 4 Ectrans setup SS ECMWF A ECMWF gateway service osoft Internet Explorer File Edit view Favorites Tools Help Bak gt A Qsearch Favorites media 3 Soa ECMWF gateway service gt ECtrans gt DoGrant Association s you have selected Once granted to an ECscratch files trani AMECM SA ISO ECMWF user an association can be ECfs files 1 d I Association User Full name used by this user in PE order to perform List of ECtrans associations unattended transfers O Beie diusi A trajectory usl Dominique Lucas x2386 on your behalf Browse basket Submit new job Total 1 ECMWF username usc Job submissions Tile transfers Grant association s Browse history ECtrans setup Get certificate Log off usl ECMWF Disclaimer El f Done e L The UID and name of the person you have given access to the destination is now added to the list To remove an entry from the list click the Remove from the list icon on the left iix z w Favorites Tools Help gt A Bsearch G Favorites Meda ES 3 al Z ECMWF gateway service gt ECtrans gt DoGrant Association s you have selected Once granted to an ECscratch files Grandan ECM PEO ECMWF user an association can be ECfs files i gt I Association User Full name used by this user in s order to perform
30. ECJOBS ECTMP 214 Above domains are recognized 214 Current domain is ECHOME xyz 214 Default domain is xyz 214 Direct comments to ecaccess ecmwf int ftp gt The indicates a virtual Root directory under which the different ECdomains are Note that if you want to access another user s domain you can use the following syntax for the domain name Domain name target user For example to access the ECFS domain of user zzz ftp gt quote domain ecfs zzz 200 SITE DOMAIN set to ecfs ftp gt quote help domain 214 Syntax DOMAIN target domain 214 ECHOME ECMARS ECFS ECSCRATCH ECJOBS ECTMP 214 Above domains are recognized 214 Current domain is ECFS zzz 214 Default domain is xyz 214 Direct comments to ecaccess ecmwf int ftp gt The current domain is set to the ECFS domain of user zzz To access an ECFS project two steps are necessary 1 Set the ECdomain to ecfs ftp gt quote domain ecfs 2 use the argument dir i e ftp gt cd dir PROJECT ftp gt mget Please note that for large ECFS files or during ECFS system sessions the transfer from ECFS may take longer then the timeout period of the ftp data connection 300 seconds and therefore fail This problem can be solved by using ectrans The domain ECHOST will allow you to access all file systems on selected hosts available to you e g for user xyz
31. EFAAOBJOAwWgYkCgYEAxXMT3GChn3X6thkEZKtDNCK3jbeORROGI9U3KO EBhMCVUsxE jAOBgNV 0q3G6D LuIMd8D6Vn OFru2tsVoZdl3bPqGOZRYF1z SXofvKhkWCUOP1nR UCpru bIHQ X8SDOeaCptd hocmVrqxeH nVSsvz UCAWEAATANBgkqhkiG9w Ut02Dd4A0pSsaX8JTT OBAQOFAAOBgOB9SA3C kbJ aW6GCS67rmyz5cQU 6wu3uC7AnCDqflja b xukG1dKN2d Lhol ecQfYeHj5bdGWRigqmt gT30zN6HaPBlalYN tmYv5P8tYKGA 334XoeWERC YPd310xf186tCbqC1HJAINP 1iHMu9U2450JhtL bt1Jx00pwwyrHS I5dLThBrxzllagkv A END CERTIFICATE OpenSSL can be used to decode and display certificate components To display the expiry date of the current ECaccess certificate in clear text eccert expire Mar 18 12 16 19 2009 GMT The expiration shown above usually 1 month refers to the validity of MARS access To see the expiry of the various ECaccess services the eccls command can be used cgate home ectrain trx 1 gt eccls submitJob 168h ar 31 12 40 job submission getJobList 168h ar 31 12 40 job list deleteJob 168h Mar 31 12 40 delete a job get JobResult 168h ar 31 12 40 job result deleteFile 168h Mar 31 12 40 delete file getFileList 168h ar 31 12 40 get file list mkdir 168h ar 31 12 40 make directory getFileSize 168h ar 31 12 40 get file size readFile 168h ar 31 12 40 read file writeFile 168h ar 31 12 40 write file moveFile 168h ar 31 12 40 move file rmdir 168h ar 31 12 40 remove directory chmod 16
32. Job submissions File transfe s Browse history Comment ECtrans sezup Get certificate Log off usl Login information Login local_UID Password Peere Create this MS user From your ECMWF account ECuser usl you can use ECtrans to perform unattended fie transfers to or from a local Member State account s Yau need to create an association with an MS user ECtrans uses the specified information to perform unattended fie transfers to from your local Member State account This is optional information which can be used by an ECtrans module for example to perform some extra sacurity check e g certificate With the data content editor you can either emer your E tavt line hv line ar al B je Internet ZA When you have entered all the information for your association click the button Create this MS user A new association has been defined for you Please note that between all users an association name can be defined only once per gateway You can define more associations e g to transfer files from ECMWF to different systems or other local UIDs You can also allow other users at ECMWF to transfer files with ectrans to your association To do this click the Grant Association s button A ECMWF gateway service etup Microsoft Internet Explorer View Favorites Tools E Edt Hep o Das Back gt gt gt a Bsearch
33. List of ECtrans associations unattended transfers Browse queues 3 A a x Prowse auaide I trajectory usi Dominique Lucas x2386 on your behalf E Submichewich w gt usc Carsten Maass x2389 room224 Leg Remove from the list ECMWF user name Grant association s Tile transfers Browse history ECtrans setup Get certificate Log off usl ECMWF Disclaimer Ed E https fecaccess ecmuf int ecmwF B 49 Internet DA ECMWF Technical Notes 35 S ECMWF ECaccess User Guide 6 5 NX service A service using the NX technology allows users to run at ECMWF X Window based applications like Metview XCdp or a simple xterm The easiest way to use this service is via a web browser see section 6 5 1 It is also possible to connect using a standalone NX client application completely independent of any web browser see section 6 5 2 A similar service is available through the ECaccess gateway msaccess ecmwf int and through your local gateway provided that you have installed the ECaccess gateway v3 3 0 at least NX allows you to run remote X Window sessions even across slow or low bandwidth network connections making it possible to start sessions from clients running on Windows Linux Mac OS X and Solaris platforms Thanks to exclusive X protocol compression techniques and an integrated set of proxy agents NX improves the power of the X Window System to transparently run graphical desktops and applications throu
34. TP plugin is to allow access to ECMWF computing facilities from within shell scripts using the eccert command to generate a temporary password However it can also be used interactively In this section it is assumed that the Member State ECaccess gateway see section 2 2 runs on the server ecaccess meteo ms 11 1 Temporary password The eccert command can create temporary passwords from an ECaccess certificate It is used to login from a standard FTP client using both the ECMWF user identifier and the temporary password which can be used only once and for a short period of time To generate a temporary password for user xyz eccert cpass verbos echost ecaccess meteo ms ecport 443 eccert home xyz eccert crt Passcode retrieved from certificate Certificate loaded 855 bytes xyz 51xeth9o The verbose output shows the new temporary password has been successfully created It is 51xeth9o User xyz can use it to access the ECaccess FTP Server S ftp ecaccess meteo ms 9021 Connected to ecaccess meteo ms 220 FtpPlugin v1 0 0 Name ecaccess xyz xyz 331 Enter PASSCODE at password prompt Password 5lxeth9o 230 User xyz logged in from host meteo ms Remote system type is UNIX ftp gt Note that your ECaccess administrator may have assigned the standard ftp port number 21 to the ECaccess ftp plugin If so and also when accessing an ECaccess gateway at ECMWF you will n
35. WF ecaccess service gt Files gt DoDownload O Your request has been successfully sent to your ECtrans agent Request summary Gateway name ecaccess met ms Remote identifier my_account EChome files ECscratch files ECfs files Browse queues Browse basket Submit new job Job submissions Tile transfers Browse history ECtrans setup Get certificate Log off usl Copyid Type Target Source ECtrans list 8258 Job file job e2900 e2900 8259 Job file job o2900 02900 8260 Job file job i2900 12900 Total 3 Monitor file transfers As each transfer is begun it is assigned a copy identity number copyid All copyids are kept track of by the Monitoring interface You can access this interface to monitor your copy requests thanks to the File transfers option in the Monitoring menu ECMWF Disclaimer a Done A Internet 6 4 Ectrans setup Before being able to launch unattended transfers from ECMWF section 4 back to your site using the com mand ectrans you will have to configure ectrans association between your ECMWF User ID and the destina 32 ECMWF Technical Notes 6 4 Ectrans setup S ECMWF tion system and User This is done through the web interface by clicking ECtrans setup from the lower left panel E ECMWF gateway service gt ECtrans gt Setup Microsoft Internet Explorer File Edit View Favorites Tools Help HBk gt
36. an start a virtual desktop in full screen mode by choosing the Virtual desktop resolution option full screen Section 6 5 5 below describes the usage of WindowMaker in more detail 6 5 4 How to connect using a standalone NX client In addition to using the web browser based access to ECMWF via NX described previously you can also download a standalone NX client To do this go to www nomachine com download php and select the NX client for your platform The installation is quite straightforward and is described in more detail at www nomachine com documents client install php You can then use the Download session file option avail able through the web interface ECMWF Technical Notes 39 SS ECMWF ECaccess User Guide 006 Secure Access to ECMWF ecaccess ecmwf int Y om lt gt Ec Cx OL https secaccess ecmwf int nx plugin ecaccess nx jsp Y v The session is ready to run Click on the button to start O NOMACHINE Continue If you have problems using the Java Applet please download the NX Client from NoMachine and open it with this Session File Save Link Target As Ke This URL allows you to download a complete configuration file which can be used with your standalone NX client You can have multiple configuration files say one for a standalone xterm on ecgate and another one for a full virtual desktop still on ecgate and then select the appropriate one from your NX client Alternat
37. archiving facilities Throughout the guide the terms gateway and ECaccess gateway are used interchangeably Gateways include a model for the management of plugin services A plugin is a piece of code that handles 4 ECMWF Technical Notes 2 2 Using an ECaccess gateway SS ECMWF requests responses flowing through the gateway Currently there are plugins for incoming FTP HTTP S X11 Telnet and SSH requests to ECMWF Additional plugins are planned On top of the SSH plugin the NX appli cation can be used for interactive access to ECMWF The ECMWF ECaccess gateway hereafter referred to as ECgateway can be used on its own Nevertheless using a Member State ECaccess gateway hereafter referred to MSgateway instead offers the following features and advantages over using the ECgateway on its own e Secure tunnel between ECMWF and MSgateway all services are channelled through SSL Secure Socket Layer secure connections to ensure data integrity For confidentiality administrators can set up encryption e Security authentication protocols such as FTP or Telnet use only basic security mechanisms during their login process The MSgateway plugins invoke an SSL protocol component for user authentication e Low resource usage fast response opening and closing SSL connections takes a significant amount of CPU time bandwidth and memory MSgateways maintain a set of permanent SSL connections to the ECaccess server for
38. ate LoadLeveler Total 2 EChome files ECscratch files ECfs files Browse queues Browse basket Submit new job File transfers Browse history ECtrans setup Get certificate Click the Show detzils icon of an ECaccess queue to see its details and associated batch queues Loa off usl ECMWF Disclaimer E CTS 6 internet L if ei 117 4 To submit a new job select the Submit new job option in the Queues Jobs menu ZJ ECMWF ecaccess service gt Queues gt Details Microsoft Internet Explorer lol xj File Edit View Favorites Tools Help Heak gt gt D Asearch Favorites meda By Y a Links ECMWF ecaccess service gt Queues gt Details z Details of the ECaccess queue hpcd 5 To submit a job to EGhome files ECaccess queue hpcd LoadLeveler this ECaccess queue ECscratch files oe you can access the ECfs files Name thped job form by clicking Host hpcd ecmwf int the Submit a job to Active true this ECaccess queue Browse queues System LoadLeveler button Browse basket Comment submission on hpcd Submit new job Total number of INIT requests 0 Total number of WAIT requests 0 Job submissions Total number of EXEC requests 0 Whi brnitti gt Eile tranoferg lotal number of DUNE requests 1 job it Ud El Browse history Total number of STOP requests 2 E ME directives option Overview of a
39. b submissions Cile transfers Browse history ECtrans setup Get certificate Log off usl Use Browse buttons to select up to 4 files from your local hard disk to upload to your remote directory You must at least select one file to upload You can change your current target directory by using the EChome interface The maximum size of data you can upload with this interface is set to 97 6M If the total size of your files is larger than this please use your the Ftp server Please note that uploading files can take anywhere from hal l Done A 89 internet Us Once uploaded a summary is printed to inform you of the size of the files uploaded You may click the Browse uploaded files to return to your current directory where your files have been uploaded 28 ECMWF Technical Notes 6 3 Users views E Edit View Favorites Tools Help E ECMWF ecaccess service gt Files gt DoUpload Microsoft Internet Explorer Bak gt A Qsearch Favorites meda 4 Ey S Sf E lt ECMWF lol Links gt c ECMWF ecaccess service gt Files gt DoUpload O Files you have selected are now stored on your current EChome directory EChome files ECscratch files ECfs files Source name Uploaded files list Browse queues Browse basket Submit new job Job submissions Cile transfers Browse history ECtrans setup Get certificate Log of
40. button File Edit view Favorites Ie Help Back gt gt OA a Reach Favorites meda GB Ey Got E ECMWF ecaccess service gt Files gt EcmwfList ww Direct access to your EChome files and directories Every file in this domain can lt EChome filee be copied downloaded or deleted E ELENA Paths are relative to your usl EChome directory Browse X You can change your current EChome directory by using the directory box and the Browse button or by clicking a O Mode User Group Size directory in the list Curri Q gt dwxr xr x us us 96b Do w usl us 1 5K To upload files change the current D gt dere ust us 1 0K directory to the target directory and Fo reee usl us 2 0K select the Upload pi files option ECtrans setup amp mo usi us 96b Get certificate Log off usl EQ dre ust us 96b b drwxr xr x usl us 1 0K Oct 292002 CFS Select flac with your a b drwxr xr x usl us 1 0K Oct 01 14 01 COMP_REP 15 texing nto list by Q gt dee usl us 96b May 15 1995 Calendar eclecking tie copy a gt drwxr xr x usl us 96b Feb 10 2000 Corel70 Rool arion asynchronous DD E ust us 1 0K Oct 08 2001 Desktop Ect ane download or by clicking the CQ gt remar uel ue 2 0K Oct 01 14 01 ECFS enar ean aie single file in the lis P drwxr xr x usl us 96b Jan 0200 00 ECFS_flow reie ownload l Bk e aa a irs sav Aine 12 2009 cer k z E CTS 6 intemet ECMWF Technical Notes To download a file fr
41. cFtp destination of the myUser msuser of the ECaccess gateway ecac cess meteo ms to the current directory at ECMWF ectrans gateway ecaccess meteo ms remote myUser genericFtp 12 ECMWF Technical Notes 4 2 ECtrans command lt ECMWF get source fff verbose gateway ecaccess ecmwf int echost ecgate ecmwf int ecport 644 action get ecuser xyz target fff source fff keep false option reject File to download 0 bytes 5140480 bytes to download When the request has been carried out successfully the result is returned immediately Transfers from a Members State to ECMWF are not spooled they are carried out synchronously The ectrans return code is O if the file has been transferred successfully or 1 if the file has not been transferred successfully ECMWF Technical Notes 13 ECaccess User Guide lt SECMWF 5 Shell commands This section describes the Unix shell commands for the management of files file transfers and jobs They can be run by any user and on any Member State host They all point to a common shell script and are included in the ECaccess software distribution Running these commands requires a valid certificate see section 3 2 and a number of environment variables to be set up Command usage information is available via the help flag or giving the command name to echelp These shell commands are also available on ecgate at ECMWF As you have already
42. ch can only be used once Subsequent sequence numbers should also be given in increasing order e g by building the sequence number using date and time Some variables are passed with the option env These variables will be available to the jobs that are submitted 24 ECMWF Technical Notes S ECMWF 6 The Web server The ECaccess gateway HTTP S interface allows Member States to manage their job submissions and file transfers from their Web browser e g Firefox Mozilla or Internet Explorer This section gives an overview of what this interface provides and how it works Please note that only interactive authentication as described in section 3 is supported The main purpose of the HTTP S plugin is to provide easy access and monitoring for on line users For use from within shell scripts batch most of those features are also provided through the FTP plugin and are described in the previous sections 6 1 Authentication Assuming that the Member State ECaccess gateway see section 2 2 runs on the server ecaccess meteo ms users connect to the application by pointing their Web browser at http ecaccess meteo ms 9080 and will be redirected to the login page Note that the default HTTP port number used for ECaccess is 9080 By giving an ECMWF user identifier and a passcode the user is authenticated and routed to a personal page a user context is maintained for the subsequent operations from his browser Users have the ability to
43. destination e Member State servers running a proprietary application The administrator provides ectrans with the implementation of the access protocol The administrator can also use more complex rules to define special target locations for ECMWF users Member State users or groups of Member State users The command ectinfo described in the next section can be used to get the translated URL of a target location giving a Member State user identifier and a destination name passwords are displayed as aa 10 ECMWF Technical Notes 4 2 ECtrans command 4 2 ECtrans command S ECMWF With the ectrans command Member State users who use their shell account at ECMWF can initiate secure file transfers between ECMWF ecgate or HPCF systems and Member State servers When ectrans is used to put a file from ECMWF to a Member State the ECaccess Server will spool the file in the user s ectrans transfer queue if the connection between the ECMWF and Member State gateways is down or if any error occurs the file will be kept in the spool area at ECMWF and you can resume the transfer either through the web interface or with the ECtools command ectret When ectrans is used to get a file from a Member State to ECMWF the transfer will fail by default if the connection between the ECMWF and Member State gateway is down A retry mechanism is available for all types of transfers To show the ectrans usage ectra
44. e gateway str target gateway for xterm display str target display for xterm override default ecpass create a new passcode for FTP tunnel create a new tunnel verbos verbose mode on help this message Default values can also be set by the ECHOST ECCERTPORT ECMWF Technical Notes 7 lt SECMWF ECaccess User Guide and DISPLAY environment variables ECC ERTFILE To create a certificate for user xyz you will be prompted for your ECMWF user identifier and a Passcode from your security token eccert verbos echost ecaccess meteo ms ecport 443 eccert home xyz eccert crt Certificate request ECMWF user identifier xyz Passcode from your security token Certificate saved 912 bytes KKK KKK The verbose output shows the certificate has been successfully created and saved to the eccert crt file size is 855 bytes Certificates are PEM Base64 encoded ASCII files Below a typical certificate content is shown cat home xyz eccert cr EGIN CERTIFICAT MIICSTCCAbDICAQkwDOYJKoZIhvcNAQEEBOQAWUTELMAKGA1U BAgTCUJ1lcmt zaGlyZTEQMA4GA1UEBxMHUmVhZG1uZzEOMAwGA1UECHMFRUNNVOYx DDAKBgNVBASTAO05TUzAeFwOwMjJAyMDOxODA3Mz1laFwOwMjJAyMDkxODA3MzlaMIGI MOswCOYDVOOGEWJVSzESMBAGA1UECBMJOMVya3NoaXJ1MRAwWDgYDVOQHEwdSZWF k aW5nMQ4wDAYDVOOKEWVEQ01XRJEMMAOGALUECXMDTINTMTUWMwYDVOQDEyxzeWkv ZWNiYXR3jaC91Y2JhdGNoMi51Y213Zi5pbnO0vMTAxM3g0NjA20Dk30DCBnzANBgkq hkiG9IWOBAQ
45. e this is the same as fe00h240 At this stage the ensemble forecast model at OOUTC for step 504 21 days is complete At this stage the boundary condition forecast at OOUTC step 72 is complete At this stage the analysis at OOUTC is complete At this stage the analysis at 12UTC is complete With the content editor you can either enter your text line by line or cut and paste the text from your computer As an alternative to the script content editor you can press the Browse button to navigate on your hard disk and select a script file from your computer The script you are going to submit will be executed in your ECSCRATCH domain Alinon absolute PATH used in your seript will be relative to this domain You can ask that your iob is run when the ECMWF operational suite has reached some predefined stages called notifications or events Lg E Y E co Once the job is submitted a summary screen gives you the job identifier number of your new job request It can be used to reference the submitted job using the monitoring interface described in the next section If you want to arrange a secure file transfer of the result click the Transfer with Ectrans after execution button lol x View Favorites ools Back gt gt A A Asearch GigFavorites meda A Er 3 a a Links gt SS ECMWF ecaccess service gt Jobs gt DoSubmi
46. echnical Notes 45 S ECMWF 7 2 Monitoring file transfers initiated with ectrans ECaccess User Guide To access this interface select the option File transfers in the Monitoring menu icrosoft Internet Explorer A Asearch Favorites Meda 4 amp 3a 8 am ww EChome files ECscratch files ECfs files Browse queues Browse basket Submit new job Job submissions Cile transfers Browse history ECtrans setup Get certificate Log off usl ECMWF ecaccess service gt Files gt EctransSpool Use this interface to track transfers you have submitted with ECtrans Transfer submitted by usl TT Copyid Status Remote Access Date Time Source gt 9956 STOP trajectory Elaccess gateway Nov 15 21 45 job i3146 iS 8957 STOP trajectory ECaccess gateway Nov 15 21 45 job e3146 gt 8958 STOP trajectory ECaccess gateway Nov 15 21 45 job 03146 otal 3 Remove selected Restart selected Transfers history All files are kept track of by their copy identity number A copy involves several steps The progress of a copy can be monitored thanks to its status which can be either INIT COPY WAIT STOP or DONE To get more details about a transfer select it with your mouse in the list by clicking the Track transfer icon The transfer has been stopped because an error has occured This transfer can be either deleted or restarted if
47. etting started e Section 2 describes the ECaccess global architecture focusing on the FTP Web Telnet and X11 components e Section 3 gives an overview on interactive and shell script user authentication Running batch work at ECMWF For automating data transfers and submitting batch jobs refer to e Section 4 describes initiating unattended transfers from ECMWF e Section 5 describes the ECaccess Shell commands ECaccess on line For access to on line ECMWF computing facilities refer to e Section 6 describes web based management of jobs and file transfers to and from the ECHOME for ecgate home directory ECSCRATCH for ecgate scratch directory and ECFS directories e Section 7 describes web based monitoring and trouble shooting of batch jobs and file transfers e Section 8 describes logging in at ECMWF via the gateway s single sign on Telnet server component e Section 9 describes logging in at ECMWF via the gateway s single sign on SSH server component e Section 10 describes starting X11 applications on ECMWF servers using the single sign on X11 access component Advanced topics Refer to the following sections for customizing ECaccess Shell commands e Section 11 describes the extended FTP server and its advanced features as are used to access ECMWF computing and archiving facilities from within scripts e Section 12 shows how to write a shell script for listing files at ECMWF using the extended FTP ser
48. eturned It can be used to reference the copy request using the interface described in section 7 58 ECMWF Technical Notes 11 3 Extended commands lt ECMWF 113 8 TRET command The purpose of the tret command is to retry an unsuccessful transfer Assuming user xyz is still connected to display options of the tret command ftp gt quote help tret 214 Syntax TRET copy id args 214 remote arg target user default current user 214 gateway arg target gateway name default current gateway 214 target arg target file name default same as source 214 keep keep the request in the spool 214 reject if the target file already exists 214 append if the target file already exists 214 resum if the target file already exists 214 erase if the target file already exists 214 Direct comments to ecaccess ecmwf int ftp gt If there is an existing target and no option has been selected the value provided to the treq command is used 11 3 9 TDEL command The purpose of the tdel command is to cancel a transfer Assuming user xyz is still connected to display options of the tdel command ftp gt quote help tdel 214 Syntax TDEL copy id 214 Direct comments to ecaccess ecmwf int ftp gt Assuming user xyz is still connected and wants to cancel his previous treq with transfer identifier 10130074296659 ftp gt quote tdel 10130074296659 200 TDEL command succes
49. execution transfer fails 214 mr send mail when the execution transfer retries 214 jn job name default source file name 214 mp man page content comment for the operators 214 1t job input output lifetime in days default is 7 214 re define the number of retries default is 0 214 rf define the frequency of retries in seconds default is 600 214 Direct comments to ecaccess ecmwf int ftp gt Note that if connected to a Ecaccess gateway older than Version 2 1 0 you will still see the old syntax including the NQS command line options The following examples show how to submit the source script test sh to the ECaccess queue ecgate The first attempt is successful and the second attempt fails because the source script has been previously deleted Assuming user xyz is still connected and has a file called test sh in his home directory default domain ftp gt quote jreq ecgate test sh mu xyz meteo ms mb m 213 87006 ftp gt delete test sh 250 DELE command successful ftp gt quote jreq ecgate test sh 451 Error opening file ftp gt The first jreq command is successful A mail will be sent to xyz meteo ms when the request begins and ends its execution The job identifier number 87006 is returned It can be used to reference the submitted job using the interface described in section 7 The second jreq command is rejected because the source script is not available
50. f usl fortran txt Files uploaded Targetname File size fortran txt 14 1K Total 1 Browse uploaded files As each selected file is uploaded it is possible to return to the target directory by clicking the button Browse uploaded files ECMWF Disclaimer a Done m A 49 Internet Ui You can see the fortran txt file is now stored in your current directory You can continue browsing directories and repeat the operation as many times as you need To submit a job you should first choose which system at ECMWF you want to use To have a list of the systems at ECMWF supporting a batch service click the Browse queues button A ECMWF ecaccess service gt Files gt EcmwfList Microsoft Internet Explorer File Edit View Favorites Tools Help e Back gt A A Qsearch faiFavorites Leda Er S El E Ee ECMWF ecaccess service gt Files gt EcmwfList Direct access to your EChome files and directories Every file in this domain can be copied downloaded or deleted Paths are relative to your usl EChome directory EChome files ECscratch files ECfs files Browse BE You can change your current EChome directory by using the directory box and the Browse button or by clicking a directory in the list 3 Browse queues e D Mode User Group Size Date Time Name Submit new job Current path gribex Po rwxr xr x usl us 16 5K May 061998 a out J
51. gh the network Even on slow or low bandwidth network connections you can get a fast response thanks to the NX lazy encoding algorithm and NX capability to automatically tune itself to network bandwidth and latency parameters In addition NX allows having both standalone X terminal and virtual desktops independent of the web browser session used to start them The windows can be minimised and the web browser can even be terminated For more information on NX please see www nomachine com documents php 6 5 1 How to connect using a web browser The easiest way to connect to ECMWF using the NX service is simply to go to http ecaccess ecmwf int You will get to a page like ECMWF ECaccess login oO Pe GOL hnps ecaccess ecmwf int ecmwf t 1241168631448 wy GAY OS 307 ECMWF ECaccess login O You can manage your files organise transfers or submit batch jobs through the web interface Web session Automatic logout will occur after an idle time of 30 minutes EF een ae ass use the menu navigation Please enter your userid i ee maiii Your passcode obtained from your security token button To make service more r gt secure ECi Log on instructs your browser not to You can open an interactive session with support for GUI applications on one of ECMWF systems a personal NX interactive session ECMWF server ecgate Or workstation Please note that X Network link speed aasi FE tome arene Window opt
52. gin process Therefore when redirected from the secured login page to the unsecured main page you may receive a security alert This is a normal message just select the Accept option to continue The main page provides the following options organized through menu entries in the left margin Browsing menu ECMWF Technical Notes 25 S ECMWF ECaccess User Guide Browse files the user can browse through his ECHOME ECSCRATCH or ECFS files and directories Delete files users can select files to be deleted from the different places listed above Copy files users can copy files between two domains files can be copied from an ECSCRATCH directory to an ECFS directory for example Transfer files users can use their browser facilities to transfer files between their computer and their ECHOME ECSCRATCH or ECFS directories files are transferred over an FTP connection Add scripts to the job list users can select one or several scripts and add them to their job list for later submission Users may continue browsing files adding more scripts to their basket Select scripts for submission users can select one or several scripts for immediate submission Request secure file transfers users can select files to be sent via their transfer spool equivalent of the TSUB command of the FTP plugin or of the ectreq command of the Ectools or of the ectrans command on the systems at ECMWF Queues Jobs menu e Browse queues users can bro
53. hat will be used as msuser with the ectrans command Fill in the remaining info giving the required information on your local system In the example below we create an association named trajectory that will be used to transfer files using ftp by default to a local system named system meteo ms as a user local_UID The data transferred will be written into the directory data trajectory The local files will have a temporary suffix tmp added to their names during the transfer Note that you can change the configuration of the ectrans association by modifying the options given in the window titled Complementary information ECMWF Technical Notes 33 lt SECMWF A ECMWF gateway service gt ECtrans gt Create Microsoft Internet Explorer ECaccess User Guide E O1 x File Edit View Favorites Tools Help a Back gt Dl A Asearch Favorites media 4 B S El El Links al MS user association details MS user to be associated Association name trajectory enabled y system meteo ms Directory data trajectory trajectory from ECMWI Default destination genericFtp pa Complementary information Please use the data content editor plowPort no feo mkdirs yes ftp passive yes ftp portTimeOut 60000 ftp prefix ftp suffix tmp EChome files ECscratch les ECfs files Browse queues Browse basket Submit newjob Host name
54. he transfer has been stopped because an error has occured This transfer can be either deleted or restarted if you can solve the issue start your gateway for example This option let you restart this transfer with the input file already copied in your ECtrans spool directory This will delete the input files stored inside your ECtrans spool directory Done vile A 49 Internet 46 ECMWF Technical Notes lt ECMWF 8 The Telnet server The telnet access to ecaccess ecmwf int and msaccess ecmwf int will be terminated on 24 Jun 2009 Please use ssh or NX instead Telnet to MS gateways will remain The Telnet plugin part of the gateway allows Member State users to log into their shell account at ECMWF and execute commands directly on ecgate When contacting the ECaccess service with telnet you will see something like Connected to ecaccess Escape character is Authorized access only E ARAS For further information read the ECaccess documentation at gt http www ecmwf int services ecaccess You can also use ECaccess to load download files from your EChome ECscratch or ECfs directories using the ECaccess FTP server gt ftp uid ecaccess ecmwf int Use your UID and the SecurID code to login KEK KKK KKK KKK KKK KKK KKK KKK KKK KEKKKEKKAKK KKK KKK KKK KKK TelnetPlugin v3 0 0_2005010701 login xyz Passcode x x xx The prompt is for y
55. hould be quite straightforward To terminate a WindowMaker session you need to select the Exit option from the menu 42 ECMWF Technical Notes 6 5 NX service ECMWF Technical Notes Application Menu lt ECMWF 43 S ECMWF ECaccess User Guide 7 Monitoring tools The purpose of the monitoring interface is to provide Member States users with information concerning e Job requests referenced by the job identifier number which is returned by the ecjreq and ecjpout command see section 5 e Secure file transfer requests referenced by the copy identifier number which is returned by the ectreq command see section 5 or the ectrans command see section 4 2 The monitoring interface is accessible through the ECaccess HTTP S plugin which supports the interactive method of authentication described in section 3 Procedures to login and use this plugin are discussed in the previous section The following discussion assumes that you are connected 7 1 Monitoring batch job submissions To access this interface select the option Job submissions in the Monitoring menu ECMWF ecaccess service gt Jobs gt Track Microsoft Internet Explorer 4 10 x File Edit View Favorites Tools Help ul Back gt Dl A Qsearch jFavorites media 4 E S El E Links gt Ee ECMWF ecaccess service gt Jobs gt Track Use this interface to track jobs you have submitted to ECMWF
56. iag system diagnostic jobs only 226 Transfer complete ftp gt Note that the batch queue names on the systems at ECMWF need to be included in the script 11 3 6 JLS command Assuming user xyz is still connected to list jobs the dir or Is command needs to be invoked with the jls command rather than the list command called by the ftp dir command ftp gt quote alias list jls 200 ALIAS command successful ftp gt ls 200 PORT command successful 150 Opening ASCII mode data connection 3884 hpcd hpcd ecmwf int WAIT Nov 18 11 42 3146 ecgate DONE Nov 15 21 33 226 Transfer complete ftp gt It is also possible to get information for a specific job e g 3884 ftp gt dir 3884 200 PORT command successful 150 Opening Jobid Location Date Time Status stdout size stderr size stdin size 226 Transfe ftp gt ASCII mode data connection 3884 hpcd hpcd ecmwf int Nov 18 11 42 DONE 221 219 241 r complete When a job is complete you can retrieve its stdout stderr or stdin file using the following syntax for the source file e stdout jbd o job id e stderr jod e job id ECMWF Technical Notes 57 S ECMWF ECaccess User Guide e stdin jbd i job id For example to retrieve the output file of job number 3884 local file will be job out ftp gt get jbd 03884 job out 200 PORT command successful 150 ASCII mode connection for jbd 03884 221 bytes 226 Transfer complete
57. in a telnet session 10 2 Starting xterm within a SSH session 10 3 Support for VNC servers 11 The FTP server 11 1 Temporary password 11 2 Standard commands 11 3 Extended commands 11 3 1 DOMAIN command 11 3 2 INFO command 11 3 3 JREQ command 11 3 4 JDEL command 11 3 5 QLS command 11 3 6 JLS command 11 3 7 TREQ command 11 3 8 TRET command 11 3 9 TDEL command 11 3 10TLS command 12 Writing a script TETAS cio eee a a a 12 2 Sample script 12 3 More examples ECaccess User Guide 47 48 49 ER A A ee ee ee 49 Sd a rd sida Boat de BM Meee pa Body dd A ia 49 Dare Sak a E Boe di Bahk de ape ee ak ae 49 The ECaccess change history can be found at www ecmwf int services ecaccess download changelog html ECMWF Technical Notes lt ECMWF 1 Introduction The ECaccess software gives Member States and other ECMWF users batch and interactive access to the ECMWF computing and archiving facilities Access is available via the Internet as well as via RMDCN This user guide which is intended for all users of the ECaccess software describes the concepts and pro cedures for accessing data and running jobs at ECMWF If you are to perform the administrative task of installing and or maintaining the ECaccess software you should study the ECaccess Administrator s Guide see http www ecmwf int services ecaccess download For the gateway concepts and procedures see section 2 This guide is structured as follows G
58. ion floating window FS from a few seconds to several minutes depending on the size of the files Floating window application xterm E Dining this te the Virtual desktop resolution available area browser window will not change a Using various drop down menus in the bottom part of the page you will be able to select the type of NX session you want to establish Please note that your web browser needs to be Java enabled You can connect to both ecgate and the supercomputer using the drop down menu ECMWF server 36 ECMWF Technical Notes 6 5 NX service lt ECMWF You can select the type of network link you are using with the menu Network link speed This will select a number of options which should by optimal for your configuration You can select the type of window you want to have using the Window option menu if you select floating window you will get a single X Window application like xterm or Metview you can choose the application using the next menu If instead you select virtual desktop you will get a fully working desktop using the WindowMaker window manager In this case you can select the Virtual desktop resolution to be either available area or full screen 6 5 2 Example of session starting a standalone xterm on the supercomputer In this case you need to select cla as ECMWF server specify your type of network link you can leave this to the default
59. ion 3 Note that the gateway at ECMWF will close SSH sessions idle for 6 hours Note also that if you use a Member State ECaccess gateway there is no need to use ssh as the connection between the MS gateway and ECMWF is already secure Using telnet will do If you decide to use your MS gateway and your gateway administrator has opened this service you may need to contact port number 9022 like in ssh p 9022 1 xyz ecaccess meteo ms 48 ECMWF Technical Notes lt ECMWF 10 X11 connections The X11 plugin part of the gateway allows Member State users who have an X11 server running on their workstation to log into their shell account and start X11 applications directly on ECMWF systems First users must check that their DISPLAY environment variable is properly set up on their workstation echo SDISPLAY hostname 0 0 The content of this variable is the name of the display to which X11 applications will connect usually the name of the user workstation If users have a server access control program for X they must add the gateway hostname to their host list allowed to make connections to their X11 server e g assuming that the Member State ECaccess gateway see section 2 2 runs on the server ecaccess meteo ms with the xhost command xhost ecaccess meteo ms caccess meteo ms being added to access control list The MS gateway is then authorized to open connections to their X11 server Note that the
60. is case you will get a standalone xterm on ecgate Depending on your firewall setup you may get various warning messages You will need to authorise all sessions from anything related to NX nxclient nxauth nxssh etc 6 5 5 WindowMaker overview WindowMaker is a popular window manager for the X Window System allowing graphical applications to be run on Unix like operating systems It is designed to emulate NeXT s GUI as an OpenStep compatible environment and has been described as one of the most useful and universal window managers available WindowMaker has a reputation for being fast efficient and highly stable and is very popular among open source solutions for use on both newer and older machines More information on WindowMaker can be found at http en wikipedia org wiki Window_Maker and www windowmaker info WindowMaker is the window manager which is used when you connect with NX to either ecgate or the supercomputer and select the virtual desktop option For example when you connect to ecgate using the virtual desktop you will get a desktop as shown in figure 2 The main customisation which has been implemented is a specific Application Menu which you can obtain when right click opposite mouse button for left handed mouse on the desktop The menus on ecgate and the supercomputer are designed to be very similar with the one on ecgate offering more choices regarding the available applications The usage of the menus s
61. isplayed in your browser 006 Secure Access to ECMWF ecaccess ecmwf int Thanks for using NX Web Companion SI Click on the button below to exit the applet NOMACHINE If you have problems using the Java Applet please download the NX Client from NoMachine and open it with this Session File Save Link Target As The application you have requested to start in this case an xterm should also start as a separate X based window You can now minimise or even close your web browser and start using your xterm 000 X xterm 6 5 3 Example of session starting a virtual desktop on ecgate In this case select the following for the link speed you can leave the default adsl 38 ECMWF Technical Notes 6 5 NX service lt ECMWF ECMWF server ecgate Or workstation Network link speed ads Window option virtual desktop ie Floating window application xterm 13 Virtual desktop resolution available area and press Log on The login process will be the same as the one described in the previous example but at the end the following window will appear Figure 2 Virtual desktop on ecgate started using NX The window manager available on this desktop is called WindowMaker By right clicking on the mouse you will get an Application Menu which allows you to start an xterm or other X based applications The main desktop window is a standalone X Window and can be minimised If you prefer you c
62. ively you can use the NX client Wizard to setup your own configuration as described in the NX client documentation available at www nomachine com documents configuration client guide pbhp We recommend using this option for advanced users only We also recommend that you first look at one of the configuration files which you can obtain by downloading the session file The first time you start the NX client the following window will appear NX Connection Wizard Welcome Welcome to NX Client Connection Wizard which will guide you through the steps needed to setup your login Please select the NOMACHINE Next button to start lt Back Enext gt Cancel You will have to click Next where you will be asked to enter the name of your NX session in the example lt your session gt and the host to connect to You will have to enter the ECaccess host name ecac cess ecmwf int as host 40 ECMWF Technical Notes 6 5 NX service lt ECMWF NX Connection Wizard Session Insert name of the session Your configuration settings will be saved with this name NOMACHINE session lt your sesssion gt Insert server s name and port where you want to connect ON Host ecaccess ecmwf int Port 22 Select type of your internet connection MODEM ISDN ADSL WAN LAN Cuo R Cana You will then get the following window where you can choose you type of desktop You will need to choose Unix and Custom
63. ll the available batch queues ther the LoadLeveler ECtrans setup batch queues have to Get certificate Available batch queues for hpcd be selected within Log off usl your input script by Name Comment providing the LoadLeveler batch queues ES debug Default interactive class dirextives ts Time critical MS serial single task work 05 Operational serial single task work ns Serial single task work bench Benchmark class n2 Parallel work n8 Parallel work np Parallel work tp MS time critical parallel work op Operational parallel work diag Diagnostic jobs only Total 11 Submit a job to this queue z E Done B 89 Internet yy You may enter your script in the text area provided or select a script from your computer Select the tar get queue hpcd in this case Note that the batch queue or class and other batch directives have to be included in your script Alternatively you can inform ECaccess that your script does not contain batch direc tives In this case default values will be used and ECaccess will fully manage your submission Once your script is read click the Submit job button to send your request to the server The list of notifications allows you to attach your job to one event in the ECMWF operational suite Please re fer to www ecmwf int services computing docs ms_items tc_for_MS html for further details 30 ECMWF Technical Notes 6 3 Users views i ECMWF ecaccess service gt Jobs gt
64. lows Member State users to submit jobs and to transfer files between their own computer on one side and ECMWF file systems and ECFS on the other side This extended FTP server can also be used for access to ECMWF computing and archiving facilities from within shell scripts e The HTTP S plugin for job and file transfer management monitoring from a browser e The Telnet and the X11 plugins available on MSgateways only provide access to ECMWF servers with a single sign on login process Communication and authentication are established through the gateway ECMWF Technical Notes 5 S ECMWF ECaccess User Guide e SSH is increasingly used for external connections ECaccess includes an SSH plugin which will allow you to access ECMWF and run X11 Note that only SSH protocol version 2 is supported 6 ECMWF Technical Notes lt ECMWF 3 Security authentication This section discusses the gateways built in security mechanisms used to control access to ECMWF Two authentication methods are available e Interactive authentication users will be prompted for their ECMWF user identifier and the PASSCODE obtained by entering their PIN number into the security token e Batch authentication users need to create an ECaccess certificate before they access ECMWF facili ties This method allows Member State users to automate authentication within scripts The HTTP S Telnet X11 and SSH plugins support only the first method The FTP plugin supp
65. lt 99 lifeTime arg lifetime in days onsuccess mail sent on successful transfer onfailure mail sent when transfer has failed onretry mail sent when transfer is retried keep keep the request in the spool reject if existing target file default append if existing target file resume if existing target file overwrite if existing target file This command follows the same syntax as the ectrans command described in section 4 2 Note that no valid certificate is needed for this command Assuming user xyz has the file called job out in his ecgate home directory and a remote association defined on the MSgateway and wants to transfer it 22 ECMWF Technical Notes 5 9 Examples of Shell command usage SS ECMWF ectreq job out 10161191 The copy identifier number 10161191 is returned It can be used to reference the copy request using the interface described in section 7 To list transfers carried out by ectrans ectls 10161191 STOP xyz genericFtp ecaccess meteo ms Mar 14 15 19 10164593 DONE xyz genericFtp ecaccess meteo ms Mar 14 15 22 10161193 DONE xyz genericFtp ecaccess meteo ms Mar 14 15 19 To get more information for the previous transfer 1016119 ectls 10161191 Copyid 10161191 MS user xyz genericFtp Hostname caccess meteo ms Access ECaccess gateway Status STOP Error message Wrong password Date Time Mar 14 15 19 Source job out Target
66. ns help usage ectrans gateway name remote msuser destination get put source ec ectmp filename args gt ectrans check requestID x gateway arg access gateway name default ecaccess ecmwf int remote arg access method default xx nonex source arg source file nam target arg target file name default same as source mailto arg target email address default current user lifetime arg lifetime of the file in the spool default lw x x xxxx delay arg transmission delay default immediate transfer xxx x x x at arg transmission date default immediate transfer xxxx format arg define the date format as used with at default yyyyMMddHHmmss retryCnt arg define the number of retries default async 144 sync 0 retryFrq arg define the frequency of retries default async 10m sync 1m x priority arg transmission priority 0 99 default 99 xxxx put interactive synchronous transfer no spool get interactive synchronous pull rather than push file onsuccess mail sent on successful transfer onfailure mail sent when transfer has failed onretry mail sent when transfer is retried keep keep the request in the spool till expiration x x x x x x remove always remove the request from the spool x x x x x x reject if existing target file default append if exi
67. nsfers 1 16 5 7 Management of events at ECMWF e 16 5 8 Execution retum codes o o a a a a a A a 17 5 9 Examples of Shell command usage 00002 eee ee 17 S91 PUB MIRE 0 2 24 84 Fed eee eee Bae bebe a eG 18 5 9 2 Jobmanagement 2 2 00 0 es 19 5 9 3 File transfers initiated at ECMWF but started from your computer 22 5 9 4 Management of notifications 0 02002 ee es 24 6 The Web server 25 Gal AWUIBNUGCSION s eu ee kG ee Oe ae we Oe ee Ew a 25 De FOTO oc 6 coe hah eee eee ee eee aL gwd Oa eA nee owt hades 25 CS USERS VIEWS cocida ca Oo PAY Ae ee Pe he a a Sk ee Hw o ee G 27 BA Ecrans SUN o bis eee Pee ee eee ee Re ee we eee RP we ee 32 A he a Soe Yee Rk a BY ee a ee a a BO er ls A 36 6 5 1 Howto connect using a Web browser 1 0 ee 0 2 o 36 6 5 2 Example of session starting a standalone xterm on the supercomputer 37 6 5 3 Example of session starting a virtual desktop onecgate 38 6 5 4 Howto connect using a standalone NX client 0 0 00 2 eee eee 39 6 5 5 WindowMaker overview 1 oaa a 42 7 Monitoring tools 44 7 1 Monitoring batch job submissions o e ee 44 7 2 Monitoring file transfers initiated with ectrans 0 o ee 46 ECMWF Technical Notes 1 lt SECMWF 8 The Telnet server 9 The SSH server 10 X11 connections 10 1 Starting xterm with
68. oadLeveler EXEC Jobs are running RETR Jobs will be resubmitted STOP Jobs have NOT completed error DONE Jobs have successfully completed Table 7 Job status 5 6 Management of ECMWF initiated transfers The commands for the management of ECMWF initiated transfers see section 4 2 are listed in table 8 These commands correspond to FTP commands described in section 11 and can only be used for the man agement of transfers which have used the ECaccess gateway as shown with the ecenv command Command Purpose ectreq Initiate a file transfer from ECDOMAIN using the ectrans spool ing mechanism ectls List transfers carried out by ectrans ectret Retry a transfer ecidel Cancel an ectrans transfer remove it from the spool ectinfo Display the target location for a user identifier or a group identifier ecenv Provide information about the ECaccess gateway used Table 8 Shell commands for management of ECMWF initiated transfers 5 7 Management of events at ECMWF ECMWF maintains some notifications events which are linked to ECMWF s operational activity and offers the service for time critical jobs This service is also available to MS users who maintain their own notifications and can therefore create simple dependencies between different activities at ECMWF and remote sites 16 ECMWF Technical Notes 5 8 Execution return codes S ECMWF Command Purpose ecevent ecesent Maintenance of
69. ob submissions Do vere usi us 63 7K May061998 fort 12 To upload files ile transfers change the current Browse history DO rwer r usi us 127 3K May061998 fort 12_16 directory to the target directory and ps Fo awer usi us 14 1K Nov1421 04 fortran txt select the Upload E files option ECtrans setup E a O re usl us 5 1K May 061998 grdemo f Doa off usl DO rex sl 6 5K May061998 retpak mj wr r usl us 4 5K May 06 1998 sample_program html Select files with your Total 7 mouse in the list by ticking them and I want to Upload files bd selecting the Copy files to ECtrans spool option asynchronous ECtrans download or by clicking the Transfer icon of a single file in the list synchronous download y a B rtemet Z The queues shown are known as ECaccess queues For each of these ECaccess queues you can click on the show details icon to see its associated batch queues on the system at ECMWF e g below for the ECaccess queu e hpcd ECMWF Technical Notes 29 lt SECMWF 3 ECMWF ecaccess service gt Queues gt List Microsoft Internet Explorer Help Heak gt OA Asearch Favorites Leda 9 Ey GSI a file Edit view Favorites Tools ECaccess User Guide ECMWF ecaccess service gt Queues gt List Fares ww Overview of all the available ECaccess queues ECaccess queues list INIT WAIT EXEC DONE STOP Queuename o o o 1 2 hpcd LoadLeveler o o o 2034 52 ecg
70. om your current directory gribex in this case click the transfer icon of the target file 27 lt SECMWF ECaccess User Guide in the list To upload a file into your current directory select the Upload files option and click the I want to button gt EcmwfList Microsoft Internet Explorer 3 ECMWF ecaccess service gt File Edit Tools Help View Favorites Bak gt Y Qsearch Gig Favorites media B 3 al a Ee ECMWF ecaccess service gt Files gt EcmwfList Direct access to your EChome files and directories Every file in this domain can be copied downloaded or deleted EChome files EC h fil E EIA ne Paths are relative to your usl EChome directory Browse BE Browse queues Browse queues Date Time Browse basket Submit new job Mode User Group Size Name eo oF rre Current path gribex Fo rwxe xr x usl us 16 5K May 061998 a out Job submissions PO w r r usi us 63 7K May 061998 fort 12 ile transfers Browse history PO ome usl us 127 3K May 06 1998 fort 12_16 PO w r r usl us 5 1K May 06 1998 grdemo f ECtrans setup i 1 6 5K May 06 1998 k ee aaue D rwxr xr x usl us y retpal Log offusl DO rwer r usi us 4 5K May 061998 sample_program html I want to Upload files bel Copy files to ECscratch Copy files to ECtrans spool Store files in the basket Submitfiles as jobs You can change your current EChome director
71. orts both 3 1 ECaccess certificate The ECaccess certificate is a standard X509 digital certificate saved on the user s computer as a file lt iden tifies a user to the gateway The ECaccess Certification Authority ECCA signs each certificate Therefore when a user provides his certificate to the gateway its signature is checked using the ECCA public key for verification A certificate can be created e Using the eccert command this is described in section 3 2 e Using the Web interface login to the Web server providing an ECMWF user identifier and token PASSCODE and in the menu click the Get Certificate option to download the new Certificate see section 6 The ECaccess certificate is valid for 7 days for all services but is valid for 1 month for MARS access 3 2 ECcert command The eccert command is one of the Shell commands section 5 From an ECMWF user identifier and a PASSCODE using a security token it generates a certificate in eccert crt in the user s home directory You need to ensure that you have access to the Shell commands see section 5 2 To display a help screen describing the eccert usage eccert help Usage eccert args echost str gateway host name default teaccess ecmwf int ecport num gateway port default 443 eccert str certificate location default SHOME eccert crt ecuser display certificate user id xpir display certificate expiration dat
72. ot need to add the port number 9021 11 2 Standard commands Since this FTP server is compliant with the FTP protocol all standard commands such as open Is dir cd pwd get put ascii binary chmod umask etc are supported Help with their usage can be found in the FTP client documentation ECMWF Technical Notes 51 S ECMWF ECaccess User Guide 11 3 Extended commands The extended commands within the FTP plugin see table 11 correspond to the Shell commands described in section 5 All extended commands have to be preceded by the FTP quote command which sends any command verbatim to the remote server computer Using the alias command the behaviour of the FTP dir and ls commands can be changed by redefining the list command with jls qls or tls The syntax and usage of each extended command is detailed in the following subsections Help for these commands can also be obtained with the quote help command Command Purpose domain changes the current domain on the remote computer valid do mains are currently ECFS ECHOME for ecgate home direc tory or ECSCRATCH for ecgate scratch directory info gets ECMWF service information jreq submits a job on the remote server computer jdel cancels a job submission qls lists ECaccess queues jls lists jobs treq requests a secure file transfer from ECMWF to Member States see section 4 tret retries a secure file transfer tdel cancels a secure file tran
73. our login name which is your ECMWF user identifier You will then be prompted for your passcode obtained by entering your PIN number into your security token and then you will get a UNIX prompt typically or A login with telnet puts you automatically in your home directory Note that a different message may be displayed during your login procedure as this message is customisable by the gateway administrator This option gives the opportunity to broadcast important notes to Member State users availability of a new product disruptions planned for maintenance purposes etc The Telnet plugin supports only the interactive method of authentication described in section 3 Note that the gateway at ECMWF will close telnet sessions idle for 6 hours If you use a Member State ECaccess gateway note that the default port number used by ecaccess is 9023 You ll therefore have to run telnet ecaccess meteo ms 9023 Your Ecaccess administrator may have changed this If the ECaccess shell commands are available to you you can check the port number to use with ecenv If you use an ECaccess gateway at ECMWF you will not need to specify a port number like telnet ecaccess ecmwf int ECMWF Technical Notes 47 S ECMWF ECaccess User Guide 9 The SSH server The SSH plugin part of the gateway allows Member State users to log into their shell account at ECMWF and execute commands directly on ecgate The first time yo
74. play the information on ECMWF services use ecinfo ecinfo KKKKKKKKKK KKK KK KKK KKK KKK KKK KKK KKK KKK KKK KKK KK KK KKK RARA RARA RARA KA YOU ARE LOGGED IN ON IBM SERVER xxx ECGATE xxx KKEKKK KKK KK KKK KKK KKK KKK KKK KKK KKK KK KK AAA AAA AAA ARA AA AAA AAA For information about the use of ECGATE please consult URL http www ecmwf int services computing ecgate KKEKKK KKK KK KKK KKK KKK KKK KKK KKK KKK KKK KKK KKK KKK KKK KKK KKK KKK KKK AAA AAA For additional info on various topics please read more etc motd_additional_info KKKKKKK KKK KKKKKK KKK KKK KKK KKK KKK KKK KKK KKK KKK KKK KKK KKK KKK KKK RA KA System Sessions ECMWF Technical Notes 17 S ECMWF ECaccess User Guide WEDNESDAY 01 03 2006 08400 10400 UTC Mars and Ecfs server system session xxx Mars Ecfs services will be unavailable Sorry for any inconvenience this may cause For latest information on system session and service service status please go to http www ecmwf int services computing select cosinfo To read this message again more etc motd 5 9 1 File management To display the files in the home directory default ECDOMAIN use ecls or ecdir ecls script sh ecaccess ecaccess tools tar gz ecdir ecaccess 10838 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
75. pts to exploit the ECaccess extended FTP server The first subsection introduces helpers small pieces of code used to perform repetitive the tasks needed to access the extended FTP server The second subsection shows a sample script using these helpers to print a list of files at ECMWF Note that the script described in this section are using the Bourne shell and assume that the Member State ECaccess gateway see section 2 2 runs on the server ecaccess meteo ms 12 1 Helpers The default helper is used to set the values of environment variables it can be used to set ECHOST and ECDOMAIN Set default values Usage default paraml param2 result is in res default if 1 J then res 2 else res 51 fi If the variable is already set its current value is used otherwise the default value second parameter is used The value is returned in the res local parameter The check helper is used to stop the script returning code param3 if a given code param2 is found in a given string param1 Used to check return codes from FTP Usage check paraml param2 param3 check res echo 1 grep 2 if res then cho res sed 2 d cut c5 exit 3 fi This helper can be used to check return codes from FTP 12 2 Sample script First of all we have to set the ftp and eccert parameters optionally with their full path
76. rage retrieval of the remote file This can be done through the ECaccess Web interface of the target gateway see section 6 4 For every msuser declaration the hostname and the login username and password need to be specified After the ECaccess gateway installation the Member State ECaccess system administrator can customise the access methods for file transfers These will be displayed through the ECaccess Web interface Several schemes can be implemented such as e The target directory for a particular destination is a sub directory of a central directory configured by the administrator with the sub directory name matching the msuser name e The target directory for all file transfers to a given destination is a sub directory of the msusers home directory The administrator configures the sub directory name e The target directory for a given destination is configurable by the user The administrator determines whether or not the user is allowed to include in the directory path Target directories can be located on e Member State servers running a standard FTP service accessible from the ECaccess gateway This is known as a genericFtp destination and is the most convenient way of getting the files to the system you want under the specified user ID e The server running the ECaccess gateway This is known as a genericFile destination All users will share in a common directory the files transferred using this
77. request everything available from their account until the time allocation expires or the logout option from the Account menu is selected Users connecting for the first time to the login page of the Web server will receive a security alert from their browser This is normal users have to accept the HTTP S plugin certificate as a trusted certificate to allow the encryption of communications The procedure to trust the certificate depends on the browser e f using Internet Explorer you will receive a security alert You will be given an option to view the certificate Select it and then select the install certificate option Follow the instructions to install the certificate Once you have returned to the security alert box select the Accept option e f using Firefox or Mozilla you will receive a security alert Follow the instructions in the alert box to accept the certificate as certified In the last dialogue box you will be given an option to accept this certificate for all your sessions Select it Once this procedure is complete your future connections to the HTTP S plugin will not produce any security alerts 6 2 Features After successful authentication users are redirected from the login page to the main page from which they will be provided with a menu including available operations described in this section Note that the ECaccess gateway administrator can set up the HTTP S plugin to secure only the lo
78. rieve a SECDOMAIN 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 SECDOMAIN ecdelete Delete a file at SECDOMAIN ecmkdir Create a directory at SECDOMAIN ecrmdir Remove an empty directory at SECDOMAIN ecmodtime Get the last modification date of a file at SECDOMAIN ecsize Get the size of a file at SECDOMAIN ecchmod Change file permissions of a file at SECDOMAIN Table 5 Shell commands for file management the user domain is set in the ECDOMAIN environment variable 5 5 Batch job management The batch job management commands listed in table 6 correspond to FTP commands described in section 11 The FTP server Job statuses which can be checked with the ecjls command or via the Web interface ECMWF Technical Notes 15 S ECMWF ECaccess User Guide are listed in table 7 Command Purpose ecjreq Submit a batch request file is at ECDOMAIN ecjget Get job input job output and job error ecjput Submit a batch request file is local ecjdel Delete a batch request ecjls List your batch requests submitted via ecjreq and ecjput ecqls List ECaccess queues and associated batch queues at ECMWF Table 6 Shell commands for batch job management Status Meaning STDBY Jobs are waiting for an event INIT Jobs are being initialised WAIT Jobs have been queued to the scheduler e g L
79. s complete You can retrieve its stdout stderr or stdin using the following syntax for the source file e stdout ofjob id ECMWF Technical Notes 21 S ECMWF ECaccess User Guide e stderr e job id e stdin i job id For example to retrieve the output file of job number 34852 ecjget 034852 ls JOBx JOB 034852 ecjget 034852 job out ls ail job out 71196 rw r 1 xyz systems 686 Mar 13 19 10 job out The first command retrieves the output file in the JOB 034852 the second example retrieves the same output in a file named job out Note that these files are left on ecgate You should delete them when they are not needed anymore To delete or cancel a running job ecjdel 34852 JDEL command successful All the stdout stderr and stdin files are removed from the job spool 5 9 3 File transfers initiated at ECMWF but started from your computer To get the options of the ectreq command ectreq help Syntax TREQ source args gateway arg target gateway name default ecaccess ecmwf int remote arg target location in the format msuser destination target arg target file name default same as source mailto arg target email address default ecuser retryCount arg define the number of retries default 144 retryFrequency arg define the frequency of retries in seconds default 600 priority arg transmission priority 0 99 defau
80. sfer tls lists transfers carried out by ectrans Table 11 Extended ECaccess FTP commands 11 3 1 DOMAIN command It is possible to access a specific domain by e Specifying a target domain during authentication concatenating the domain name to the ECMWF user identifier user_id target_domain e Changing to a new domain with the quote domain command Note that needs to be replaced with when connecting to the FTP server within a URL as in ftp xyz ecfs ecaccess meteo ms to access directly the ECFS domain for user xyz The following example shows the two methods assuming qrf54t79 is a temporary password created by the eccert command ftp ecaccess meteo ms Connected to ecaccess meteo ms 220 FtpPlugin v1 0 0 Name ecaccess xyz xyz ecfs 331 Enter PASSCODE at password prompt Password qrf54t79 230 User xyz logged in from host meteo ms Remote system type is UNIX ftp gt 52 ECMWF Technical Notes 11 3 Extended commands lt ECMWF ftp gt quote domain echome 200 SITE DOMAIN set to echome ftp gt ftp gt quote domain foo 501 Invalid domain name ftp gt When a DOMAIN request is successful code 200 is returned immediately Code 501 is returned otherwise domain not recognized Assuming user xyz is still connected to display available domains ftp gt quote help domain 214 Syntax DOMAIN target domain 214 ECHOME ECHOST ECMARS ECFS ECSCRATCH
81. sful ftp gt 11 3 10 TLS command Assuming user xyz is still connected to list transfers carried out by ectrans the dir or Is command needs to be invoked with the tls command rather than the list command called by the client dir ls command ftp gt quote alias list tls 200 ALIAS command successful ftp gt dir 200 PORT command successful 150 Opening ASCII mode data connection 101459882739211 DONE foo ecaccess meteo ms Feb 25 01 02 101464623610330 STOP xyz ecaccess meteo ms Feb 25 14 10 226 Transfer complete ftp 129 bytes received in 0 06Seconds 2 15Kbytes sec ftp gt ECMWF Technical Notes 59 lt SECMWF ECaccess User Guide It is also possible to get information for a specific transfer 101464623610330 for example ftp gt dir 101464623610330 200 PORT command successful 150 Opening ASCII mode data connection Copyid MS user 101464623610330 XYZ caccess meteo ms Hostnam Access Status Error message Date Time source Target ECaccess gateway STOP No such file or directory Feb 25 14 10 foo foo 226 Transfer complete ftp 243 bytes received in 0 05Seconds 4 76Kbytes sec ftp gt To remove the alias ftp gt quote alias list list 200 ALIAS command successful ftp gt The next Is or dir command will act normally 60 ECMWF Technical Notes lt ECMWF 12 Writing a script This section shows how to write scri
82. sting target file resume if existing target file overwrite if existing target file verbose verbose mode on version print version number help this message x If successful a requestID is returned which can be used in check requests Exit code is 0 on success and gt 0 otherwise xx The default values depend on the GATEWAY or REMOTE environment variables xxx Duration in weeks days hours minutes or seconds e g 1w 2d xxxx These options are only relevant when the spool is used The spool is no used during interactive successful requests xkxx x By default transfers ar failed requests ar get and put options removed from the spool and kept in the spool till expiration The reject append resume and overwrite options are mutually exclusive and determine what to do if there is an existing target file The mailto option specifies an email address to be notified in case of a successful option onsuccess and or a failed transfer option onfailure The check option prints the ECMWF Technical Notes 11 S ECMWF ECaccess User Guide status of the specified request on the standard output Transfer statuses which can be checked with the ectls command or the Web interface are listed in table 1 Status Meaning INIT Files are being transferred to the spool COPY Files are being transferred to the remote site WAIT Files are sched
83. t O Your request has been successfully sent to the ECaccess queue hpca EChome files ECscratch files ECfs files Browse queues Browse basket Submit new job Job submissions File transfers Browse history ECtrans setup Get certificate Log off usl Request summary JobId Script list 2900 Total 1 As each job is begun itis assigned a job identity number ECaccess queue name hpca jobid All jobids are Batch starting date Nov 14 21 50 kept track of by the Job submissions interface You can Script name access this interface to monitor your job script content editor requests thanks to the Job submissions menu Transfer with ECtrans after execution ECMWF Disclaimer l Done T B Internet If required modify the default values gateway name user identifier and specify the erase option of the secure file transfer erase option is discussed in section 4 2 Then click the Send file s to your target host to proceed ECMWF Technical Notes 31 S ECMWF File Edit View Back A ECMWF ecaccess service gt Files gt Download Microsoft Internet Explorer Favorites Tools Help ta Qsearch Giravortes Meda 3 ES ag ECaccess User Guide c ECMWF ecaccess service gt Files gt Download o Download file s from your current remote Ecmwf directory to your local hard d EChome files ECscratch files ECfs files
84. the batch request script file set default characteristics for the batch request However options can also be passed directly to the jreq command If an option is passed both to the jreq command and within the first comment block inside the batch request 54 ECMWF Technical Notes STS ECMWF 11 3 Extended commands script file then the command option and any associated values takes precedence over the embedded option Assuming user xyz is still connected to display available options ftp gt quote help jreq 214 Syntax JREQ ECaccess queue remote script args 214 at start date yyyy MM dd HH mm 214 nd no directives within the input script 214 tg specify the target gateway name 214 tr specifiy the access method msuser destination 214 to transfer output file when the request ends 214 te transfer error file when the request ends 214 ti transfer input file when the request ends 214 tk keep in spool default deleted if transfer successful 214 ni notifications ids list separated by or 214 o redirect sterr to stdout 214 ro renew subscription off default is on 214 oo one script to one notification off default is on 214 mu send mail for the request to the stated address 214 mb send mail when the execution transfer begins 214 me send mail when the execution transfer ends 214 mf send mail when the
85. tor can provide other default values for these parameters However your environment variables take precedence over these default values 14 ECMWF Technical Notes 5 2 Access to Shell commands lt ECMWF 5 2 Access to Shell commands If the directory containing the shell commands is not in your command path or you do not know the directory in which the shell commands are installed try running the ecenv command If the command is not available you will need to contact your Computing Representative your local ECaccess administrator if known or User Support at ECMWF Alternatively you may wish to install the shell commands yourself see http www ecmwf int services ecaccess download 5 3 General information The following commands will give you general information Command Purpose ecenv Provide information about the ECaccess gateway used ecinfo Display the service information about systems at ECMWF eccert expire Display expiry of the current ECaccess certificate eccls Display expiry of the ECaccess certificate for the various ser vices Table 4 Shell commands for general information 5 4 File management The commands for the management of files listed in table 5 correspond to FTP commands described in section 11 The FTP server Command Purpose ecls Print a list of files at SECDOMAIN ecdir Same as the previous command but with any system dependent information ecget Ret
86. u use SSH to ECaccess you will see something like ssh xyz ecaccess ecmwf int The authenticity of host ecaccess ecmwf int 193 61 196 110 can t be established DSA key fingerprint is e e3 f0 12 f5 08 61 d8 55 89 1a 40 e6 18 b8 42 Are you sure you want to continue connecting yes no yes KKK KKK KKK KKK KKK KKK KKK KKK KKK KKK KKKKK KKK KKK KKK KKK For further information read the ECaccess documentation at gt http www ecmwf int services ecaccess You can also use ECaccess to load download files from your EChome ECscratch or ECfs directories using the ECaccess FTP server gt ftp uid ecaccess ecmwf int Use your UID and the SecurID code to login KEK KKK KKK KKK KKK KKK KKK KKK KKK KEKKKKKAKKK KKK KKK KK KKK Password authentication XYyZ S password x x x xxx You will then be prompted for your passcode obtained by entering your PIN number into your security token and then will get a UNIX prompt typically or A login with SSH puts you automatically in your home directory on ecgate Note that a different message may be displayed during your login procedure as this message is customisable by the gateway administrator This option gives the opportunity to broadcast important notes to Member State users availability of a new product disruptions planned for maintenance purposes etc The SSH plugin supports only the interactive method of authentication described in sect
87. uled and waiting to be started RETR File transfer will be retried STOP Files have NOT been successfully transferred error DONE Files have been successfully transferred Table 1 Transfer status 4 2 1 Transfer to a Member State host via gateway To transfer file fff from the current working directory on ecgate to the genericFtp destination of the use myUser on the ECaccess gateway ecaccess meteo ms ectrans gateway ecaccess meteo ms remote myUser genericFtp source fff verbose verbose gateway ecaccess meteo ms verbose echost ecgate ecmwf int verbose ecport 644 verbose action spool verbose ecuser xyz verbose source fff verbose target fff verbose keep fals verbose remove fals verbose option reject verbose lifetime lw verbose delay none verbose at now verbose format yyyyMMddHHmmss verbose retryCnt 144 verbose retryFrq 10m File to upload 5140480 bytes 9442903031 When a request has been spooled successfully a requestID is returned immediately ectrans will then return the exit code 0 The requestlD can be used to reference the transfer using the interface described in section 7 or with the command ectls If the file is not successfully spooled an error message is printed and the ectrans return code is 1 4 2 2 Transfer from a Member State host via gateway To transfer file fff at the generi
88. user zzz export ECDOMAIN ecfs zzz Now all subsequent commands will be executed from the ECFS domain of the user zzz assuming user zzz allows you to access his files read write and exec permissions set accordingly To access an ECFS project e g ENSEMBLES you need after having set ECDOMAIN to ecfs to use the argumnet di r e g ecls dir PROJECT ecget dir PROJECT lt files gt To return to your home directory export ECDOMAIN echome Now all subsequent commands will be executed from your home directory on ecgate 5 9 2 Job management Two different types of queues are now in use with ECaccess 1 The ECaccess batch queues which correspond to one system at ECMWF with its specific batch envi ronment e g ecgate will be the ECaccess queue which will redirect jobs to ecgate at ECMWF running LoadLeveler This ECaccess queue will be given as argument when submitting a batch job ECMWF Technical Notes 19 lt SECMWF ECaccess User Guide 2 The batch queues or classes on the systems at ECMWF will be given in the batch job with class for LoadLeveler The names of the ECaccess queues and associated batch queues at ECMWF can be seen with the command ecals if available ecqls ecgat cla hpcf a OCadLevel oadLevel oadLevel Sr Sr er submission on ecgate INIT 9 WAIT 0 EXEC submission on Cal submission on hpcf To
89. ver In the following Member States MS includes Co operating States ECMWF Technical Notes 3 S ECMWF ECaccess User Guide 2 Ecaccess concepts ECaccess is a framework for batch and interactive access to ECMWF services for Member States and other ECMWF users Telnet f pen fliont y Web A O A as PU MN FTP Server 3 MS awone E station ECaccess Ecgate Figure 1 ECaccess design layout The components of ECaccess are e The ECaccess gateways all Member State users can access the ECMWF computing and archiving fa cilities through a gateway Full ECaccess functionality requires an ECaccess gateway to be installed at the Member State Alternatively reduced ECaccess functionality is available on the ECMWF ECaccess gateway e The ECaccess Server all gateways are connected to this server It provides technical and high level services to the gateway allowing generic access to computing and archiving facilities at ECMWF through ecgate e The ecgate server includes services such as the local LoadLeveler batch system the LoadLeveler batch system on cla the High Performance Computing Facility and access to the ECFS HOME and SCRATCH storage areas To allow authentication and improve security an ECaccess Certification Authority ECCA certifies all ECac cess components 2 1 ECaccess gateway The gateway software is provided for Member States remote access to ECMWF computing and
90. wse through the ecgate queues to select a target queue for their next job request e Browse basket users can select scripts from their basket for their next job request e Submit new jobs users can specify complementary parameters related to the execution and confirmed action of their request The application then submits the job request which is sent to the job spool equivalent of the JREQ command of the FTP plugin Monitoring menu e Monitor job submissions see section 7 1 e Monitor secure file transfers see section 7 2 e Browse the events history the history allows saving details date name and summary concerning each event for later consultation by users themselves Account menu e Access the ECtrans configuration the user can define the mapping between his ECMWF user identifier and his local user identifiers He can also check his available destinations e Request a new ECaccess Certificate the user can download a new ECaccess Certificate description and purpose of these Certificates are discussed in section 3 e Logout the user context is deleted and the browser is sent back to the login page 26 ECMWF Technical Notes 6 3 Users views 6 3 Users views The following snapshots illustrate a typical interactive session a user could have using the web interface Different browsers on different operating systems may have different presentations of the same page lt ECMWF First under the heading Web
91. xhost command is only required for telnet not for ssh After these preliminary settings you should be able to request an X11 proxy via your telnet or SSH connection Each subsequent X11 application started from this xterm window including new xterm will make connections to your X11 server 10 1 Starting xterm within a telnet session The telnet access to ecaccess ecmwf int and msaccess ecmwf int will be terminated on 24 Jun 2009 Please use ssh or NX instead Telnet to MS gateways will remain By connecting to either ecaccess meteo ms or ecaccess ecmwf int with the telnet plugin described in sec tion 8 after having selected the ECMWF host to access you will have to request an X11 proxy by typing X You will then be asked to validate the DISPLAY No need to re enter it if it is correct A control window will then appear showing the DISPLAY used by the X11 proxy From this login session you will be able to start X11 applications Please keep the control window up and running as it keeps the X11 proxy alive 10 2 Starting xterm within a SSH session By connecting to ecaccess ecmwf int with the SSH plugin described in section 9 after having been validated with your security token you will first have to select the system at ECMWF to access Note that you may have to use ssh X to open the X11 tunnel 10 3 Support for VNC servers The VNC service will be terminated on 23 Sep 2009 Please use NX instead
92. y by using the directory box and the Browse button or by clicking a directory in the list To upload files change the current directory to the target directory and select the Upload files option Select files with your mouse in the list by ticking them and selecting the Copy files to ECtrans spool option asynchronous ECtrans download or by clicking the Transfer icon of a single file in the list synchronous download y f Done PTS 9 internet 7 Click the Browse button and select the file E fortran txt you want to upload to your current directory you may repeat the operation three times if you want to transfer more than one file Then click the Upload local files to your target directory A ECMWF ecaccess serv pload Microsoft Internet Explorer Help View Favorites Tools File Edt Hek gt OA A search iraro Gedo r i H ECMWF ecaccess service gt Files gt Upload Upload files from your local hard disk to your current EChome directory EChome files Local hard disk source files ECscratch files ECfs files Please selectlocal source files E fortrantxt Browse Browse Co e Browse Browse And if necessary rename corresponding target gt files Current remote EChome directory Target directory gribex Upload local files to your target directory Browse queues Browse basket Submit new job Jo
93. you can solve the issue start your gateway for example y 49 Internet Lo A list displays your transfer requests You are informed of the status of the transfers meanings of the different values are provided in the help tips Once a transfer is marked as DONE or STOP you can select it with your mouse and obtain the following screen ECMWF ecaccess sel Edit Yiew Favorites Help Tools rosoft Internet Explorer 10 x EBak gt Q Qsearch Gyravorites meda B S E E Links gt EChome files ECscratch files ECfs files Browse queues Browse basket Submit new job Browse history ECtrans setup Get certificate Log off usl ECMWF ecaccess service gt Files gt EctransDetails O Displays additional information concerning the transfer with copyid 8956 ECtrans transfers summary Copy id Remote identifier Hostname Status Date Time Source j Target File size Error message If you wish to restart this transfer The target ECaccess gateway host trajectory The remote identifier The target name If the target file already exists Send mail to 8956 trajectory buaccess ecmwf int STOP Nov 15 21 45 113146 job i3146 134b unknown host local_system met ms buaccess ecmwf int ljob 3146 reject pa keep in the spool usl Fat the begining Fat the end on success at the end on failure T
Download Pdf Manuals
Related Search
Related Contents
Philips Viva Collection Variety cooker HD3033/00 Portcall user manual - Independent Port Services Z31 R200 Differential Service Manual Engine color, things are not always Blue. Mise en place d`un système arabe d`information géologique et minière Omega PTO10AR 1 - Brother S8 Elite™ II System biographie en français Copyright © All rights reserved.
Failed to retrieve file