On Tue, 28 Jan 2003, Stephen Burke wrote:
> Second, see if you can read the storage path from the GRIS and do
> a gridftp ls on it:
>
> sepath=`ldapsearch -x -h $yourse -p 2135 -b "mds-vo-name=local,o=grid" \
> "objectclass=storageelement" | grep -i sevo | grep iteam | cut -d : -f 3`
>
> edg-gridftp-ls --verbose gsiftp://$yourse/$sepath/
Actually a better test is something like:
sepath=`ldapsearch -x -h $yourse -p 2135 -b "mds-vo-name=local,o=grid" \
"objectclass=storageelement" | grep -i sevo | grep iteam | \
sed "s/\(.*\):\(.*\):\(.*\)iteam/\3/"`
edg-gridftp-ls --verbose gsiftp://$yourse/$sepath/$sepath/iteam
which also tests the required soft link.
Stephen
|