|
Size: 16577
Comment:
|
Size: 17274
Comment:
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 29: | Line 29: |
| To manually stop NetBackup processes on NetBackup Appliance 5220, complete the following steps: i.Open an SSH session and log on to the NetBackup Appliance 5220. The logon is admin and the default password is P@ssw0rd. i.Switch to Main_Menu > Support > Processes > and run the command 'NetBackup Stop'. i.Run the command 'NetBackup Show' to check if all NetBackup processes have been stopped. To manually start NetBackup processes on NetBackup Appliance 5220 after loggin on as admin via SSH, i.Switch to Main_Menu > Support > Processes > and run the command 'NetBackup Start'. i.Run the command 'NetBackup Show' to check all NetBackup processes that have been started. |
Contents
-
Netbakcup how to
- How to prepare for NetBackup Master/Media Server upgrade
- restart netbackup appliacne services
- upgrade HP MSL6400 firmware
- List Configured Tape driver and robots
- List devices
- 确认Devices Unit
- 确认Media Unit
- List all media
- 确认license
- 检查设备配置
- 授予 NetBackup 对 NAS (NDMP) 主机的访问权限
- UNIX/Linux Administration Console
- How does NetBackup for SQL Server back up a database?
- Troubleshooting
Netbakcup how to
How to prepare for NetBackup Master/Media Server upgrade
The high level order of upgrade steps
This is a very high level of NetBackup upgrade steps:
There are some standard steps which you should do
- Check hardware compatibility
- Check Operation System compatibility
- Before starting upgrading to the new version, run a Catalog Backup.
Depending on NetBackup Catalog Size, the upgrade from 7.1 to 7.5 would need much time.
- Read Release Notes and following steps mentioned in the Upgrade Guide.
https://www.veritas.com/support/en_US/article.TECH74584
https://sort.veritas.com/checklist/install#report
http://www.settlersoman.com/how-to-upgrade-netbackup-mastermedia-server/
restart netbackup appliacne services
To manually stop NetBackup processes on NetBackup Appliance 5220, complete the following steps:
i.Open an SSH session and log on to the NetBackup Appliance 5220. The logon is admin and the default password is P@ssw0rd.
To manually start NetBackup processes on NetBackup Appliance 5220 after loggin on as admin via SSH,
i.Switch to Main_Menu > Support > Processes > and run the command 'NetBackup Start'. i.Run the command 'NetBackup Show' to check all NetBackup processes that have been started.
netbackup stop netbackup show netbackup start
,if above not gracefull stop,then try following command
bp.kill_all
upgrade HP MSL6400 firmware
- DOWN Driver
升级HP微码,备份配制文件->执行升级。
- appliance重新扫描SCSI设备
lsscisi -g
scan -changer
tpautoconf -r
tpautoconf -t重新走一遍"添加磁带库"配制向导。
# stop ps -ef | grep bprd bprdreq -teminate # netbackup start
List Configured Tape driver and robots
tpconfig -d
List devices
scan tpautoconf -t tpautoconf -r
确认Devices Unit
vmoprcmd
确认Media Unit
bpstulist
List all media
- vmquery -a -b nbemmcmd -listmedia -allrecords -brief
确认license
/usr/openv/netbackup/bin/admincmd/get_license_key
检查设备配置
/usr/openv/volmgr/bin/vmd 491954762 9200
- 验证 ltid 、 vmd 、 avrd 和所需的任何机械手后台驻留程序是否处于活动状 态。
授予 NetBackup 对 NAS (NDMP) 主机的访问权限
NetBackup 必须具有对 NAS(或 NDMP)主机的访问权限,然后才能使用 NDMP
授予 NetBackup 对 NDMP 主机的访问权限 1 在 NetBackup 服务器上的 NetBackup 管理控制台中,展开“介质和设备管 理”>“凭据”>“NDMP 主机”。 2 在“操作”菜单下,选择“新建”>“新建 NDMP 主机”。 3 在“添加 NDMP 主机”对话框中,输入 NetBackup 要备份的 NDMP 服务器的名称
UNIX/Linux Administration Console
/usr/openv/java/jnbSA &
How does NetBackup for SQL Server back up a database?
From the NetBackup Microsoft SQL Client you can select the databases or the database components that you want to back up. When you select an object for backup, the GUI creates a batch file that contains a script. The SQL Server database agent interprets this script. You can either execute the script immediately or save it to run later. You can run a script later by including it in the backup selections list of a backup policy.
When a backup script is executed, NetBackup for SQL Server does the following: generates an SQL backup statement, logs into SQL Server, and delivers the SQL statement to SQL Server through ODBC. Next, the database agent connects to SQL Server through one or more VDI objects. One virtual device is created per backup stripe. In addition, a VxBSA session is initiated for each stripe. These separate sessions allow NetBackup to start a backup job for each stream that is generated from SQL Server. When the backup completes, the database agent obtains detailed properties of the object that was backed up, including its relationships to other objects. The agent writes this information to the NetBackup catalog and associates it with the backup image. If there are multiple stripes, then the metadata is associated with the first backup image. The adjunct stripes are associated with one another based upon a common naming convention.
Troubleshooting
Error bptm media manager terminated by parent process
http://kmit4u.blogspot.com/2010/07/netbackup-ms-sql-backup-client-hold.html
2017-1-11 14:18:22 - Info nbjm (pid=63136) starting backup job (jobid=328596) for client server007.meizu.com, policy server007_mssql_log_8h_1m, schedule Log-Application-Backup
2017-1-11 14:18:22 - Info nbjm (pid=63136) requesting STANDARD_RESOURCE resources from RB for backup job (jobid=328596, request id:{C0AD3716-D7C5-11E6-AA1A-E0AA1A227C83})
2017-1-11 14:18:22 - requesting resource stu_disk_it-nbu-01
2017-1-11 14:18:22 - requesting resource it-nbu-01.NBU_CLIENT.MAXJOBS.server007.meizu.com
2017-1-11 14:18:22 - requesting resource it-nbu-01.NBU_POLICY.MAXJOBS.server007_mssql_log_8h_1m
2017-1-11 14:18:22 - awaiting resource stu_disk_it-nbu-01. Maximum job count has been reached for the storage unit.
2017-1-11 14:20:22 - Info nbjm (pid=63136) Waiting in NetBackup scheduler work queue on server it-nbu-01
2017-1-11 14:22:22 - Info nbjm (pid=63136) Waiting in NetBackup scheduler work queue on server it-nbu-01
2017-1-11 14:24:22 - Info nbjm (pid=63136) Waiting in NetBackup scheduler work queue on server it-nbu-01
2017-1-11 14:24:45 - Info bpbrm (pid=109201) server007.meizu.com is the host to backup data from
2017-1-11 14:24:45 - Info bpbrm (pid=109201) reading file list for client
2017-1-11 14:24:45 - granted resource it-nbu-01.NBU_CLIENT.MAXJOBS.server007.meizu.com
2017-1-11 14:24:45 - granted resource it-nbu-01.NBU_POLICY.MAXJOBS.server007_mssql_log_8h_1m
2017-1-11 14:24:45 - granted resource MediaID=@aaaaf;DiskVolume=PureDiskVolume;DiskPool=dp_disk_it-nbu-01;Path=PureDiskVolume;StorageServer=it-nbu-01;MediaServer=it-nbu-01
2017-1-11 14:24:45 - granted resource stu_disk_it-nbu-01
2017-1-11 14:24:45 - estimated 0 kbytes needed
2017-1-11 14:24:45 - Info nbjm (pid=63136) started backup (backupid=server007.meizu.com_1484115885) job for client server007.meizu.com, policy server007_mssql_log_8h_1m, schedule Log-Application-Backup on storage unit stu_disk_it-nbu-01
2017-1-11 14:24:45 - started process bpbrm (pid=109201)
2017-1-11 14:24:45 - connecting
2017-1-11 14:24:46 - Info bpbrm (pid=109201) listening for client connection
2017-1-11 14:24:47 - Info bpbrm (pid=109201) INF - Client read timeout = 7200
2017-1-11 14:24:48 - Info bpbrm (pid=109201) accepted connection from client
2017-1-11 14:24:48 - Info dbclient (pid=1680) Backup started
2017-1-11 14:24:48 - Info bpbrm (pid=109201) bptm pid: 109203
2017-1-11 14:24:48 - Info bptm (pid=109203) start
2017-1-11 14:24:48 - Info bptm (pid=109203) using 1048576 data buffer size
2017-1-11 14:24:48 - connected; connect time: 0:00:00
2017-1-11 14:24:49 - Info bptm (pid=109203) using 64 data buffers
2017-1-11 14:24:49 - Info bptm (pid=109203) start backup
2017-1-11 14:54:52 - Info dbclient (pid=1680) done. status: 6
2017-1-11 15:34:56 - Info bptm (pid=109203) backup child process is pid 131564
2017-1-11 15:34:56 - begin writing
2017-1-11 15:34:58 - Error bptm (pid=109203) media manager terminated by parent process
2017-1-11 15:35:00 - Info it-nbu-01 (pid=109203) StorageServer=PureDisk:it-nbu-01; Report=PDDO Stats for (it-nbu-01): scanned: 4 KB, CR sent: 0 KB, CR sent over FC: 0 KB, dedup: 100.0%, cache hits: 0 (0.0%)
2017-1-11 15:35:00 - Info dbclient (pid=1680) done. status: 6: the backup failed to back up the requested files
2017-1-11 15:35:00 - end writing; write time: 0:00:04
the backup failed to back up the requested files (6)== MSSQL Client log VxBSACreateObject Erroror ==
INF - Created VDI object for SQL Server instance <IT-K3-1-243>. Connection timeout is <300> seconds.
ERR - Error in VxBSACreateObject: 3.
CONTINUATION: - System detected error, operation aborted.
ERR - Error in GetCommand: 0x80770004.
CONTINUATION: - An abort request is preventing anything except termination actions.
DBMS MSG - ODBC return code <-1>, SQL State <37000>, SQL Message <3202><[Microsoft][ODBC SQL Server Driver][SQL Server]在 "VNBU0-5372-8416-1484093136" 上写入失败: 995(由于线程退出或应用程序请求,已中止 I/O 操作。
)>.
DBMS MSG - SQL Message <3271><[Microsoft][ODBC SQL Server Driver][SQL Server]在文件 "VNBU0-5372-8416-1484093136" 上发生不可恢复的 I/O 错误: 995(由于线程退出或应用程序请求,已中止 I/O 操作。)。>
DBMS MSG - SQL Message <3013><[Microsoft][ODBC SQL Server Driver][SQL Server]BACKUP LOG 正在异常终止。>
ERR - Error found executing <backup log "AIS20130321213128" to VIRTUAL_DEVICE='VNBU0-5372-8416-1484093136' with stats = 10, blocksize = 65536, maxtransfersize = 4194304, buffercount = 2>.
ERR - Internal error. See the dbclient log for more information.
INF - OPERATION #2 of batch C:\Program Files\Veritas\SQLScripts\log.bch FAILED with STATUS 1 (0 is normal). Elapsed time = 314(314) seconds.
INF - BACKUP STARTED USING
Waiting in NetBackup schedule work queue on server
13:11:49 INF - Beginning backup on server it-nbu-01 of client IT-K3-1-243.MEIZU.COM
13:11:52.414 [10224.6608] <4> : 13:11:51 INF - Waiting in NetBackup scheduler work queue on server it-nbu-01
13:11:52.414 [10224.6316] <4> : 13:11:51 INF - Waiting in NetBackup scheduler work queue on server it-nbu-01
13:13:52.068 [10224.6608] <4> : 13:13:51 INF - Waiting in NetBackup scheduler work queue on server it-nbu-01
13:13:52.068 [10224.6316] <4> : 13:13:51 INF - Waiting in NetBackup scheduler work queue on server it-nbu-01
13:15:52.737 [10224.6608] <4> : 13:15:52 INF - Waiting in NetBackup scheduler work queue on server it-nbu-01
13:15:52.737 [10224.6316] <4> : 13:15:52 INF - Waiting in NetBackup scheduler work queue on server it-nbu-01
13:17:53.405 [10224.6608] <4> : 13:17:53 INF - Waiting in NetBackup scheduler work queue on server it-nbu-01
13:17:53.405 [10224.6316] <4> : 13:17:52 INF - Waiting in NetBackup scheduler work queue on server it-nbu-01
13:19:42.919 [10224.6608] <4> : 13:19:42 INF - Server status = 2106
ERR - Error in VxBSACreateObject: 3.
13:19:42.919 [10224.6316] <4> : 13:19:42 INF - Server status = 2106
ERR - Error in VxBSACreateObject: 3.
CONTINUATION: - System detected error, operation aborted.
CONTINUATION: - System detected error, operation aborted.
ERR - Error in GetCommand: 0x80770004.
ERR - Error in GetCommand: 0x80770004.
CONTINUATION: - An abort request is preventing anything except termination actions.
CONTINUATION: - An abort request is preventing anything except termination actions.
DBMS MSG - ODBC return code <-1>, SQL State <37000>, SQL Message <3202><[Microsoft][ODBC SQL Server Driver][SQL Server]在 "VNBU0-10224-4172-1484195146" 上写入失败: 995(由于线程退出或应用程序请求,已中止 I/O 操作
)>.
DBMS MSG - SQL Message <3271><[Microsoft][ODBC SQL Server Driver][SQL Server]在文件 "VNBU0-10224-4172-1484195146" 上发生不可恢复的 I/O 错误: 995(由于线程退出或应用程序请求,已中止 I/O 操作。)。>
DBMS MSG - SQL Message <3013><[Microsoft][ODBC SQL Server Driver][SQL Server]BACKUP DATABASE 正在异常终止。>
ERR - Error found executing <backup database "AIS20130321213128" to VIRTUAL_DEVICE='VNBU0-10224-4172-1484195146', VIRTUAL_DEVICE='VNBU1-10224-4172-1484195146' with stats = 10, blocksize = 65536, maxtransfersize
= 4194304, buffercount = 4>.
Trace the network issue
run: from client: bpclntcmd -pn bpclntcmd -self bpclntcmd -hn <master server> bpclntcmd -hn <media server> bpclntcmd -ip <master IP> bpclntcmd -ip <media IP> from master: traceroute <client name> ping -s -i <nic> -p 13782 <client name> 65000 4 bpgetconfig -M <client name> -x bptestbpcd -client <client name> -verbose from media: traceroute <client name> ping -s -i <nic> -p 13782 <client name> 65000 4 bpgetconfig -M <client name> -x bptestbpcd -client <client name> -verbose
status 2074 disk volume is down
01/05/2017 19:38:27 - Info it-nbu-01(pid=217530) StorageServer=PureDisk:it-nbu-01; Report=PDDO Stats for (it-nbu-01): scanned: 813 KB, CR sent: 38 KB, CR sent over FC: 0 KB, dedup: 95.3%, cache disabled 01/05/2017 19:38:41 - Info bpdm(pid=217530) EXITING with status 0 01/05/2017 19:38:44 - Info bpdm(pid=44644) started 01/05/2017 19:38:44 - started process bpdm (44644) 01/05/2017 19:38:45 - Error bpdm(pid=44644) NBJM returned an extended error status: Disk volume is down (2074) 01/05/2017 19:38:45 - Error nbreplicate(pid=217494) ReplicationJob::Replicate: Replication failed for backup id IT-INFO-1-238.MEIZU.COM_1483556372: media open error (83) 01/05/2017 19:38:45 - requesting resource @aaaaf 01/05/2017 19:38:45 - Error nbjm(pid=11252) NBU status: 2074\, EMM status: Disk volume is down 01/05/2017 19:38:46 - Info bpdm(pid=44660) started
The option "This directory can exist on the root file system or system disk" need to be checked on the Storage Unit Disk properties.
- Run the following commands to query and update the disk pool device status on the netbackup server end. To check the state of the disk pool:
nbdevquery -listdp -stype PureDisk -U
- nbdevquery -liststs -U
- nbdevquery -listdp -U
nbdevquery -listdv -stype <disk pool type> -U
- nbdevquery -listdp -U
- nbdevquery -liststs -U
- To check the state of the disk volume:
- To bring up the disk volume state:
./NetBackup/bin/admincmd/nbdevconfig -changestate -stype PureDisk -dp <Disk Pool name> -dv <disk volume name> -state UP
Note - If the above commands do not help for getting the status to update for the diskpool volumes or the diskpool continues to go down in the NetBackup console, recycle the services of netbackup which will update the status as per the high watermark settings at the PureDisk end for the disk volume.
Recall Trash
Image过期产生了垃圾 检查消重存储池队列(TLOG文件) ls -l /disk/queue/ 执行队列处理 /usr/openv/pdde/pdcr/bin/crcontrol --processqueue 监控队列处理 tail -f /disk/log/spoold/storaged.log 垃圾回收 /usr/openv/pdde/pdcr/bin/crcollect -v -m +1,+2 重复2-5步骤直至TLOG处理完 检查Used和Space available within containers的空间 /usr/openv/pdde/pdcr/bin/crcontrol --dsstat 如果Space needs compaction的值很高,则执行压缩 /usr/openv/pdde/pdcr/bin/crcontrol --compactstart
Running NBSU
nbsu nbsu -l -nozip
View processes
# Acitive processes bpps -a bpps -x # only Media Manager vmps
Show Error
bperror -all -U bperror -backstat -U bperror -problems -U bperror -media -U bperror -disk
Restore must be resumed prior to first image expiration
http://www.symantec.com/connect/forums/restore-must-be-resumed-prior-first-image-expiration
An error occurred during the installation of assembly
MSI (s) (90:2C) [13:59:03:465]: Product: Symantec NetBackup Client -- Error 1935.An error occurred during the installation of assembly 'Microsoft.VC80.CRT,type="win32",version="8.0.50727.762",publicKeyToken="1fc8b3b9a1e18e3b",processorArchitecture="amd64"'. Please refer to Help and Support for more information. HRESULT: 0x80070005. assembly interface: IAssemblyCache, function: CreateAssemblyCacheItem, component: {844EFBA7-1C24-93B2-A01F-C8B3B9A1E18E}
Cause
This error has been observed when the insufficient permissions exist on this folder: C:\Windows\winsxs\InstallTemp
The minimum needed (and default) permissions are: Read & execute List folder contents Read Write Special permissions
Solution
The user logged in performing the install must have the above permissions for the folder C:\Windows\winsxs\InstallTemp.
verify media/TAPE
Please paste output from nbemmcmd -listmedia -mediaid ID -verbose
