The default customization of RSV is done at the OS install, if OSG_RSV was set to true, the resulting configuration files are: /etc/osg/config.d/30-rsv.ini, /etc/httpd/conf/httpd.conf and /etc/httpd/conf.d/ssl.conf The secure configuration will use certs located at /etc/grid-security/http/httpcerts2.pem (with key httpkey2.pem) with ownership apache. To reconfigure rsv on a node, make appropriate attribute changes using the commands above and then run
# rocks sync host osg rsv <hostname> |
This will rewrite the script /root/rsv_iniConfigurator and run it, then will run "osg-configure -c" to set rsv.
In case rsv was not installed at kickstart, it is possible to install in a node or appliance after kickstart by setting OSG_RSV on a host or appliance and then syncing as shown below
# rocks set host attr <hostname> OSG_RSV value=true # rocks sync host osg rsv install <hostname> # ssh <hostname> "cp -p /etc/grid-security/http/httpcert.pem /etc/grid-security/http/httpcert2.pem" # ssh <hostname> "cp -p /etc/grid-security/http/httpkey.pem /etc/grid-security/http/httpkey2.pem" # ssh <hostname> "chown apache. /etc/grid-security/http/http*2.pem" |
![]() | To view the content of the new /root/rsv_iniConfigurator before making changes, use rocks report host osg rsv config <hostname> |