Skip to content
Snippets Groups Projects
  1. Oct 18, 2007
    • Alexander Schreiber's avatar
      Patch series for reboot feature, part 3 · 579d4337
      Alexander Schreiber authored
      This patch series implements the reboot command for gnt-instance. It
      supports three types of reboot: soft (hypervisor reboot), hard (instance
      config rebuild and reboot) and full (full instance shutdown and startup
      again).
      
      This patch contains the gnt-instance script and the man page for it.
      
      Reviewed-by: iustinp
      
      579d4337
  2. Oct 16, 2007
    • Alexander Schreiber's avatar
      tiny typing fixup · 86b8c6ae
      Alexander Schreiber authored
      Reviewed-by: imsnah
      
      86b8c6ae
    • Iustin Pop's avatar
      Allow force removal of instances · 1d67656e
      Iustin Pop authored
      This patch adds a new option to the instance removal command
      "--ignore-failures" that forces the removal of the instance from the
      configuration even if the removal process encounters errors.
      
      In order to be able to do this when the remote node(s) is(are) down, we
      need to restrict the execution of the instance removal hook to the
      master only. I think this is a reasonable trade-off (but I'm not sure).
      
      Reviewed-by: imsnah
      1d67656e
  3. Oct 10, 2007
    • Iustin Pop's avatar
      Implement gnt-node evacuate · a5bc662a
      Iustin Pop authored
      This patch adds a new 'evacuate' subcommand to gnt-node. The command
      will do a replace disks for all instances having that node as secondary
      with the new target being the new node given.
      
      The syntax is:
        gnt-node evacuate src_node target_node
      
      The command by itself doesn't do any resource checks, and instead relies
      on the LUFailoverInstance code to do that.
      
      Reviewed-by: imsnah
      a5bc662a
  4. Oct 09, 2007
    • Iustin Pop's avatar
      Implement node failover · c450e9b0
      Iustin Pop authored
      This patch implements a simple failover command for failing over all
      primary instances. This is just a batched form of gnt-instance failover.
      
      Reviewed-by: imsnah
      c450e9b0
  5. Oct 08, 2007
  6. Sep 24, 2007
  7. Sep 18, 2007
    • Iustin Pop's avatar
      Implement cluster rename operation · 07bd8a51
      Iustin Pop authored
      This patch adds a new OpCode (and corresponding LU) that implements the
      cluster rename functionality.
      
      This is done by shutting down the master role, making the needed sstore
      modifications and distributing the changed files to all nodes, and then
      re-enabling the master role.
      
      The modification to the man page of gnt-cluster also moves the section
      on gnt-cluster destroy in order to correct alphabetical ordering.
      
      Reviewed-by: imsnah
      07bd8a51
  8. Sep 17, 2007
    • Iustin Pop's avatar
      Implement instance rename operation · decd5f45
      Iustin Pop authored
      This patch adds support for instance rename operation at all remaining
      layers: RPC, OpCode/LU and CLI.
      
      Reviewed-by: imsnah
      decd5f45
    • Iustin Pop's avatar
      Add support for rename operation in the OS API · 386b57af
      Iustin Pop authored
      This patch adds support for renaming at OS level. Because of this, we
      need to bump up the version of the OS api from 4 to 5.
      
      The patch also documents the new script interface in the
      ganeti-os-interface(7) man page and adds a section on upgrading the OS
      definitions to the new version.
      
      Reviewed-by: imsnah
      386b57af
    • Iustin Pop's avatar
      Allow start/stop of multiple instances at once · 312ac745
      Iustin Pop authored
      This is an initial version of the multi-instance start/stop, which
      allows the gnt-instance startup and shutdown subcommands to work on
      multiple instances at once.
      
      The available selections are:
        - "gnt-instance startup --instance name..." which is the default, and
          if passed only one argument it behaves like the original command)
        - "gnt-instance startup --node name..." will work on all instances
          having either primary or secondary one of the passed names
        - "gnt-instance startup --primary name..." will work on all instances
          having primary node one of the passed names
        - "gnt-instance startup --secondary name..." will work on all
          instances having as secondary node one of the passed names
        - "gnt-instance startup --all" will work on all instances
      
      This allows a simple cluster-wide shutdown or node shutdown (or
      startup).
      
      Note that this version stops at the first error - it will not try to
      start the 2nd instance selected if there is a critical error with the
      1st one.
      
      Also note that this version is not faster than simply running manually
      "gnt-instance shutdown NAME", because it doesn't parallelize the
      shutdown/startup actions.
      
      Reviewed-by: imsnah,roman.marxer
      312ac745
  9. Sep 11, 2007
  10. Sep 07, 2007
  11. Sep 04, 2007
  12. Aug 30, 2007
    • Iustin Pop's avatar
      Fix the manpage gnt-instance w.r.t. units · b9ac33e9
      Iustin Pop authored
      The manpage wrongly states that the default unit for disk sizes is
      gibibytes, whereas currently it's mebibytes. Fix that and also update
      the '--help' output to display the default unit.
      
      Reviewed-by: roman.marxer
      b9ac33e9
  13. Jul 27, 2007
  14. Jul 24, 2007
  15. Jul 23, 2007
  16. Jul 16, 2007
Loading