There is a ganeti cluster. Is there any way to run script on ganeti node after some instance is start running on that node? In both situations - starting from scratch, and migrating live from another host.
It's possible to do it "automated" way(excluding modifying sources)? Only idea which i have is to invoke a trigger from instance to node to run script - but i know that it's not good way.
Are there any scripts running for instances in node context?
Yes. You want to use
hooks
for this, as outlined in the docs:(If you're running into specific problems or need additional help, please let me know, I'm glad to help.)