[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Linux-cluster] checking syntax errors default_event_script.sl



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 

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]