免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3553 | 回复: 2
打印 上一主题 下一主题

NBU备份速度问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-12-04 09:54 |只看该作者 |倒序浏览
我的backupserver是win2k server,NBU6 MP2 ,STK L80 两个LTO2的驱动器\r\nCLIENT主机有linux redhat as3也有windows 2k server 都是1g网卡 通过网络备份 一般正常写磁带的速度都在10M左右(现在只有一台windows的主机的速度保持这样),现在有的5M,2M 还有一台linux主机只有300k左右 \r\n不知什么原因 望大虾指点一下,谢谢。

论坛徽章:
0
2 [报告]
发表于 2006-12-04 10:06 |只看该作者
先在bp.conf中添加VERBOSE = 5,把install_pach/veritas/netbackup/logs下创建bptm。更加bptm中的日志调整相应的buffer

论坛徽章:
0
3 [报告]
发表于 2006-12-04 11:41 |只看该作者
1 nbu软件\r\n\r\n主要从几个方面分别介绍下:\r\n\r\nTCP/IP Network Buffer Size.\r\n\r\n/usr/openv/netbackup/NET_BUFFER_SZ is a file containing a number indicating the TCP/IP socket buffer size that should be used for data transfers between the NetBackup media server and its clients. If the file does not exist, the default value used is 32032 bytes.\r\n\r\nThe default value can be changed by creating the file /usr/openv/netbackup/NET_BUFFER_SZ on the NetBackup media server and client systems.\r\n\r\nThe /usr/openv/netbackup/NET_BUFFER_SZ file is a text file containing a single line specifying the value of the Network Buffer Size in bytes in decimal format.\r\n\r\nFor example, a Network Buffer Size of 64KB could be configured and checked like this:\r\n\r\n# echo \"65536\" > /usr/openv/netbackup/NET_BUFFER_SZ\r\n# cat /usr/openv/netbackup/NET_BUFFER_SZ\r\n65536\r\n# \r\n\r\nSpecifying a larger value in the NET_BUFFER_SZ file may improve the performance of backups and restores. It is recommended that if NET_BUFFER_SZ is used, the same value should be set on all the NetBackup media servers and clients.\r\n\r\n\r\n\r\nData Buffer Size and Number of Data Buffers.\r\n\r\n\r\n\r\nThe NetBackup media server uses shared memory to buffer data between the network and the tape drive (or between the disk and the tape drive if the NetBackup media server and client are the same system). By default, NetBackup uses a default value of 8 x 32KB shared memory buffers for non-multiplexed backups and 4 x 64KB for a multiplexed backup. \r\n\r\nThese buffers can be configured by creating the files /usr/openv/netbackup/db/config/SIZE_DATA_BUFFERS and /usr/openv/netbackup/db/config/NUMBER_DATA_BUFFERS on the NetBackup media server.  These parameters are meant exclusively for media servers, and should not be used on a pure master server or client.\r\n\r\nThe SIZE_DATA_BUFFERS file should contain a single line specifying the data buffer size in bytes in decimal format.\r\nThe NUMBER_DATA_BUFFERS file should contain a single line specifying the number of data buffers in decimal format.\r\n\r\nThe value in the SIZE_DATA_BUFFERS file has to be a multiple of 1024B.\r\nIt is common to increase SIZE_DATA_BUFFERS to 256KB and NUMBER_DATA_BUFFERS to 16.\r\n\r\n\r\nIMPORTANT:  Because the data buffer size equals the tape I/O size, the value specified in SIZE_DATA_BUFFERS must not exceed the maximum tape I/O size supported by the tape drive or operating system. This is usually 256 KB or 128 KB.\r\n\r\n\r\nIn order to configure NetBackup to use 16 x 256 KB data buffers, specify 262144 (256 x 1024) in SIZE_DATA_BUFFERS and 16 in NUMBER_DATA_BUFFERS:\r\n\r\n# echo \"262144\" > /usr/openv/netbackup/db/config/SIZE_DATA_BUFFERS\r\n# echo \"16\" > /usr/openv/netbackup/db/config/NUMBER_DATA_BUFFERS\r\n# cat /usr/openv/netbackup/db/config/SIZE_DATA_BUFFERS\r\n262144\r\n# cat /usr/openv/netbackup/db/config/NUMBER_DATA_BUFFERS\r\n16\r\n# \r\n\r\nCare should be taken when changing these values. For example, increasing the tape buffer size can cause some backups to run slower and there have been cases where there have been restore problems.\r\n\r\n\r\nIMPORTANT:  After making any changes, it is vitally important to verify that the following tests can be completed successfully:\r\n\r\n1. Run a backup\r\n2. Restore data from the new backup created in step 1\r\n3. Restore data from a backup created prior to the changes to SIZE_DATA_BUFFERS and NUMBER_DATA_BUFFERS\r\n\r\n\r\nThe number and size of the data buffers used by the NetBackup media server can be checked by looking in the bptm log file: \r\n\r\n12:02:55 [28551] <2> io_init: using 32768 data buffer size\r\n12:02:55 [28551] <2> io_init: CINDEX 0, sched bytes for monitoring = 2000\r\n12:02:55 [28551] <2> io_init: using 8 data buffers\r\n\r\nor\r\n\r\n15:26:01 [21544] <2> mpx_setup_restore_shm: using 12 data buffers, buffer size is 65536\r\n\r\n\r\nIncreasing the size and number of the data buffers will use up more shared memory, which is a limited system resource. The total amount of shared memory used is: (buffer_size * num_buffers) * drives * MPX. \r\n\r\nSo, for two tape drives, each configured with an MPX of 4, and with 16 data buffers of 256 KB, the total shared memory usage would be:\r\n\r\n(16 * 256k) * 2 * 4 = 32 MB (32768 KB)\r\n\r\nTake into consideration the total system resources and the entire network.\r\nThe Maximum Transmission Unit (MTU) for the LAN may also have to be changed.\r\n\r\n\r\nNOTE: For Digital Linear Tape (DLT) drives, the number that seems to give the best performance for SIZE_DATA_BUFFERS is 65536. Further performance improvements can be achieved by increasing the value in the NUMBER_DATA_BUFFERS file.\r\n\r\n\r\nNUMBER_DATA_BUFFERS_DISK\r\n\r\n和 NUMBER_DATA_BUFFERS\r\n的用法相似,但,一般瓶颈不会再这里,所以不在重复
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP