Detector Operation›Detector Operation
#28586
change of strategy in collecting data from the Alp servers
Many WEB applications use data which are generated by ALP; f.i. : “ITF event Monitor�, “ITF Statistics�, “Detector Operation page� (ITF Mode,ITF Event, ITF Step, AutoRelock, …) which are generated by ALPGuard; “DMS�info about some specific flags which are generated by ALPDMS.
The previous strategy was: from Alp we used a “rsh� command in background on olserver13 to launch specific PHP script for each application.
This strategy had many limitations: the rsh command cannot be controlled at any level (we already experienced cases where some parameters was not inserted into the db because of rsh failure); the amount of uncontrolled rsh on olserver13 has grown in a considerable way as the use of ALP to write in the db has increased.
The new strategy is: from the two Alp servers we perform a system command (without making rsh connection) in which we launch a specific PHP script. Than the PHP script (launched on olserver2) builds a MySQL connection to write into the MySQL db hosted on olserver13.
The new strategy was implemented yesterday morning and up to now we haven’t observed any collateral effects.
In case of problem we can easily restore the initial configuration.