Versions Compared

Key

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

...

'update-monhosts' updates all the monitoring hosts with no arguments, or just the specified monitoring host with the current distribution of the code. It uses  SCP and SSH and must vener never be called from a CRON job. 'update-monhosts' tars up the current source as defined by the 'scripts.list' file, loops over all monitoring hosts, and uses SCP to transfer the tar file to each monitoring host. It then uses SSH to execute the installation script 'update-code'  on each node. Note that the 'update-code' shuts down all the servers and daemons, installs the code, and then restarts all the servers and daemons. It finally prints out the instructions for updating CGI scripts in case they need to be updated. The CGI scripts only need to be updated if they are changed.

If there is customization needed for the source, it can be donw by modifying the code at the start of 'update-monhosts'.