Last modified 6 years ago Last modified on 11/25/11 10:31:53

dCache pools running on SUN (c) Solaris

This info has been provided by Jonathan (in2p3)

There is not much to change in the script.

cp $dcache_root/install/ $dcache_root/install/
sed -e 's/egrep .* -q/egrep -q "1\.[456]\." /' $dcache_root/install/ | 
sed -e '/os_absolutePathOf /s/^/#/' | 
sed -e 's#ftpBaseLinkedTo=.*$#ftpBaseLinkedTo="/pnfs/"#'   >$dcache_root/install/

Note that if you plan to mount pnfs on Solaris, you can't rely on the dcache script, since some options on the linux mount command are not supported under solaris.

We set the following line in /etc/vfstab :

MYPNFSSERVER:/pnfsdoors  -       /pnfs/  nfs     2       yes rw,noac,vers=2,bg

and mount it manualy before running the gridftp server.

You have to run every shellscript by prefixing them by "sh" :

sh /etc/init.d/dcache-pool stop

While you still need a host certificate, you can get rid of the grid-mapfile stuff by using the gPlazma Cell for authentication (at least this is how we handle this)

About software installation, we just do a rpm2cpio from the dcache-server rpm and then on the solaris machine, we extract the cpio archive. I planned to package dCache as a solaris pack but I miss the time to do it.

I hope this can help!



You must set the variable "SERVER_ID" in /opt/d-cache/etc/node_config.

Otherwise your new hostname of the sun-box will be "-d" :-/

The reason for this is that the script tries to determine the missing SERVER_ID by issuing 'hostname -d' which gives the domain of the host using the GNU hostname,

but on Solaris it sets the hostname to '-d'...