IBM
Tivoli
Storage
Manager
for
System
Backup
and
Recovery
Installation
and
User’s
Guide
Version
5.6
IBM
Tivoli
Storage
Manager
for
System
Backup
and
Recovery
Installation
and
User’s
Guide
Version
5.6
ThirdEdition(December2003)
ThiseditionnoticeappliestotheIBMTivoliStorageManagerforSystemBackupandRecoveryVersion5Release6 (programnumber5698-SYS)andtoanysubsequentreleasesuntilotherwiseindicateinneweditionsortechnicalnewsletters. ThiseditionreplacesGC32-9076-01.IBMTivoliStorageManagerforSystemBackupandRecoverywillbereferred toas“SysBack”incertaintextwithinthisdocument.
ThefollowingparagraphdoesnotapplytotheUnitedKingdomoranycountrywheresuchprovisionsare inconsistentwithlocallaw:INTERNATIONALBUSINESSMACHINESCORPORATIONPROVIDESTHIS MANUAL“ASIS”WITHOUTWARRANTYOFANYKIND,EITHEREXPRESSEDORIMPLIED,INCLUDING, BUTNOTLIMITEDTO,THEIMPLIEDWARRANTIESOFMERCHANTABILITYANDFITNESSFORA PARTICULARPURPOSE.Somestatesdonotallowdisclaimerofexpressedorimpliedwarrantiesincertain transactions;therefore,thisstatementmaynotapplytoyou.
Thispublicationcouldincludetechnicalinaccuraciesortypographicalerrors.Changesareperiodicallymadetothe informationherein;thesechangeswillbeincorporatedinneweditionsofthispublication.IBMmaymake
improvementsand/orchangesintheproduct(s)and/orprogram(s)describedinthispublicationatanytime. RequestsforcopiesofthispublicationandfortechnicalinformationaboutIBMproductsshouldbemadetoyour salesofficeortheIBMBranchOfficeservingyourlocality.
Youfeedbackisimportantinhelpingtoprovidethemostaccurateandhighqualityinformation.Ifyouhave commentsaboutthisbookoranyotherIBMTivoliStorageManagerdocumentation,pleasesee“Contacting CustomerSupport”onpageix..
IBMandAIXareregisteredtrademarksofInternationalBusinessMachinesCorporation.
Contents
IBM
Tivoli
Storage
Manager
for
System
Backup
and
Recovery
Overview
.
.
.
. vii
About
This
Book
.
.
.
.
.
.
.
.
.
.
. ix
WhoShouldReadThisPublication . . . ix IBMTivoliStorageManagerforSystemBackupand RecoveryDocumentation. . . ix ConventionsUsedinThisBook. . . ix ContactingCustomerSupport . . . ix
Chapter
1.
Installation
.
.
.
.
.
.
.
. 1-1
SystemRequirements. . . 1-1 HardwareRequirements. . . 1-1 SoftwareRequirements . . . 1-1 UpgradingfromSystemBackupandRecoveryfor AIX-SysBack . . . 1-2 ImportantInformationtoConsiderWhen
UpgradingtoSysBack5.6.1. . . 1-2 ProcedureforInstallationfromCD-ROM . . . . 1-2 AccessingtheOnlineDocumentation . . . 1-3
Chapter
2.
SMIT
Overview
.
.
.
.
.
. 2-1
AccessingtheIBMTivoliStorageManagerfor
SystemBackupandRecovery . . . 2-1 HowtheSysBackMenusareOrganized . . . . 2-2 Backup&RecoveryOptions . . . 2-2 ConfigurationOptions . . . 2-2 TapeDrives . . . 2-3 Utilities . . . 2-4 DeviceSelectorScreens . . . 2-4 BackupstoDiskImageFiles . . . 2-6 Backup,List,VerifyandRestoreCommandOutput Screen. . . 2-7 SMITHelpScreens . . . 2-9 SMITFastpaths. . . 2-9 ObtainingCommandLineOptionsfromSMIT . . 2-9
Chapter
3.
License
Configuration
.
.
. 3-1
Chapter
4.
Performing
Backups
.
.
.
. 4-1
UnderstandingIncrementalBackups. . . 4-1 UnderstandingPullBackups . . . 4-3 BackinguptheSystem(InstallationImage) . . . 4-3 BackingupVolumeGroups . . . 4-11 BackingupFilesystems . . . 4-17 BackingupLogicalVolumes . . . 4-23 BackingupFilesorDirectories . . . 4-28 UnderstandingExcludeListProcessingonBackup Operations . . . 4-34 UsingSysBackwithFireWalls . . . 4-34 BackupReturnCodeProcessing. . . 4-35 UnattendedBackupsRunningintheBackground 4-36
Chapter
5.
Backups
to
CD
or
DVD
.
.
. 5-1
Requirements . . . 5-1 Software . . . 5-1 Hardware. . . 5-1 ImportantConsiderations . . . 5-2 Space . . . 5-2 Limitations . . . 5-3 Media . . . 5-3 Speed . . . 5-3 InitiatingtheBackup . . . 5-3 InitiatingaRestore. . . 5-4 BootandInstallation . . . 5-5 CommandSyntaxandSMITMenus. . . 5-6Chapter
6.
Offline
Mirror
Backups
.
.
. 6-1
Purpose . . . 6-1 Restrictions . . . 6-1 PerforminganOfflineMirrorBackup . . . 6-2 MaintainingBackupCommandFiles. . . 6-5 MaintenanceUtilities . . . 6-7 SynchronizingStalePartitions. . . 6-7 RecoverfromaFailedorAbortedOfflineMirror Backup . . . 6-9 CommandSyntaxandSMITMenus . . . 6-11 ManualRecovery. . . 6-13
Chapter
7.
Local
User
Access
.
.
.
. 7-1
UnderstandingLocalUserAccessPermissions . . 7-1 AddingorChangingLocalUserDevice/Directory Access. . . 7-2 ListingUserAccess . . . 7-4 RemovingUserAccess . . . 7-4
Chapter
8.
Remote
Services
.
.
.
.
. 8-1
UnderstandingRemoteHostandUserAccess
Permissions . . . 8-3 BackingUp,Listing,Verifying,orRestoringfrom RemoteBackupDevices . . . 8-4 ConfigureRemoteServices . . . 8-5 AddingorChangingClientHostAccesstoThis Server . . . 8-5 ListingClientAccess . . . 8-8 RemovingClientAccess . . . 8-8 AddingorChangingtheListofRemoteBackup Servers . . . 8-9 ListingRemoteBackupServers . . . 8-11 ChangingRemoteAccessChecking. . . 8-11 RemovingaRemoteBackupServer. . . 8-12 ConfiguringFirewallPortOptions-Serverto
Client. . . 8-12 ListServertoClientFirewallPorts . . . 8-12 AddorChangeServertoClientFirewallPorts 8-13 RemoveServertoClientFirewallPorts . . . 8-14 ConfiguringFirewallPortOptions-Clientto
Server . . . 8-14 ListClienttoServerFirewallPorts . . . 8-14 || | || | | | | | | | | | | | | | |
AddorChangeClienttoServerFirewallPorts 8-15 RemoveClienttoServerFirewallPorts . . . 8-16 RemoteCommandsAccessforusewithPull
Backups. . . 8-16 SpecialNotesAboutRemoteCommandAccess inEnvironmentswithFireWalls. . . 8-17 ConfiguringRemoteServicesinanNIS
Environment . . . 8-18
Chapter
9.
Exclude
Lists
.
.
.
.
.
.
. 9-1
AddingaFile,DirectoryorLogicalVolumetoan ExcludeList . . . 9-2 ListingExcludedFilesorDirectories. . . 9-4 RemovingFilesorDirectoriesfromanExcludeList 9-4 DeletinganExcludeListFile . . . 9-5
Chapter
10.
Recreating
or
Restoring
from
Backups
.
.
.
.
.
.
.
.
.
.
. 10-1
RemovingVolumeGroups,LogicalVolumes,and Filesystems. . . 10-1 RecreatingVolumeGroups,LogicalVolumes,and Filesystems. . . 10-2 UnderstandingIncrementalRestores . . . 10-7 RestoringDatafromaBackup . . . 10-8
Chapter
11.
Changing
the
Volume
Group,
Logical
Volume
and
Filesystem
Attributes
.
.
.
.
.
.
.
. 11-1
SelectingPhysicalVolumesforVolumeGroups 11-2 ChangePhysicalVolumeAttributes. . . 11-4 ChangingVolumeGroupAttributes. . . 11-4 SelectingPhysicalVolumesforLogicalVolumes 11-8 ChangingLogicalVolumeAttributes . . . 11-9 ChangingFilesystemAttributes. . . 11-16 AdvanceInstallOptions . . . 11-20
Chapter
12.
System
Installation
and
Maintenance
.
.
.
.
.
.
.
.
.
.
. 12-1
RecoveryInstallation . . . 12-1 No-promptInstallation . . . 12-1 HandlingInstallationErrors . . . 12-2 TheSysBackInstallationandMaintenanceMenu 12-2 ChangingtheInstallationDevice . . . 12-3 ChangingVolumeGroup&LogicalVolume
Information. . . 12-7 InstallingtheSystemwithCurrentSettings 12-8 UtilitiesMenu . . . 12-11 RebootingtheSystemMenu. . . 12-18
Chapter
13.
Network
Boot/Installation
Configuration
.
.
.
.
.
.
.
.
.
.
. 13-1
ClassicNetworkBootandNIMResourceBoot 13-1 ClassicBoot . . . 13-1 NIMResourceBoot . . . 13-2 ClassicNetworkBoot . . . 13-2
AccessingandConfiguringtheClassicNetwork BootMenus. . . 13-2 ConfiguringorUpdatingaNetworkBoot
Image . . . 13-3
AddingorChangingaNetworkBootClient 13-3 SettingtheNetworkInstallClientDefaults . . 13-5 RebuildingNetworkBootImages . . . 13-10 RemovingaNetworkBoot/InstallClient 13-10 NIMResourceBoot. . . 13-11
AccessingandConfiguringtheNIMResource Menus . . . 13-11 InstallingSysBackintoaSPOTResource. . . 13-11 QueryingforSysBackInstallationinSPOT
Resource . . . 13-13 AddingorChangingaNetworkBootClient 13-13 RebuildingNetworkBootImages . . . 13-14 RemovingaNetworkBoot/InstallClient 13-14 InitiatinganSPNodeBootandInstall . . . 13-15
Chapter
14.
RS/6000
Scalable
POWERParallel
Systems
(SP)
Boot
and
Install
Utilities
.
.
.
.
.
.
.
.
. 14-1
AdvantagesoftheSysBackSPBootand
InstallationUtilities . . . 14-1 HowSysBackworkswithNIMontheSPSystem 14-2 SpecialAssumptions. . . 14-2 AccessingtheSPBootandInstallOptions . . . 14-3 CompletingtheInitiateSPNodeBootandInstall Menu. . . 14-3 UnpromptedandPromptedInstallations . . . . 14-4 TroubleshootingTips . . . 14-4
Chapter
15.
Integrating
to
IBM
Tivoli
Storage
Manager
.
.
.
.
.
.
.
.
. 15-1
Prerequisites,Limitations,andExclusions. . . . 15-1 BasicSetupandConfigurationTasks . . . 15-2 RegisteraTSMNode . . . 15-2 InstalltheAPIClient . . . 15-2 ConfiguretheTSMClientSystemOptionsFile 15-2 SetTSMEnvironmentVariables . . . 15-4 CreatetheTSMVirtualDevice . . . 15-4 AdditionalConfigurationforBareMetal
Recovery . . . 15-4 Creating,Listing,Changing,andRemovingthe
TSMVirtualDeviceforSysBack. . . 15-4 CreatingaTSMVirtualDevice . . . 15-4 ListingaTSMVirtualDevice. . . 15-6 ChangingtheTSMVirtualDevice . . . 15-7 RemovingtheTSMVirtualDevice . . . 15-9 PerformingBackupstoaTSMServer. . . 15-11 ListingandVerifyingBackupsinaTSMServer 15-11 TSMBackupManagement . . . 15-11 QueryingTSMBackupImages . . . 15-11 QueryingCurrentManagementClass
Bindings . . . 15-15 RemovingaTSMBackupImage . . . 15-16 QueryingFileSpacesontheTSMServer . . 15-18 BindingandRebindingBackupstoTSM
ManagementClasses . . . 15-18 BindingBackups . . . 15-18 RebindingBackups. . . 15-19 TSMVersioningofSysbackBackupTypes . . . 15-19 ExcludingObjectsfromBackups . . . 15-19 RestoringBackupsfromaTSMServer . . . . 15-19 || || | || | | | | | | | |
ConfiguringNetworkBootOptionsforaTSM
BareMetalRecovery . . . 15-20 BareMetalRecoveryandSystemReinstallation
fromaTSMServer. . . 15-23 AdditionalInformationResources. . . 15-26 UsingMultipleBackupandRestoreSessions 15-27 ProblemDetermination . . . 15-27 TheSysBackCommandOutput. . . 15-27 TheSysBackActivityLog. . . 15-28 SysBackErrorLogfortheTSMAPI . . . . 15-28 DebugOptions . . . 15-28 InteroperabilitywithSystemBackupand
RecoveryforAIX-SysBackVersions5.1-5.4 . . 15-28
Chapter
16.
Utilities
.
.
.
.
.
.
.
. 16-1
DisplayingSysBackProductInstallationHistory 16-1 PrintingorDisplayingSystemConfiguration . . 16-2 CreatingaBootableTape(WithoutData). . . . 16-3 CreatingaBootableCD/DVD(WithoutData) . . 16-5 ChangingSysBackTapeBootDefaults. . . 16-9 ChangingSysBackCD/DVDBootDefaults. . . 16-12 ChangingtheReadPermissiononaDiskImage File . . . 16-16 CreatingorEditinganLVMInformationFile 16-18 CreatingaCustomInstallationDiskette . . . . 16-19 ChangingSysBackProgramDefaults. . . 16-21 BackupFormatSettings . . . 16-22 EndofTape(EOT)ProcessingOptions . . . 16-23 ErrorHandlingSettings . . . 16-25 SysBackNetworkSettings . . . 16-26 Logging . . . 16-27
Chapter
17.
Copying
Backups
to
a
New
Media
Type
.
.
.
.
.
.
.
.
.
. 17-1
CopyBackupfromDiskImageorCD/DVDto
Tape . . . 17-1 CopyBackupTapetoBackupDiskImage . . . 17-3 CopyBackupTapetoBackupTape. . . 17-5
Chapter
18.
Listing
or
Verifying
Backups
.
.
.
.
.
.
.
.
.
.
.
.
. 18-1
ListingBackupContents . . . 18-1 VerifyingFilesonSystemBackup . . . 18-3
Chapter
19.
Activity
Logging
.
.
.
. 19-1
AccessingtheLoggingMenus . . . 19-1 ChangingtheLoggingAttributes(Sizeand
Location) . . . 19-1 DisplayingtheLog . . . 19-2
Chapter
20.
Scheduled
Backups
and
Scripts
.
.
.
.
.
.
.
.
.
.
.
.
.
. 20-1
Scripts . . . 20-1 AccessingtheBackupScriptsMenu. . . 20-1 CreatingaBackupScriptFile. . . 20-1 ChangingaBackupScriptFile . . . 20-3 RemovingaBackupScriptFile . . . 20-4 AccessingtheBackupSchedulesMenus . . . . 20-4 CreatingaBackupSchedule . . . 20-5
UpdatingaBackupSchedule. . . 20-6 ListingBackupSchedules . . . 20-7 RemovingaBackupSchedule. . . 20-7
Chapter
21.
Virtual
Devices
.
.
.
.
. 21-1
TypesofVirtualDevices . . . 21-2 VolumeNumbering . . . 21-2 Autoloaders . . . 21-3 AddingaVirtualDevice . . . 21-3 ListingVirtualDevices . . . 21-5 RemovingaVirtualDevice . . . 21-5
Chapter
22.
Tape
Drives
.
.
.
.
.
. 22-1
Listingtapedrives . . . 22-1 Configuringadefinedtapedrive . . . 22-2 UnconfiguringanAvailableTapeDrive . . . . 22-2 ChangingTapeDriveCharacteristics . . . 22-2 UnloadingorEjectingaTapefromtheDrive . . 22-3
Appendix
A.
Commands
.
.
.
.
.
.
. A-1
cfgremrootaccess . . . A-2 chimagefile . . . A-4 chinstclient . . . A-6 cfglocaccess . . . A-10 cfgremaccess . . . A-12 cfgremserver . . . A-15 cfgremsvs . . . A-17 cfgvirdev . . . A-18 chexcludelist . . . A-20 editlvminfo . . . A-22 getlvminfo. . . A-23 lscfginfo. . . A-27 mkdirback. . . A-29 mkjfsback . . . A-34 mklvback . . . A-39 mksbnetboot . . . A-44 mkvgback . . . A-48 mkvginfo . . . A-53 readsbheader . . . A-57 remakevg . . . A-59 sbalog . . . A-62 sbclient. . . A-63 sbcompandsbuncomp. . . A-66 sbcron . . . A-67 sbdefaults . . . A-69 sbdevice . . . A-72 sbejecttape. . . A-74 sbeot. . . A-75 sbfirewall . . . A-76 sbfwd . . . A-79 sbread . . . A-81 sbscript. . . A-84 sbspboot . . . A-86 sbspotcust . . . A-87 sbtsmdevice . . . A-89 sbtsmlist . . . A-91 sbtsmnetcfg . . . A-93 sbwrite . . . A-95 sysback . . . A-100 sysrestore. . . A-107 || | || | | | |
Appendix
B.
Functional
Requirements
&
Limitations
for
DBCS
and
BiDi
Environments
.
.
.
.
.
.
.
.
.
.
. B-1
Appendix
C.
Booting
a
System
for
SysBack
Installation
or
Maintenance
. C-1
Initiatingthebootprocess . . . C-1 CommonHardwareReferencePlatform(unior multi-processor) . . . C-1 Microchannel-basedRISCSystem/6000
(uniprocessor) . . . C-1 Microchannel-basedRISCSystem/6000SMP
(multiprocessor) . . . C-2 PCI-based(RSPC)RISCSystem/6000(unior
multi-processor) . . . C-3 InitiatingtheNetworkBoot . . . C-4 CompletingtheBootProcess . . . C-4 TroubleshootingaNetworkBoot. . . C-5
DeterminingtheNetworkAdapterHardware Address . . . C-5
Appendix
D.
LEDS
.
.
.
.
.
.
.
.
. D-1
Appendix
E.
Creating
Scripts
for
Customizing
the
System
Backup
and
Install
Process
.
.
.
.
.
.
.
.
.
.
. E-1
ScriptNames . . . E-1
Post-InstallationScripts . . . E-3 SampleScripts . . . E-3
Appendix
F.
Device/System-Specific
Information
.
.
.
.
.
.
.
.
.
.
.
. F-1
IBM72088mmTapeDrives. . . F-1 IBM3490,Magstar,DLTandLTOTapeDrives . . F-1 OtherTapeDrives. . . F-2 IBM73318mmTapeLibrary . . . F-2 IBM73324mmTapeLibrary . . . F-3 OtherTapeLibrariesorAutoloaders. . . F-3 IBM7133SerialStorageArchitecture(SSA)disk
subsystem . . . F-3 IBM7135RAIDiantArray . . . F-4 IBM7137andOtherRAIDDevices . . . F-4
Appendix
G.
Accessibility
.
.
.
.
.
. G-1
Appendix
H.
Notices
.
.
.
.
.
.
.
. H-1
Trademarks. . . H-3Index
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. X-1
| | ||IBM
Tivoli
Storage
Manager
for
System
Backup
and
Recovery
Overview
IBMTivoliStorageManagerforSystemBackupandRecovery(also knownas “SysBack”)provides systemadministratorsand othersystem userswith asimple, efficientway tobackupand recoverdatafromacommandlineor aSMIT
menu-driveninterface.SysBackletsyourecoverallorpartofthesystem.SysBack isalsoflexible; youcaninstallonesystem installationimagetoanothersystem with eitheridenticalordifferenthardwareconfigurations,called “cloning” SysBack featureslet you:
v Createvarioustypesofbackups,including: – Fullsystem (installationimage)
– Volumegroups
– Logical volumes(rawdata) – Filesystems
– Specificdirectoriesorfiles
v Incrementallybackupandrestoredata.
v Perform“power”systembackupsthatenablefasterbackupandrestoretimesby backingupalldataasrawlogicalvolumesandheightenread/write
performancewhilereducingCPUusage.
v Performbackupstolocallyattachedtapedrivesorfilesondiskand remote hostsacrossthenetwork.
v Selectivelyexclude specificfiles,directories,filesystems, orlogicalvolumesfrom backups.
v Centrallymanage backupclientsusing“pull”backupsfroma singleserver. v Createbackupscripts foreasyautomation.
v Definebackupschedulesforeasy automation.
v Executepreandpost-backup scriptsthatenableenvironment-specifictask automation,includinghaltingdatabaseapplicationsbefore beginninga backup. v Performbackupstomultiplesequentialdevices,automaticallycontinuingthe
backuponthenextdevicewhenthefirst isfullandminimizingmanual interventionwhenautoloadinglibrariesare notavailable.
v Performbackupstomultipleparallel devices,called“striping,”whichletsyou completea singlebackupinafractionofthenormaltime.
v Createmultiplecopiesofasinglebackuptodifferentdevicesinapproximately thesame timeittakes forasinglecopy.
v Viewprogressstatusindicatorsthatdisplayestimatedbackuporrestore sizes, times,performance estimatesand acompletionpercentageestimate.
v Receivecompletionstatuslogsonallbackup, listandverification operations. v UseSMITmenustoconfigureSysBack options,whichletyoubackupand
restorevolumegroups,logicalvolumes,filesystems, directories,orfilesand list andverifyingbackupimages.
v Usesequentialautoloadingdevicestominimizemanualintervention andtape loadingoperations.
v Reinstallthesystemtoitsoriginaldeviceconfiguration, includingthevolume groupandlogicalvolumeplacementondiskandattached devices,usingFull System(Installation)Imagetothesameordifferentsystem(also called “cloning”).
v Installthesystemfromlocalboot/installationmedia orfromaTSM server. v Performa networkboot orinstallationtoalleviatetheneedforlocalboot or
installationmediausingSysBackfunctionsorexistingNetworkInstallation Manager(NIM)resources.
v PerformRecoveryInstallationthatrestoresonlythebaseoperatingsystem (root and/usrfilesystems) withoutaffecting otherdataintherootvgorothervolume groups.
v Preservemulti-copied(mirrored)orstripedlogicalvolumesonrecreate.
v Import,ignore,orrecreate/restoreeachvolumegrouporlogicalvolumefroma singlebackupmediaduringinstallation.
v Retainexactpartitionplacementof logicalvolumesormakecontiguous partitionsofanythathavebecomefragmented;this willimproveI/O performanceonrecreate.
v Executepost-installation scriptstoperform environmentspecifictasks.
v Usepost-installationtoremoveSysBackornetworkconfigurationaftercloninga backupimagetoadifferentmachineor toindicatethelocationofinstallation mediaforautomaticallyinstallingdevicesupport tothenewmachine.
v Setnetworkand tapebootdefaults tominimize,and ofteneliminate,theneed foruserpromptingduring aninstallation.
v Editorchangethephysicallocationandattributesof volumegroups,logical volumes,andfilesystems duringrecreation.
v Restoredataatthevolumegroup,logicalvolume,filesystem,directoryorfile level.
v Interactivelyselectfilestorestorebylettingyouspecifya filelist,useasearch wordoruseawildcardtonarrow thelist.
About
This
Book
ThisbookcontainsinformationonconfiguringandusingIBMTivoliStorage Manager forSystemBackupandRecovery(also knownas“SysBack”).Thebook contains instructionsonusingtheSystemManagementInterfaceTool(SMIT) menus forperformingbackupsaswellasacommandsreferencetoperform SysBack functionswithouttheSMITmenus.
Who
Should
Read
This
Publication
ThisbookisintendedforsystemadministratorsresponsibleformanagingtheAIX® operatingsystem onRS/6000® orpSeries®systems.Readers ofthisbookare expectedtohavea basicunderstandingoftheSMIT menusandhavealready configured devicesforbackinguptheoperatingsystem.Readersshouldalsobe familiar withthegenerallayoutoftheAIXsystem,includinganunderstandingof thevolume groups,logicalvolumes, andfilesystems.
IBM
Tivoli
Storage
Manager
for
System
Backup
and
Recovery
Documentation
IBM postspublicationsforthisand allotherTivoliproducts,astheybecome available andwhenevertheyareupdated,totheTivoliInformationCenter Web site. YoucanaccessupdatedpublicationsintheTivoliInformationCenterfromthe followingCustomer Supportfor TivoliproductsWebsite:
http://publib.boulder.ibm.com/tividd/td/tdprodlist.html
Conventions
Used
in
This
Book
Thefollowinghighlightingconventions areusedinthisbook:
Bold Identifiescommand,keywords,files,directories,andotheritems whosenamesarepredefinedbythesystem.
Italics Usedforemphasisandtoidentifyparameterswhoseactualnames orvaluesaretobesuppliedbytheuser.
Monospace Identifiesexamplesofspecificdatavalues,textsimilartowhatyou mightseedisplayed,messagesfromthesystem,orinformation youshouldactuallytype.
Contacting
Customer
Support
For supportofthis oranyTivoliproduct,youcancontactTivoliCustomerSupport inone ofthefollowingways:
v VisittheStorageManagertechnicalsupport Websiteat: www.ibm.com/software/sysmgmt/products/support
v Submita problemmanagement reportrecord(PMR)electronicallyat IBMSERV/IBMLINK.YoucanaccessIBMLINKat:www.ibm.com/ibmlink v Submita problemmanagement record(PMR)electronically at:
http://www.ibm.com/software/support/probsub.html v CustomersintheUnitedStatescanalso call1-800-IBM-SERV.
v InternationalcustomersshouldconsulttheWebsiteforcustomersupport telephonenumbers.
v Youcanalso reviewtheIBMSoftwareSupportGuide whichisavailable onour Websiteat: http://techsupport.services.ibm.com/guides/handbook.html
Chapter
1.
Installation
Toinstall IBM® Tivoli®StorageManagerforSystemBackupand Recovery,also known as,SysBack™,youmusthavetheprerequisitesoftwareinstalledonyour system.
System
Requirements
Thes followingsectionsdescribethehardwareandsoftwarerequirementsrequired touseSysBack.
Hardware
Requirements
SysBack supportsthefollowinghardware:
v IBMEserverpSeries™andRS/6000®systems, includingRS/6000SP™ environments,andsystemscapableofthelogicalpartitioningofAIX®.
v EserverpSeriesCluster1600systemsusingthePSSPoption
Software
Requirements
Thefollowingsoftware isrequiredtouseSysBack: v AIXV4.3.0orlater,AIX5LV5.1,orV5.2
v IfyouwillbeusingtheTSMIntegrationfeature,youwillalso need: – ApreviouslyconfiguredTSMservermust beatlevel5.1.5orhigher. – The32-bit TSMAPIclientmust beinstalledandat level5.1.5orhigher – TheTSM nodenameusedforSysBackbackupsmust beregisteredonthe
TSM serverand configuredtousethepasswordaccessgenerateoption.
Note: Thisfeatureisnotavailable inSysBackversionsless than5.6. v Thebos.sysmgt.sysbrfileset.
v IfyouwillbeusingtheRemoteServicesfunctionsofSysBack,install the following:
– bos.rte.net – bos.net.tcp.client
v IfyouwillbeusingtheClassicNetworkBootfunctionsfortheNetwork Installs,installbos.net.nfs.client
v IfyouwillbeusingtheNIMResourceNetworkBootfunctionsforNetwork Installs,theNIMenvironmentand resourcesmustfirst beinstalledand configuredinthedesiredlocationsforSysBacktousethese resources.
v IfyouwillbeusingSysBackonSPorCluster1600systems,youmust beusing PSSPlevel3.4or3.5.
Note: Atthistime,SysBackdoesnotincludesupport forEserverpSeries Cluster1600systemsusingtheCSMoptionavailable inAIX5.2.
v WhenAIXisinstalled,thefollowingareinstalledautomaticallywiththesystem andmaynotberemovedinorderforSysBacktofunction properly:
– bos.rte.bosinst – bos.rte.archive
– bos.rte.libnetsvc (whenusingNetworkInstallfunctions) |
|
| |
v IfyouwillbeusingtheCD/DVDbackupfeature,pleaserefertoChapter5, “BackupstoCDorDVD,” onpage5-1foradditionalrequirementsspecific to thisfeature.
Upgrading
from
System
Backup
and
Recovery
for
AIX
-
SysBack
Ifyouareupgrading fromSystemBackupandRecoveryforAIX-SysBack™
versions 5.1.x,5.2.x,5.3.x,or5.4.x,youwillnotneed touninstallitbeforeinstalling theIBM TivoliStorageManager forSystemBackupandRecovery(SysBack) version 5.5or5.6product.
The installationprocessforIBMTivoliStorageManagerforSystemBackupand Recoverywillpreserveanypreviousconfigurations,aswellas,toautomatically make thesysback.rtefileset obsolete.
Important
Information
to
Consider
When
Upgrading
to
SysBack
5.6.1
WhendeployingSysBack5.6inyour environment,understandthatwhenmachines executeremoteSysBack operationswitheachother, allmachinesmust beat the same levelofcode.For example:5.6.0machinesmayonlyexecuteremoteSysBack operations withother5.6.0machines.Machineswith5.6.1(orlater)installed,may onlyperformremote SysBackoperationswithothermachinesusing5.6.1(orlater). RemoteSysBackoperationsinclude,but arenotlimitedto:networkbackups, networkrestores,networkboot,andnetworkinstallation.
Procedure
for
Installation
from
CD-ROM
Aftertheprerequisitesoftwareisinstalled:
1. Loginasarootuser.Youwillseethefollowing: IBM AIX Operating System
(c) Copyright IBM Corp. 19XX, 19XX (/dev/console)
login: root
2. Insert theIBM TivoliStorageManagerforSystemBackupandRecovery
installation CDintotheCD-ROMdrive. 3. Type theAIXcommandsmitty install.
Note: ThiscommandinvokestheSystemManagementInterfaceTool(SMIT), whichpresentsa menu-drivenenvironment fortheinstallationprocess. Theargumentinstall isa fastpaththattakesyoudirectlytothe softwareinstallationprocess.Themenuselectionsdiffer fromone versionandrelease oftheoperatingsystemtoanother,somenu selectionsdisplayedonyour systemmaydifferslightly.
4. From theSoftwareInstallationandMaintenance menu,selectInstalland UpdateSoftware.
5. Select InstallandUpdatefromtheLATESTAvailableSoftware.
6. AttheINPUTdevice/directoryforsoftwareprompt,typethedevicenameof theCD-ROMdrive.Forexample,/dev/cd0.
7. The followingscreenisdisplayed: | | | | | | | |
8. Toinstall theSysBackproduct,acceptthedefaultsettings.
Toinstall individualfilesets, highlightSoftwaretoinstalland pressF4. Individually,selectthefilesetstoinstall.
Notes:
a. TheSysBack5.5and5.6productfileset is:tivoli.tsm.client.sysback.rte
b. TheSysBack5.5and5.6licensefilesetsare:
tivoli.tsm.client.sysback.license.rteand
tivoli.tsm.client.sysback.license.cert
c. TheSysBack5.1-5.4productfileset is:sysback.rte
d. LicensingforSysBack5.1-5.4iskeyspecific.Pleaserefertoyour documentationthataccompaniedyourorder.
9. PressEntertoconfirmselectionsandinstall thesoftware.
10. OnAIX5.1systems,youwillbe promptedto“accept”theelectroniclicense agreement.Indicatinga“No”responsewillprohibittheinstallationofthese filesets.
Accessing
the
Online
Documentation
IBM postspublicationsforthisand allotherTivoliproducts,astheybecome available andwhenevertheyareupdated,totheTivoliInformationCenter Web Site.YoucanaccessupdatedpublicationsintheTivoliInformationCenter fromthe followingCustomer Supportfor Tivoliproductswebsite:
http://publib.boulder.ibm.com/tividd/td/tdprodlist.html
Installand Update from LATEST Available Software
Type or select valuesin entry fields. Press Enter AFTERmaking all desired changes.
[Entry Fields] * INPUT device/directoryfor software /dev/cd0
* SOFTWARE to install [_all_latest] + PREVIEW only? (installoperation will NOT occur) no +
COMMIT softwareupdates? yes +
SAVE replaced files? no +
AUTOMATICALLY installrequisite software? yes + EXTEND file systemsif space needed? yes + OVERWRITE same ornewer versions? no + VERIFY install andcheck file sizes? no + Include correspondingLANGUAGE filesets? yes +
DETAILED output? no +
Process multiplevolumes? yes +
F1=Help F2=Refresh F3=Cancel F4=List F5=Reset F6=Command F7=Edit F8=Image F9=Shell F10=Exit Enter=Do
Figure1-1.TheInstallandUpdatefromLatestAvailableSoftwareMenu
| |
Chapter
2.
SMIT
Overview
ThischapterprovidesinformationabouttheSMITmenuinterface.SMITisused forvirtually allAIXsystemadministrativetasks.
Accessing
the
IBM
Tivoli
Storage
Manager
for
System
Backup
and
Recovery
ToaccesstheSystemBackup&RecoveryforAIXmenus,typesmittoaccessthe SystemManagementInterfaceTool.AfterSysBackisinstalled,IBMTivoliStorage Manager forSystemBackupandRecoveryisdisplayedat thebottomofthemain menu.Selectthis optiontoaccessadditionalSysBackscreens.Youcanalternatively type smitsysback tojumpdirectlyto theSysBackscreens.Thefollowingisan example oftheSysBack MainSMITMenuasshown usingtheASCIISMITmenu.
TheASCIISMITmenuisdisplayedbydefaultifAIXwindowsisnotrunning.If AIXwindows isrunning, andSMITisstartedfromthedesktoporfromanaixterm window,thegraphicalversionofSMIT (msmit)isdisplayed bydefault.The remainderofthescreensdisplayedinthis sectionusetheASCIISMITformat.
Note: Tousemostoftheoptionswithin theSysBackmenus,logintothesystem asarootuser.Thisisforseveralreasons:
1. Onlyarootuserhasauthoritytoread,andthereforebackuporrestore, manyfiles inthesystem.
2. Whenrestoringfilesunderanon-root user,thatuser,ifpermittedtoread thefiles,becomesthenewowner ofthefiles.Filesarereturnedtotheir originalownershiponlywhenrestoredbya rootuser.
3. Manyoptions, suchaschangingtheblocksizeofthetapedrive,creating networkboot images,orconfiguringnetworkserverand clientoptions, requirethatyouhaverootprivilegesto performthetask.
IBM Tivoli Storage Manager for System Backup and Recovery
Move cursor to desireditem and press Enter.
Backup & RecoveryOptions Offline Mirror BackupOptions Configuratoin Options Tape Drives
Utilities
Backup Schedulesand Scripts Device to DeviceCopy Program Defaults TSM Configuration
F1=Help F2=Refresh F3=Cancel F8=Image F9=Shell F10=Exit Enter=Do
Figure2-1.ASCIIversionoftheSysBackMainSMITMenu | | | | | | | | | | | | | | | | | | | |
How
the
SysBack
Menus
are
Organized
The menusareorganized bythetypeof backupsthatyoucanperform,followed byadditionaloptionsusedforconfiguringorcustomizingadditionalSysBack options. TheSysBackMainMenuincludesthefollowingoptions:
Backup
&
Recovery
Options
Use thisoptiontodisplayadditionaloptionsforbackingup,listing,verifying,or restoringfilesfroma backupdependingonthetypeofbackupperformed.Itisnot necessary toknowthebackuptypetoperformanyofthelist,verify,recreateor restoreoptions, asthesystem willread thebackuptodeterminethebackuptype, and presentsonlyadditionaloptionsthatarerelevanttothattype ofbackup.
Use BackupOptionstocreateabackupofthesystemthatcanbeusedtoreinstall thesystemfroma systemfailure,ortousethebackuptoinstall othersystems. Additional optionsavailable fromtheBackupOptionsmenuenable youtobackup a smallerpartofthesystemoronlyspecificfilesor directories.
Configuration
Options
Thismenuprovidesadditionaloptionsforconfigurationtasks,suchasproviding accesstolocalandremote users,addingand deletingentriesfromexcludelists, and creatingordeletingvirtual devicedescriptions.Thethis menuisdisplayed below:
Backup & Recovery Options
Move cursor to desireditem and press Enter.
Backup Options List Backup Contents Verify a Backup
Recreate Volume Groups,Logical Volumes & Filesystems Restore Data from aBackup
Initiate SP Node Bootand Install
F1=Help F2=Refresh F3=Cancel F8=Image F9=Shell F10=Exit Enter=Do
Thefollowingoptionsareavailable onthismenu:
LocalUserAccess
Providesbackuppermissiontospecificorall usersonthesystem. Youcanalsoindicatewhichlocaltapedrives orvirtualdevicesthe usersareallowedtoaccessandthedirectoriestowhichtheyare allowedtosave backupimages.
Remote Services
Providesbackupaccessfromremotesystemstolocaldevicesor directories.Youcanindicatewhichusersontheremotehosts are allowedaccessandthespecificdevices ordirectoriestowhichthey areallowed tobackup.
Thisoptionisalsousedontheclientsystem toindicatewhich serversto whichtheywanttobackup. Onlyserversthathave grantedaccesstotheclientcanbe configuredontheclient.
Virtual Devices
Adds,lists,and removesvirtualdevices.Virtualdevicesare logical devicenamesassignedtooneormorephysicaldevices,providing a simplerwaytobackuptomultipledevices orautoloaders.
ExcludeLists Enters,lists,ordeletesentriesfromanexcludefile.Theexclude file containsnamesof individualfilesordirectoriestoexcludefromall backupsgeneratedbySysBack.
NetworkBootConfiguration
Createsnetworkboot imagesthatenable clientmachinestobe bootedfromthenetwork,thereforerequiringnolocalboot media.
Tape
Drives
Use thisoptiontochangethephysicalblocksizeoftapedrivesorenableor disable tapedrivesonthesystem.Thisisparticularlyusefulwhenyouwantto temporarilydisableclientmachinesfromaccessingthetapedrives.Anadditional option enablesyoutounloadorejectatapecartridgefromatapedriveortape autoloader. Themenuisdisplayedbelow:
Configuration Options
Move cursor to desireditem and press Enter.
Local User Access Remote Services Remote Command Access Virtual Devices Exclude Lists
Network Boot/InstallConfiguration
F1=Help F2=Refresh F3=Cancel F8=Image F9=Shell F10=Exit Enter=Do
Figure2-3.ConfigurationOptions | | | | | | | | | | | | | | | | | |
Utilities
Thismenuprovidesa listofmiscellaneousoptions. Theoptionsonthismenu might differdependingonyourlevelofAIXinstalledandmightchange asnew optionsareaddedtoSysBack.
Device
Selector
Screens
Whenselectingabackup, list,verify,recreateorrestoreoptionfromanySMIT menu,youarepromptedforthedevice,directory,orfilename touse.
Varioustapedevices,virtualdevices,orfilename optionsare displayed,depending onthebackuppermissiongrantedthespecificuser orhost.Whenyoubackuptoa localdeviceordirectory, thebackupoptionsaredeterminedbythelocalaccess, as definedusingtheAddorChangeDevice/Directoryaccessto LocalUsersoption.
Tape Drives
Move cursor to desireditem and press Enter.
List All Defined TapeDrives Configure a DefinedTape Drive Unconfigure an AvailableTape Drive Change Tape Drive Characteristics Unload/Eject Tape fromDrive
F1=Help F2=Refresh F3=Cancel F8=Image F9=Shell F10=Exit Enter=Do
Figure2-4.TapeDrives
Utilities
Move cursor to desireditem and press Enter.
Display Sysback ProductInstall History Print or Display SystemConfiguration Create a Bootable Tape(without data) Create a Bootable CD/DVD(without data) Change Tape Boot Defaults
Create CD/DVD BootDefaults
Change Read Permissionon a Disk Image File Create or Edit an LVMInformation File Create a Custom InstallationDiskette Change Program Defaults
Logging
F1=Help F2=Refresh F3=Cancel F8=Image F9=Shell F10=Exit Enter=Do
Figure2-5.Utilities | | | | | | | | | | | | | | | | | | | |
Whenyoubackuptoa remotebackupserver,thebackupoptionsare determined bytheAddorChangeClient HostAccesstothisServeroptionexecutedonthe server.Ifnodirectoriesaredefinedfordiskimagefilebackups,thennodiskfile optionsareprovided.
Figure2-6showsthebackupoptionsthatmightbe includedontheSMITmenu:
Thefirst columncontainsthedevicetypeand canbe anyof thefollowing:
VirDev Virtualdevicesthatyouhaveconfigured.Thedevicename(vdev0) isautomaticallyassignedbythesystem.Thedescriptionshown is eitheronethatyouassignora defaultdescriptionassignedbythe system.Thephysicaldevices thatmakeupthevirtualdeviceare listedat theendofthelineinparentheses.
Tape Tape drivesavailableonthelocalsystem.Localtapedrives are always displayedfirstinthelist.
Dskt Diskettedrivesonthelocalsystem.Adisketteoption isnot displayedfor asystembackup.
Dir For backupoptions, adirectoryname, iftheuserhaspermissionto backuptoadisk file.Thedirectoryshown isthedirectoryor directoriesspecifiedwhenbackuppermissionwas enabledforthe user.For list,verify, andrestoreoptions,allfiles intheuser’s backupdirectoriesaredisplayed.
File For list,verify, recreateand restoreoptions,thenameofa local diskimagefile.Only filesinthedirectoriestheuser hasaccessto aredisplayed. Filesofallbackuptypesareshown.
Hostname: Aremoteoption.Thehostnameisthenameofa serverfor which thishost hasremoteaccess. Theinformationcanbe anyoneof the following:
Backup Options
Move cursor to desireditem and press Enter.
Backup the System(Installation Image) Backup the Systemto CD/DVD
Backup Volume Groups Backup Filesystems Backup Logical Volumes Backup Files orDirectories
+---+ | SelectBackup Device or Network Install Image Directory |
| |
| Move cursor todesired item and press Enter. |
| |
| Dir /usr/lpp/sysback/images/local | | hambone.austin.ibm.com/dev/rmt0 5.0 GB 8mm Tape Drive |
| |
| F1=Help F2=Refresh F3=Cancel | | F8=Image F10=Exit Enter=Do |
F1| /=Find n=Find Next |
F9+---+
Figure2-6.BackupOptions | | | | | | | | | | | | | | | | | | | | | | | | |
TapeDriveName
Tapedrives ontheremote machine.Onlyremote tapedrives onhoststhathavegrantedaccessto thishost,aswellasthosethathavebeendefined bythelocalhost,areincludedonthisselector screen.
Virtual DeviceName
Virtualdevicesconfiguredontheserver.The virtualdevicedescriptionfromtheremotemachine andthephysicaltapedrivename(s)areshown. Onlyvirtual devicesforhoststhathavegranted accesstothishost,aswellasthosethathavebeen definedbythelocalhost,areincludedonthis selectorscreen.
FileorDirectory
Forlist,verify,recreateandrestoreoptions, a filenameisshown foreachdiskimagebackupfile thatexistsontheserverinthedirectoriesforwhich thishosthasaccess.For backupoptions, a
directorynameisshown foralldirectoriesthishost haspermissiontowriteto.
Youmust selectoneoftheoptionsprovidedontheselectorscreenbefore proceeding.Afteryouselectanoption,youcanchangethedevice,filenameor uniqueIDselectedonthedialogscreenthatfollows,butthebackupcannot executeunlessyouhavepermissiontoaccessthespecified deviceordirectory.
Backups
to
Disk
Image
Files
Toperform adiskfilebackup, selecta directorynamefromthedeviceselector screen.Afilename isautomaticallygeneratedasfollows:
/Directory/Type.Hostname.UniqueID
The filenamecontainsthefollowingparts:
Directory Thedirectoryselected.
Type Thetype ofbackupto beperformed.Oneofthefollowingisused:
SB SystemBackup VG Volumegroup LV Logical Volume FS Filesystem FD File/Directory Period(.) Delimiter.
Hostname Thenameofthehostperformingthebackup. Thisissetto “localhost”if nohostnameisdefined.
Period(.) Delimiter.
UniqueID AuniqueIDthat,bydefault,contains thedateandtimeofthe backupin“MMDDhhmm”format. Forexample,ifa backupis madeonFeb.28at3:20P.M., theuniqueIDwouldbe“02281520”.
YoucanlaterchangethisIDto anyothervaluethatmight more accuratelydescribethebackupcontents.
AlthoughthefilenameinSMIT isdisplayed onlyasshownabove, mostbackups actuallycreatemorethanonefile,eachnamedasabove,butwith anadditional extension.Thefirst filehasa “.TOC”extension,indicatingthefileisthetableof contentsofthebackup.For aFile/Directorybackup, the“.TOC”filealsocontains thebackupdata,becausethereisalwaysonlyoneimageinthisbackup.For all otherbackuptypes,an additionalfileiscreatedforeachlogicalvolumeor filesystem includedinthebackup,with thelogicalvolume nameasthefile extension.Thisfilecontainstheactualbackupdataforeachlogicalvolumeor filesystem.
Backup,
List,
Verify
and
Restore
Command
Output
Screen
Theoutputscreenforthebackup,list,verify,and restoreoptionsisdifferentfrom thatof otherSMIT-executed commands.Thisscreenprovidesthefollowing advantages:
v OutputisnotsavedintheSMITlogfile(smit.log).Thisprevents verylongfile listsfromtakingunnecessaryspaceonthedisk.Youare stillprovidedtheoption ofwritingtheoutputtoa logfileafterthecommandhascompleted.
v Thereisnodelaywhen thecommandhascompleted. Thedelayisnormally requiredforSMITprocessingandwritingof thesmit.log file.
v Commandoutput(stdout) anderror(stderr)aredisplayed inseparatewindows. Thisprovidesmuchcleaneroutputforcommandsthatprovidebothstandard outputandstandarderrormessages.
v Thecompletecommandandthetimethecommandstartedandendedis displayedatthetopofthescreen.
Thefollowingisanexampleoftheoutputofa file/directorybackupexecuted fromSMIT:
Notethatthescreenisseparatedintotwo“windows.” ThefirstisforCommand Output(stdout).ThesecondisforCommandError(stderr) andStatus.The
COMMAND: mkdirback-hhambone.austin.ibm.com -f/sysback.images/fatrat/backu ... STARTED: Feb 28 18:37:36 ENDED: STATUS: Running
Command Output Generating file list..
Command Error / Status
NOTE: Estimated megabytesis approximate since data is compressed. Backing up Files "/tivoli"
Start date is MonFeb 28 18:36:31 2000 User is root atfatrat
Estimated size is678 MB
ESTIMATED PROGRESS
---+---+---+---% Complete| Elapsed Time | Megabytes | Kbytes/Sec
---+---+---+---1 | 0 minutes of 42 | 7 of 678 | 272
CommandErrorsectionisalwaysusedtodisplayerrormessagesbutisalsooften usedforotheroutput,suchasfilelists,statusindicators,andsoon.
Intheaboveexample,a file/directorybackupofthe/home/datadirectorywas performed. Theuserselectedtheprogressindicatorreportoutputtype duringthe backup, ratherthanthelistof files.The progressindicatorshowstheestimated timeandamount ofdatatobebackedup,theactualpercent,time,andamount complete, andtheaverageperformanceinkilobytespersecond.
Whenthecommandhascompleted,youcanperformthefollowingfunctionsby pressingtheappropriatefunction key:
F1Help Displaysahelp screenthatprovides detailsofthefunctionsyou canperformfromthis outputscreen.
F2Refresh Erases andredisplaysalltheinformationyousee. Thisisnecessary onlyifthereareothercommands,suchassystemconsole
information,runningthatoutputtothis terminalandoverwritethe commandoutput.
F3Return ReturnstothepreviousSMITdialogscreen.
F4Select Toggles betweentheCommandOutputand theCommand Error/Status window,enabling eachtoscrollindependently.The activewindow isindicatedbythearrows(===> window<===).
Afteryouhaveselectedthewindowtoscroll,youcanthenmove through theoutputusingthefollowingkeys:
Page Down Scrollforwardonescreen
Page Up Scrollbackwardonescreen
Down—Arrow/Enter Scrollbackwardoneline
Up—Arrow Scrollbackone line
Home Displayfirst screen
End Displaylastscreen
F5Save Savetheentireoutputinalogfile.Youare askedtoenterthe nameofthelogfile.Thedefaultfileis$HOME/sysback.log,where
$HOMEistheuser’shomedirectory.Eitherentera newfilename orpressEntertoacceptthedefault.Thefollowingexampleshows a sampleoutputfile:
COMMAND: mkdirback -f/dev/rmt1 -s /home/tj START TIME: Mar 20 02:22:30
END TIME: Mar 20 02:25:49 STATUS: Successful
============== Command Output ============== Rewinding rmt1 ...
Generating file list ..
File/Directory backup completed successfully.
============== Command Output ============== Backing up Files */home/tj*
Start date is Thu Mar 20 02:22:33 1997 User is root at sysdev41
ESTIMATED PROGRESS
---% Complete | Elapsed Time | Megabytes | Kbytes/Sec
---100 3 minutes of 3 170 of 170 913 Backup ended Thu Mar 20 02:25:46 1997
170 megabytes written to 1 volume.
SMIT
Help
Screens
YoucanobtainhelpinformationfromanypointwithinSMIT.Ifamenu selection iscurrentlydisplayed,highlightafunctionand pressF1forinformationregarding theuseofthatfunction.Foranydialogselection,F1providesinformationonthe useofthatselection,theoptionsavailable,andhow theyaffectthefunction being performed.
SMIT
Fastpaths
From anySMITmenu ordialogscreen(whereyoutypeorchangeoptions), press F8todisplaytheSMITfastpath forquicklyreachingthatselectionfromthe commandline.Later, toskipdirectlytothedesiredselection,youcantypesmit
fastpathat thecommandline,wherefastpath isthefastpathforthedesired selection.
Obtaining
Command
Line
Options
from
SMIT
YoucanexecuteanySMIT commandoutsideofSMIT byplacingthecommandin a shellscript.Youcanplacemultiplecommandsinshellscriptstobe executedin sequence, enablinga sequenceofmultiple commandstobeperformedwithout user interaction.Youcanalso placetheshellscriptsincron,anAIXjobscheduling facility.
ToobtainthecommandlineoptionsforaSMITcommand, usethefollowingsteps: 1. SelecttheSMIToptiontoperform andanyadditionalselectionsrequiredfor
thisfunction.
2. Fill outanyfieldsorchangethefieldvaluesinthedialogscreenasyouwould whenexecutingthecommandfromSMIT.
3. BeforepressingEntertoexecutethecommandfromSMIT,pressF6toshowthe commandonthescreen.
Singlequotes(’)aroundtextarerequiredonlywhenthereismorethanoneword toa singlecommandargument.Theydo notneed tobeusedtosurroundasingle word.
Backup, list,verify andrestorecommandscontainthecommentindicatingthatthe prefixofthecommand/usr/sbin/sbsmitout-sNshouldbeomitted.Thisprefix causesthecommandtobeexecutedwithin thetwo-partSysBackSMITcommand outputscreenpreviouslydescribed.Donotusethisoutputscreenshouldwhen executingcommandsat thecommandlineiftheintentionistonotrequireuser interaction.
Backup Files or Directories
Type or select valuesin entry fields. Press Enter AFTER makingall desired changes.
[Entry Fields] Hostname of server hambone.austin.ibm.com
Device name /dev/rmt0
Report output type progress indicator + +---++
| SHOW COMMAND STRING |+
| | #
| Press Enter or Cancelto return to the |
| application. |+#
| |
* | # Ignore "/usr/sbin/sbsmitout-sN" prefix |+ | # when executingoutside of SMIT: |
| |
| /usr/sbin/sbsmitout-s7 mkdirback -h’hambone.austin.ibm.com’ -f’/dev/r |
| mt0’ ’-x’ ’/home’ |
| |
F1| F1=Help F2=Refresh F3=Cancel | F5| F8=Image F10=Exit Enter=Do | F9+---+
Chapter
3.
License
Configuration
Tolicenseyour IBMTivoliStorageManagerforSystemBackupand Recovery (SysBack)software,youmustsimplyinstallthe:
v tivoli.tsm.client.sysback.license.rte v tivoli.tsm.client.sysback.license.cert
filesetsincludedonyour productmedia inadditiontotheinstallationofthebase tivoli.tsm.client.sysback.rtefileset.
Speciallicensingmeasures applyforcustomersusingSysBackversions 5.1-5.4. Thereare nolicensefilesetsforthisversionofSysBack.For detailedinformation relatedtolicensingyour product,pleaserefertoyour productREADMEfile locatedat:/usr/lpp/sysback/README.txt,http://sysback.services.ibm.com,or otherdocumentationthataccompaniedyourorder.
Chapter
4.
Performing
Backups
Assoon asSysBackisinstalled,youcanperform abackuptoanylocaldeviceor tothedefaultSysBackbackupimagefilesdirectories.
ToaccesstheBackupOptions: 1. Atacommandline,typesmit.
2. SelectIBMTivoliStorageManagerforSystemBackupandRecovery. 3. SelectBackup&RecoveryOptions.
Youcanalso accessthismenuusingthefastpath.Todo this,typesmitsb_backup at acommandline.Thefollowingscreenisdisplayed:
Youcanselectanyofthebackupoptions,eachofwhicharedescribed indetailin this chapter.Thefirst option,BackuptheSystem(InstallationImage),isusedto createa backupoftheoperatingsystem andanyadditionallyselectedvolume groups. Thisistheonlybackupfromwhichthesystemcanbereinstalledafteran operatingsystem failure.Allotherbackupsoptionsbackupsmallerincrementsof data,suchasvolumegroupsorselectfilesystems.
Understanding
Incremental
Backups
Incrementalbackups makeitpossibletobackuponlydatathathaschangedsince a priorbackup, significantlyreducingthebackuptimeandmediausage.
Incrementalbackups canbe performedforboth volumegroupandfilesystem backups.
Youperform anincrementalbackupbyindicatinganincremental backuplevel. Thislevelindicates thatonlyfilesthathavechangedsincethemostrecentprevious
Backup Options
Move cursor to desireditem and press Enter.
Backup the System(Installation Image) Backup the Systemto CD/DVD
Backup Volume Groups Backup Filesystems Backup Logical Volumes Backup Files orDirectories
F1=Help F2=Refresh F3=Cancel F8=Image F9=Shell F10=Exit Enter=Do
levelshouldbeincludedinthebackup. Specifyinglevel0 indicatesthatallfiles shouldbe backedup.Level 0isstillconsideredanincrementallevel;it isthebase for allincrementallevelsthatfollow.
Anynumberof incrementallevelsfrom0through 9canbeused, butusingtoo manylevelscancomplicatetherestoreprocess.
Consider thefollowingincrementalbackupexamples:
Incremental backupof afilesystem isperformed asfollows:
Monday level0 Tuesday level1 Wednesday level2 Thursday level3 Friday level4 Saturday level5 Sunday level6
Inthiscase, ifyouneedtorestoretheentirefilesystem fromthebackup
performedonSunday,youmust restoreeverysinglebackupfrom0through6 in orderto incrementallyreapplythechanges todate.Alwaysrestorelevel0first (when restoringfromscratch)becauseonlylevel0containsa backupoftheentire filesystem.Then,inthecorrectsequence,reapplyeachlevelthatfollows,adding, replacing, andremovingfilesuntil thefilesystemsreturntotheirmostrecentstate.
Incremental backupof allvolumegroups,excepttherootvg group,isperformed as follows:
1stofmonth level0 everyFriday level4 Monday-Thursday level7
Inthisexample,a volumegroupbackupisperformedonthefirstdayof the month. EveryFridaya level4 isperformed, andeveryotherdayoftheweek (excluding SaturdayandSunday)alevel7 isperformed.Becauseonlythreelevels are used,nomorethanthreebackupsneedtoberestored.Ifyouneedtorestore theentirevolumegroup becauseoffailure,therestoresequencewouldbe: 1. Restore level0.
2. Restore themostrecentlevel4ifa level4 wasperformedsincethelastlevel0. 3. Restore themostrecentlevel7ifa level7 wasperformedsincethelastlevel4
orlevel0.
Note: Usecarewhencombiningbothvolumegroupand filesystemincremental backups.An incrementalvolumegroupbackupisidenticaltoperformingan incrementalbackupofeachindividuallogicalvolume andfilesysteminthe volumegroup.Therefore,afterperformingavolume grouplevel0 backup, youcanperform otherincremental backuplevelsforspecific filesystems.If alevel0backupofa filesystemisperformedafter alevel0ofthevolume groupcontainingthatfilesystem,anyhigher-levelincrementallevelsfor thatfilesystemareapplied tothemostrecent(filesystem)backup.
For volumegroupincremental backups,an entirelogicalvolume isincludedifany part ofthelogicalvolume haschanged.Ifnodatainthelogicalvolume had changed,thelogicalvolumeisnotincludedinthebackup.
Understanding
Pull
Backups
PullBackupshelpyoucentrallymanageyourbackups byenablingyoutoinitiate, and therebycontrol,backupoperationsfroma singlelocation.Youcanfurther automate thiscentralmanagementof backupsusingtheSysBackScheduling and ScriptingfunctionsdescribedinChapter20,“ScheduledBackupsand Scripts,”on page20-1.
Themachine that“pulls”thebackupiscalledthe“initiator”whilethemachine thatisbackedupiscalledthe“backupsystem”.Themachine thatreceivesthat backupdataiscalledthe“datadestinationsystem”.
Pullbackupenablementrequires, notonlyRemoteServicesconfiguration, butalso RemoteCommandAccessconfiguration.TheRemoteServicesconfiguration enablesthedatatobesentacrossthenetworkfromthebackupsystemtothedata destination machine.TheRemoteCommandAccessconfigurationenablesthe initiator systemtopullthebackupsfromthebackupsystem.
PullBackupscanbedone inatwo-wayorthree-waymanner.Whentheinitiator system isalso thedatadestination system,thisisatwo-waybackup.Whenthe initiator systemisa differentmachinethanthedatadestination system,and differentthanthebackupsystem,this isa three-waybackup.
Notethatforthree-waybackups,RemoteServicesmust beconfiguredbetween MachineA,thebackupsystem,andMachineB,thedatadestination.Remote CommandAccessmust bealsoconfigured betweenMachineA,thebackupsystem, and MachineC,thebackupinitiator.FormoreinformationonconfiguringRemote Servicesand RemoteCommandAccess,seeChapter8,“RemoteServices,”onpage 8-1.
ThefollowingSysBackbackupoptionsarediscussedinthischapter: v BackinguptheSystem(InstallationImage)
v BackingupVolumeGroups v BackingupFilesystems v BackingupLogicalVolumes v BackingupFilesorDirectories
Backing
up
the
System
(Installation
Image)
Asystembackupcanbeusedinthefollowingways: v Toreinstalltheentiresystemtoitsoriginalstate.
v Torecreateorrestorespecific volumegroups, filesystems, orbothonanalready activesystem.
v Toinstalla systembackupcreatedonone machineontoanothermachinewitha differentprocessor,platformtype,or othersystem devices.Thisiscalledcloning.
However,themachinebeingbackedupmusthaveinstalledallofthedevice supportforthedestinationplatformtype,processortype andotherrequired devices.
1. From theBackup&RecoveryOptions menu,selectBackuptheSystem (InstallationImage).
Notes:
a. Youmustbe loggedintothesystemasarootuser. b. Ata commandline,type smit sb_sysback.
2. Iftherearevolumegroupsonthesystem otherthanrootvg, selectthevolume groupstoincludeinthebackup.From thelistofvolume groups,eitherselect
none(rootvgonly)orhighlighteachadditionalvolumegrouptoinclude and pressF7.PressEntertocontinue.
3. On theDevice Selectorscreen,highlightthedeviceyouwanttouseand press Enter.
4. Oneofthefollowingscreensisdisplayed.Thesescreensshowthedefault optionsandvaluesavailablewhenyoubackuptoeitheralocaltapedriveora diskimagefile.
Backup the System
Type or select valuesin entry fields. Press Enter AFTER makingall desired changes.
[Entry Fields] Hostname of server hambone.austin.ibm.com
Device name /dev/rmt0
Create a Power Backup? no +
Report output type progress indicator + Platform/kernel typefor tape boot image [rspc] + Network install supportto include [] + Include non-JFS logicalvolumes? yes + Rewind tape beforestarting backup? yes + Forward to End of Tapebefore Starting Backup no + Compress data beforewriting to media? no +
User description []
Buffer size (in Kbytes) [64] +#
Preserve physical partitionmapping? no + Device name for remotevolume prompt []
Non-rootvg Volume Groupsto include [] + [MORE]
F1=Help F2=Refresh F3=Cancel F4=List F5=Reset F6=Command F7=Edit F8=Image F9=Shell F10=Exit Enter=Do
Thefields havethefollowingdefinitions:
BackupDataHostname
Thehostnameofthedatadestination systemonwhichthe selectedbackupdeviceorfileexists.Youmayeditthisfieldas necessarytospecifyathehostnameofaremote systemnot listedinthedeviceselectordialogscreen. Thisisusefulwhen initiatinga PullBackup.
Devicename Thedevice,ifatapedriveorvirtualdevicewas selected.You mayeditthis fieldasnecessarytospecifya deviceonaremote systemnotlistedinthedeviceselectordialogscreen. Thisis usefulwheninitiatinga PullBackup.
Imagesdirectory
Thedirectoryname,if previouslyselected.Youcannotchange thisfieldfromthisscreen.
Createa PowerBackup?
Default=no.UseTabtochangethisfieldto“yes”ifyouwant thisbackuptobea “Power”backup.APowerbackupbacksup allfilesystemsas“raw”logicalvolumes,whichusually
providesmuchbetterbackupandrestoreperformance,but imposesthefollowinglimitations:
v Youcanrestoreonlyrawlogicalvolumesfromthisbackup. Therefore,whenchoosingtorestoredatafromthebackup, youwillbe allowedtorestoreonlyanentirelogicalvolume andonlyifitisinactive.Becauseofthis,youcannotrestore anyindividualfilesordirectories,onlyentirefilesystems; andnofilesystems,suchas/,/usrand/varcanbe restored sincetheyare alwaysactive.
v Becauseallfilesystemsarebackedupasrawlogical
volumes, theentirelogicalvolumeisbackedupevenif only
Backup the System
Type or select valuesin entry fields. Press Enter AFTERmaking all desired changes.
[Entry Fields] Backup Data Hostname hambone.austin.ibm.com Images directory /sysback.images/fatrat>
Create a Power Backup? no +
* Backup file ID [03061826]
Dynamically CreatedBackup File ID no + Report output type progress indicator + Include non-JFSlogical volumes? yes + Compress data beforewriting to media? yes +
User description []
Host read permission all hosts + User read permission all users +
Buffer size (inKbytes) [64] +#
Preserve physicalpartition mapping? no + Overwrite existingbackup with same ID? no + Non-rootvg VolumeGroups to include [] + [MORE]
F1=Help F2=Refresh F3=Cancel F4=List F5=Reset F6=Command F7=Edit F8=Image F9=Shell F10=Exit Enter=Do