NB 10.4.0.1 bpnbat vs nboracmd
Hi communities,
our environment is Linux with NB 10.1.1. We have scripts to manage RMAN instances and we use a lot of home-made scripts in CLI with Netbackup commands like nboraadm. In our scripts, we can register instances and delete them, all from within our scripts.
We installed a new Linux environment with NB 10.4.0.1. We found that the nboraadm command is no longer exists under NB 10.4.0.1 and has been replaced by nboracmd. This command is different from the old one and I'd like to adapt our scripts with the new command. I find that if I simply want to list instances with this command: “nboracmd list instances”, it returns this: “A web login is required. Run the 'bpnbat' command to login.”.
I wasn't familiar with this command (bpnbat) and to my surprise, it dates back to a few versions of NB and we've never needed to use this.
My question.... am I obliged to use this command (bpnbat) or is there a way around this? If there's no way, will I have to add the “bpnbat” command to all my scripts with a response file that will contain a clear text password? I'm trying to find the logic to this... Veritas wants to secure certain commands but the possibility of automating this is to have a file containing a logon and pwd in clear text. If I'm wrong, please let me know!!!
I'd like to migrate my scripts with as little impact as possible
Sorry for my english !!!