EMS Disk Backup Operation Manual1019.docx
《EMS Disk Backup Operation Manual1019.docx》由会员分享,可在线阅读,更多相关《EMS Disk Backup Operation Manual1019.docx(27页珍藏版)》请在冰豆网上搜索。
EMSDiskBackupOperationManual1019
EMSDiskBackup
OperationManual
EMSDiskBackupOperationManual
Version
Date
Author
ApprovedBy
Remarks
V1.0
2011/10/19
CchujuTao
DiskBackupforEMSClusterSystem.
©2018ZTECorporation.Allrightsreserved.
ZTECONFIDENTIAL:
ThisdocumentcontainsproprietaryinformationofZTEandisnottobedisclosedorusedwithoutthepriorwrittenpermissionofZTE.
DuetoupdateandimprovementofZTEproductsandtechnologies,informationinthisdocumentissubjectedtochangewithoutnotice.
TABLEOFCONTENTS
1DiskBackupProcedure4
1.1ConfirmEMSRunningStatus4
1.2BackupEMSClusterNodeASystem4
1.2.1LoginEMSServerasclientmode4
1.2.2StopthemonitoroftheHACMP5
1.2.3HandovertheEMSClusterStatus(A->B)8
1.2.4ShutDowntheEMSServerA13
1.2.5ChangetheCardforBackupforServerA13
1.2.6Runningthetapebackupsystem14
1.2.7Runningthecommandtobackupsystem19
1.2.8PlugeouttheSAScardandthetapdisk20
1.2.9recovertheClusterA24
1.3BackupEMSClusterNodeBSystem26
1.3.1LoginEMSServerasclientmode26
1.3.2HandovertheEMSClusterStatus(B->A)26
1.3.3ShutDowntheEMSServerB31
1.3.4ChangetheCardforBackupforServerB31
1.3.5Runningthetapebackupsystem32
1.3.6Runningthecommandtobackupsystem32
1.3.7PlugeouttheSAScardandthetapdisk33
1.3.8recovertheClusterB33
1DiskBackupProcedure
1.1ConfirmEMSRunningStatus
BeforerunningthebackupofEMSClusterDisk,MustConfirmEMSrunningStatusfirst.–ConfirmEMScurrentAlarms&HistoryAlarms:
GetBitmapofAllAlarms.
–ConfirmeNodeBstatusatconfigurationManagement:
GetBitmapofAlleNodeBStatus.
-ConfirmTheTapemachinestatuswhichisrunningnormally.Andhad2tapesforbackup.
Get2TapesforEMSDiskBackup.
TurnthepoweronforTapeBackupMachine.
PreparePCforEMSDiskBackup.
1.2BackupEMSClusterNodeASystem
2LoginEMSServerasclientmode
UseomcaccountLoginTool(xmanager)toLogintheEMSClusterSystem.
(omc)$su–root
(root)#exportDISPLAY=10.51.197.183:
0.0
3StopthemonitoroftheHACMP
UsecommandtostopthemonitoroftheHA.
(root)#smittycm_suspend_resume_menu
Theninput“enter”keytocompletethestopoperate.
4HandovertheEMSClusterStatus(A->B)
HandovertheHAtotheothernode.
(root)#smittyhacmp
Theninputthe”enter”keytocomplete
5ShutDowntheEMSServerA
AfterthehandoverCluster,theEMSandtheoracleprocesswillbeshutdown,youshouldhaveatest.
(root)#ps–ef|grepZTE|wc-l
Ifthenumberis0,youcancontinue.
(root)#su–oracle
(oracle)#sqlplus/nolog
SQL>connsystem/oracle@lteems
Ifconnectionfailed,youcancontinue.
(oracle)#su–root
(root)#shutdown
6ChangetheCardforBackupforServerA
AftertheServerAhadstopped,pulldowntheplugofServerA.
Thenrestarttheserver.
Openthecoverofserver,andchangetheCardforbackup.
LinktheCabletotapDiskBackupMachine.
Powerontheserver.
Confirmtheserverisrunningbyping.
Ping10.51.197.129
7Runningthetapebackupsystem
1.LinktheserverbyCable
2.OperatetheMenuforinputbackuptape.
Opentapeholder
Clickthe“x”tothemenu,chooseControl
ChoosetheOpenI/OStation.
Thenpress“enter”key
whenthepaltebethrowout,Setthetapenormally
3.Movethetapeforreadingstatus
Backtothemainmunu->control
ChoosetheMoveCartridges
Clickdown,tochoose“MOVE”
Thenthetapdiskwillmoved
Nowyoucancontinuetobackuptheserversystem.
8Runningthecommandtobackupsystem
(root)#smittymksysb
Thenpress“Enter”key
Taps:
thewillbesomewarningwhenbackup,itisnomatter.
9PlugeouttheSAScardandthetapdisk
shutdownthesystem
UseomcaccountLoginTool(xmanager)toLogintheEMSClusterSystem.
(omc)$su–root
(root)#shutdown
turnoffthepowerofserverA
plugeouttheSAScard.
pickoutthetapdisk
Backtothemainmunu->control
ChoosetheMoveCartridges
Clickdown,tochoose“MOVE”
Thenthetapdiskwillmoved
Afterthis,backtothecontrolmenu
ChoosetheOpenI/OStation.
Thenpress“enter”key
Thenthepaltewillbethrowout
10recovertheClusterA
turnonthepowerofServerA
restartthesystemofServerA
UseomcaccountLoginTool(xmanager)toLogintheEMSClusterSystem.
(omc)$su–root
checktheHACMPstatusandthemonitorstatus
ifthestatusisunnormal,dothefollowingsteps:
startHACMP
(root)$smittyclstart
Press“enter”keytostarttheHACMP
startthemonitor
(root)$smittycm_suspend_resume_menu
Press“enter”key,toresumethemonitor.
10.1BackupEMSClusterNodeBSystem
11LoginEMSServerasclientmode
UseomcaccountLoginTool(xmanager)toLogintheEMSClusterSystem.
(omc)$su–root
(root)#exportDISPLAY=10.51.197.183:
0.0
12HandovertheEMSClusterStatus(B->A)
HandovertheHAtotheothernode.
(root)#smittyhacmp
Theninputthe”enter”keytocomplete
13ShutDowntheEMSServerB
AfterthehandoverCluster,theEMSandtheoracleprocesswillbeshutdown,youshouldhaveatest.
(root)#ps–ef|grepZTE|wc-l
Ifthenumberis0,youcancontinue.
(root)#su–oracle
(oracle)#sqlplus/nolog
SQL>connsystem/oracle@lteems
Ifconnectionfailed,youcancontinue.
(oracle)#su–root
(root)#shutdown
14ChangetheCardforBackupforServerB
AftertheServerBhadstopped,pulldowntheplugofServerB.
Thenrestarttheserver.
Openthecoverofserver,andchangetheCardforbackup.
LinktheCabletotapDiskBackupMachine.
Powerontheserver.
Confirmtheserverisrunningbyping.
Ping10.51.197.130
15Runningthetapebackupsystem
Thestepissameto1.2.6compeletly.
Waring:
youmustbechangetheothertapdisk,orthedatastoredinitwilllost
16Runningthecommandtobackupsystem
(root)#smittymksysb
Thenpress“Enter”key
Taps:
thewillbesomewarningwhenbackup,itisnomatter.
17PlugeouttheSAScardandthetapdisk
Thestepisthesameto1.2.8
18recovertheClusterB
turnonthepowerofServerB
restartthesystemofServerB
UseomcaccountLoginTool(xmanager)toLogintheEMSClusterSystem.
(omc)$su–root
checktheHACMPstatusandthemonitorstatus
ifthestatusisunnormal,dothefollowingsteps:
startHACMP
(root)$smittyclstart
Press“enter”keytostarttheHACMP
startthemonitor
(root)$smittycm_suspend_resume_menu
Press“enter”key,toresumethemonitor.