ADSM-L

Re: Need Help with Linux Client.

2002-09-23 14:36:02
Subject: Re: Need Help with Linux Client.
From: Doug Thomson <dbthomson AT GOV.PE DOT CA>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Mon, 23 Sep 2002 15:33:27 -0300
Michael,

Here is the dsm.sys file as found in /opt/tivoli/tsm/client/ba/bin
(The dsm.opt is empty) that we use to backup our IBM DB2 server running
on RedHat Linux 7.3

************************************************************************
* Tivoli Storage Manager
*
*
*
* Sample Client System Options file for UNIX (dsm.sys.smp)
*
************************************************************************

*  This file contains the minimum options required to get started
*  using TSM.  Copy dsm.sys.smp to dsm.sys.  In the dsm.sys file,
*  enter the appropriate values for each option listed below and
*  remove the leading asterisk (*) for each one.

*  If your client node communicates with multiple TSM servers, be
*  sure to add a stanza, beginning with the SERVERNAME option, for
*  each additional server.

************************************************************************

SErvername  peidb24_1
TCPWINDOWSIZE 1024
TCPBUFFSIZE 512
   nodename peidb24_1
   COMMmethod         TCPip
   TCPPort            1500
   TCPServeraddress   ###.###.###.###
    passwordaccess generate
   EXCLUDE "/.../swapfile"
   COMMmethod         TCPip
   SCHEDLOGNAME /opt/tivoli/tsm/client/ba/bin/dsmsched_daily.log
   ERRORLOGNAME /opt/tivoli/tsm/client/ba/bin/dsmerror_daily.log
   schedlogretention 5 S
   errorlogretention 5 S
   LARGECOMMBUFFERS YES
   MEMORYEFFICIENTBACKUP NO
   TCPBUFFSIZE 512
   TCPNODELAY  YES
   TXNBYTELIMIT 2048

The job is scheduled from the TSM Server and runs a script on the Linux
box.  The contents of the script called backup-peidb24-daily is as
follows:

dsmc incremental / -se=peidb24_1
dsmc incremental /usr -se=peidb24_1
dsmc incremental /var -se=peidb24_1
dsmc incremental /opt -se=peidb24_1
dsmc incremental /home -se=peidb24_1
dsmc incremental /u01 -se=peidb24_1
dsmc incremental /boot -se=peidb24_1

Hope this helps.

>>> Michael_Moore AT VFC DOT COM 09/23/02 02:28PM >>>
I need some help setting up a Linux client.  Specifically, I need a
sample
DSM.opt, and DSM.sys file.  The group responsible for this node, is
trying
to run the backup via a cron job, but when the backup starts, it asks
for a
password.  When the node was orginally setup, here is what was put
into
each file, adn as you can see, it is missing alot of information:

DSM.sys:
************************************************************************
* Tivoli Storage Manager
*
*
*
* Sample Client System Options file for UNIX (dsm.sys.smp)
*
************************************************************************

*  This file contains the minimum options required to get started
*  using TSM.  Copy dsm.sys.smp to dsm.sys.  In the dsm.sys file,
*  enter the appropriate values for each option listed below and
*  remove the leading asterisk (*) for each one.

*  If your client node communicates with multiple TSM servers, be
*  sure to add a stanza, beginning with the SERVERNAME option, for
*  each additional server.

************************************************************************

SErvername  server_a
   COMMmethod         TCPip
   TCPPort            1500
   TCPServeraddress   tsm390

DM.opt:
************************************************************************
* Tivoli Storage Manager
*
*
*
* Sample Client User Options file for UNIX (dsm.opt.smp)
*
************************************************************************

*  This file contains an option you can use to specify the TSM
*  server to contact if more than one is defined in your client
*  system options file (dsm.sys).  Copy dsm.opt.smp to dsm.opt.
*  If you enter a server name for the option below, remove the
*  leading asterisk (*).

************************************************************************

* SErvername       A server name defined in the dsm.sys file


Currently, most of my exposure to setting up clients has been on the
NT/W2K
side, and here is what I had the NT group use there:

********************************************************************
* IBM Adstar Distributed Storage Manager
*
* 32-Bit Windows backup and archive Client - V3 level
*  Note: *  - option not used
*        ** - option specified at server
* Changed 6/13/02 JWG NSF files backing up to Tape per MM
************************************************************************
BackupRegistry              Yes
**ChangingRetries           4
ClusterNode                 No
CommMethod                  TcpIp
CommRestartDuration         9999
CommRestartInterval         15
**CompressAlways            Yes
**Compression               Yes
*CPICBufferSize
*CPICModeName
DateFormat                  1
**DirMC                     STDPERM
**Domain                    all-local
Editor                      Yes
ErrorLogName                dsmerror.log
ErrorLogRetention           14 D
GuiTreeViewAfterBackup      Yes
HttpPort                    1581
HttpsPort                   0
*IPXBufferSize
*IPXServerAddress
*IPXSocket
*LanAdapter
LANG                        AMENG
LargeCommBuffers            Yes
**MaxCmdRetries             4
MemoryEfficientBackup       No
*NamedPipeName
*NetBiosBufferSize
*NetBiosName
*NetBiosServerName
*NetBiosTimeOut
*Nodename
NumberFormat                1
*PartnerLuName
*Password
PasswordAccess              Generate
*PostScheduleCmd
*PreScheduleCmd
QuerySchedPeriod            6
*Quiet
Replace                     Prompt
ResourceUtilization         2
**RetryPeriod               20
RevokeRemoteAccess          None
RunAsService                No
SchedLogName                dsmsched.log
SchedLogRetention           14 D
**SchedMode                 Prompted
**Scrollines                20
**ScrollPrompt              Yes
SkipNTPermissions           No
SkipNTSecurityCRC           No
**Subdir                    Yes
*SymbolicDestination
**TapePrompt                No
TCPBuffSize                 512
TCPClientAddress      10.1.3.38
*TCPClientPort              1501
TCPNoDelay                  Yes
TCPPort                     1500
TCPServerAddress            TSM390
TCPWindowSize               63
TimeFormat                  1
*TPName
**TxnByteLimit              2048
UseUnicodeFileNames         No
Verbose
*tracemax                    10000
*traceflag                   service
*tracefile                   d:\tsm\trace\tracefile.txt

************************************************************************
* Exclude and Include
*
* +------------------+----------------------------------------------+
* | EXclude          | pattern                                      |
* +------------------+----------------------------------------------+
* | INclude          | pattern                                      |
* +------------------+----------------------------------------------+
*
* EXclude and INclude patterns are written using an extended pattern
* match language.  This language uses the native operating system's
* metacharacters (wildcards) whenever possible.  A list of the
* supported metacharacters for the match language follows:
*
*   Function               AIX       DOS          OS/2
*   ---------------------  --------  --------     ---------
*   Match one character    ?         ?            ?
*   Match n characters     *         *            *
*   Match n directories    /... (1)  \... (1)     \...  (1)
*   Directory Separator    /         \            \
*   Open Character Class   [    [(1)     [(1)
*   Character Class Range  -         -    (1)     -     (1)
*   Close Character Class  ]    ](1)     ](1)
*   Literal Escape         \         \    (1)     \     (1)
*   Drive Separator        none      :            :
*
*
************************************************************************
Include *:\...\*.nsf notes
Include *:\...\*.nsf.DATA notes
Exclude *:\...\WIN*.SWP
Exclude *:\...\SYSTEM32\CONFIG\*.*
Exclude *:\...\SYSTEM32\CONFIG\...\*
Exclude *:\...\PAGEFILE.SYS
Exclude *:\...\OFM\*.*
Exclude *:\...\OFM\...\*
Exclude *:\...\ntuser.*
Exclude *:\...\RecoveryBin\*.*
Exclude *:\...\RecoveryBin\...\*
Exclude *:\...\RECYCLER\*.*
Exclude *:\...\RECYCLER\...\*


Anybody have some samples?

Authentication is turned on, due to a requirement, so I can't turn if
off.

Thanks for any help that can be provided!

Michael Moore
VF Services Inc.
121 Smith Street
Greensboro,  NC  27420-1488

Voice: 336-332-4423
Fax: 336-332-4544

<Prev in Thread] Current Thread [Next in Thread>