• Please help support our sponsors by considering their products and services.
    Our sponsors enable us to serve you with this high-speed Internet connection and fast webservers you are currently using at ADSM.ORG.
    They support this free flow of information and knowledge exchange service at no cost to you.

    Please welcome our latest sponsor Tectrade . We can show our appreciation by learning more about Tectrade Solutions
  • Community Tip: Please Give Thanks to Those Sharing Their Knowledge.

    If you receive helpful answer on this forum, please show thanks to the poster by clicking "LIKE" link for the answer that you found helpful.

  • Community Tip: Forum Rules (PLEASE CLICK HERE TO READ BEFORE POSTING)

    Click the link above to access ADSM.ORG Acceptable Use Policy and forum rules which should be observed when using this website. Violators may be banned from this website. This notice will disappear after you have made at least 3 posts.

dsmc backup script waits for credentials

#1
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

#3
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
 

Ches

ADSM.ORG Member
#4
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
 
#5
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> [ -]
 
#6
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.
 

Advertise at ADSM.ORG

If you are reading this, so are your potential customer. Advertise at ADSM.ORG right now.

UpCloud high performance VPS at $5/month

Get started with $25 in credits on Cloud Servers. You must use link below to receive the credit. Use the promo to get upto 5 month of FREE Linux VPS.

The Spectrum Protect TLA (Three-Letter Acronym): ISP or something else?

  • Every product needs a TLA, Let's call it ISP (IBM Spectrum Protect).

    Votes: 9 22.0%
  • Keep using TSM for Spectrum Protect.

    Votes: 20 48.8%
  • Let's be formal and just say Spectrum Protect

    Votes: 8 19.5%
  • Other (please comement)

    Votes: 4 9.8%

Forum statistics

Threads
31,025
Messages
132,107
Members
21,267
Latest member
andyh2468
Top