在CentOS 6上安装Commvault Simpana文件系统iDataAgent
时间:2020-03-21 11:45:20 来源:igfitidea点击:
我们将通过ISO文件在CentOS 6上安装UNIX文件系统iDataAgent(交互式安装)。
安装
创建一个新的simpana组:
# groupadd simpana
装载Simpana iso文件:
# mkdir /mnt/dvd # mount -o loop ./Simpana_9_DVD03_UNIX_06042013.iso /mnt/dvd # cd /mnt/dvd
运行以下命令:
# ./cvpkgadd
接受许可协议并继续进行以下操作:
Do you accept the terms of this license agreement? yes
1) Install data protection agents on this computer 2) Advanced options 3) Exit this menu Your choice: [1]
1) Install on a physical machine 2) Install on a virtual machine 3) Exit this menu Your choice: [1]
Physical Machine Host Name: [web01.vb.local] Physical Machine Client Name: [web01]
Please select the Simpana module(s) that you would like to install. [X] 1) UNIX File System iDataAgent [1101] [CVGxIDA] [ ] 2) MediaAgent [1301] [CVGxMA] [ ] 3) ProxyHost iDataAgent [1102] [CVGxProxyIDA] [ ] 4) Documentum iDataAgent [1126] [CVGxDctmIDA] [ ] 5) Oracle iDataAgent [1204] [CVGxOrIDA] [ ] 6) SAP for Oracle [1205] [CVGxOrSAP] [ ] 7) SAP for MaxDB [1206] [CVGxSAPMAXDB] [ ] 8) Informix iDataAgent [1201] [CVGxIfIDA] [ ] 9) Sybase iDataAgent [1202] [CVGxSybIDA] [ ] 10) DB2 iDataAgent [1207] [CVGxDB2] [ ] 11) MySQL iDataAgent [1208] [CVGxMySQL] [ ] 12) PostGres iDataAgent [1209] [CVGxPostGres] [ ] 13) Lotus Notes Database iDataAgent [1051] [CVGxLndbIDA] >) >>>>>>>>>>>> NEXT PAGE >>>>>>>>>>>> [a=all n=none r=reverse q=quit d=done >=next <=previous ?=help] Enter number(s)/one of "a,n,r,q,d,>,<,?" here: d
Do you want to configure the iDataAgent for laptop or desktop backups? [no] Do you want to install the agents for restore only without consuming licenses? [no]
1) Download from the software provider website. 2) Use the one in the installation media. 3) Use the copy I already have by entering its unix path. Your choice: [1] 2
Installation Directory: [/opt] Log Directory: [/var/log] Would you like to assign a specific group to Simpana? [yes] Group name: simpana
[...] Copying binaries ... Installing Updates from installation media ... [...] Port Number for CVD : [8400] Port Number for EvMgrC: [8402]
Is there a firewall between this client and the CommServe? [no] CommServe Host Name: commvault01.vb.local
1) Use Cell level policy 2) Always use Global filters 3) Do not use Global filters Please select how to set the Global Filters for the default subclient? [1]
Client Group(s) is currently configured on CommServe commvault01.vb.local Please choose the group(s) that you want to add this client web01.vb.local to. [X] 1) All VM Backups [ ] 2) All VM Backups Database Servers [ ] 3) Database Servers [X] 4) Firewalled Machines [ ] 5) Media Agents Cloud [ ] 6) Media Agents DR [a=all n=none r=reverse q=quit d=done >=next <=previous ?=help] Enter number(s)/one of "a,n,r,q,d,>,<,?" here:
Please select one storage policy for this IDA from the list below: 1) SP1_3Months_Database 2) SP2_6Months_Database 3) SP3_1Year_Archive 4) SP4_Databases 5) SP5_DD_NDMP >) >>>>>>>>>>>> NEXT PAGE >>>>>>>>>>>> Storage Policy: [5]
[...] Install Latest Service Pack Installing Updates from installation media ... [...] Now you have a choice of either adding another package to the existing installation or configure Simpana on a virtual machine for use in a cluster. 1) Add another package to web01(web01.vb.local) 2) Install Simpana on a virtual machine 3) Exit this menu Your choice: [1] 3
检查Simpana状态:
# simpana status ----------- Instance001 ----------- [ General ] Version = 9.0.0(BUILD84) CommServe = commvault01.vb.local Home Directory = /opt/simpana/Base Log Directory = /var/log/simpana/Log_Files Core Directory = /opt/simpana Temp Directory = /opt/simpana/Base/Temp Platform Type = 4 [ Service CVD ] Cvd Port Number = 8400 Buffer Numbers = 30 Buffer Size = 64 Message Size = 64 Max Buffer Numbers = 30 Alocation Timeout = 5000 Kill Timeout = 5000 Keep Alive Interval = 30 [ Service EvMgrC ] EvMgrC Port Number = 8402 [ Firewall ] Client Bind Timeout = *120* [ Session ] Attach Timeout = 120 Preferred IP Family = 1 Enable Retry for SendMessage = 0 Retry Count = 40 Retry Interval = 30 [ CVGxIDA ] Version = 9.0.0(BUILD84) Home Directory = /opt/simpana/iDataAgent [ Virtual Machines ] Display Name = web01 - Client Hostname = web01.vb.local - Job Results Directory = /opt/simpana/iDataAgent/jobResults
将Service Pack更新到v14:
# mkdir ./S14 # tar xf ./linux_9_SP14_01302014.tar.gz -C ./S14 # cd ./S14 # ./InstallUpdates
运行得很好
在未分配专用CPU的虚拟化环境中,备份作业可能会导致生产服务器上的CPU使用率很高。
要优化生产服务器上的CPU使用率,请使用dNICEVALUE注册表项为备份作业设置适当的优先级,以将所有可用CPU资源的分配限制为特定的备份作业。
打开“ /etc/CommVaultRegistry/Galaxy/Instance001/Base/.properties”进行编辑,并添加以下行:
dNICEVALUE 5
故障排除
错误1
*** Received CommServe Software Install Manager Error 67109598 : *** Failed to update client information in the database.
连接到CV服务器,打开CV GUI,并检查是否可以在此处看到VM。
如果我们最初在GUI中看不到它,请在CV控制台的“控制面板”中的“用户首选项”下检查,然后“显示发现的虚拟服务器”以查看它是否显示在GUI中。
如果是这样,则删除虚拟机,然后重试安装。
参考:http://forum.commvault.com/forums/thread/28310.aspx
错误2
It appears that another instance of Galaxy Install/Uninstall is already running.
杀死现有的simpana进程并删除锁:
# rm /opt/simpana/Updates/temp/GalaxyUpdate.lock
参考:http://forum.commvault.com/forums/35254/ShowThread.aspx
错误#3
Files failed to back up: /cluster/my.cnf Lock test failed [...]>/span>
建议我们每当Unix文件系统iDataAgent在NFS服务器上备份无法获取这些文件锁定的文件时,跳过检测锁定的文件并继续进行备份。
为此,我们必须创建并使用SSKIPLOCKF注册表项。
# tail -n1 /etc/CommVaultRegistry/Galaxy/Instance001/FileSystemAgent/.properties SSKIPLOCKF Y
错误#4
在配置MySQL代理时:
Invalid MySQL User Name and Password
已知错误的解决方法:
# cd /opt/simpana/Base # mv libgcc_s.so.1 libgcc_s.so.1.old # /etc/init.d/Galaxy restart
错误5
*** There is already another simpana running.
卸下锁:
# rm -f /tmp/.lock_Galaxy