Setting up EDG UI v1.1.4 on RH 6.2

Firewall:

> The connections you will need to be able to make outgoing are
> 
> $ telnet rb.gridpp.ac.uk 7846             (Resource Broker)
> $ telnet rb.gridpp.ac.uk 7771             (Logging Broker)
> $ telnet rb.gridpp.ac.uk 2811             (GridFTP)
> $ telnet www.gridpp.ac.uk 80              (CRL Lists)
> 
> You do not need any inbound connections.
> Unless you use globus-job-run directly in which case the normal
> GLOBUS_TCP_RANGE=10000,12000  and then they have to be opened up
> incoming.

  To use R_GMA you will need port 8080 open in both directions.



"Stock" RedHat 6.2 box with current set of updates - make sure have 
relevant packages.

I'm using "commercial" SSH ssh-2.4.0-1

Need libwww, including devel -
	w3c-libwww-5.2.8-4
	w3c-libwww-apps-5.2.8-4
	w3c-libwww-devel-5.2.8-4

Need OpenSSL, including devel -
	openssl-0.9.5a-7.6.x
	openssl-devel-0.9.5a-7.6.x
	openssl-perl-0.9.5a-7.6.x
	openssl-python-0.9.5a-7.6.x

Need wget -
	wget-1.5.3-6

RH7.2: need lesstif-0.92.32-6.i386.rpm for libXm.so.2 for prove?

From the WP6 EDG Packages repository on http://marianne.in2p3.fr/

Python (in the UI external collection):
	python-2.1.1-3  
	python-devel-2.1.1-3
	python-tools-2.1.1-3
	python-tkinter-2.1.1-3
	expat-1.95.1-1
	expat-devel-1.95.1-1
The PYTHONPATH variable is set up in the edg_user_env script, so
no need to do anything permanent now - but may be good idea to set it 
in shell used for install process.


Globus: all rpms in UI globus collection -
	globus_common-gcc32dbg_rtl-2.0-21
	globus_core-edgconfig-0.14-2
	globus_core-gcc32dbg_pgm-2.1-21
	globus_cyrus_sasl-gcc32dbgpthr_rtl-1.5.27-21
	globus_data_conversion-gcc32dbg_rtl-2.0-21
	globus_duct_common-gcc32dbg_rtl-2.0-21
	globus_duct_control-gcc32dbg_rtl-2.0-21
	globus_duroc_common-gcc32dbg_rtl-2.0-21
	globus_duroc_control-gcc32dbg_rtl-2.0-21
	globus_ftp_client-gcc32dbg_rtl-1.2-21
	globus_ftp_control-gcc32dbg_rtl-1.0-21
	globus_gass_copy-gcc32dbg_pgm-2.0-21
	globus_gass_copy-gcc32dbg_rtl-2.0-21
	globus_gass_server_ez-gcc32dbg_rtl-2.0-21
	globus_gass_transfer-gcc32dbg_rtl-2.0-21
	globus_gram_client-gcc32dbg_rtl-2.0-21
	globus_gram_client_tools-gcc32dbg_pgm-2.1-21
	globus_gram_protocol-gcc32dbg_rtl-2.0-21
	globus_gssapi_gsi-gcc32dbgpthr_rtl-2.0-21
	globus_gssapi_gsi-gcc32dbg_rtl-2.0-21
	globus_gss_assist-gcc32dbgpthr_rtl-2.0-21
	globus_gss_assist-gcc32dbg_rtl-2.0-21
	globus_io-gcc32dbg_rtl-2.0-21
	globus_libtool-gcc32dbgpthr_rtl-1.4-21
	globus_mds_common-gcc32dbgpthr_pgm-2.2-21
	globus_mp-gcc32dbg_rtl-2.0-21
	globus_nexus-gcc32dbg_rtl-6.0-21
	globus_openldap-gcc32dbgpthr_pgm-2.0.14-21
	globus_openldap-gcc32dbgpthr_rtl-2.0.14-21
	globus_openssl-gcc32dbgpthr_pgm-0.9.6b-21
	globus_openssl-gcc32dbgpthr_rtl-0.9.6b-21
	globus_openssl-gcc32dbg_rtl-0.9.6b-21
	globus_profile-edgconfig-0.14-2
	globus_rsl_assist-gcc32dbg_rtl-2.0-21
	globus_rsl-gcc32dbg_rtl-2.0-21
	globus_ssl_utils-gcc32dbg_pgm-2.1-21
	globus_ssl_utils-gcc32dbgpthr_rtl-2.1-21
	globus_ssl_utils-gcc32dbg_rtl-2.1-21
	globus_user_env-noflavor_data-2.1-21b


EDG:
From UI EDG collection (all except edg-rgma*) -
	userinterface-1.1.2-1
	userinterface-profile-1.1.2-1
	workload-profile-1.1.2-1
	edg-compiler-1.0-0
	edg-profile-0.3-1
	edg-user-env-0.3-1
	edg-utils-1.0.14-1
	edg-se-libstringextra-1.0.1-1
	edg-se-query-1.0.1-1
	grm-1.0.2-1
	prove-3.1.2-1

From UI external collection -
	openmotif-2.1.30-8 

From UI appcommon collection -
	GNU.LANG_gcc_shr-2.95.2-0_asis_1
	GNU.LANG_gcc_sys-2.95.2-0_asis_1


Set env variables for EDG:

For c-shell users, source in user .cshrc -
	if ( -x /opt/edg ) then
		source /opt/edg/etc/edg-user-env.csh
	endif

Edit /opt/edg/etc/edg-user-env.csh replacing 'return 1' at line 7 with 
'goto end' and adding 'end:' as a final line. [bug in script]

[ 
In /etc/sysconfig/edg_workload.csh the last line is

setenv EDG_WL_LIBRARY_PATH ${GLOBUS_LOCATION}"/lib:"${EDG_WL_LOCATION}"/lib:"/usr/local/lib"

where as it should be 

setenv EDG_WL_LIBRARY_PATH ${GLOBUS_LOCATION}"/lib:"${EDG_WL_LOCATION}"/lib:/usr/local/lib"

Presentley 

[traylens@gppui04 profile.d]$ source wl-ui-env.csh
Unmatched ".
]


C-shell users should note that the unique jobids contain a '?'
which you must escape from the csh:

	$ dg-job-status 'JOBId'


Certificates and CRL updates: 

You need which ever CAs you trust from UI ca collection - e.g.
ca_CERN-0.6-1
ca_GridPP-0.6-1
ca_INFN-0.6-1

and also something to update them at intervals - you should run

$ /sbin/chkconfig edg-crl-upgraded on
$ /sbin/service edg-crl-upgraded start
$ /sbin/chkconfig edg-gridmapfile-upgraded off

/* Not v1.1.4?
GDMP
The client for GDMP is configured with a script that is provided. For each 
Virtual Organisation that your most local storage element supports issue

$ /opt/edg/sbin/configure_gdmp_client gppse06.gridpp.rl.ac.uk /opt/edg gridpp 

where the three arguments are the 'local' storage element, the EDG top 
level directory and a virtual organisation. 
*/

You should now have a working UI for job submission, but no RGMA for 
application monitoring.