#1 2019-07-30 06:12:47

herrep
Member
From: Munich
Registered: 2019-07-08
Posts: 14

Longer shutdown period than 60 seconds for cold backups

Hi,

Is there any way to change the default behavior of powering off a virtual machine for cold backup if the shutdown procedure is not finished within the 30 + 10 + 10 + 10 seconds default period?

I was not able to locate an information as how to modify this default behavior. I only found the following information:

https://33hops.com/xsibackup-help-man-page.html
If you choose "cold" © XSIBackup will issue a shutdown to the virtual machine instance and wait 30 seconds for the virtual machine to be shutdown cleanly. If after the initial 30 seconds period the VM continues to be on the program will wait 30 more seconds checking the VM state every 10 seconds after which © XSIBackup will consider the virtual machine can't be shutdown and it will be powered off.

Unfortunately, the shutdown process of one of my virtual machines takes quite a time, about 90 to 120 seconds.  So I wonder whether I can extend the period until xsibackup pro will issue a power off command.

Best regards,
Peter

Offline

#2 2019-07-30 18:38:29

admin
Administrator
Registered: 2017-04-21
Posts: 1,002

Re: Longer shutdown period than 60 seconds for cold backups

You may look for the wait2shut variable at around line 4009 in the main xsibackup file and increase its value to your desired limit.

Offline

#3 2019-07-30 21:53:21

herrep
Member
From: Munich
Registered: 2019-07-08
Posts: 14

Re: Longer shutdown period than 60 seconds for cold backups

Thank you very much for your hint. I rather increased the amount of 10 seconds loops from 3 repetitions to 9 repetitions.  Hwever, I wonder whether an optional parameter could be added so that the modification can be maintained update-proof.

Offline

#4 2019-08-02 07:48:13

admin
Administrator
Registered: 2017-04-21
Posts: 1,002

Re: Longer shutdown period than 60 seconds for cold backups

We'll take that as a feature request and add that a a parameter in conf/xsiopts file in next version.

Offline

#5 2019-08-02 07:49:05

herrep
Member
From: Munich
Registered: 2019-07-08
Posts: 14

Re: Longer shutdown period than 60 seconds for cold backups

Thank you very much!

Offline

#6 2019-09-11 22:34:24

herrep
Member
From: Munich
Registered: 2019-07-08
Posts: 14

Re: Longer shutdown period than 60 seconds for cold backups

Hi,

I checked conf/xsiopts in the latest version, but I failed to identify any parameter that could be related to amount of repetitions before forcing a shutdown. Will the paramter be added in a later version?

Offline

#7 2019-09-12 17:44:41

admin
Administrator
Registered: 2017-04-21
Posts: 1,002

Re: Longer shutdown period than 60 seconds for cold backups

There's already an argument for that

https://33hops.com/xsibackup-help-man-p … tdown-wait

Offline

Board footer