[Linux-cluster] checking syntax errors default_event_script.sl

Daniel Bourque dbourque at accuweather.com
Fri Apr 6 15:17:11 UTC 2012


Hi,

background:

  I'm working on adding load balancing via RIND. I discovered that not every events are passed to event scripts defined in cluster.conf, therefore I have to modify  /usr/share/cluster/default_event_script.sl . In order to not have to restart rgmanager all the time, I changed  /usr/share/cluster/default_event_script.sl so that it contains only this:

evalfile("/<mount point available on all nodes>/default_event_script.sl");

This allows me to change the main RIND script live.

the problem:

I would like to work be able to work a copy, and do syntax error checks via "slsh -t" before overwriting the live one. I can't simply do that because slsh doesn't find the definition for all the functions and variables used in default_event_script.sl. where are the libraries I need to include in my SLSH_PATH ?

Thanks !


--
Daniel Bourque
Sr. Systems Engineer
AccuWeather

Office (316) 266-8013
Office (316) 266-8000 ext. 8013
Mobile (316) 640-1024
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-cluster/attachments/20120406/c450edef/attachment.htm>


More information about the Linux-cluster mailing list