29.01.2013 Views

GPFS: Administration and Programming Reference - IRA Home

GPFS: Administration and Programming Reference - IRA Home

GPFS: Administration and Programming Reference - IRA Home

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

2. The TSM client code must be installed on each client node specified in the file on the -n ControlFile<br />

option. The lines changed in the dsm.opt <strong>and</strong> dsm.sys files to enable mmbackup to work with TSM<br />

must be changed in these files on all of the TSM client nodes used by mmbackup. For example, the<br />

dsm.opt file may be:<br />

SErvername k164n06.kgn.ibm.com<br />

The dsm.sys file may be:<br />

SErvername k164n06.kgn.ibm.com<br />

COMMethod TCPip<br />

TCPPort 1500<br />

TCPServeraddress 9.118.95.25<br />

PASSWORDAccess generate<br />

NODEname <strong>GPFS</strong>nodes<br />

3. The TSM server code <strong>and</strong> the TSM client code must be at the same level.<br />

4. Storage pools must be configured on the TSM server.<br />

5. The TSM clients must be configured to communicate with the TSM server.<br />

6. TSM must be made aware that the various TSM clients are all working on the same file system, not<br />

different file systems having the same name on different client machines. This is accomplished by<br />

coding the same value for the nodename keyword in the dsm.sys file located in the Tivoli client<br />

directory (/usr/tivoli/tsm/client/ba/bin for AIX, /opt/tivoli/tsm/client/ba/bin for Linux) on each client.<br />

7. Restoration of backed up data must be done using TSM interfaces. This can be done with the client<br />

comm<strong>and</strong> line interface or the TSM web client. The TSM web client interface must be made<br />

operational if you desire to use this interface for restoring data to the file system from the TSM server.<br />

Attention: If you are using the TSM Backup Archive client you must use caution when you unlink<br />

filesets that contain data backed up by TSM. TSM tracks files by pathname <strong>and</strong> does not track filesets.<br />

As a result, when you unlink a fileset, it appears to TSM that you deleted the contents of the fileset.<br />

Therefore, the TSM Backup Archive client inactivates the data on the TSM server which may result in<br />

the loss of backup data during the expiration process.<br />

You can view or download the TSM documentation at the IBM Tivoli Storage Manager Info Center:<br />

http://publib.boulder.ibm.com/infocenter/tivihelp/index.jsp?toc=/com.ibm.itstorage.doc/toc.xm.<br />

Specifying TSM parameters with the mmbackup comm<strong>and</strong><br />

Control of the backup is accomplished by means of parameters in the control file which is specified using<br />

the -n option on the mmbackup comm<strong>and</strong>. The parameters that may be specified in this control file are<br />

the TSM backup server node, the TSM backup client nodes, <strong>and</strong> the number of backup processes per<br />

client. The backup server node must be specified, as well as at least one backup client node. Specifying<br />

multiple backup client nodes <strong>and</strong> a larger number of backup processes per client allows for greater<br />

parallelism <strong>and</strong> performance.<br />

For a discussion of the files created <strong>and</strong> maintained by the mmbackup comm<strong>and</strong>, see section <strong>GPFS</strong><br />

backup data in Appendix A. <strong>GPFS</strong> Architecture of General Parallel File System: Concepts, Planning, <strong>and</strong><br />

Installation Guide.<br />

Using APIs to develop backup applications<br />

IBM has supplied a set of subroutines that are useful to create backups or collect information about all<br />

files in a file system. Each subroutine is described in Chapter 9, “<strong>GPFS</strong> programming interfaces,” on page<br />

277. These subroutines are more efficient for traversing a file system, <strong>and</strong> provide more features than the<br />

st<strong>and</strong>ard POSIX interfaces. These subroutines operate on a snapshot or on the active file system. They<br />

have the ability to return all files, or only files that have changed since some earlier snapshot, which is<br />

useful for incremental backup.<br />

A typical use of these subroutines is the following scenario:<br />

24 <strong>GPFS</strong>: <strong>Administration</strong> <strong>and</strong> <strong>Programming</strong> <strong>Reference</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!