ASMCMD-8001 and ASMCMD-8014 in asmcmd remote copy
This command
asmcmd cp sys@remoteserver.+ASM2:+RBACKUP/CNADM/BACKUPSET/2021_07_25/annnf0_INCREMENTAL0_0.333.1078857847 /tmp
runs successfully on some servers but fails on some others with these errors:
ASMCMD-8001: diskgroup 'RBACKUP' does not exist or is not mounted
ASMCMD-8014: file '+RBACKUP/CNADM/BACKUPSET/2021_07_25/annnf0_INCREMENTAL0_0.333.1078857847' does not exist
When it fails, running under tracing (export DBI_TRACE=1), the cp command seems to login to the local ASM instance, where we do NOT have RBACKUP diskgroup, hence the error 8001.
The command runs fine on 11g non-Exadata servers either single-node or RAC, 12c+ non-Exadata single-node only, and on 19.11 Exadata servers (2-node RAC). The command fails on 12c+ (up to 19.10, the highest version we have) non-Exadata RAC. Any advice is appreciated.