03-28-2022 02:10 AM
Hello,
we are trying to do 2 types of restoration from a VM from 2 different masters (with bprestore command)
Indeed, we have master01 netbackup dedicated to VM backups and master02 for databases.
The netbackup client has been installed on this VM to manage the backups / restoration of DB Informix by specifying the master02
However, we realize that it is not possible to restore files via VMware backups (since master01).
Is there a way to do this? A Client can be registered on both masters?
Thank you very much for your help :)
Stéphane.
03-28-2022 03:44 AM
Hi @Cr13
Yes this is possible. The second master needs to be included in the clients SERVER list together with any required media servers from that domain. If the client is 8.1 or above, then you will also need to have the client obtain the CA certificate from the second master and a host certificate from that master so it can communicate.
Cheers
David
03-28-2022 08:13 AM
Hi David,
CA Certificate are OK. On Client ./nbcertcmd -displayCACertDetail -server master01 then same cmd with master02 ==> Certificate state = Trusted (and not revoked)
In /usr/openv/netbackup.bp.conf : All Master and Media are present (SERVER =xxxx ...etc)
When i try to list backup file (from vmware backup policy) : ./bplist -S Master01 -C shortnameClient -t 40 -R -l /etc/host => Exit Status 135 : client is not validated to perform the resquest operation
When i try to list backup (from informix DB plicy) : ./bplist -S Master02 -C fqdnClient -t 6 -R -l / => It list all backup.
In summary, it doesn't work for Vmware backup from master01 :(
Thx for help me,
Stéphane.
03-28-2022 02:16 PM
Hi @Cr13
This looks like something you should be able to fix. Some questions to understand and maybe guide you to a solution:
Cheers
David
03-29-2022 01:26 AM
Hello David,
1 : i run bplist cmd from Client in root user
2 : Client name is the same used for vmware backup (short name Client)
3 : bptestbpcd seems to be ok from each master
4: I change order in bp.conf => always "Exit status 135"
5. On master01, in java gui, i can list backup for my Client. When i run same cmd bplist on master01, i've no error.
Thx for your help,
Stéphane.
03-30-2022 12:27 AM
Hello,
I discovered that by adding in the java console of Master01, in "Security Management" ," Host Management", the short name of the client (Add mapping name), then leaving a time limit for consideration (several minutes / hours? ) We no longer have the problem, and the Client can list backups files from vmware (bplist... -t 40...), without status 135 error.
1: Why or is there a way to make this operation automatable? an auto discovered with the short name?
2: What is the delay for taking modification ? can we modify it?
Thanks for your help :)
03-30-2022 01:22 AM
Hi @Cr13
The default behaviour to automatically map the hostnames for the same hostid. This is set in the Global Security settings section. Sometimes though you need to manually map these (there is also a tab on the host management section to approve pending mappings).
As for the delay - I'm not sure i'm not aware of any setting for this, but it could be related to the default NetBackup hostname cache timeout of 1 hour (3600 secs). This can be changed, but you can also use the "bpclntcmd -clear_host_cache" command to force this.
Cheers
David