dsmc backup script waits for credentials

TitusBandugula05011988

ADSM.ORG Member
Joined
Apr 29, 2018
Messages
14
Reaction score
0
Points
0
Hello All,

I've configured a backup script on my client to start backup for NAS node {since we have 100+ filesystems and will be excluding some of them from the dsm.opt file}. However, when I run the below script the command waits for me to enter the credentials even though 'PASSWORDACCESS is set to GENERATE'.

dsmc backup nas -nasnodename=BDC-NETAPP-CLU1 -toc=yes -mode=differential

P.S : When I run dsmc it automatically logs-in to the node without prompting for credentials.
 

Attachments

  • 12.output from script.JPG
    12.output from script.JPG
    101.3 KB · Views: 8
  • dsmmsinfo.txt
    688.8 KB · Views: 5
  • qsys.txt
    127.1 KB · Views: 5
  • NETAPP_dsm.opt.txt
    342 bytes · Views: 5
Hello Ches,

I've already defined the datamovers. Please note that the 'dsmc backup nas' command works. The only problem is it waits for authentication. I want a schedule to run 'dsmc backup nas -nasnodename=BDC-NETAPP-CLU1 -toc=yes -mode=differential' command without waiting for me to provide any login details.

Protect: BTHTSM01>q datamover

Data Mover Name Data Mover Type On-Line
------------------------------- --------------- ----------
BDC-NETAPP-CLU1 NAS Cluster Yes
BDC-NETAPP-CLU1-01 NAS Cluster Yes
BDC-NETAPP-CLU1-02 NAS Cluster Yes
 
Oh, it's a cluster. Have you tried setting the credentials through set password?

dsmc set password –type=filer management_filer_hostname
management_filer_username management_filer_password
 
dsmc set password –type=filer management_filer_hostname
management_filer_username management_filer_password

Hello Ches,

Protect> set password -type=filer BDC-NETAPP-CLU1 ndmptsm XXXXXXXXX
ANS0302I Successfully done.

C:\Program Files\Tivoli\TSM\baclient>dsmc backup nas -nasnodename=BDC-NETAPP-CLU1 -toc=yes -mode=dif
ferential
IBM Spectrum Protect
Command Line Backup-Archive Client Interface
Client Version 8, Release 1, Level 4.0
Client date/time: 05/07/2018 09:53:19
(c) Copyright by IBM Corporation and other(s) 1990, 2017. All Rights Reserved.

Node Name: WTHBMRBSR01_NETAPP
Session established with server BTHTSM01: Linux/x86_64
Server Version 8, Release 1, Level 1.000
Server date/time: 05/07/2018 09:53:19 Last access: 05/07/2018 09:52:05


Please enter a user ID with administrative authority for both of the following:
The NAS node: 'BDC-NETAPP-CLU1'
The client node: 'WTHBMRBSR01_NETAPP'
<WTHBMRBSR01_NETAPP>:WTHBMRBSR01_NETAPP

Please enter password for user id "WTHBMRBSR01_NETAPP": ******************


Session established with server BTHTSM01: Linux/x86_64
Server Version 8, Release 1, Level 1.000
Server date/time: 05/07/2018 09:53:37 Last access: 05/07/2018 09:53:19


NAS Differential Backup Function Invoked.



Process initiated on IBM Spectrum Protect server.

ProcessId: 17
Start date/time: 05/07/2018 09:53:50
Administrative UserId: WTHBMRBSR01_NETAPP
Operation: Remote Differential Backup
Node: BDC-NETAPP-CLU1
Source: /bdc_naclu1_cfs/vmsfiles

ANS1114I Waiting for mount of offline media.
< 0 B> [ -]
 
Even though I've set the password for the nasnode the command '
dsmc backup nas -nasnodename=BDC-NETAPP-CLU1 -toc=yes -mode=dif
ferential' waits until I provide credentials for the node. I want to use the 'dsmc' command in a schedule to run daily incremental backups.
 
Back
Top