您好,欢迎访问三七文档
当前位置:首页 > 商业/管理/HR > 销售管理 > TSM备份服务器日常维护手册
TSM备份服务器日常维护手册1TSM的日常检查1.1备份服务器检查1.1.1查看服务器信息TSMSERVERqstatusStorageManagementServerforAIX-Version6,Release2,Level3.0ServerName:TSMSERVERServerhostnameorIPaddress:192.168.1.91ServerTCP/IPportnumber:1500Crossdefine:OffServerPasswordSet:YesServerInstallationDate/Time:10/10/201123:26:18ServerRestartDate/Time:12/05/201115:51:50Authentication:OnPasswordExpirationPeriod:9,999Day(s)InvalidSign-onAttemptLimit:0MinimumPasswordLength:0Registration:ClosedSub:NoAvailability:EnabledAccounting:OffActivityLogRetention:1Day(s)ActivityLogNumberofRecords:4697ActivityLogSize:1MActivitySummaryRetentionPeriod:30Day(s)LicenseAuditPeriod:30Day(s)LastLicenseAudit:12/16/201103:52:49ServerLicenseCompliance:ValidCentralScheduler:ActiveMaximumSessions:200MaximumScheduledSessions:100EventRecordRetentionPeriod:10Day(s)ClientActionDuration:5Day(s)ScheduleRandomizationPercentage:25QuerySchedulePeriod:ClientMaximumCommandRetries:ClientRetryPeriod:ClientClient-sideDeduplicationVerificationLevel:0%SchedulingModes:AnyActiveReceivers:CONSOLEACTLOGConfigurationmanager?:OffRefreshinterval:60Lastrefreshdate/time:ContextMessaging:OffTableofContents(TOC)LoadRetention:120Minute(s)MachineGloballyUniqueID:00.00.00.00.f2.b3.11.e0.b9.d8.08.63.c0.a8.01.5bArchiveRetentionProtection:OffDatabaseReportingMode:PartialDatabaseDirectories:/tsmdata/tsmdbTotalSizeof(MB):51,200.00SpaceUsedon(MB):31,163.42FreeSpaceAvailable(MB):19,972.58EncryptionStrength:AES1.1.2查看数据库信息TSMSERVERqdbDatabaseNameTotalPagesUsablePagesUsedPagesFreePages--------------------------------------------------------------TSMDB149,76449,62843,3206,308TSMSERVERqdbf=dDatabaseName:TSMDB1TotalSizeof(MB):51,200SpaceUsedbyDatabase(MB):629FreeSpaceAvailable(MB):19,973TotalPages:49,764UsablePages:49,628UsedPages:43,320FreePages:6,308BufferPoolHitRatio:100.0TotalBufferRequests:201,636,799SortOverflows:0PackageCacheHitRatio:85.9LastDatabaseReorganization:12/27/201111:41:32FullDeviceClassName:TAPEIncrementalsSinceLastFull:0LastCompleteBackupDate/Time:TSMSERVERqdbsLocationTotalSpace(MB)UsedSpace(MB)FreeSpace(MB)---------------------------------------------------------/tsmdata/tsmdb51,200.0031,163.4219,972.58TSMSERVERqlogTotalSpace(MB)UsedSpace(MB)FreeSpace(MB)---------------------------------------------4,096434,033TSMSERVERqlogf=dTotalSpace(MB):4,096UsedSpace(MB):43FreeSpace(MB):4,033ActiveLogDirectory:/tsmdata/tsmlogArchiveLogDirectory:/tsmdata/tsmarchlogMirrorLogDirectory:ArchiveFailoverLogDirectory:1.2备份设备检查1.1.3查看磁带库信息TSMSERVERqlibrTSMSERVERqlibrf=dLibraryName:TS3100LibraryType:SCSIACSId:PrivateCategory:ScratchCategory:WORMScratchCategory:ExternalManager:Shared:YesLanFree:ObeyMountRetention:PrimaryLibraryManager:WWN:2001000E1114BC15SerialNumber:00L2U78V2817_LL0AutoLabel:NoResetDrives:NoRelabelScratch:LastUpdateby(administrator):ADMINLastUpdateDate/Time:12/02/201114:05:271.1.4查看驱动器状态TSMSERVERqdriveLibraryNameDriveNameDeviceTypeOn-Line------------------------------------------------------TS3100DR0LTOYes1.1.5查看可用磁带数量TSMSERVERqlibvTSMSERVERqv注:请注意系统文件系统的空间或者磁盘空间的可用大小1.1.6查看存储池的状态TSMSERVERqstg1.1.7查看磁盘卷状态TSMSERVERselectvolume_name,stgpool_namestatusfromvolumeswheredevclass_name='STG1'1.3作业调度检查1.1.8查看备份作业调度TSMSERVERqev**t=c1.1.9查看管理作业调度TSMSERVERqevent*t=a1.1.10查看备份数据库调度TSMSERVERqueryvolhistorytype=dbbackupDate/Time:12/02/201115:15:27VolumeType:BACKUPINCRBackupSeries:0BackupOperation:1VolumeSeq:1DeviceClass:TAPEVolumeName:153AAXL5VolumeLocation:Command:DatabaseBackupIDHigh:0DatabaseBackupIDLOW:33,066DatabaseBackupHomePosition:0DatabaseBackupHLA:/NODE0000/DatabaseBackupLLA:DB_INCR_BACKUP.227.1DatabaseBackupTotalDataBytes(MB):208.05DatabaseBackuptotalLogBytes(MB):496.14DatabaseBackupBlockNumHigh:0DatabaseBackupBlockNumLow:8381.4活动日志检查TSMSERVERqueryactlogsearch=ANR????ETSMSERVERqact/tmp/tsm.logOutputofcommandredirectedtofile'/tmp/tsm.log'2TSM的日常操作2.1备份服务器2.1.1启动备份服务器执行以下步骤1.切换到tsm实例用户#su-tsminst1查看TSMserver数据库是否启动#ps-ef|grep-idsm2.启动实例$db2start3.查看所有数据库$db2listdbdirectory4.连接数据库$db2connecttotsmdb1查看其配置信息$db2getdbcfgfortsmdb15.启动TSM进程进入tsm服务器程序的安装路径下:$cd/tsmdata/tsminst$/opt/tivoli/tsm/server/bin/dsmserv如果需要TSM启动到后台,使用以下命令启动$/opt/tivoli/tsm/server/bin/dsmserv-q&6.查看启动是否成功登录到TSM管理控制台,查看TSM是否启动成功$su-root#cd/usr/tivoli/tsm/client/ba/bin64#./dsmadmc输入用户名admin,密码111111AaTSMqstatus如果可以正常显示TSM服务器的信息,说明TSM启动成功。2.1.2停止备份服务器1.切换到/usr/tivoli/tsm/client/ba/bin64目录下,运行dsmadmc,输入口令/密码admin/*****进入管理员界面2.禁止服务器接收新的客户端访问TSMdisablesessions3.查看当前客户端与服务器的连接TSMquerysession4.等待客户端结束备份或直接中断连接TSMcancelsessionXX(all)5.查看服务器进程TSMqueryprocess6.等待服务器进程结束或直接中断进程TSMcancelprocessqmount检查是否有磁带被使用。qrequest检查是否有需要人工干预的操作。7.停止服务器,在提示符下输入haltTSMhalt2.1.3备份服务器选项信息TSMSERVERqopt2.1.4修改服务器选项信息TSMSERVERsetoptMaxSessions3002.2备份节点数据查询2.2.1TSMserver端查询TSMSERVERqnodedataDBSERVER2_DEDUPTSMSERVERqcontent/stg1/vol1.dsm2.2.2TSMclient端查询本机的客户端数据查询#dsmcqbackup/tmp/tsm6.3_client–inactive异机的客户端数据查询#dsmcqbackup/tmp/-virtualnodename=DBSERVER2_DEDUP-inactive2.3备份节点数据恢复2.4备份密码修改2.4.1修改过期时间修改服务器及备份节点的密码到期时间TSMSERVERsetpassexp9999ANR2092
本文标题:TSM备份服务器日常维护手册
链接地址:https://www.777doc.com/doc-6668258 .html