Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: it's handy to stop chef while tinkering

...

  • Identify which situation, by checking if other nodes in the same AZ are available or not.
  • If hardware failure, simply launch a new instance with the appropriate AMI, add it to chef config, remap elastic ip, mount volumes, etc.
  • If an entire AZ is down then
    • create new volumes in alternate AZ, and retrieve from backuppc the uploads, custom reports etc.
      • only use "tar download" restore method, and only of /etc/mifos/uploads dir...
      • download tar to local machine, then copy to remote host and untar as user "tomcat6"
    • relaunch each frontend into an alternate AZ, add to chef config, remap elastic ips, mount new volumes etc.
Warning

If you manually stop Mifos, say, during a restore of /etc/mifos/uploads, Chef will automatically restart it. To temporarily disable this behavior, you can use: sudo service chef-client stop, then sudo service chef-client start when you're finished.

Statefiles

Statefiles are lists of specific versions of packages to be included in images. They are kept in the statefiles/ dir in the "cloud" git repo.

...