Quản trị net diễn đàn chia sẻ thông tin các thủ thuật mạng, internet bảo mật thông tin dành cho giới IT VIệt hy vọng là nơi bổ ích cho cộng đồng

Quản trị net diễn đàn chia sẻ thông tin các thủ thuật mạng, internet bảo mật thông tin dành cho giới IT VIệt hy vọng là nơi bổ ích cho cộng đồng (http://quantrinet.com/forum/index.php)
-   Virtuozzo for linux, PSBM (http://quantrinet.com/forum/forumdisplay.php?f=436)
-   -   How do I increase backup timeout in VZAgent configuration? (http://quantrinet.com/forum/showthread.php?t=3456)

adminphuong 09-09-2009 06:24 AM

How do I increase backup timeout in VZAgent configuration?
 
How do I increase backup timeout in VZAgent configuration?

Resolution

To change default backup timeouts directly in VZAgent configuration you may adjust /etc/sysconfig/vzagent/vzagent.conf file on hardware node (in backm/configuration/timeouts/backup section), by default it should be set like the following:

<backm>
<configuration>
<timeouts>
<backup>3600</backup>
<search>300</search>
</timeouts>

To increase vzbackup timeout you may increase value in <backup> tag, just for example to increase it up to 2 hours 3600 should be replaced with 7200.


For remote backups it is also may be required to check/adjust configuration of remote hosts access in servd/configuration/default_remote/default_timeout (remote host will be disconnected after this time of inactivity), by default it should be already set to 360000 seconds:

<servd>
<configuration>
...
<default_remote>
<default_timeout>360000</default_timeout>

Also, it is recommended to decrease search timeout in backm/configuration/timeouts/search to 300 and add default_timeout value in opd/configuration/backm/default_timeout (please note, it is does not exists by default):

<backm>
<default_timeout>7200</default_timeout>
</backm>

So, the following parameters could be adjusted:

backm/configuration/timeouts/backup 7200
backm/configuration/timeouts/search 300
opd/configuration/backm/default_timeout 7200
servd/configuration/default_remote/default_timeout 360000


Please note, VZAgent restart is required to apply new configuration in case of adjusting parameters directly in configuration file. To restart VZAgent services you may use the followingcommand on hardware node:

# vzagent_ctl restart


In case of using Virtuozzo Management Console (right click on the node > Tasks > Manage VZAgent Configuration) it should be enough to use Apply button on VZAgent configuration screen and no VZAgent restart is required in this case.

:battay:


Bây giờ là 06:29 AM. Giờ GMT +7

Diễn đàn tin học QuantriNet
quantrinet.com | quantrimang.co.cc
Founded by Trương Văn Phương | Developed by QuantriNet's members.
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.