= Grid_environment = == How to Configure GridWay Based on DRBL == * 1. Introduction [[BR]][[BR]] * GridWay is a Globus project, which provides scheduling functionalities similar to distributed resource management systems. GridWay interfaces to remote resources through Globus GRAM job manager. GridWay meta-scheduler integrates with the remote platforms and resource managers (Fork, PBS, SGE, LSF, LoadLeveler and Condor) compatible with Globus. * 2. Configure GridWay on the DRBL server and clients [[BR]][[BR]] * Building and installing GridWay based on DRBL is very easy. You only install on the DRBL server by consulting [http://www.gridway.org/documentation/stable5.4/GWAdmin.pdf GridWay 5.4 System Administrator's Guide] and then configure the file:gwd.conf. To uncomment the last three lines and modify the server name. {{{ # # Example MAD Configuration for WS testbeds # IM_MAD = mds4:gw_im_mad_mds4_thr:-s drbl-srv.nchc.org.tw:gridftp:ws EM_MAD = ws:gw_em_mad_ws::rsl2 TM_MAD = gridftp:gw_tm_mad_ftp: }}} * IM_MADs is Information Manager Middleware Access Drivers. They are responsible for host discovery and monitoring. You can reference [http://www.gridway.org/documentation/stable5.4/GWAdmin.pdf GridWay 5.4 System Administrator's Guide 3.4. Information Driver Configuration] and [http://www.globus.org/toolkit/docs/latest-stable/admin/quickstart/#q-vo GT 4.2 Quickstart 3. VO-level services] to set up gwd. [[BR]][[BR]] * Finally, you can start the gwd daemon to perform GridWay successfully on the DRBL server and clients. [[BR]][[BR]] * 3. Troubleshooting [[BR]][[BR]] * (1) Could not create remote job directory (gsiftp://pc111.nchc.org.tw/~/.gw_gwuser_3/). [[BR]][[BR]] * Please check Gridftp. You can reference [http://www.globus.org/toolkit/docs/latest-stable/admin/quickstart/#q-gridftp Set up GridFTP].[[BR]][[BR]] * (2) Copy of file stdout.wrapper failed. Copy of file stderr.wrapper failed. Some output files were not copied, will NOT remove remote directory.[[BR]][[BR]] * At first, you should check if the GridWay administrator and all GridWay users are the same UNIX group. The permission of the job working directory($GW_JOB_HOME) should be written by the GridWay users. You can try "chmod g+w $GW_JOB_HOME".[[BR]][[BR]] * (3) Transfer MAD ($nice) not loaded for user gwuser[[BR]][[BR]] * The setting format of the configuration file (gwd.conf) in older versions and new version are different. [[BR]][[BR]] {{{ older versions: IM_MAD = ::[args]:[nice]:: nice: Integer value, that will be added to the rank calculated for the hosts managed by this Information Driver. So you can prioritize, at a coarse level, hosts from different Information Drivers (or Grids). }}} {{{ new version (v5.4): IM_MAD = ::[args]:: }}} * Now GridWay has remove [nice] field, so you may meet this error(Transfer MAD ($nice) not loaded for user gwuser) if you still set the [nice] field. == References == * [http://www.gridway.org/documentation/stable5.4/GWAdmin.pdf GridWay 5.4 System Administrator's Guide] * [http://www.gridway.org/documentation/stable5.4/GWUser.pdf GridWay 5.4 User's Guide]