Please enter search query.
Search <product_name> all support & community content...
Article: 100072018
Last Published: 2024-11-11
Ratings: 0 1
Product(s): NetBackup & Alta Data Protection, Appliances
Problem
During the rename operation, the tool failed to update the Tomcat certificate
Error Message
ERROR : Failed to generate NetBackup web server(tomcat) certificate.:
Cause
N/A
Solution
Perform the following steps on the NetBackup primary server:
- Stop the NetBackup Web Management Console (NBWMC):
On Windows: execute <Install path>\netbackup\wmc\bin\nbwmc.exe -stop -srvname "NetBackup Web Management Console"
On Linux/Flex instance: run <Install path>/netbackup/bin/nbwmc stop - Run the following commands on the primary server, if the new name is fqdn then provide fqdn new name else provide short new name.
On Windows:
a) set WEBSVC_PASSWORD=<PASSWORD>
b) <Install path>\netbackup\bin\admincmd\nbcertconfig.exe -t -f -sub <short_current_name>,<new_name>,<fqdn_current_name>
c) <Install path>\netbackup\wmc\bin\install\configureCerts.bat
d) <Install path>\netbackup\wmc\bin\install\setupWmc.bat
On Linux/Flex instance:
a) <Install path>/netbackup/bin/admincmd/nbcertconfig -t -f -sub <short_current_name>,<new_name>,<fqdn_current_name>
b) <Install path>/wmc/bin/install/configureCerts
d) <Install path>/wmc/bin/install/setupWmc - Start the NetBackup Web Management Console (NBWMC):
On Windows:
<Install path>\netbackup\wmc\bin\nbwmc.exe -start -srvname "NetBackup Web Management Console"
On Linux/Flex instance:
<Install path>/netbackup/bin/nbwmc start - Add new_name as first line in hosts file:
<IP> <new_name_fqdn> <new_name_shortname> - Make new_name as first entry in NetBackup configuration:
On Windows:
Update registry 'Server' at HKEY_LOCAL_MACHINE\\SOFTWARE\\Veritas\\NetBackup\\CurrentVersion\\Config
On Linux/Flex instance:
Update /usr/openv/netbackup/bp.conf to include SERVER=<new_name> as first line - Run below commands to clear host cache
bpclntcmd -clear_host_cache
bpclntcmd -clear_whitelist_cache - Update RABBITMQ_NODENAME field in the advanced_setmqenv file
File path on Linux:
/usr/openv/var/global/mqbroker/advanced_setmqenv
File path on Windows:
<Install path>\NetBackup\var\global\mqbroker
a) update RABBITMQ_NODENAME=nbmqbroker@<Current_name> to RABBITMQ_NODENAME=nbmqbroker@<new_name>
b) If new_name is FQDN then add below line, else if new_name is short name then remove the below configuration if present:
RABBITMQ_USE_LONGNAME=true - Restart NetBackup services
- Create a touch file 'rename.touch' under path <Install path>/nbsm/nbserverupdate/nbserverstaging/
For flex, create the touch file on the flex instance. - Rename <Install path>\NetBackup\bin\nbpem_backup file to <Install path>\NetBackup\bin\nbpem (keep the .exe extension on Windows)
- Refer to a step-by-step guide section 'Post rename tasks' for further steps.