Home
CBMR for Linux - User Guide - Cristie Data Products GmbH
Contents
1. Library Backup Location A locally attached tape library can be used as a Storage device A CBMR library is defined as a drive and a number of tapes You require the CBMR Library Support module to run this Cascaded Backup Location A cascaded Backup Location is a number of separate Backup Locations that are linked together so that when the first fills it continues to the second and so on Typically one could use this on tape drives or virtual tape drives In order to create a Cascaded Backup Location you need first to create individual backup Locations that you can then cascade This type is not particularly useful in a CBMR context where speed of recovery is important 12 CBMR for Linux User Guide Default Backup Location Once you have configured the backup location you should set it as the default Do this from the SET DEFAULT BACKUP LOCATION option on the Backup Locations menu The device name marked with an asterisk is the current default device Cristie gubax Eackup Locations Scan Creat Default Eackup Location Edit Delet ExampleFile Set C ExampleITSM Set I FileBackup Set D ITSMNode Exit Library Cascade Redraw L Exit Copyright C Cristie Data Products Ltd 2003 2007 Select the device that you want to be the Default and press Enter Cristie gubax Backup Locations Scan Creat Default Backup Location Edit A E ExampleFile Set C ExampleITSM Set I Fil
2. Filesystem label OS type Linux Block size 48H96 Clog 2 Fragment size 4896 Clog 2 971528 inodes 1939848 blocks 96992 blocks 5 044 reserved for the super user First data block H 6H block groups 32768 blocks per group 32766 fragments per group 16192 inodes per group superblock backups stored on blocks 32760 65536 98364 131972 163648 196688 229376 262144 294912 327608 364446 393216 425904 450752 491520 5242700 5576056 589824 622592 655368 688128 720896 753664 706432 619708 651966 604736 917584 358272 395834848 141504865 1446576 1661344 1114112 1146608 1179646 1212416 1245164 1277952 131878 1343466 1376256 14809024 1441792 1474568 1587325 154486896 15727664 1685632 16356464 1671166 1783936 17367B4 1769472 16802248 1835888 1867776 1988544 1933312 Performing a Recovery 35 After partitioning the disks they will be formatted and then the files will be restored from the DR Backup fd limnits html ja jis footer html header html index html en index html ja jis ip based html Mats html naMe bazed htul en name based html ja jis mtrs lash var yp Makefile nicknames mnt slash var yp binding Files 927489 skipped 74 Directories Si Bytes 1816729963 Errors H Time taken 3175 seconds Module mptfc for kernel 2 4 26 8 not found Enter D to copy this module from a removable device Enter the directory path if this module i
3. Whether or not you have activated remote control the GUI Main Menu will be displayed Cristie Bare Machine Recovery 1 Test Backup Location Redraw L Copyright C Cristie Data Products Ltd 2003 2007 Check Loaded Drivers Before you can connect to a network and before you can write data to your disk storage you need to ensure that the correct drivers are loaded for you hardware 26 CBMR for Linux User Guide The Linux recovery OS will attempt to load drivers for devices that it can recognise during the boot process and before the GUI is displayed You can check which drivers have been loaded by selecting LIST LOADED MODULES from the HARDWARE DRIVERS menu sO CARE OM MSI Main Menu Test Autom Manua HardH Read Advan Exit 7 2 Hardware Drivers Load Modules Unload Modules List Loaded Modules system Details Skip Hard Disks set Keyboard Driver Exit i ae F 4 a 6 Size Used by 7348 H 7144 Performing a Recovery 21 If any of the drivers are missing you can load individual drivers manually by using the LOAD MODULES menu Cristie Bare Machine Recovery Main Menu Hardware Drivers Load Modules 2 Network Modules 3 Other Modules Exit sO Oe Oo Ba oj Redraw L Copyright C Cristie Data Products Ltd 2003 2807 Choose the appropriate driver for your hardware from the list 4 1 Connect to Network Before you can access the configuration or backup da
4. Performing a Recovery 39 w redhat Welcome to cbmrtest cristie com Username po Please enter your username gt Language gt Session gt Reboot gt Shutdown Sun Feb 11 03 04 PM Your machine will reboot to the state it was in when it was backed up Once it reboots you may continue by recovering the Application data from a backup APPENDIX A gt Supported Software Linux Versions Performing a Recovery For glibc22 For glibc23 32 bit Redhat Tidy 1 2 Lid x0 Redhat Enterprise 2 1 AS ES WS SUSE 7 1 7 2 7 3 8 0 8 1 Mandrake 8 0 8 1 8 2 9 0 Knoppix 31 Slackware 8 0 8 1 Gentoo 1 0 1 1a 1 2 Fedora Debian gt Supported File Systems The file systems that are currently supported are 9 3 onwards 8 2 onwards 9 1 onwards 3 2 onwards 9 0 onwards 1 4 onwards Core 1 onwards ext2 ext3 minix jfs msdos reiserfs fat vfat xfs
5. Menu Read Configuration 1 Setup Network setup Remote Share select Configuration From Remote Share setup Local Disk Read Configuration From Local Disk setup Backup Location Read Configuration From Backup Location Exit J OOO ee Oo BI Copyright C Cristie Data Products Ltd 2003 2007 30 CBMR for Linux User Guide The example shows a system that uses a SMBFS mounted central configuration store Cr supp B77 Lin config administrator RR 16 6 8 36 Cancel The fields have the following significance when using a smbfs share on a Windows machine ServerShare cr supp O7 Linux lt hostname gt lt sharename gt you can replace the lt hostname gt with the IP address of the machine Config path Folder within share if required Username administrator Valid user with Local Administrator rights for Workgroup below Password Valid password for Username ServerlPAddress 10 0 0 36 IP address of the machine If IP address has been used instead of lt hostname gt in ServerShare this field can be left blank Workgroup cr supp 07 Domain Workgroup machine name usually machine name for a user that is a Local Administrator There are occasions when it can be omitted The fields have the following significance when using a nfs share Field Value Comments 10 0 0 36 Linux ipaddress lt sharename gt Config path Folder within share if required Performing a Recovery 31 After clicking OK select SEL
6. Time taken 2348 seconds Press Enter to continue The backup completes with the message above The information shown in both of the above is for logging level 4 default There is a manual page for gubax available by typing man gubax Example Script Scripts are held in etc cristie scripts cobmr scp will backup the whole machine and contains the following commands CBMR backup script which means Performing a DR Backup 17 Mode Overwrite Overwrite the previous contents SNumber 0 Use dataset O SubDirs Backup from with all subdirectories Normally it is a waste of time and space to backup temporary files These could be excluded by adding the line tmp Xclude afterthe Subdirs Other features which may affect your backup are The parameter LocalFS 1 is set in ubax ini and this ensures that the backup will only include local file systems CD ROM and network shares will be excluded The ubax command line option local fs 0 may be used to override the LocalFS parameter at run time The ubax command line option same_filesystem 1 will limit the backup to the same filesystem as each included directory and will not descend into mount points There is no equivalent setting in ubax ini For more examples type man ubax 3 3 Saving Configuration Data Configuration information including details of disks and network cards must be saved for each machine to be recovered This may be saved to a unique floppy disk for each
7. address of the interface if DHCP is available on the network modprobe BusLogic H Loading lib kbd keymaps i3s66 quertyus map gz Press r to use remote control or ENTER otherwise Generating public private rsal key pair Your identification has been saved in etc ssh ssh_host_key Your public key has been saved in etc ssh ssh_host_key pub The key fingerprint is a d9 585 b6 e4 44 b5 67 e8 9d de da 5d c8 1c 83 root localhost Generating public private rsa key pair Your identification has been saved in etc ssh ssh_host_rsa_key Your public key has been saved in etc sshessh_host_rsa_key pub The key fingerprint is 9a 85 dd ch 64 4a Bc dd f5 d6 c3 5d 6d 2d ail S5 root localhost Generating public private dsa key pair Your identification has been saved in etc ssh ssh host dsa key Your public key has been saved in etc ssh ssh_host_dsa_key pub The key fingerprint is 41 b1 18 7f 94 14 581f f9 81 97 73 1c 41 6c af 2 f root localhost Please enter any extra network card driver name ENTER if none gt dhcpcd MAC address BB 4Mc 29 66 37 73 dhcpcd your IP address 18 80 68 28 Press ENTER to continue Running a remote terminal emulator with SSH capability will allow you to connect to the recovering machine on port 22 The login name is root and the password is root Once you have successfully logged in you have access to a bash shell Typing dr will activate a GUI GUI Main Menu
8. all machines on your network use this form Cristie gdisrec Configuration Store Configuration Store Path mt share config Floppy Disk Device Floppy Disk Mountpoint Redraw L Copyright C Cristie Data Products Ltd 2003 2007 20 CBMR for Linux User Guide If you are using a File Backup Location you must tell CBMR how to mount the share that leads to the device CBMR can mount file devices using SMBFS or NFS The share containing the file device should be mounted when creating configuration information NOTE The File Device Mount Target must be identical to the current entry in the mount table So if you have mounted the share using an IP address then the definition below should also use the IP address If you have mounted it with a hostname then the definition below should also use the hostname When you decide which method to use remember that the definition may have to be used in a recovery environment that has no name service Cristie gdisrec File Device Configuration File Device Mount Target 10 0 0 36 Linux File Device Mount Options username administrator password passwor I OK Cancel 5 User Manual 6 Exit Copyright C Cristie Data Products Ltd 2003 2007 If you do not wish to reveal the password omit the password parameter and you will be prompted for it when it is needed Once all the relevant fields have been filled in click OK Now save the configuration information usin
9. backup data CBMR can backup to tape drives tape libraries virtual tape drives files ITSM Nodes and cascaded locations The simplest way of creating a device is to use the GUI However you may also create the definition with a text editor The Backup Location definition is used in both the DR Backup and the Configuration Data 3 1 1 Command Line Interface It is unusual to define storage devices without the GUI However provided that you do not need to enter an encrypted password you may use a text editor to create a devices ini file Only ITSM and File Backup Locations can be handled this way The devices ini file which is located in etc cristie could be amended or created with entries like CBMRLinux Class 4 Path mnt windows backups drbackup vtd SizeInMB 0 Remote 0 However it is not recommended that this be done with an editor Backup Locations are best defined using the GUI Performing a DR Backup 7 3 1 2 Graphical User Interface gubax To run gubax type gubax This will show the main menu Cristie gubax Main Menu Executive Media Utilities Scripts Backup Locations Media Library Log Files Default Settings User Manual Exit i e A AM hi Copyright C Cristie Data Products Ltd 2003 2007 Before you start a DR Backup or save your Configuration Data you need to configure a Backup Location to define the location to which the data will be backed up Select BACKUP LOCATI
10. machine or to a central configuration store located on a network share To save the configuration information for each machine a command line program mkdisrec or graphical interface gdisrec may be used 3 3 1 Command Line Interface mkdisrec To use the command line configuration saving program type mkdisrec followed by the required options Some examples are shown here To save configuration information from a machine that boots using LILO to a unique floppy disk use mkdisrec f To save configuration information from a machine that boots using GRUB installed on dev hda to an NFS mounted share nfs configs use mkdisrec b grub d dev hda c nfs configs To save configuration information from a machine that boots using GRUB installed on Idev sda to a floppy disk and backs up to a file device mounted using SMB at Imnt backups use mkdisrec b grub d dev sda filedev_mount_target 10 0 0 36 cbmr filedev_mount_options username administrator password password To save the configuration information along with the backup use the a parameter e g mkdisrec a b grub d dev hda 18 CBMR for Linux User Guide This will cause the configuration data to be recreated and saved along with the backup data when the DR Backup is run There is no GUI equivalent to this parameter There is a manual page for mkdisrec available by typing man mkdisrec 3 3 2 Graphical User Interface gdisrec The graphical utility gdisr
11. sole use by CBMR and may not be shared with any other process particularly the BA Client The node must also be set up with the options Backup Delete Allowed Yes Archive delete Allowed Yes Password Expires O 10 CBMR for Linux User Guide Cristie gubax Create ITSM Backup Location Name ITSMNode ServerNane TSMServer NodeNane NewC BUR ES IN FSNane Renote Copyright C Cristie Data Products Ltd 2003 2007 For an ITSM Backup Location you also need to provide connection information for the TSM Server so that it can be accessed This data is specified in dsm sys If you have not already created the file you may do so by selecting SETITSMSERVER from the menu If you do use this function it will overwrite any existing dsm sys The file is created in the opt tivoli tsm client api bin directory Cristie gubax Backup Locations Scan New Backup Locations Create New Backup Location Edit Backup Location Delete Backup Location Set CSM Server set ITSM Server set Default Backup Location Exit Redraw L Copyright C Cristie Data Products Ltd 2003 2007 Performing a DR Backup 11 The displayed form allows you to specify the basic parameters for connecting to the ITSM server over TCP IP The parameters are written into dsm sys Ensure that you use the same SErvername on this form as the ServerName on the ITSM Backup Location form TSMServer 10 20 0 1 1500 OK 6 Set ITSM Server
12. way to install CBMR To install from an RPM package cd mnt fedrom Linux insta llyoglibeZx and then either com Com 7700s1 1 306 rem for install with ITSM client N B If you use this command and the ITSM Client has NOT been previously installed you will see the error noting that libApiDS so is missing If you are using a GUI with a folder view then you may install by double clicking the file icon or rpm i nodeps cbmr 2 00 1 i386 rpm _ for install without ITSM client If you do not have RPM available you may install the gzipped tar file as follows cd Emp tar xvz 7mnb cdrom lanuxyinstally glibeZx chomr Z2Z 00 Ls LIMA POS6 star GZ cd cbmr Sad 2 3 Licence This will install all the relevant files and a 30 day trial licence If you have purchased a full licence you will have been sent a 12 character licence key xxxxxxxxxxxx This may be applied with the command ubax licence Cbmr xXXXXXXXXXXXX 2 4 Uninstall To uninstall the package use the install script with u option i e instal u Installation 5 To uninstall the RPM package use rpm e cbmr 3 Performing a DR Backup The process of performing a DR backup requires three steps Create a Backup Location which defines where the backup data will be stored Perform a Backup to the storage device Save the Configuration Data 3 1 Creating a Backup Location A Backup Location is a definition of the entity to which you will
13. will change at a different rate and is therefore best backed up on separate schedules The main steps when performing the DR Backup for the first time are Create a Backup Location Save Configuration Data Perform a DR Backup The main steps when performing a recovery of the operating system are Boot the recovery OS Establish Network connection Load Configuration Data Recreate the disk structures Restore the OS files from the DR Backup Reboot to the recovered OS Thereafter you should recover the Application data 3 2 Installation Install CBMR for Linux from the CDROM There are 2 available versions to support both glibc 2 2 and 2 3 The glibc 2 2 files are contained in the Linux install glibc22 directory and the glibc 2 3 files are contained in install glibc23 If you do not know which version of glibc your Linux distribution uses there are readme txt files in both directories explaining which common distributions are supported by which files Alternatively the command lib libc so 6 will identify the version of the GNU C Library 2 1 Load Login as FOOL Create a mount point for the CD ROM with mkdir j mnt cdrom Mount the installation CD by typing mount dev cdrom mnt cdrom Modify this appropriately if your CD ROM drive is a different device node 2 2 Install If you are using CBMR with ITSM the ITSM client should be installed first If your system supports Redhat Package Manager RPM this is the simplest
14. 19 recovery log a remote ini restore err a restore log scsi a ubax ini Performing a Recovery 37 Configuration Se Configuration Se Text Document File Text Document File File File File File Text Document Configuration Se ERR File Text Document File Configuration Se gt Once you have saved the log files return to the Main Menu 4 5 Reboot to Recovered OS 7 Exit And Reboot From the Main Menu choose EXIT ANDREBOOT Make certain that you remove the CD and the floppy from their drives 38 CBMR for Linux User Guide GNU GRUB version 6 95 636K lower lt 391104K upper memory CBMR Recovery Red Hat Linux 2 4 20 90 Use the f and keys to select which entry is highlighted Press enter to boot the selected 05 e to edit the commands before booting a to modify the Kernel arguments before booting or c for a command line The highlighted entry will be booted automatically in 7 seconds kag redhat There may now be two initial RAMdisks to choose from depending on the Linux distribution that you are using The original one will be useless because you are running on different hardware and the new one which is named CBMR Recovery The old RAMdisk will only work on the old hardware Select the CBMR Recovery which should also be the default The system should now boot up Booting CBMR Recovery Files kerne initrd i Linu gt Uncompr
15. ECT CONFIGURATION from the menu below Cristie Bare Machine Recovery Main Menu Read Configuration Setup Network Setup Remote Share select Configuration From Remote Share setup Local Disk Read Configuration From Local Disk setup Backup Location Read Configuration From Backup Location Exit J OO Ll BI e D J 07 OF a Go ho e Redraw L Copyright C Cristie Data Products Ltd 2003 2007 Provided that the supplied credentials are accepted by the machine that offers the share then you will be shown a list of the configurations that are available Select the appropriate one from the list and press Enter Cristie Bare Machine Recovery Main Menu Read Configuration cr supp 4 Linux conf ig cbmrtest cristie com laptop localhost localdomain Exit 1 2 3 4 Je 6 Fe B Redraw L Copyright C Cristie Data Products Ltd 2003 2807 32 CBMR for Linux User Guide The configuration data has now been loaded Before starting to recover the machine choose TEST BACKUP DEVICE from the main menu Cristie Bare Machine Recovery Main Menu Test Backup Location Automatic Recovery Manual Recovery Hardware Drivers Read Configuration Advanced Options Exit And Reboot 1 Z a 4 da 6 7 Redraw L Copyright C Cristie Data Products Ltd 2003 2007 This will test the connection to the backup device asking for a Media Password Cristie Bare Machine Recovery Password Pas
16. ONS from the Main Menu Tape Drive If you are using a tape drive this can be automatically detected by using the SCAN New BACKUP LOCATIONS option from the Backup Locations menu Cristie gubax Eackup Locations Scan New Backup Locations Create New Backup Location Edit Backup Location Delete Backup Location Set CSM Server set ITSM Server Set Default Backup Location Exit Redraw L Copyright C Cristie Data Products Ltd 2003 2007 8 CBMR for Linux User Guide Any new devices found will be listed and will then be available to choose as default device Cristie Data Products Ltd CBMR 2 0 B3 LocalTaped alic xxx O ARCHIVE Python 28388 XXA3 72 Press Enter to continue Here the new Backup Location is named LocalTapeO Other types of device should be configured manually Choose CREATE NEW BACKUP LOCATION from the Backup Locations menu Can Creat Backup Location Type Edit Delet File Eackup Location 5et C ITSM Backup Location Set I Library Backup Location Set D Cascaded Backup Location Exit Exit Performing a DR Backup 9 File Backup Location A File Backup Location is a file that is formatted like a tape If you wish to backup to a file probably located on a network share choose FILE BACKUP LOCATION and fill in the form with the details The Path which is case sensitive defines the file via its mount point which must already be moun
17. a Hardy Read Linux Bash Shell set Dataset Number Edit Restore Script Log Files Dissimilar Hardware Server UBax Custom Commands settings Exit sO ee OM MSI Wo Cos m MOI e Exit Redraw L Copyright C Cristie Data Products Ltd 2003 2807 Cristie Bare Machine Recovery Main Menu Test Advanced Options Autom Manua Hardy Read Log Files Messages Restore Disrec Getini Copy Log Files To Floppy Copy Log Files To Share Exit sO fa Ll PA Exit Oo Oo J m Oe oo M e Redraw L Copyright C Cristie Data Products Ltd 2003 2807 Menu items 5 and 6 will copy the logs from usr local log and var log and record other data to help with problem diagnosis The following screenshot shows the files Saved on a Samba share Note the naming of the folder containing the log files w J Linwaconfigicbmrtest cristie com log File Edit View Favorites Tools Help Q Back ka Fi JO Search fer roles Address Folders E 3 Linux E backup E config 5 comrtest cristie com comrtest cristie com log 5 laptop 5 localhost localdomain 5 glibc22 E alibcz3 E LiveBackup Cache Ga MarketingStuff E Ch MsOcCache E E MssaQL My virtual Machines E RECYCLER 5 System Volume Information i company on Cristie File Server Filesrvy IL ay devices ini a disrec ini a dr log Fdisk getini log hwconk lspci messages modules network
18. e Data Products Ltd IBM Tivoli Storage Manager TSM and TIVOLI are trademarks of the IBM Corporation PC BaX UBax Cristie Storage Manager CSM SDB and CBMR Cristie Bare Machine Recovery are trademarks of Cristie Data Products Ltd HP UX and HP Ignite UX are trademarks of the Hewlett Packard Corporation Cristie Data Products Ltd New Mill Chestnut Lane Stroud GL5 3EH UK 44 0 1453 847000 Internet E Mail comr cristie com Website http www cristie com Contents 1 2 1 2 2 2 3 2 4 IA 3 2 3 3 3 4 4 1 4 2 4 3 4 4 4 5 Introduction PUDO a RE ee Vo O E E E E EAA o er E E E EE E A A E E A AE A EA E N NE E AE EE T A T DOCUMENT STIUC UTG ii a Prerequisites ini alii TRE CBMR FOCCS Sii ra aacis Installation CONCE siii ndo A tt NEA E E A E PEE EA AEEA sten Performing a DR Backup Creatine a Backup OCAUOI siinsdia ier a ar r a aa aa ILL BOMAN GE LENEI CO a A mz Grapaical User Interface SUD rl a seden N RENEE Disaster Recovery B CKU DD 2s sesssiossbrstsstgrdsssusss sasse iaa en fresca licita Sects UT SIMO DUONG ronen v n r Ovan bod ve skdn elias 3 2 2 Command Line tertace UD ax asian io 323 Graphical User Interface SUD AX caca Saving COMMBUTAU Oblate tess seein eles acai ada A n we deiue ides eeu yedernseVe oar rod Sia 3 39 L Command Line Interface MKdIS G somm moss vesd bss sides BA 33 2 Graphical User Interface SIS Gnosis aa E E E EE
19. eBackup ITSMNode Library Cascade Redraw L Exit Copyright C Cristie Data Products Ltd 2003 2007 You may check that the selection has taken by selecting the Set Default Device menu again Performing a DR Backup 13 3 2 Disaster Recovery Backup Files may be backed up from the command line program ubax or graphical program gubax 3 2 1 ITSM Options If you wish to backup to an ITSM Backup Location and need more than the basic parameters for connecting to your ITSM server you should configure your ITSM API client outside gubax To set up the ITSM API client you should edit the ITSM dsm opt user options and dsm sys system options files Note that the ITSM BA client may use separate files in the opt tivoli tsm client ba bin directory The default location for ITSM API client setup files is opt tivoli tsm ecltent apli Dia The files should be edited to point to the ITSM server with additional parameters that you wish to use In theory there should only be one dsm sys file and there may be many dsm opt files The location of each may be controlled by environment variables Hence you may use DSMI_CONFIG to identify the location of dsm opt and DSMI DIR to identify dsm sys for the API calls 3 2 2 Command Line Interface ubax To use the command line backup program ubax first configure a storage device using gubax see previous section Creating a Backup Location This only needs to be done once Once the device has been c
20. ec will run mkdisrec with the parameters that you specify To run gdisrec type gdisrec This will show the main menu 1 Eoot Loader If you are using lilo as a boot loader you can ignore the BOOT LOADER menu item if you are using grub you must select this menu and fill in the form with the name of the boot loader grub and the device where grub is installed e g dev sda NOT dev sdal which is a partition Performing a DR Backup 19 There are many different bootloaders available but by far the most common is grub CBMR defaults to using lilo because the boot location does not need to be specifed for it The grub bootloader on the other hand must have the location of bootloader defined there can be no default value The name of the bootloader used by your machine will usually appear briefly when it is booted Choosing the wrong bootloader will mean that the recovered machine will not boot Cristie gdisrec Boot Loader Boot Loader grub Boot Device dev sda OK 5 User Manual 6 Exit Redraw L Copyright C Cristie Data Products Ltd 2003 2007 gdisrec gives you the option of storing configuration information either on floppy disk or in a central configuration store If you want to use a unique floppy disk for each machine you can ignore the CONFIGURATION STORE menu item or leave it empty because it will then select the default floppy disk drive dev fdO If you want to use a central configuration store for
21. eck if this is correct or not If any of the lines is incorrect fix it and re run the script grub install this device map was generated by anaconda fd dev fda hd devesda mnt slash boot unmounted mntrslazh unmounted Press any key to continue_ When the missing drivers have been included a new initial RAMdisk is built Once that is completed press any key to return you to the Main Menu 36 CBMR for Linux User Guide NOTE The new initial RAMdisk will be built even if you are recovering to the same hardware The process may be controlled via the configuration file disrec ini In the DissimilarHardware section of this file the parameter DissimilarHardwareSupport 1 is the default setting If you change this to DissimilarHardwareSupport 0 then there will be no rebuild of the initial RAMdisk 4 4 Save Log Files 4 4 1 Saving Log Files There is a small chance that an error may occur when you reboot the computer If that is the case and the cause is not immediately apparent you may need to report the failure to Cristie They will want to have as much information as possible to help diagnose the cause of the problem Therefore it is recommended that before you complete the recovery you copy all of the log files that have been created thus far onto floppy disk or network share This may be done via Advanced Options Log Files Cristie Bare Machine Recovery Hain y Test Advanced Options Autom Manu
22. epi3ria Jra na3cnina CBMR for Linux User Guide March 2007 cristie Cristie Data Products Ltd Cristie Data Products GmbH Cristie Nordic AB New Mill Nordring 53 55 Gamla Varmdovagen 4 Chestnut Lane Stroud GL5 3EH 63843 Niedernberg SE 131 37 Nacka United Kingdom Germany Sweden Tel 44 0 1453 847000 Tel 49 0 60 28 97 95 0 Tel 46 0 8 718 43 30 Fax 44 0 1453 847001 Fax 49 0 60 28 97 95 7 99 Fax 46 0 8 718 53 40 cbmr cristie com cbmrOcristie de comr cristie se Copyright O 2003 2007 Cristie Data Products Ltd All rights reserved The software contains proprietary information of Cristie Data Products Ltd it is provided under a license agreement containing restrictions on use and disclosure and is also protected by copyright law Reverse engineering of the software is prohibited Due to continued product development this information may change without notice The information and intellectual property contained herein is confidential between Cristie Data Products Ltd and the client and remains the exclusive property of Cristie Data Products Ltd If you find any problems in the documentation please report them to us in writing Cristie Data Products Ltd does not warrant that this document is error free No part of this publication may be reproduced stored in a retrieval system or transmitted in any form or by any means electronic mechanical photocopying recording or otherwise without the prior written permission of Cristi
23. g the WRITE CONFIGURATION option from the main menu Cristie gdisrec Configuration Details Boot Loader Configuration Store File Device Configuration Write Configuration User Manual 6 Exit Redraw L Copyright C Cristie Data Products Ltd 2003 2007 Performing a DR Backup 21 The configuration data will be written to the specified destination within a directory named with the hostname of the machine Continue by pressing any key There is no secure check on this operation so you will need to inspect the files just to ensure that the operation was indeed successful There is a manual page for gdisrec available by typing man gdisrec 22 3 4 Housekeeping In order to ensure that you can recover to the latest version of the operating system that was installed on you Linux machine you must ensure that a fresh DR backup is performed every time the operating system files change This is not always possible so Cristie recommend that the DR Backup be performed once a week However you should choose a period which reflects the rate of change in your own organization Although the configuration data will change less frequently than the operating system it is a wise precaution to update this regularly 23 4 Performing a Recovery When a machine has crashed it can be recovered using the CBMR bootable CDROM This is the same CD from which you installed the software You should ensure your machine s BIOS is set
24. hould be pre installed lioc either glibc2 2 or glibc2 3 libacl specifically libacl so 1 libattr specifically libattr so 1 ncurses specifically libmenu so 5 libform so 5 libpanel so 5 and libncurses so 5 if you wish to use the graphical user interface ITSM client specifically libApiDS so if you wish to use the IBM Tivoli Storage Manager interface mkinitrd Introduction 1 6 The CBMR Process Cristie Bare Machine Recovery CBMR will recover your Windows machine in the event of a disaster It can backup to tape drives virtual tape drives IBM Tivoli Storage Manager ITSM and cascaded devices Extra modules are available to support tape libraries and autochangers and Cristie Storage Manager CSM devices The processes may be run either from the Command line or a GUI interface DR Disaster Recovery Backups can be taken periodically to reflect the changing content of the machine In order to be able to recover this data the machine configuration information must also be saved This includes details of hard disks and network interfaces CBMR recognises three components needed for the recovery of any computer These are Configuration data defining the structure of the machine and its network characteristics DR Backup data required to recover the operating system on that structure and Application data required to recover the applications and user data on top of the basic operating system Each of these elements
25. ku Resto Backup Script Resto Resto ecbmr scp Verif Exit Compa Compare everything Exit es SS mn dd QU E Redraw L Copyright C Cristie Data Products Ltd 2003 2007 The default backup script cbmr scp will backup all local filesystems Note that if you wanted to include mounted CDROMs for example then they would need to be included specifically Performing a DR Backup 15 NOTE All scripts are located in etc cristie scripts You can create your own script with the GUI by selecting Scripts Create New Script Cristie gubax Scripts 1 Create New Script Edit Script Delete Script Exit Redraw L Copyright C Cristie Data Products Ltd 2003 2007 This opens a new script with the vi editor Select the required script and the backup will begin Cristie gubax Volume Header Name Comments Fassword Fassword 7 Compare everything 8 Exit Copyright C Cristie Data Products Ltd 2003 2007 Redraw L 16 CBMR for Linux User Guide Volume Header information can be specified if you wish After clicking OK the backup will start The initial screen is shown below ristie Data Products Ltd CBMR 2 0 B2 onnected to backup location FileBackup Block Size 512 Time Created Thu Jan 25 15 59 36 2007 olume Number O Building file list for SubDirs mass html name based html en name based html ja jis Directories 5012
26. o DINE nancean Eren a rs RSS RIGA Performing a Recovery 23 CONECTO NeIWOre asia dr cc taco Read CONEA UON Dat Aee aaa PRES LOPS DR BACKUP si A OA Save LOC PICS ie EE AE E E A E J1 Saving Log FICS aaron OOE REDOOU to RECOVETCR Ositos 1 Introduction 1 1 Purpose The purpose of this document is to identify the most commonly used features of CBMR for Linux and thereby help the new user to understand the CBMR process and perform their first recovery 1 2 Version The descriptions contained in this document relate to CBMR for Linux version 2 1 3 Limitations A list of compatible software and file systems is given in Appendix A There are limits to what this version of CBMR for Linux will handle It will NOT handle Platforms other than Intel Multiboot operating systems Incremental and differential backups Backup of open files Recovery to a smaller disk or fewer disks 1 4 Document Structure This guide is split into sections in the order in which you are likely to use them The sections describe how you Install Perform a DR Backup Perform a Disaster Recovery More information is available from the man pages for each of the CBMR components ubax gubax mkdisrec and gdisrec 1 5 Prerequisites CBMR for Linux can be installed on a x86 Linux PC with glibc gt 2 2 Your system should have ITSM API client already installed Recovery requires at least 128MB RAM CBMR relies on the following packages which s
27. onfigured it must be set as the default device you can do this via gubax see previous section Creating a Backup Location or by editing the configuration file ubax ini NOTE The Backup Location definitions are held in the file etc cristie devices ini Each location definition starts with the symbolic name of the location e g ExampleLocation Thefile etc cristie ubax ini must contain the symbolic name of the default location in the following form DefStorageDev ExampleLocation Once you have confirmed that the default location is correctly defined you may back up the machine using the default script by using the following ubax D ete Cristie scripes ebmr scp There are many command line options available for ubax which are described in the manual page which is available by typing man ubax 14 CBMR for Linux User Guide 3 2 3 Graphical User Interface gubax To run gubax type gubax This will show the main menu Cristie gubax Main Menu Executive Media Utilities Scripts Backup Locations Media Library Log Files Default Settings User Manual Exit i mm ee AM hi Copyright C Cristie Data Products Ltd 2003 2007 Before you start to backup you need to configure a Backup Location Once the Backup Location has been configured you may start the backup Choose BACKUP from the Executive menu A list of available scripts is shown Cristie gubax 5 Media Executive 1 Bac
28. s available on this machine Press ENTER to skip this module When the recovery is complete you will see a Summary of the files and directories that were copied The same data is recorded in recovery log Dissimilar Hardware If you are recovering to dissimilar hardware you may also see the filenames of storage driver modules that are missing from the kernel These need to be incorporated into a new kernel and therefore need to be supplied Each missing module is identified separately and you have the opportunity to load them individually CBMR will only check for the drivers of storage modules NIC drivers may be loaded once the system has been recovered You may find that some of the storage device modules that are missing are not essential to the operation of the system in which case they can be ignored rd R6LjYD 1ibrmptscsih o 1ibrmodu les 2 4 28 84 kernelrdriverssscsi BusLogic o gt tmprinitrd K6Lj YD lib rBusLogic o 1ibrmodu les 2 4 28 84 kernelrfs jbdrjbd o gt tmprinitrd R6LjYD 1ib jbd o 1ib modu les Z 4 28 8 kernelrfsrext3rext3 0 gt tmprinitrd F6LjYD 1ibext3 o 3 Loading module scsi_mod o Loading module sd_mod o Loading module mptbase o Loading module mpt csih o Loading module BusLogic o Loading module jbd o Loading module extS n boot vmlinuz 2 4 276 6 Installation finished No error reported This is the contents of the device map boot grub device map Ch
29. so that you can load the data from a network Share NET Registered protocol family 1 982 10 VLAN Support v1 0 Ben Greear lt qreearb candelatech com gt All bugs added by David Miller lt davem redhat com gt md Autodetecting RAID arrays md autorun md autorun DONE RAMDISK Compressed image found at block H kjournald starting Commit interval 5 seconds EXT3 FS on ram internal journal EXTS fs mounted filesystem with ordered data mode UFS Mounted root Cext3 filesysten Freeing unused kernel memory 192k freed Press f to use CBMR configuration floppy disk Press u to use CBMR configuration USB device Press ENTER otherwise Please wait disrec v2 B B3 c Cristie Data Products Ltd 2004 2007 Do you wish to load the penet3 driver Y N 7 y modprobe pcenet3 4 Do you wish to load the BusLogic driver Y N y modprobe BusLogic 4 Loading lib kbd keymaps i366 quwerty us map gz Press r to use remote control or ENTER otherwise In either case the program will first detect storage and network devices and ask you to confirm whether they should be loaded After this the program offers the opportunity to use a remote control option Performing a Recovery 25 Remote Control You may set up the recovering machine so that the operations from the main menu can be run from a remote machine Pressing r when prompted takes you into the setup which will allocate and identify the ip
30. sword _ Cancel Redraw L Copyright C Cristie Data Products Ltd 2003 2007 Performing a Recovery 33 Enter the Media Password if you are using one Once you click on OK the program will attempt to connect to the Backup Location If the connection is successful information from the Volume Header on the backup device will be shown ristie Data Products Ltd CEMR 27 86 5635 onnected to backup location FileBackup Block Size ime Created Thu Jan 25 15 59 36 2007 olume Number H ress Enter to continue Press Enter and you will be returned to the Main Menu 4 3 Restore DR Backup Once this test is successful choose Automatic Recovery from the Main menu This will recover your system Main Menu Test Automatic Recovery Are You Sure Autor AA AA A sS Manua Yes Hardw Ho MA OJ SN A Read Advanced Options Exit And Reboot Select YES to start the recovery 34 CBMR for Linux User Guide Cristie Bare Machine Recovery Cancel Redraw L Copyright C Cristie Data Products Ltd 2003 2807 Enter the Media Password if you are using is one Click on OK The process will begin by recreating the disks from the original partition information Writing superblocks and filesystem accounting information done This filesystem will be automatically checked every 27 mounts or 1646 days whichever comes first Use tune fs c or i to override mMke2fs 1 35 28 Feb 2004
31. ta over the network we must set up the NIC on a specific interface Begin this process by selecting SETUP NETWORK from the Read Configuration menu Cristie Bare Machine Recovery Main Menu Read Configuration setup Network vetup Remote Share select Configuration From Remote Share setup Local Disk Read Configuration From Local Disk setup Backup Location Read Configuration From Backup Location Exit MA Ll PA ER 4 ae 6 7 B Redraw L Copyright C Cristie Data Products Ltd 26003 28807 The form displayed allows you to enter all of the data needed to establish as many network connections as you have NICs on the computer If DHCP is available on the network you can specify DHCP in both the IPAddress and the SubnetMask Your DHCP server should then supply not only the IP address and subnet mask but also the gateway and DNS details If you omit the Networkinterface then it will default to ethO 28 CBMR for Linux User Guide Network Settings PAddress DHCP SubnetMask DHCP Gateway Nameserver on From Remote Share NetworkInterface eth From Local Disk OK Cancel ion From Backup Location After clicking OK you will see the following disrec v2 H B3 c Cristie Data Products Ltd 2004 2007 equesting DHCP address for ethi ress any key to continue _ NOTE When you have multiple NICs in the server the cards are not necessarily discovered in the same order as they were on the host operating s
32. ted It is recommended that you leave both SizelnMB and Remote blank or set to zero SizelnMB will set a maximum size to the file zero will allow it to expand until it is complete or there is no more space on the disk The Remote field is used to indicate that Cristie Storage Manager is being used FileBackup fmt share backup cbmnr vtd N B If you do set the maximum size of the file and the backup and the file reaches that size and needs to write more you will get the message Please mount Volume 1 There is no way to extend the current file or to attach another file and the process should be restarted If you wish to limit the size of the file because of disk space limitations then consider creating this as one of several files in a Cascaded Backup Location Creating the definition does not create the file itself This is created when you start the first backup ITSM Backup Location An ITSM node is a port to a network storage system Currently CBMR treats a node as though it were a tape This means that there are some restrictions to the way in which CBMR can be configured and used with ITSM If you wish to use an ITSM node choose ITSM BACKUP LOCATION and fill in the form with the device details There is no validity check of the parameters at this time They will be validated when you attempt the first backup The Filespace will also be created by the first backup if it does not already exist N B The node must be reserved for
33. up to boot from CDROM The process is in four or five stages Boot into Recovery OS Read Configuration Data Restore Files Load additional drivers if necessary Reboot into recovered OS 24 CBMR for Linux User Guide Press 1 when the CBMR logo appears Mice P3r2 mouse device common for all mice input AT Translated Set 2 keyboard on isaHH64 seriou md md driver 4 94 86 MAX MD DEVS 256 MD SB DISKS 27 device mapper 4 5 B ioctl 2665 18 44 initialised dm devel redhat com NET Registered protocol family 2 IP routing cache hash table of 1824 buckets 32Kbytes TCP Hash tables configured established 32768 bind 9362 NET Registered protocol family 1 NET Registered protocol family 17 642 10 VLAN Support v1 8 Ben Greear lt greearb candelatech com gt All bugs added by David S Miller lt daven redhat com gt md Autodetecting RAID arrays Md autorun md autorun DONE RAMDISK Compressed image found at block A kjournald starting Commit interval 5 seconds EATS FS on ran internal journal EXT3 fs mounted filesystem with ordered data mode UFS Mounted root ext3 filesystem Freeing unused kernel memory 192k freed Press f to use CBMR configuration floppy disk Press u to use CBMR configuration USB device Press ENTER otherwise If your configuration information is stored on a floppy disk you can pre load the configuration data at this point by pressing Otherwise press ENTER
34. ystem Therefore you may need to physically check which NICS are bound to which interface Performing a Recovery 29 If you need to check that the interface has been set correctly you can either use the GUI HARDWARE DRIVERS SYSTEM DETAILS SHOW NETWORK CONFIGURATION Cristie Bare Machine Recovery Main Menu Test Hardware Drivers u torn Hanua Hardau Read system Details List PCI Devices List Hard Disks Show SCSI Configuration Show Network Configuration set Network Configuration Exit 1 2 d 4 da 6 7 Exit O A MI oj Copyright C Cristie Data Products Ltd 2003 2007 or from a separate virtual terminal Alt F2 type ifconfig and this will list all of the interfaces You can see the routing table by typing route n Return to the GUI by switching virtual terminals again A1t F1 4 2 Read Configuration Data If you are using a unique floppy disk for each machine you may skip this section because the configuration data has already been loaded To recover the data from a network share you must first connect to the central configuration store and retrieve the configuration information for your machine You should tell the recovering machine where to find the configuration information A form is provided in the GUI to fill in the information needed to make this connection which you may find under READ CONFIGURATION DATA SETUP REMOTE SHARE Cristie Bare Machine Recovery Main
Download Pdf Manuals
Related Search
Related Contents
Reflotron® Amylase User Guide Olimpia Splendid Caleo Kramer Electronics C-HDMI/DVI-10 Dermatix® - Gel de silicona de uso tópico, para la pre Digitus DA-20000-1 Massive Suspension light 36271/17/10 P45 Télécharger - SNUipp Copyright © All rights reserved.
Failed to retrieve file