5.9. Example for setting hostproxy on wn nodes

Hostproxy requires access the whole cluster, you need to set a pair key or just reuse the frontend node. Also the certs used to proxy by default are located in /etc/grid-security (hostcert.pem,hostkey.pem).

#
#in frontend cp pair keys to ce-0-0
#
$ su - root
#scp -p .ssh/id_rsa ce-0-0:.ssh/.
#scp -p .ssh/id_rsa.pub ce-0-0:.ssh/.
#ssh ce-0-0

#
# in ce-0-0
#
#yum install hostproxy
#cd /opt/hostproxy

#
#	set list of worker nodes
#
#rocks report host attr attr=OSG_Client | grep true | sed s/:\ true/.local/g >> host_dist.nodes

#
#	set cron to renew proxys
#
#cp update-hostproxy.cron /etc/cron.d/.

#
#	or run manually
#
#/opt/hostproxy/host_dist