Thursday, February 17, 2011

Making a new group in GlideinWMS VO Frontend

The most difficult thing with the RPM (or the normal install) is making a new group in the GlideinWMS Frontend.

The files you need to add are:
cp -r /usr/share/gwms-frontend/www/monitor/frontend_OSG_gWMSFrontend/group_main /usr/share/gwms-frontend/www/monitor/frontend_OSG_gWMSFrontend/group_
cp -r /usr/share/gwms-frontend/www/stage/frontend_OSG_gWMSFrontend/group_main /usr/share/gwms-frontend/www/stage/frontend_OSG_gWMSFrontend/group_
cp -r /usr/share/gwms-frontend/frontend-temp/frontend_OSG_gWMSFrontend/group_main /usr/share/gwms-frontend/frontend-temp/frontend_OSG_gWMSFrontend/group_
cp -r /var/log/gwms-frontend/frontend_OSG_gWMSFrontend/group_main /var/log/gwms-frontend/frontend_OSG_gWMSFrontend/group_


Then chown them all:
chown -R nobody: /usr/share/gwms-frontend
chown -R nobody: /var/log/gwms-frontend


Update:
New RPM, new directories.


cp -r /usr/share/gwms-frontend/www/monitor/group_main /usr/share/gwms-frontend/www/monitor/group_
cp -r /usr/share/gwms-frontend/www/stage/group_main /usr/share/gwms-frontend/www/stage/group_
cp -r /usr/share/gwms-frontend/frontend-temp/group_main /usr/share/gwms-frontend/frontend-temp/group_
cp -r /var/log/gwms-frontend/group_main /var/log/gwms-frontend/group_
chown -R nobody: /usr/share/gwms-frontend
chown -R nobody: /var/log/gwms-frontend