Data Transfer
- How to install web-service-client on a GridFTP server to publish gridftp data ?
- How to configure web-service-client on a GridFTP server ?
FTS
- How to install web-service-client on a FTS server to publish fts data ?
- How to configure web-service-client on a FTS server ?
- Files in the FTS RPM and their interdependencies
URIs of Web-Services
How to install web-service-client on a GridFTP server to publish gridftp data ?
Gridview web service publisher can be installed using the rpms provided by the gridview team.
The link for downloading the rpms is as follows:
http://gridview.cern.ch/GRIDVIEW/downloads/Packages/
There are two required rpm files : gridview-wsclient-common and gridview-wsclient-gridftp
Both the above files are required for the Gridview GridFTP WS client to work.
Prerequisite for the publisher to work -- SOAP::lite perl module (ver. > 0.67) has to be there on the server.
How to configure web-service-client on a GridFTP server ?
If the publisher is installed through the rpm then the configuration is done automatically and most of
the time default settings are OK.
Start the following service: gridview-wsclient-gridftp
The service runs under the default user name 'daemon'. If this user does not
exist in the server, it can be changed to any other user name. For doing this:
Create a file /etc/sysconfig/gridview-wsclient containing the following line:
GRIDVIEW_WSCLIENT_USER=username
How to install web-service-client on a FTS server to publish fts data ?
Gridview web service publisher can be installed using the rpms provided by the gridview team.
The link for downloading the rpms is as follows:
http://gridview.cern.ch/GRIDVIEW/downloads/
There are two required rpm files : gridview-wsclient-common and gridview-wsclient-fts
Both the above files are required for the Gridview FTS WS client to work.
Prerequisite for the publisher to work -- SOAP::lite perl module (ver. > 0.67) has to be there on the server.
How to configure web-service-client on a FTS server ?
If the publisher is installed through the rpm then the configuration is done automatically and most of
the time default settings are OK.
The service runs under the default user name 'daemon'. If this user does not
exist in the server, it can be changed to any other user name. For doing this:
Create a file /etc/sysconfig/gridview-wsclient containing the following line:
GRIDVIEW_WSCLIENT_USER=username
After the installation through rpm, one needs to set the FTSID for the installtion. By default it is 'UNKNOWN'. This has to be set to the GOCDB registered hostname for the FTS instance.
To set it, add the following line to /etc/sysconfig/gridview-wsclient
GRIDVIEW_FTS_INSTANCE=instance_name
The FTSID can also be set in the files /opt/gridview/etc/gridview-ftsok-wsclient.pl and
/opt/gridview/etc/gridview-ftscs-wsclient.pl
After Setting the FTSID start the following services.
gridview-wsclient-ftsok
gridview-wsclient-ftscs
Files in the FTS RPM and their interdependencies
By Default, the rpms get installed in '/opt/gridview' folder. The folder will contain following files.
1. sbin/gridview-common-wsclient.pl -- It is the main perl script, containing common functions, being used by
all of the publishers of gridview.
2. sbin/gridview-ftsok-wsclient.pl -- This perl script parses and publishes records for Successful FTS jobs.
3. sbin/gridview-ftscs-wsclient.pl -- Similar to gridview-ftsok-wsclient.pl but it is responsible for FTS jobs
checksum logs.
4. etc/gridview-ftsok-conf.pl and etc/gridview-ftscs-conf.pl -- Configuration files that defines the parameters for running the Publisher.
Moreover, the following files get installed in /etc/init.d for controlling the publisher service.
1. gridview-wsclient-ftsok -- This file has to go to '/etc/init.d' folder. This file is for starting
and stopping the service, responsible for publishing records for FTS successful jobs.
2. gridview-wsclient-ftscs -- This file too has to go to '/etc/init.d/' folder. This file is for
starting and stopping the service, responsible for publishing FTS Checksum records.
The following files get installed in /etc/logrotate.d for configuring the logrotate service to
include gridview publisher logs.
1. gridview-wsclient-ftsok -- Log Rotation Config file. For rotating log of the FTS OK publisher.
2. gridview-wsclient-ftscs -- Log Rotation Config file. For rotating log of the FTS Checksum publisher.
And, if you change something from Default configuration then follow
the following instructions:
1. If you change the location of configuration file then you need to edit the
main perl file to include the correct config file. This is at the top of the file.
2. If you change the name or location of logfile in config file then change the
logrotate file accordingly.
3. if you change the path of lock or statefile in config file then make sure
that the path exists and accessible to the user.
4. If the path or name of the main perl file has been changed then necessary
changes has to be made in the init file.
5. If your service writes in some other logfile make changes in Config file.
6. A number of other parameters are there in config file which controls the
behaviour of service.
--
RajeshKalmady - 05 Jun 2007