rgmanager and restart host from pve gui

RobFantini

Famous Member
May 24, 2012
2,009
102
133
Boston,Mass
Hello
If a host is running rgmanager and a shutdown or restart is made from pve gui, then 'service rgmanager stop' should run before init6 or init 0 . That way the vm's could online migrate to another node. Instead the vm's shutdown then start up on another node.
 
Dietmar,
Sorry for the delay replying, I could not test until tonight.

Stopping rgmanager was mentioned on the wiki.

It does force migration of ha kvms. They stop on the node and then start on the other node:
Code:
fbc243 s009 ~ # qm list
      VMID NAME                 STATUS     MEM(MB)    BOOTDISK(GB) PID       
       500 Win7                 running    3072               0.00 1000476   
       510 winxp                running    2048               0.00 11996     
       520 etch-kvm             running    512                0.00 5267      
       530 sid-cam165           running    4200               0.00 667711    
       550 ubuntu-cam5          running    8100               6.00 667756    
      1003 ltsp-term-KVM        stopped    512                0.00 0         
      9998 ubuntu-template      stopped    1000               0.00 0         
      9999 wheezy-template      stopped    1024               2.00 0         
fbc243 s009 ~ # date
Tue Aug 21 20:54:39 EDT 2012
fbc243 s009 ~ # service rgmanager stop
Stopping Cluster Service Manager: [  OK  ]


It would be better if an online migration were done... On testing I thought that occurred when rgmanager was stopped from cli. But I guess I was mistaken.
 

Attachments

  • rgmanager-stop-2012-08-21_21-00-06.png
    rgmanager-stop-2012-08-21_21-00-06.png
    20.4 KB · Views: 5
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!