Skip to contentSkip to conversation

Change on_poweroff while domain is running

DISCUSSION Jose A. Lopes 2 participants 2 messages Nov 27, 2013

lore
Share & tools
lore
#0 lore raw

Hello,

Is it possible to change the 'on_poweroff' attribute while a domain is running? That is, without having to destroy the instance and creating it again.

Best regards,
Jose

Signature · 10 lines
Jose Antonio Lopes
Ganeti Engineering
Google Germany GmbH
Dienerstr. 12, 80331, München

Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Geschäftsführer: Graham Law, Christine Elizabeth Flores
Steuernummer: 48/725/00206
Umsatzsteueridentifikationsnummer: DE813741370
#1 lore raw
Quoted 2 lines · Jose A. Lopes

Is it possible to change the 'on_poweroff' attribute while a domain is running? That is, without having to destroy the instance and creating it again.

Using xl, not currently AFAIK.

I can see how this might be useful though, so it's is something we could consider for 4.5, patches welcomed. I'd think that stashing the setting in xenstore and providing a command to change it, with the attendant watches in the xl monitoring daemon would be the way to go.

It might also be useful to have a mechanism to have xl start monitoring a domain which it didn't just create, which would allow the daemon to be restarted e.g. on upgrade.

Ian.