Error configuring SCHEDLOGMAX & ERRORLOGMAX

ocarles

ADSM.ORG Member
Joined
Jan 5, 2011
Messages
54
Reaction score
3
Points
0
Hi:
Using ba client 6.2.2 for Linux on a Suse 10 Linux I have problems with next configuration:

/etc/profile:

DSM_CONFIG=/opt/tivoli/tsm/client/ba/bin/dsm.sys
DSM_DIR=/opt/tivoli/tsm/client/ba/bin
DSM_LOG=/opt/tivoli/tsm/client/ba/bin
LANG=en_US
LC_ALL=en_US
export DSM_CONFIG DSM_DIR DSM_LOG LANG LC_ALL

dsm.sys

SERVERNAME lnxclient
COMMMETHOD TCPip
TCPPORT 1500
TCPSERVERADDRESS tsmserver1
MANAGEDSERVICES schedule webclient
PASSWORDACCESS generate
SCHEDLOGMAX 100
ERRORLOGMAX 500

The error that I get with this configuration (about SCHEDLOGMAX and ERRORLOGMAX):

sol:/opt/tivoli/tsm/client/ba/bin # dsmc
ANS1036S The option 'SCHEDLOGMAX' or the value supplied for it is not valid. It was found in options file '/opt/tivoli/tsm/client/ba/bin/dsm.sys'
at line number: 24
The complete entry: 'SCHEDLOGMAX 100'

ANS1038S Invalid option specified
ANS1036S The option 'ERRORLOGMAX' or the value supplied for it is not valid. It was found in options file '/opt/tivoli/tsm/client/ba/bin/dsm.sys'
at line number: 25
The complete entry: 'ERRORLOGMAX 500'

I also can't run dsmcad (same error and dsmcad doesn't run).
Commenting SCHEDLOGMAX and ERRORLOGMAX, I get this output, but dsmc connection is stablished, and also dsmcad is started:

sol:/opt/tivoli/tsm/client/ba/bin # dsmc
ANS1529I TSM is converting the /opt/tivoli/tsm/client/ba/bin/dsmerror.log from wrapping mode to continuous (pruning) mode. This process may take several minutes.
ANS1691I The option 'COMMMETHOD' that was found in the options file '/opt/tivoli/tsm/client/ba/bin/dsm.sys' at the line number: 19 is not supported and will be ignored by the client.
ANS1691I The option 'TCPPORT' that was found in the options file '/opt/tivoli/tsm/client/ba/bin/dsm.sys' at the line number: 20 is not supported and will be ignored by the client.
ANS1691I The option 'TCPSERVERADDRESS' that was found in the options file '/opt/tivoli/tsm/client/ba/bin/dsm.sys' at the line number: 21 is not supported and will be ignored by the client.
ANS1691I The option 'MANAGEDSERVICES' that was found in the options file '/opt/tivoli/tsm/client/ba/bin/dsm.sys' at the line number: 22 is not supported and will be ignored by the client.
ANS1691I The option 'PASSWORDACCESS' that was found in the options file '/opt/tivoli/tsm/client/ba/bin/dsm.sys' at the line number: 23 is not supported and will be ignored by the client.
IBM Tivoli Storage Manager
Command Line Backup-Archive Client Interface
Client Version 6, Release 2, Level 2.0
Client date/time: 03/15/2011 10:36:19
(c) Copyright by IBM Corporation and other(s) 1990, 2010. All Rights Reserved.

Node Name: SOL
Session established with server W2K8-005: Windows
Server Version 6, Release 2, Level 2.0
Server date/time: 03/15/2011 10:36:06 Last access: 03/15/2011 10:21:18

tsm>

I need to have configured schedlog and errorlog sizing.

Any help will be welcomed.

Regards

Oscar
 
Last edited:
humm, I have installed ba client with root user, following steps from installing doc, sucessfully.
Maybe authorization with dsm.sys is the problem. By now, I remember that when I modify dsm.sys using vi, I have to save with w!, cause it is readonly.
I will check it.

Many thanks for your tip

Regards

Oscar
 
Hi,

DSM_CONFIG variable should point to dsm.opt, not dsm.sys
Create new file /opt/tivoli/tsm/client/ba/bin/dsm.opt with this line (only) in it

SERVERNAME sol

And modify the DSM_CONFIG (and your /etc/profile)

/etc/profile:
DSM_CONFIG=/opt/tivoli/tsm/client/ba/bin/dsm.opt
DSM_DIR=/opt/tivoli/tsm/client/ba/bin
DSM_LOG=/opt/tivoli/tsm/client/ba/bin
LANG=en_US
LC_ALL=en_US
export DSM_CONFIG DSM_DIR DSM_LOG LANG LC_ALL



Harry
 
Hi Harry,
What about other parameters (TCPPORT, COMMMETHOD, SCHEDLOGMAX, etc)?
Should I configure them on dsm.opt?

Oscar
 
yes cheffern, there are two config parameters to manage logs by size: SCHEDLOGMAX, ERRORLOGMAX

Oscar
 
I didn't know that.
Thanks cheffern for your help.

I will reconfigure ba installation

Oscar
 
What it works for me:

/etc/profile
/opt/tivoli/tsm/client/ba/bin/dsm.opt

dsm.opt
SERVERNAME lnxclient

dsm.sys
SERVERNAME lnxclient
COMMMETHOD TCPip
TCPPORT 1500
TCPSERVERADDRESS tsmserver1
MANAGEDSERVICES schedule webclient
PASSWORDACCESS generate
SCHEDLOGMAX 100
ERRORLOGMAX 500

Note that SERVERNAME should be configured on both files (dsm.sys and dsm.opt)

Thanks for your assistance!
 
Back
Top