checking syntax errors default_event_script.sl
|[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]|
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.
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 ?
Sr. Systems Engineer
Office (316) 266-8013
Office (316) 266-8000 ext. 8013
Mobile (316) 640-1024
-- Linux-cluster mailing list Linux-cluster@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/linux-cluster