ADSM-L

Re: NT dsmc command stopped working after UG (*newbie* question)

2001-10-26 10:45:27
Subject: Re: NT dsmc command stopped working after UG (*newbie* question)
From: Andrew Raibeck <storman AT US.IBM DOT COM>
Date: Fri, 26 Oct 2001 07:41:44 -0700
Well, the message:

ANS0101E NLInit: Unable to open message repository 'dscameng.txt'.

is telling you that it can not find the dscameng.txt file that corresponds
to the 4.1.3 client level.

I see you are running dsmc.exe out of the TEMP directory. Is this where
you have TSM installed? Or do you have the path to dsmc.exe in your %PATH%
environment variable?

First, verify that you do indeed have the correct dscameng.txt file. It
should be in the same directory as the 4.1.3 dsmc.exe, and the
modification date/time should be the same, or at least very close, for
both files.

If the dscameng.txt file looks okay, then try running your dsmc.exe
command from the directory where dsmc.exe is located. That should work.

If everything looks okay thus far, then check the DSM_* environment
variables:

   SET DSM_

This will show you all environment variable settings that begin with DSM_
(i.e. DSM_DIR, DSM_CONFIG, and DSM_LOG). They do not have to be set, but
if you wish to be able to run dsmc.exe from any directory, then you should
set them.

DSM_DIR needs to point to the directory where dscameng.txt is located
(should be the same directory where dsmc.exe is).

DSM_CONFIG needs to point to your client options file (dsm.opt).

DSM_LOG is optional, but points to the directory where dsmerror.log is
kept (typically the same as DSM_DIR).

For example, if TSM is installed to the default location of C:\Program
Files\Tivoli\TSM, then you would set the variables as follows:

SET DSM_DIR=C:\Program Files\Tivoli\TSM\baclient
SET DSM_LOG=C:\Program Files\Tivoli\TSM\baclient
SET DSM_CONFIG=C:\Program Files\Tivoli\TSM\baclient\dsm.opt

That should work.

Regards,

Andy

Andy Raibeck
IBM Software Group
Tivoli Storage Manager Client Development
Internal Notes e-mail: Andrew Raibeck/Tucson/IBM@IBMUS
Internet e-mail: storman AT us.ibm DOT com

The only dumb question is the one that goes unasked.
The command line is your friend.
"Good enough" is the enemy of excellence.




Tom Rodman <trodman AT nyx DOT net>
Sent by: "ADSM: Dist Stor Manager" <ADSM-L AT VM.MARIST DOT EDU>
10/26/2001 05:47
Please respond to Tom Rodman


        To:     ADSM-L AT VM.MARIST DOT EDU
        cc:
        Subject:        NT dsmc command stopped working after UG (*newbie* 
question)



Greetings:

I'm pretty sure this is a simple issue-
probably in the release notes or faq.  Thanks for helping
anyway |-)

After upgrading our NT TSM client software to V4 Rel 1 Lev 3.0 (from
Version 3, Release 1, Level 0.7 c ), the "dsmc"
command no longer works.  See below.

thanks for your help,

Tom <tom.rodman AT jci DOT com>
--v-v------------------C-U-T---H-E-R-E-------------------------v-v--
GOOD CASE on host "cmke112" , adsm software {
GOOD CASE on host "cmke112" , adsm software {
  C:\TEMP>nslookup %COMPUTERNAME%
  Server:  cmke200.cg.jci.com
  Address:  159.222.4.94

  Name:    CMKE112.mke.cg.jci.com
  Address:  10.10.11.190

  C:\TEMP>echo quit |dsmc
  ADSTAR Distributed Storage Manager
  Command Line Backup Client Interface - Version 3, Release 1, Level 0.7 c
  (C) Copyright IBM Corporation, 1990, 1999, All Rights Reserved.

  C:\TEMP>mkdir toss

  C:\TEMP>echo hello world >toss\foo.txt

  C:\TEMP>cd toss

  C:\TEMP\toss>dir
   Volume in drive C has no label.
   Volume Serial Number is 3CDB-DCAA

   Directory of C:\TEMP\toss

  10/25/01  03:45p        <DIR>          .
  10/25/01  03:45p        <DIR>          ..
  10/25/01  03:45p                    14 foo.txt
                 3 File(s)             14 bytes
                              461,284,352 bytes free
  C:\TEMP\toss>dsmc archive -description=TEST_CASE -quiet -subdir=yes
c:\temp\toss\
  ADSTAR Distributed Storage Manager
  Command Line Backup Client Interface - Version 3, Release 1, Level 0.7 c
  (C) Copyright IBM Corporation, 1990, 1999, All Rights Reserved.

  Node Name: CMKE112
  Session established with server TSM1: AIX-RS/6000
    Server Version 3, Release 7, Level 4.0
    Server date/time: 10/25/2001 15:48:03  Last access: 10/25/2001
14:58:25


  Total number of objects inspected:        3
  Total number of objects archived:         3
  Total number of objects updated:          0
  Total number of objects rebound:          0
  Total number of objects deleted:          0
  Total number of objects failed:           0
  Total number of bytes transferred:     2.80 KB
  Data transfer time:                    0.00 sec
  Network data transfer rate:            0.00 KB/sec
  Aggregate data transfer rate:          3.25 KB/sec
  Objects compressed by:                    0%
  Elapsed processing time:           00:00:00
}

-=-=-=-=-=-=
FAILING CASE on host "caliber", tsm software: V4 Rel 1 Lev 3.0 {
FAILING CASE on host "caliber", tsm software: V4 Rel 1 Lev 3.0 {
  C:\TEMP>nslookup %COMPUTERNAME%
  Server:  cmke200.cg.jci.com
  Address:  159.222.4.94

  Name:    CALIBER.mke.cg.jci.com
  Address:  159.222.4.84

  C:\TEMP>dsmc
  ANS0101E NLInit: Unable to open message repository 'dscameng.txt'.

  C:\TEMP>mkdir toss

  C:\TEMP>echo hello world >toss\foo.txt

  C:\TEMP>cd toss & dir
   Volume in drive C has no label.
   Volume Serial Number is 34D2-5822

   Directory of C:\TEMP\toss

  10/25/01  03:56p        <DIR>          .
  10/25/01  03:56p        <DIR>          ..
  10/25/01  03:56p                    14 foo.txt
                 3 File(s)             14 bytes
                            3,064,946,176 bytes free

  C:\TEMP\toss>dsmc archive -description=TEST_CASE -quiet -subdir=yes
c:\temp\toss\
  ANS0101E NLInit: Unable to open message repository 'dscameng.txt'.

  }

-- Tom Rodman, M31 414-524-5041
=========================================================================
<Prev in Thread] Current Thread [Next in Thread>