asmostopheles
Programmer
I currently have a set of scripts that I created to mass poll sites (send down file, execute, copy back results) for specific data (dialing into unix servers).
I needed to make this scalable from 10 sites, to upwards of 10,000 sites, so this needed to be able to use many modems from our modem pool at a time.
The solution I found to do this was to limit the max number of modems to 20 (because of manual compiling explained below), and i have a script.wax for each modem session i want to use and i have to open another session of procomm for each session. each of these scripts is independant and updates to thier own directory with the comma delimited results file. i then have another script that will compile all of this data into 1 text file.
The problem I am having is this:
I need to on occasion change what is being sent down, and set up new polls that will be available for re-use.
This currently results in me having to recompile each of the session scripts i have (20 of them) and change variables in each one.
Is there a way to have a "compile script" of sorts? that will feed the changes i specify out to the 20 seperate scripts and compile each of them individually?
or alternatively, is there a way, that I am overlooking, to perform this type of multi connection function in a single aspect script with procomm?
any help would be appreciated as I would like to offload support of this process if I can make it reasonable for someone else to step into.
Thanks in advance!
I needed to make this scalable from 10 sites, to upwards of 10,000 sites, so this needed to be able to use many modems from our modem pool at a time.
The solution I found to do this was to limit the max number of modems to 20 (because of manual compiling explained below), and i have a script.wax for each modem session i want to use and i have to open another session of procomm for each session. each of these scripts is independant and updates to thier own directory with the comma delimited results file. i then have another script that will compile all of this data into 1 text file.
The problem I am having is this:
I need to on occasion change what is being sent down, and set up new polls that will be available for re-use.
This currently results in me having to recompile each of the session scripts i have (20 of them) and change variables in each one.
Is there a way to have a "compile script" of sorts? that will feed the changes i specify out to the 20 seperate scripts and compile each of them individually?
or alternatively, is there a way, that I am overlooking, to perform this type of multi connection function in a single aspect script with procomm?
any help would be appreciated as I would like to offload support of this process if I can make it reasonable for someone else to step into.
Thanks in advance!