Chia Sẽ Kinh Nghiệm Về IT



Tìm Kiếm Với Google
-


Gởi Ðề Tài Mới  Gửi trả lời
 
Công Cụ Xếp Bài
Tuổi 09-09-2009, 06:24 AM   #1
adminphuong
Administrator
 
Avatar của adminphuong
 
Gia nhập: Jul 2009
Trả Lời: 152
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.

adminphuong vắng mặt   Trả lời ngay kèm theo trích dẫn này
Gửi trả lời


Công Cụ
Xếp Bài

Quyền Hạn Của Bạn
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is Mở
Hình Cảm xúc đang Mở
[IMG] đang Mở
Mã HTML đang Tắt




Bây giờ là 06:47 PM. 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.