Hmmm.  I don't have experience with DP with non-root users.  I've only come
across this issue when two nodes would compete for the same file, first one
succeeds, second one fails because the file is locked.


-
Thanks,
Marc...
___________________________________________________
Marc Lanteigne
Spectrum Protect Specialist AVP / SRT
416.478.0233 | marclantei...@ca.ibm.com
Office Hours:  Monday to Friday, 7:00 to 15:30 Eastern

Latest Servermon for Spectrum Protect:
http://ibm.biz/IBMSpectrumProtectServermon
Performance Mustgather for Spectrum Protect:
http://ibm.biz/IBMSpectrumProtectPerformanceMustgather
Spectrum Protect Blueprint:
https://www.ibm.com/support/pages/ibm-spectrum-protect-blueprints



-----Original Message-----
From: Loon, Eric van (ITOP NS) - KLM <eric-van.l...@klm.com>
Sent: Friday, February 14, 2020 06:51 AM
To: ADSM-L@VM.MARIST.EDU
Subject: [EXTERNAL] Re: [ADSM-L] Backup error when using node replication
(DP for SAP)

Hi Marc,

No. We only use this stanza for the DP for SAP client...

Kind regards,
Eric van Loon

Air France/KLM Storage & Backup
-----Original Message-----
From: ADSM: Dist Stor Manager <ADSM-L@VM.MARIST.EDU> On Behalf Of Marc
Lanteigne
Sent: donderdag 13 februari 2020 21:04
To: ADSM-L@VM.MARIST.EDU
Subject: Re: Backup error when using node replication (DP for SAP)

Hi Eric,

Is it possible that another backup started by root uses that same stanza
and would have created the file?

-
Thanks,
Marc...
___________________________________________________
Marc Lanteigne
Spectrum Protect Specialist AVP / SRT
416.478.0233 | marclantei...@ca.ibm.com
Office Hours:  Monday to Friday, 7:00 to 15:30 Eastern

Latest Servermon for Spectrum Protect:
https://urldefense.proofpoint.com/v2/url?u=http-3A__ibm.biz_IBMSpectrumProtectServermon&d=DwIFAg&c=jf_iaSHvJObTbx-siA1ZOg&r=hMBqtRSV0jXgOdXEmlNk_-O9LHkPCGSh9PJBRSlL8Q4&m=iAgP_-cabnsuk8YFiezyRtPmIAC1gXmmFF5FnYTdGvc&s=2M08LnDu3gs2Q8DOUWB1y1AtjmyRK8CaXvtLLUytGyI&e=

Performance Mustgather for Spectrum Protect:
https://urldefense.proofpoint.com/v2/url?u=http-3A__ibm.biz_IBMSpectrumProtectPerformanceMustgather&d=DwIFAg&c=jf_iaSHvJObTbx-siA1ZOg&r=hMBqtRSV0jXgOdXEmlNk_-O9LHkPCGSh9PJBRSlL8Q4&m=iAgP_-cabnsuk8YFiezyRtPmIAC1gXmmFF5FnYTdGvc&s=OMZb4pJetQOW4TNgf7Nia9xvO8Wb2DgHWCyu3YKacRc&e=

Spectrum Protect Blueprint:
https://www.ibm.com/support/pages/ibm-spectrum-protect-blueprints



-----Original Message-----
From: Loon, Eric van (ITOP NS) - KLM <eric-van.l...@klm.com>
Sent: Thursday, February 13, 2020 10:33 AM
To: ADSM-L@VM.MARIST.EDU
Subject: [EXTERNAL] Re: [ADSM-L] Backup error when using node replication
(DP for SAP)

Hi Marc!

Thanks for pointing me to the right location!
The strange thing is that when we added the following parameter to the
dsm.sys:

Nrtablepath /orahome/oraod1/tsm

The user still receives an error: ANS0361I DIAG: cacheobj.cpp ( 594):
dbOpen(): error opening/creating lock file
'/orahome/oraod1/tsm/tsmnrtable.DB.Lock'

The directory is owned by the oraod1 user:

# cd /orahome/oraod1/tsm
# ls -ltr
total 12
drwxr-xr-x 3 oraod1 dba  4096 Feb 11 15:15 config

But during the first backup the files are created by root:

# ls -ltr
total 12
drwxr-xr-x 3 oraod1 dba  4096 Feb 11 15:15 config
-rw-r--r-- 1 root   root    0 Feb 13 14:07 tsmnrtable.DB.Lock
-rw-r--r-- 1 root   root 4216 Feb 13 14:07 tsmnrtable.DB

Because oraod1 can't update the file, it issues the error ANS0361I... Why
is a backup that runs under the oraod1 user creating a file owned by root??
Thanks again for your help!

Kind regards,
Eric van Loon
Air France/KLM Storage & Backup


-----Original Message-----
From: ADSM: Dist Stor Manager <ADSM-L@VM.MARIST.EDU> On Behalf Of Marc
Lanteigne
Sent: woensdag 12 februari 2020 16:06
To: ADSM-L@VM.MARIST.EDU
Subject: Re: Backup error when using node replication (DP for SAP)

Hi Eric,

Is there more than one node running at the same time on that client?  If
so, you should use a different NRTABLEPATH for each node/stanza in dsm.sys
so that there's no lock contention:
https://www.ibm.com/support/pages/resolving-ans2124w-messages-concerning-lock-node-replication-table




The other case is if running as a non-root user, you need to use a
NRTABLEPATH that the user has rights to read to:
https://www.ibm.com/support/knowledgecenter/SSEQVQ_8.1.9/client/c_autoclientfailover_reqts.html




-
Thanks,
Marc...
___________________________________________________
Marc Lanteigne
Spectrum Protect Specialist AVP / SRT
416.478.0233 | marclantei...@ca.ibm.com
Office Hours:  Monday to Friday, 7:00 to 15:30 Eastern

Latest Servermon for Spectrum Protect:
https://urldefense.proofpoint.com/v2/url?u=http-3A__ibm.biz_IBMSpectrumProtectServermon&d=DwIFAg&c=jf_iaSHvJObTbx-siA1ZOg&r=hMBqtRSV0jXgOdXEmlNk_-O9LHkPCGSh9PJBRSlL8Q4&m=oyApQEbGk5lmnsOGxwg-P3qDQCu1W1I8IiScN8L8KyI&s=hsithneuSCpbYUH8oIBTdvCGFXx2487B5hMZeu5DESA&e=


Performance Mustgather for Spectrum Protect:
https://urldefense.proofpoint.com/v2/url?u=http-3A__ibm.biz_IBMSpectrumProtectPerformanceMustgather&d=DwIFAg&c=jf_iaSHvJObTbx-siA1ZOg&r=hMBqtRSV0jXgOdXEmlNk_-O9LHkPCGSh9PJBRSlL8Q4&m=oyApQEbGk5lmnsOGxwg-P3qDQCu1W1I8IiScN8L8KyI&s=96F4yCui3d1G6LD8cloSb8iRUCJ7Z5bUnuSib3wIFDo&e=


Spectrum Protect Blueprint:
https://www.ibm.com/support/pages/ibm-spectrum-protect-blueprints

Follow me on: Twitter, developerWorks, LinkedIn



-----Original Message-----
From: Loon, Eric van (ITOP NS) - KLM <eric-van.l...@klm.com>
Sent: Wednesday, February 12, 2020 10:56 AM
To: ADSM-L@VM.MARIST.EDU
Subject: [EXTERNAL] [ADSM-L] Backup error when using node replication (DP
for SAP)

Hi guys,

I'm testing the new Data Protection 8.1.9 client on a new SP server which
uses node replication. When the user starts a backup he receives the
following errors:

02/12/2020 14:19:33 ANS4058I A write failure occurred while attempting to
save node replication failover values to the options file.
02/12/2020 14:19:33 ANS0361I DIAG: cacheobj.cpp        ( 594): dbOpen():
error opening/creating lock file
'/opt/tivoli/tsm/client/api/bin64/tsmnrtable.DB.Lock' .

I cannot find any instructions which specify that you have to give the SAP
user write access to the dsm.sys file. Is this a new requirement?
I found a post from Zoltan Forray on Backupcentral with the exact same
errors, only for the Data Protection for Oracle client. The error seems to
be gone as soon as you disable replication. Has anybody encountered the
same issues? How should one solve these?
Thanks you very much for any help in advance!

Kind regards,
Eric van Loon
Air France/KLM Storage & Backup
********************************************************
For information, services and offers, please visit our web site:
https://urldefense.proofpoint.com/v2/url?u=http-3A__www.klm.com&d=DwIFAg&c=jf_iaSHvJObTbx-siA1ZOg&r=hMBqtRSV0jXgOdXEmlNk_-O9LHkPCGSh9PJBRSlL8Q4&m=MWBsk1pBBiVknOlKYd8dPTy4zaPYAVtfIDrKAW4jp6Y&s=VY9orhb1TlMIWFpzBtCOdaNvm_zPUN5caI-mggWp7bA&e=
 .


 This e-mail and any attachment may contain confidential and privileged
material intended for the addressee only. If you are not the addressee, you
are notified that no part of the e-mail or any attachment may be disclosed,
copied or distributed, and that any other action related to this e-mail or
attachment is strictly prohibited, and may be unlawful. If you have
received this e-mail by error, please notify the sender immediately by
return e-mail, and delete this message.

Koninklijke Luchtvaart Maatschappij NV (KLM), its subsidiaries and/or its
employees shall not be liable for the incorrect or incomplete transmission
of this e-mail or any attachments, nor responsible for any delay in
receipt.
Koninklijke Luchtvaart Maatschappij N.V. (also known as KLM Royal Dutch
Airlines) is registered in Amstelveen, The Netherlands, with registered
number 33014286
********************************************************
********************************************************
For information, services and offers, please visit our web site:
https://urldefense.proofpoint.com/v2/url?u=http-3A__www.klm.com&d=DwIFAg&c=jf_iaSHvJObTbx-siA1ZOg&r=hMBqtRSV0jXgOdXEmlNk_-O9LHkPCGSh9PJBRSlL8Q4&m=oyApQEbGk5lmnsOGxwg-P3qDQCu1W1I8IiScN8L8KyI&s=zTQBOAjIs1fzYkwZxmM_PJ_V25XtdcovwrdAlabJ8S4&e=
 .

 This e-mail and any attachment may contain confidential and privileged
material intended for the addressee only. If you are not the addressee, you
are notified that no part of the e-mail or any attachment may be disclosed,
copied or distributed, and that any other action related to this e-mail or
attachment is strictly prohibited, and may be unlawful. If you have
received this e-mail by error, please notify the sender immediately by
return e-mail, and delete this message.

Koninklijke Luchtvaart Maatschappij NV (KLM), its subsidiaries and/or its
employees shall not be liable for the incorrect or incomplete transmission
of this e-mail or any attachments, nor responsible for any delay in
receipt.
Koninklijke Luchtvaart Maatschappij N.V. (also known as KLM Royal Dutch
Airlines) is registered in Amstelveen, The Netherlands, with registered
number 33014286
********************************************************
********************************************************
For information, services and offers, please visit our web site:
https://urldefense.proofpoint.com/v2/url?u=http-3A__www.klm.com&d=DwIFAg&c=jf_iaSHvJObTbx-siA1ZOg&r=hMBqtRSV0jXgOdXEmlNk_-O9LHkPCGSh9PJBRSlL8Q4&m=iAgP_-cabnsuk8YFiezyRtPmIAC1gXmmFF5FnYTdGvc&s=-9WLikwV5i6ScYI8npHShJ-hRQZOYayP8eCzWAajH-A&e=
 .
 This e-mail and any attachment may contain confidential and privileged
material intended for the addressee only. If you are not the addressee, you
are notified that no part of the e-mail or any attachment may be disclosed,
copied or distributed, and that any other action related to this e-mail or
attachment is strictly prohibited, and may be unlawful. If you have
received this e-mail by error, please notify the sender immediately by
return e-mail, and delete this message.

Koninklijke Luchtvaart Maatschappij NV (KLM), its subsidiaries and/or its
employees shall not be liable for the incorrect or incomplete transmission
of this e-mail or any attachments, nor responsible for any delay in
receipt.
Koninklijke Luchtvaart Maatschappij N.V. (also known as KLM Royal Dutch
Airlines) is registered in Amstelveen, The Netherlands, with registered
number 33014286
********************************************************

Reply via email to