江西移动民政云TSM实施方案_第1页
江西移动民政云TSM实施方案_第2页
江西移动民政云TSM实施方案_第3页
江西移动民政云TSM实施方案_第4页
江西移动民政云TSM实施方案_第5页
已阅读5页,还剩41页未读 继续免费阅读

付费下载

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

江西移动民政云

TivoliStorageManager

实施方案

文档控制

更改记录

版本|创建/修改时间编制/修改者文件/修改内容审批人

vl.O2011-10-21王泽民创建文档

审阅

姓名职位

发布

姓名职位

第1章环境准备..............................................................4

1.1、介质描述...........................................................4

1.2、服务器及客户端信息................................................4

第2章安装及配置TivoliStorageManagerServer...............................................5

2.1、安装................................................................5

2.2、配置...............................................................11

第3章配置带库.............................................................20

3.1、驱动安装及确认....................................................20

3.2、配置带库..........................................................20

第4章安装及配置TivoliStorageManagerClientForAIX...................................26

4.1、安装...............................................................26

4.2、酉己置...............................................................26

第5章安装TivoliStorageManagerforDB(Oracle)...........................................28

5.1、安装...............................................................28

5.2、酉已置..............................................................28

5.3、oracle备份........................................................30

第6章安装TivoliSborageManagerforSAN............................................................32

6.1、安装...............................................................32

6.2、配置...............................................................32

第7章安装AC....................................................................................................................35

7.1、安装AC...............................................................................................................35

7.2、登陆TSM控制中心..................................................38

第8章TSMServer日常维护..................................................39

8.1、启动进程..........................................................39

8.2、TSMServer管理常用操作...........................................40

8.3、TSM管理常用命令.................................................45

第1章环境准备

1.1>介质描述

StorageManagerLinuxX64ServerV6.34

Windows平台的TSMServer

StorageManagerAIXClientsV6.3.4

AIX平台的TSM客户端

StorageManagerLinuxClientsV6.3.4

Linux平台的TSM客户端

StorageManagerforStorageAreaNetworkV6.3.4

通过SAN环境,即LAN-Free来备份数据需要安装的组件

StorageManagerforDatabaseProtectionforOrac'eAIXV5.4.1

AIX平台,备份ORACLE数据库需要安装的组件

StorageManagerAdministrationCenterV6.3.4

管理中心

1.2、服务器及客户端信息

主机名操作系统应用RoleIp地址

MdblAIX7.1生产库Client172.11.2.43

BA/API

SAN

TDPFOR

ORACLE

Mdb2AIX7.1生产库Client172.11.2.63

BA/API

SAN

TDPFOR

ORACLE

FilelRedHat6.564位文件服务器Client172.11.2.80

BA/API

SAN

FILE

TsmserverRedHat6.564位备份服务器172.11.2.69

第2章安装及配置TivoliStorageManagerServer

2・1、安装

软件磁盘容量要求:

•5GBforthe/vardirectory

•10GBforthe/optdircctoiyifyoucreatemountpoints

•40GBforthe/opt/tivoli/tsmdirectoryifyoucreatemountpoints

•1()GBforthe/tnipdirectory

•5GBforthe/usrdirectory

•10GBinthehomedirectory

软件内存要求:8()GB

TSM安装LINUX光盘内以compat-libstdc和libstdc开头的所有的文件包

将tsm6.3安装包文件ftp至I」tmp目录下

#cd/trap

#./chmoda+x00-TIV-TSMALL-Linuxx86_64.bin

#./00-TIV-TSMALL-Linuxx86_64.bin

#./install.bin

比-x

V6.3

LicensedMaterials・PropertyofIBMCorp.OCopyrightIBMCorporation1994.2011.Allrightsreserved.U.S.GovernmentUsersRestricted

Rights-Use.duplicabonordtsclcsurerestrictedbyGSAADPScheduleContractwithIBMCorp.

Ay

j一,

lava

cwrmu

English▼I逸定I

点“确定”

IBMTivoliStorageManagerx

ProductSelection

■/Welcome

►ProductSelectionSelecttheproductthatyoupurchasedandclickNexttoview

LicenseAgreementthelicenseagreement

SelectInstallationFolder

SelectComponents

PreparingInstallation

SpecifySettings

•IBMTivoliStorageMeager

Pre-installationSumman/

OIBMTivoliStorageManagerExtendedEdition

Installing...

IBMSystemStorageArchiveManager

InstallationComplete

OIBMTivoliStorageManagerforStorageAreaNetworks

J

选择“IBMTivoliStorageManager”,点"next”

'E.IBMTivoliStorageManager

TivoliStorageManagerInstallation

►WelcomeWelcome

TivoliStorageManager6.3.2,000

ProductSelection

LicenseAgreementLicensedMaterials-PropertyofIBMCorp.(c)IBM

SelectInstallationFolderCorporationandother(s)1994,2011.Allrightsreserved.

USGovernmentUsersRestrictedRights—Use,duplicationor

SelectComponentsdisclosurerestrictedtyGSAADPScheduleContractwthIBM

PreparingInstallationCorp.

SpecifySettings

Itisstronglyrecommendedthatyouquitallprogramsbefore

Pre-installationSummarycontinuingwiththisinstallation.

Installing...

ClickNexttoproceedtothenextscreen.Ifyouwantto

InstallationCompletechangesomethingonapreviousscreen,clickPrevious.

CancelthisinstallationatanytimebyclickingCancel.

InstallAn^where------------

CancelIHelpPreviousNext

点“next”

选择“接受",点"next”

IBMTivoliStorageManager_X

LAN-freeorLibrarySharing

JWelcome

JProductSelectionWillyourserverperformanyofthefollowing?

ALicenseAgreement-LAN-freeoperations

-Sharealibraryandactaseitherthelibrarymanagerorthe

SelectInstallationFolderlibraryclient

SelectComponents

PreparingInstallation

SpecifySettings

Pre-installationSummaryOYes

Installing...

No

InstallationComplete

InstallA/ivwhere

Cancel

选择“no”,点“next”

全部选择,点'"next”

MemoryWarrlingX

TivoliStorageManageserver

Warning:Theinstallationwizardhasdetectedthatyoursystem

doesnothavetherecommendedmemorytooperatetheTivoli

StorageManagerserver.

-Totalphysicalmemory:15,669MB

-Minimummemoryrequired:4,096MB

-Recommendedmemory:12,278MB

-Recommendedmemoryfordeduplication:16,374MB

ThememoryandCPUrequirementsthatarecheckedaregeneral

only,andrepresenttheminimumthatisnecessary.Thesuitability

ofthisenvironmentforagivenworkloadmightvaryandrequire

additionalmemory,CPU,andI/Othroughput.

Refsrtothedetailedseru^rrequirementsandplatformspecific

topc$foryourplatform:ln*p:///$oftware/tivoli/pro

ducts/storage-mgr/platforms.htmlTS.CM^rnav.Ensurethatyou

havemettherequirementsbythoroughlyreviewingthe

informationinthiswebsite.

OK

点“ok”

IBMTivoliStorageManagerx

ServerLanguageSelection

WelcomeSelectanyadditionallanguagesthatyouwantfoitheseivei

installation.

ProductSelection

LicenseAgreementGerman▲

SelectInstallationFolderSpanish

SelectComponentsFrench

Italian

>Preparinginsiailation

BrazilianPortuguese

>SpecifySettingsKorean

>Pre-installationSummaryJapanese

>Installing...Russian

>InstallationCompleteEUCChinese

GBKChinese

SimplifiedChinese

TraditionalChinese

EnglishUTF8

GermanUTF8

IBMTivoliStorageManager-X

Pre-installationSummary

JWelcomeReviewtheFollowingSummaryBeforeYouContinue:

JProductSelection

JLicenseAgreementProductName:

TivoliStorageManager

JSelectInstallationFolder

JSelectComponentsInstallFolder:

JPreparingInstallation/opt/tivoli/tsm

JSpecifySettingsComponents:

APre-installationSummaryTSMserver,DB29.7,GlobalSecureToolkit8,TSM

Installing...clientapi32bit,TSMclientapi64bit,TSMclevicesJSM

storageagentJSMEnglishUTF8languagepack

InstallationComplete

DiskSpacehifonnation(forInstallation

Target):

Required:1,721,695,069bytes

Available:55,084,539,904bytes

InstallAiiywhere

CancelHelpPreviousInstall

点“install”,开始安装

IBMTivoliStorageManager■R

InstallationComplete

JWelcomeSee/var/tivoli/tsm/log.txtfordetails.

JProductSelection

JLicenseAgreementThefollowingcomponentsweresuccessfully

JSelectInstallationFolderinstalled:

JSelectComponents

TSMserver

JPreparingInbiallalion

DB29.7

JSpecifySettingsGlobalSecureToolkit8

JPre-installationSummaryTSMclientapi32bit

JInstalling...TSMclientapi64bit

TSMdevices♦

►InstallationComplete

TSMstorageagent

TSMEnglishUTF8languagepack

■I_______

lnstallAn\where------------

CancelIHelpPreviousDone

大约15分钟后,点“done”,安装完成

安装后TSM目录/cpt/Tivoli/tsm/server/opt

2.2、配置

配置TSM

#groupaddtsmsrvrs

#adduser-d/home/tsminstl・m・Gtsmsrvrs-s/bin/bashtsminstl(建实例用户)

#passwdtsminstl(密码设为tsminstl)

#su-tsminstl

在当前目录下做以下工作(/home/tsminstl)

$nikdirtsminstl

$rnkdirtsmdbOO1

$mkdirtsmdb002

$mkdirtsmdb003

$mkdirtsmclb004

$mkdirtsmlog

$nikdirtsmarchlog

$mkdirtsmlogmirror(nJ'pt)

$mkdirtsmarchlogfailover(可选)

$su—

#/opt/Tivoli/tsm/scrvcr/bin/dsmicfgx

LicensedMaterials-PropertyofIBMCorp.©CopyrightIBMCorporation1994.2011Allrightsreserved.U.S.Govern-nentUsersRestricted

-UM.duplicAtonordisckxuroroetrictodbyGSAADPS»choduk>CortradwitbIBMCorp.

6

Java

English;▼

IBMTivoliStorageManagerInstanceConfigurationWizardx

InstanceUserID

JIntroductionSpecifytheuserIDandpasswordofthenewInstanceowner,AuserIDcanown

AInstanceUserIDonlyoneinstance,soensurethatyouselectauserIDthatdoesnotalreadyown

aninstance.ThisuserIDmustalreadyexistonthesystem.

C>InstanceDirectory

t>DatabaseDirectories

>Recover/LogDirectories

>ServerInformation

UserID:tsminstl

t>AdministratorCredentials

[>ServerCommunicationPassword:

ConfigurationSummaryNote:WhenyouclickNext,thewizardwillattempttoestablishanSSH,RSH,or

t>ConfigureInstanceREXECconnectiontothelocalmachineusingthecredentialsspecifiedonthis

panel.Thismaytakeafewmoments.

PreviousHext

注意:此用户与前面建立的用户名和密码必须相同

IBMTivoliStorageManagerInstanceConfigurationWizard_x

InstanceDirectory

JIntroductionTheinstancedirectorystoresalloftheserverinstanceinformalon,suchasthe

InstanceUserIDserveroptionsfile,tracefiles,andotherfilesspecifictothisinsiance.

InstanceDirectory

DatabaseDirectories

RecoveryLogDirectories

>Serverinformation♦InstanceDirectory

AdministratorCredentials

>/home/tsminstl|/tsrrlinst1Choose

ServerCommunication

0ConfigurationSummary

ConfigureInstance

Note:Ifyouplantousethisinstanceforhighavailabilityoperations,theinstance

directorymustbeinafilesystemonadiskthatcanbesharedbetweenthe

clusteredsystems.

InstallAnvwhere

CancelHelpPreviousNext

建立实例路径/homc/tsminstl/tsminstl,牢记此路径,以后经常要使用到

IBMTivoliStorageManagerInstanceConfigurationWizardx

DatabaseDirectories

此用户用于AC连接,用户名admin密码:admin1234必须牢记

醛IBMTivoliStorageManagerInstanceConfigurationWizardX

配置过程大约持续一小时

IBMTivoliStorageManagerInstanceConfigurationWizard

ConfigureInstance

JIntroductionThisinstanceisnowbeingconfigured.Configurationwilltakeseveralminutes

JInstanceUserIDandundergonumeroussteps.Theprogressoftheconfigurationisshown

below.

JInstanceDirectory

JDatabaseDirectories

JRecoveryLogDirectories

JServerInformationIL/13WJ・

ANR0900IProcessingoptionsfile/home/tsminstl/tsminstl/dsmserv.opt.

JAdministratorCredentialsANR7814IUsinginstancedirectory/home/tsminst1/tsminst1.

JServerCommunicationANR4726ITheICCsupportmodulehasbeenloaded.

ANR0152IDatabasemanagersuccessfullystarted.

JConfigurationSummary

ANR0152IDatabasemanagersuccessfullystarted.

►ConfigureInstanceANR1380IThebufferpoolmonitorswitchisenabled.

AJJRO992IServer'sdatabaseformattingcomplete.

AJMRO369IStoppingthedatabasemanagerbecauseofaservershutdown.

ANR2976IOfflineDBbackupfordatabaseTSMDB1started.

:ormatcompletedwithreturncode0

Beginninginitialconfiguration...

Configurationiscomplete.

Ill

InstallAn'vwhere

CancelHelpPreviousNext

使用实例用户登录,侵入实例目录,例:\tsminstl\tsminstl

配置demserv.opH可选)

corranmethodtcpip

tcpport1500

tcpwindowsize0

tcpnodelayyes

commmethodsharedmem

shirport1510

#/opt/nvoli/tsm/server/bin/dsmserv启动TSM月艮务

第3章配置带库

3・1、驱动安装及确认

IBM网站卜载安装TS3200磁带库驱动程序

查看磁带机状态(Isdev-Cctape)

rmtOAvailable02-00-00SAS4mmTapeDrive

rmtlAvailable0G-01-01IBM3580UltriumTapeDrive(FCP)

rmt2Available0G-01-01IBM3580UltriumTapeDrive(FCP)

smcOAvailable0G-01-01IBM3573TapeMediumChanger(FCP)

smclAvailableOG-OI-OIIRM3573TapeMediumChanger(FCP)

3・2、配置带库

3.2.1、登陆TSMServer

便用dsmadmc登录到TSM管理控制台.

3.2.2、设置TSMServer参数

设置服务器名称及密码:

setservernametsm

setserverpasswordpassword

注册许可证:

regliefile=*.lienumber=100

q1ic

设置日志模式:

set1ogmoderol1forward

设置密码过期时间:

setPASSExp9999

设置通信及空闲延时

Setoptcommtimeout3600

Setoptidletimeout60

3.2.3.定义数据库卷和日志卷各自镜像

dsmfmt-dbE:\lsmdata\serverl\dblcopy.dsm1000

dsmfmt-logE:\tsmdata\sorvorl\loglcopy.dsm1000

登陆TSMServer后,执行以下操作:

definedbcopyC:\tsmdata\scrvcrl\clbl.dsmE:\tsndata\serverl\dblcopy.dsm

definelogcopyC:\tsmdata\serverl\logl.dsmE:\tsmdata\serverl\loglcopy.dsm

3.2.4、定义磁带库及其路径

Windows平台下,磁带库和磁带机的逻辑设备名可以通过如下命令来获得

C:\IBM\Tivoli\TSM\console>tsmdlst

definelibrary32001iblibtype=scsishared=yes

definepathtsm32001ibsrctype=serverdesttype=librarydevice=lb0.1.0.2

online=yes

可以通过qlibrary和qpath来查询

3.2.5、定义磁带机及其路径

definedrive32001ib3200-1

definedrive32001ib3200-2

definedrive32001ib3200-3

definedrive32001ib3200-4

definepathtsm3200-1srctype-serverdesttype-drive1ibrary_32001ibdevice-

mtl.0.0.2online=yes

definepathtsm3200-2srctype=serverdesttype=drive1ibrary=32001ibdevice=

mtO.0.0.3onlinc=yes

definepathtsm3200-3srctype=serverdesttype二drivelibrary=32001ibdevice=

mt1.0.0.4online=yes

definepathtsm3200-4srctype=serverdesttype=drivelibrary=32001ibdevice=

mtO.0.0.5online=yes

可以通过qdrive和qpath来查询

3.2.6、定义设备类

definedevckiss3200classdevtype=ltolibrary=32001ib

一定义备份数据到磁带库的设备类(物理带库)

3.2.7、给磁带标号(一般初始化时完成以下操作,慎重)

Label1ibvolume32001ibsearch=yes1abe1source=barcodecheckin=scratch

overwrite=yes

可以通过qlibv来查询磁带库的磁带

3.2.8、定义存储池

把文件,系统,数据库等备份到带库上

definestgpoolfilepool3200classmaxscratch=15

definestgpoolsystcmpool3200classmaxscratch=15

definestgpooldbpool3200classmaxscratch=15

——定义一个名为dbpool的存储池.和

3.2.9、定义备份策略域

definedomaindbpolicydescription=rBackupOracle*

definedomainfilepolicydescription="Backupfile*

definedomainsystenipolicydescription=*Backupsystem*

3.2.10.定义备份的策略集

definepolicysetdbpolicydbpolicysetdescription=*BackupOracle*

definepolicysetfilepolicyfilepolicysetdescription=*Backupfile*

definepolicysetsystempolicysystempolicysetdescription=*Backupsystem*

3.2.11.定义备份的管理类

defineMGMTCLASSdbpolicydbpolicysetdbMGMTclassSPACEMGTECHNIQUE=NONE

AUTOMIGNONUSE=OMIGREQIIRESBKUP二YES

defineMGMTCLASSfilepolicyfilepolicysetfileMGMTclassSPACEMGTECIINIQL-E=NONE

AUTOMIGNONUSE=0

defineMGMTCLASSsystempolicysystempolicysetsystemMGMTclass

SPACEMGTECHNIQUE=NONEAUTOMIGNONUSE=O

3.2.12.定义备份的副本组

defineCOPYGROUPdbpolicydbpolicysetdbMGMTclassDESTINATION=dbpool

FREQUENCY:。VEREXISTS=1VERDELETED=1RETEXTRA=ORETONLY=OMODE=MODIFIED

SERIALIZATION=SHRSTATIC

defineCOPYGROUPfilepolicyfilepolicysetfiloMGMTclassDESTINATI0N=filepool

FREQUENCY:。VEREXISTS=2VERDELETED=1RETEXTRA=90RET0NLY=180M0DE=M0DIFIED

SERIALIZATION:SHRSTATIC

defineCOPYGROUPsystempolicysystempolicysetsystemMGMTclass

DESTINATION=systempoolFREQUENCY=OVEREXISTS=2VERDELETED=1RETEXTRA=180

RET0NLY=30MODE二MODIFIEDSERIALIZATION:SHRSTATIC

注解:

FREQUENCY0可以立即备份刚刚备份过的文件

Verexists=2(保留最新的2个备份版本)

Verdeleted=l(源文件被删除后,保留最新的1个备份版本)

Retextra=90(每个备份版本均保留90天)

Retonly=180(最后一个版本保留180天)

注解:

如果更改,只要把define改为update即可。按客户需求更改。

过期处理(操作系统及文件)

内容参数处理机制

备份归档客户端所在的计算机上的某一个文件,在经过多次备份操作后,该文件将在TSM服务器

Vcrexis端形成多个备份。WVerexists限定了这个客户端上未被删除的文件在TSM服务器端的备份所允许

ts(保保留的份数。如果用户备份的次数超过了Verexists参数所指定的数量,则TSM将自动删除比较老

留版本的备份。例如,在缺省情况下,Verexis:s的参数为2,则当用户进行了3次备份后,最老的那一

数)份数据将被设置为过期,仅保留最新的两份数据。Verexists参数的值可以设置为0—9999,也

可以设置为NoLimit。

用户已经把备份归档客户端的文件进行了备份,然后因为某种原因把这个文件从客户端删除。

Verdele而VeNelel观参数定义了,在用户从客户端删除这个文件后,在T3M服务器端将保留的文件备份

ted(源的分数。这个参数的缺省值为1.在用户执行完毕客户端文件的删除操作后,下一次客户端备份操

文件被作,将把超过Verdeleted参数的备份设置为过期,例如用户设置Verdeleted参数为3,在文件被

删除后,删除前用户在服务器端保留了4份备份。如果用户在客户端删除了该文件,则下一次客户端备份操

保留版作发生时,TSM服务器将把最老的一份条份设置为过期,将只保留三份备份数据。Verdeleted可

本的数设置的数值范围包括0—9999,或者设置为YOLimil,表示保留所有的备份数据,即使该数据在

量)客户端已经被删除。Verdeleted并不能单独决定备份数据的保留日期,一个文件备份是否过期还

取决于其它几个参数,例如Retextra和Retonly等。

操作系统Verexists指定了用户可以保留的客户端数据的备份数量,却没有指定备份后的数据将在服务器

及文件端保留多长时间。Retextra指定了这个数据。确切的说,Retextra指定了当备份数据从Active

过期处理变为Inactive后可以保留的时间。TSM规定,如果用户客户端的数据没有被删除,而在TSM服务

Retextr

原理器端仅有一份该数据的备份的话,则该备份将永远保持Active状态,而不会过期。如果用户在服

a(保留

务器端产生了更新的备份,则以前的备份都将变为Inactive。同样,如果用户在客户端删除了源

天数)

文件,则所有备份文件也将变为Inactive。从这时候起,Retextra参数开始发挥作用,并开始

倒数计时,超过Retextra所规定的时间后,这些文件将被设置为过期。Retextra可以设置的数

值从C分布到9999,也可以设置为NOLimit。

一般说来,如果•份数据在备份归档客户端长期没有变化,则该数据在TSM服务器卜•的备份数据将

Retonly会逐渐过期,被删除,仅保留下最新的一份备份数据。如果TSM客户端的这份数据既不发生修改,

(保留也不被删除,则这份数据将一直以Active的状态保留下去。但是如果用户在客户端删除了这份数

唯一版据,则该数据将立即变为Inavtive。从这时起,Retonly参数生效。它指定了这最后一份备份数

本天数)据将在服务器上保留的时间。

修改后,用oracle的rman去设定版本和保留时间,以防tsm和oraclerman信息不一致。

3・2・13、分配备份。racle的默认管理类

assigndefmgmtclassdbpolicydbpolicysetdbMGMTclass

assigndefmgmtclassfilepolicyfilepolicysetfileMGMTclass

assigndefmgmtclasssystempolicysystempolicysetsystemMGMTclass

3・2・14、激活备份oracle的策略集

activatepolicysetdbpolicydbpolicyset

activatepolicysetfilepolicyfilepolicyset

activatepolicysetsystempolicysystempolicyset

3.2.15、注册节点

regnodemdbl_dbpassworddomain=dbpolicypassexp=0backdelete二yesmaxnummp=5

regnodemdblfilcpassworddomain=filepolicypasscxp=0backdeletc=yesmaxnunmp=5

regnodemdb2_dbpassworddomain二dbpolicypassexp=0backdelele=yesmaxnunnrp=5

regnodemdb2_fi1epassworddomain=filepolicypassexp=0backdelete=yesmaxnunmp=5

regnodefilepassworddomain=filepolicypassexp=0backdelete=yesmaxnumm[:=5

第4章安装及配置TivoliStorageManagerClientFor

AIX

4.1>安装

在2台AIX的oracle数据库服务器上安装以下3个文件集

tivoli.tsm.client,ba.*

ti

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论