Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To check the ethernet devil status or to restart them, you can use the devil_manager web application. This web app allows you to directly open a VNC session for every single ethernet devil (linux or windows) to check what is going on. It also check the state (alive) every 30 seconds and let you restart the devil in a very easy way. The web app uses a proxy script that check the passed parameters (semantic and syntactic) from the app and call the real reboot script on the remote host: devil_mngr.sh. This is the workflow:

Code Block
titleApplication Workflow
Web Application: http://danteweb.lnf.infn.it/devil_manager

...


	Proxy Script: /opt/web_devil_restart.sh <ip> <devil_number> [-f]

...


		SSH on remote host where the devil to be rebooted is running

...


			/u2/dcs/script_linux/devil_mngr.sh <restart|force_restart> <DEVIL NUMBER>

Those passages are completely transparent to the user (the security is granted thanks to sudoers usage and restriction rules for apache user).

...