Free storage, SAN and LAN performance and capacity monitoring

How to rename storage alias

Under stor2rrd account
  1. stop the storage agent
    • comment out an crontab entry for storage type in crontab (just one line)
    • kill all running processes for that storage
      $ ps -ef| grep old_storage_alias
      $ kill ....
      
  2. rename storage alias in etc/storage-list.cfg

  3. rename data directory
    $ cd /home/stor2rrd/stor2rrd
    $ mv data/<old_storage_alias> data/<new_storage_alias>
    $ mv tmp/<old_storage_alias>  tmp/<new_storage_alias>
    $ mv www/<old_storage_alias>  www/<new_storage_alias>
    $ rm -f  tmp/health_status_summary/<old_storage_alias> tmp/mirror-status/<old_storage_alias>*
    
  4. re-enable crontab for that storage type

  5. make new GUI
    $ ./load.sh html
    
  6. Ctrl-F5 in the GUI