10-16-2008 06:56 AM
I'm getting the error below when trying to add the tape drives of 6 new san media servers:
globalDB hostname has not been set (MM status 4)
This error pops up after your select the media servers in the Device Configuration Wizard.
I have added the media servers using the following command and then restarted the services:
./nbemmcmd -addhost -machinename cntpadb2a -machinetype media -masterserver tbstpbk2 -operatingsystem linux -netbackupversion 6
I cant find anything on this. Thanks!
Matt
edit: SORRY! NB6.0MP6, Solaris 9 master and the media servers are Oracle RedHat Ent Linux
Solved! Go to Solution.
01-15-2009 06:38 AM
Manoj, just wanted to say thanks again! I was troubleshooting a totally separate issue yesterday and your information on the first 2 pages on this thread helped me resolve it right away.
Also, we did eventually get custom binaries for the problem in this thread which resolved the issue. But we were also informed that 6.5.2 64bit Linux version(note: 32 bit 6.5.2 will not work!) uses updated packages. So, I did test the binaries and they worked but we decided to just wait until we upgrade to 6.5.2+ to apply the permanent fix.
The other work around, in case i didnt already mention it, was to install netbackup media server BEFORE Storage Foundation 5.0MP3.
10-16-2008 07:54 AM
Matts,
We need to do some troubleshooting here.
run this command /usr/openv/netbackup/bin/admincmd/nbemmcmd -listhosts
Do you see your server listed here as
media cntpadb2a ?
If No, then your server is not registered as a Media server and do not manually try to register, we'll have netbackup automatically do this.
On the Media server, make sure the bp.conf has the SERVER, CLIENT_NAME, and EMMSERVER entries and all correct Ip address have been populated in /etc/hosts or you might have them in DNS.
Now, If everything is ok, restarting the services on the Media server should automatically register the server as Media server in the EMM.
If this part is done we can move to the tape config.
You can run the following command on the Media server to automatically configure tape devices
/usr/openv/volmgr/bin/tpautoconf -a
If this command fails, let me know, we can troubleshoot, If it completes then we need to start the Media Manger device daemon
/usr/openv/volmgr/bin/ltid
after which you can run the following command to see if tape devices are discovered and configured.
/usr/openv/volmgr/bin/vmoprcmd -d ds
Let me know the outcome.
10-16-2008 10:11 AM
/usr/openv/volmgr/bin/tpautoconf -a
gave the following error:
Failed opening the device mappings file
Thanks!
10-16-2008 10:14 AM
Did you add the media server entry to the bp.conf on the master
SERVER = <media server hostname> ?
Also, from the media server can you see you can telnet on port 1556
#telnet <master server hostname> 1556
from the master server
#telnet <media server hostname > 1556
10-16-2008 10:30 AM
From the media server i CANNOT telnet on that port. But from the master to media i can.
I can telenet on bpcd port both ways.
I have never installed a media server threw a firewall so i imagine this is the issue?
Let me know, already got the firewall admins working on that port.
Thanks again!
10-16-2008 11:10 AM
Starting 6.x all we need for a media server working is the following ports
vnetd - 13724
bpcd - 13782
pbx -1556
we need bi-directional communication between the master and media servers.
10-16-2008 12:30 PM
Ok all those ports are now available both directions and i still get the error :(
Anything else you can think of?
10-16-2008 12:33 PM
/usr/openv/volmgr/bin/tpautoconf -a
Still returns:
Failed opening the device mappings file
Whats odd is i run that same command on the other nodes in this setup (which all should be the same) i get:
/usr/openv/volmgr/bin/tpautoconf: symbol lookup error: /usr/openv/lib/libVnbatST.so: undefined symbol: ovgetlocale
10-16-2008 12:36 PM
PBX doesnt need to be installed for a SAN media server does it?
edit: nevermind it is installed
10-16-2008 02:00 PM
Matts,
ICS needs to be installed on all servers running as Media servers as they communicate with the EMM.
can we stop and start the services on media server including the pbx, as the pbx picks up the config when it starts and we need to reload the addresses that are used for communication.
/usr/openv/netbackup/bin/goodies/netbackup stop
/opt/VRTSpbx/bin/vxpbx_exchanged stop
now lets restart
pbx has to be started before you start netbackup.
/opt/VRTSpbx/bin/vxpbx_exchanged start
/usr/openv/netbackup/bin/goodies/netbackup start
10-16-2008 02:14 PM
I have been doing those steps for a bit now... seems i have 2 problems.
First node which has a fresh install of the netbackup software gets this:
[root@cntpadb2a ~]# /usr/openv/volmgr/bin/tpautoconf -a
Failed opening the device mappings file
Other 5 nodes get this:
[root@cntpadb2b admincmd]# /usr/openv/volmgr/bin/tpautoconf -a
/usr/openv/volmgr/bin/tpautoconf: symbol lookup error: /usr/openv/lib/libVnbatST.so: undefined symbol: ovgetlocale
I think the issue between the 2 is a license issue. I have a working Oracle rac with each node as a media server and we are using a different license out of our "gold" keys. So i put that key on the first node and it seems to work better. For instance when i start the other 5 nodes i get the following:
[root@cntpadb2b admincmd]# /usr/openv/netbackup/bin/goodies/netbackup startNetBackup Database Server started./usr/openv/netbackup/bin/nbnos: symbol lookup error: /usr/openv/lib/libVnbat.so: undefined symbol: ovgetlocaleNetBackup Notification Service started./usr/openv/netbackup/bin/nbemm: symbol lookup error: /usr/openv/lib/libVnbat.so: undefined symbol: ovgetlocaleNetBackup Enterprise Media Manager started./usr/openv/netbackup/bin/nbrb: symbol lookup error: /usr/openv/lib/libVnbat.so: undefined symbol: ovgetlocaleNetBackup Resource Broker started.Rebuilding device nodes.Media Manager daemons started.NetBackup request daemon started./usr/openv/netbackup/bin/bpcompatd: symbol lookup error: /usr/openv/lib/libVnbatST.so: undefined symbol: ovgetlocaleNetBackup compatibility daemon started./usr/openv/netbackup/bin/nbjm: symbol lookup error: /usr/openv/lib/libVnbat.so: undefined symbol: ovgetlocaleNetBackup Job Manager started./usr/openv/netbackup/bin/nbpem: symbol lookup error: /usr/openv/lib/libVnbat.so: undefined symbol: ovgetlocaleNetBackup Policy Execution Manager started./usr/openv/netbackup/bin/nbsl: symbol lookup error: /usr/openv/lib/libVnbat.so: undefined symbol: ovgetlocaleNetBackup Service Layer started./usr/openv/netbackup/bin/nbsvcmon: symbol lookup error: /usr/openv/lib/libVnbat.so: undefined symbol: ovgetlocaleNetBackup Service Monitor started.[root@cntpadb2b admincmd]# /usr/openv/volmgr/bin/tpautoconf -a/usr/openv/volmgr/bin/tpautoconf: symbol lookup error: /usr/openv/lib/libVnbatST.so: undefined symbol: ovgetlocale
I also get the following on the first node from the following commands:
[root@cntpadb2a ~]# /usr/openv/volmgr/bin/tpext -get_dev_mappings_ver
Segmentation fault
Whereas on my other RAC cluster which is functioning i get this:
[root@tbstpdb23a admincmd]# /usr/openv/volmgr/bin/tpext -get_dev_mappings_ver
10-16-2008 02:57 PM
Matts,
Lets focus only on cntpadb2a
- Can you stop and restart the pbx and netbackup services ?
- can you telnet on port 1556 from the cntpadb2a server to your master server?
Now we will enable verbose logging
touch /usr/openv/volmgr/vm.conf ( if the file doesn't exist)
echo "VERBOSE = 5" >> /usr/openv/volmgr/vm.conf
mkdir /usr/openv/volmgr/debug/tpcommand ( if the directory doesn't exist)
Can you now run the command /usr/openv/volmgr/bin/tpautoconf -a ?
And paste the lines from the log file generated from /usr/openv/volmgr/debug/tpcommand/log.101608
10-16-2008 04:56 PM
Yes to your first 2 questions. I even had my firewall admin make sure there was nothing being dropped between the master and media servers.
Here is the log file:
[root@cntpadb2a tpcommand]# cat log.101608
19:54:04.889 [8998] <4> tpautoconf_main: /usr/openv/volmgr/bin/tpautoconf -a
19:54:04.890 [8998] <2> mm_getnodename: cached_hostname cntpadb2a.corp.local, cached_method 3
19:54:04.913 [8998] <2> mm_getnodename: (3) hostname cntpadb2a (from mm_master_config.mm_server_name)
19:54:04.913 [8998] <4> InitThisHostName: ThisHost is cntpadb2a
19:54:04.913 [8998] <16> MmDeviceMappings::InitializeMappings
: <MmDeviceMappings.cpp:222> failed to open mappings file. errno = 2
19:54:04.913 [8998] <16> tpautoconf_main: Unable to open the device mappings table, status = 1
I found this link before i eft work, what are your thoughts on this? Thanks again for all your help!
http://seer.entsupport.symantec.com/docs/308718.htm
10-16-2008 05:27 PM
Matts,
Symantec once in two months adds supports to new tape devices. To take advantage of those newly supported tape devices, we need to update the EMM database with the external_types.txt they provide.
Looking at the log, I see you do not have the device_mappings.txt file in the location /usr/openv/var/global.
If don't find a file, can you get it netbackup installation disk or the master server anc copy it to the location /usr/openv/var/global?
We need not load anything into the EMM, can we run now /usr/openv/volmgr/bin/tpautoconf -a?
10-16-2008 06:24 PM
Now i get a segmentation fault when that runs. Have stop and started NB and PBX as well.
The log file output is better though:
21:09:59.572 [14451] <4> tpautoconf_main: /usr/openv/volmgr/bin/tpautoconf -a
21:09:59.572 [14451] <2> mm_getnodename: cached_hostname cntpadb2a.corp.local, cached_method 3
21:09:59.596 [14451] <2> mm_getnodename: (3) hostname cntpadb2a (from mm_master_config.mm_server_name)
21:09:59.596 [14451] <4> InitThisHostName: ThisHost is cntpadb2a
21:09:59.603 [14451] <4> tpautoconf_main: successfully intialized the device mappings table
10-16-2008 06:51 PM
Matts,
we cannot do with such little logs, we need to enable verbose logging,
can you run the following commands?
/usr/openv/netbackup/bin/vxlogcfg -p 51216 -o 137 -a -s DebugLevel=3;DiagnosticLevel=6
and now rename the file /usr/openv/volmgr/debug/tpcommand/log.101608 /usr/openv/volmgr/debug/tpcommand/log.101608.old
run the command
/usr/openv/volmgr/bin/tpautoconf -a
and paste the log, we'll take it from there.
10-16-2008 06:59 PM
10-16-2008 07:01 PM
It will certainly cause problems, that is the reason it is causing segmentation faults.
Can you get that done?
and also if the problem doesn't resolve, we need logging enabled for all these three , ignore my previous message for logging.
vxlogcfg -p 51216 -o 137 -a -s DebugLevel=6;DiagnosticLevel=6
vxlogcfg -p 51216 -o 156 -a -s DebugLevel=6;DiagnosticLevel=6
vxlogcfg -p 51216 -o 143 -a -s DebugLevel=6;DiagnosticLevel=6
10-16-2008 07:15 PM
10-16-2008 08:18 PM
Uninstalled all MPs and resintalled with the 64bit server version.
Still getting the same error, segmentation fault. The logs look the same too :(
23:16:07.849 [18760] <4> tpautoconf_main: /usr/openv/volmgr/bin/tpautoconf -a
23:16:07.849 [18760] <2> mm_getnodename: cached_hostname cntpadb2a.corp.local, cached_method 3
23:16:07.873 [18760] <2> mm_getnodename: (3) hostname cntpadb2a (from mm_master_config.mm_server_name)
23:16:07.873 [18760] <4> InitThisHostName: ThisHost is cntpadb2a
23:16:07.880 [18760] <4> tpautoconf_main: successfully intialized the device mappings table