Forum Discussion

JohnnyBgood's avatar
12 years ago
Solved

Storage Units, Storage Unit Groups, & Media Server missing

Dear Experts:

This is my layout:

One Master Server:  Solaris 10 NBU 7.1.0.3

One Media Server:  Linux 2.6  NBU 7.1.0.3

Subject:  Missing Storage Units, Storage Unit Groups, & one Media Server

 

I don't see my media server listed nor the storage units or groups.

 

From the Master Server:

/usr/openv/netbackup/bin/admincmd

>./nbemmcmd -listshosts

The following hosts were found:

server         master_bk

master        master_bk

______________________________

>./bpclntcmd -pn

expecting response from server master_bk

sun01_bk  master_bk (master server ip)

______________________________

>./bpclntcmd -self

returned:  master_bk

host master_bk:  sun01_bk at (master server ip)

_______________________________

From the media server:  /usr/openv/netbackup/bin

>./bpclntcmd -pn

expecting response from the server master_bk

dell01_bk    media1_bk  (media server ip)

_________________________________

>./bpclntcmd -self

returned:  media1_bk

host media1_bk:  dell01_bk at (media server ip)

_________________________________

From the master:  /usr/openv/db/bin

>./nbdb_admin -validate

No errors reported

Database [NBDB] validation successful.

___________________________________

ping ...media server..  (media server ip) is alive

____________________________________

from media server: /usr/openv/netbackup/bin/admincmd

>./bptestbpcd -client media1_bk -verbose

media IP ----> media IP

media IP ----> media IP

PEER_NAME = dell01_bk

HOST_NAME = media1_bk

CLIENT_NAME = media1_bk

VERSION  = 0x0710000

PLATFORM - linuxR_x86_2.6

PATCH_VERSION = 7.1.0.3

SERVER_PATCH_VERSION = 7.1.0.3

MASTER_SERVER = master_bk

EMM_SERVER = media1_bk

media IP ----> media IP

____________________

from master server: /usr/openv/netbackup/bin/admincmd

>./bptestbpcd -client media1_bk -verbose

master IP ----> master IP

master IP ----> master IP

PEER_NAME = sun01_bk

HOST_NAME = media1_bk

CLIENT_NAME = media1_bk

VERSION  = 0x0710000

PLATFORM - linuxR_x86_2.6

PATCH_VERSION = 7.1.0.3

SERVER_PATCH_VERSION = 7.1.0.3

MASTER_SERVER = master_bk

EMM_SERVER = media1_bk

master IP ----> master IP

___________________________________

I think my EMM_SERVER should say master_bk and not media1_bk

____________________________________________________________

from the master server:  /usr/openv/netbackup/bin/admincmd

>./nbemmcmd -getemmserver

These hosts were found in this domain:  master_bk

checking with the host "master_bk"...

Server Type       Host Version          Host Name       EMM Server

MASTER           7.1                        master_bk        master_bk

___________________________

from the media server:

>./nbemmcmd -getemmserver

NBEMMCMD, Version: 7.1

The function returned the following failure status:

database server is down (23)

command did not complete successfully.

_________________________________________

from the media:

>./bpstulist -L

database system error - Database server is down (4005006)

from the master:

>./bpstulist -L

no entity was found

____________________________

from the master server:

/usr/openv/volmgr/bin

>./tpconfig -emm_dev_list

Master Server:              master_bk

NetBackup Version:        7.1.0.3

Host OperatingSystem:   2

MachineState:                ACTIVE-DI

_______________

from the media server:

>./tpconfig -emm_dev_list

database server is down

_____________________

oh one more thing, i tried to start ltid but it just stops a few seconds later.....

what do i do?  nbemmcmd -updatehost or -addhost 

never done it before.

Thanks for your help!

 

 

 

 

 

 

  • On the media in /usr/openv/netbackup/bp.conf make sure the first SERVER entry is the master Make sure the EMM entry is the name of the EMM server (which is probably the master) On the master, in bp.conf, make sure there is a SERVER entry set to the media server name, this has to be listed below the SERVER = entry Make sure both servers can forwards/ reverse lookup each other. Restart the services on the master Restart the services on the media If all correct, the media should be auto added into nbemmcmd -listhosts output Martin

7 Replies

  • I also ran this command from media server:

    /usr/openv/volmgr/bin

    >./vmglob -get_gdbhost

    media1_bk

    ________________________

    from the master:

    ./netstat -a | grep bpcd

    *.bpcd       *.*         0         0       0   LISTEN

     

  • One more detail:  NBU status:  219, EMM status:  Storage unit is not defined in EMM

    (the required storage unit is unavailable)

    backup of client media1_bk exited with status 219 (the required storage unit is unavailable)

    If I see anything else that will help, I'll post more...  Thanks again.

  • On the media in /usr/openv/netbackup/bp.conf make sure the first SERVER entry is the master Make sure the EMM entry is the name of the EMM server (which is probably the master) On the master, in bp.conf, make sure there is a SERVER entry set to the media server name, this has to be listed below the SERVER = entry Make sure both servers can forwards/ reverse lookup each other. Restart the services on the master Restart the services on the media If all correct, the media should be auto added into nbemmcmd -listhosts output Martin
  • Results from media server:

    /usr/openv/netbackup/ 

    >./cat bp.conf

    SERVER = master_bk

    SERVER = media1_bk

    CLIENT_NAME = media1_bk

    EMMSERVER = media1_bk    <---------------------- it should say master_bk but it doesn't

    REQUIRED_INTERFACE - media1_bk

    VXDBMS_NB_DATA = /usr/openv/db/data

    MEDIA_SERVER = media1_bk

    _____________________

    Results from master server:  (looks like no SERVER entry for media1_bk)

    SERVER = master_bk

    CLIENT_NAME = master

    EMMSERVER = master_bk

    VXDBMS_NB_DATA = /usr/openv/db/data

    MEDIA_SERVER = media1_bk

    VERBOSE = 5

    #   ALLOW_NON_PORTS

    ALLOW_NON_RESERVED_PORTS

    CONNECT_OPTIONS = master_bk 2 2 3

    _________________________________

    Martin,

    so I should ??

    >vi bp.conf on the master and add SERVER = media1_bk underneath SERVER = master_bk

    >vi bp.conf on the media and change EMMSERVER = master_bk

    Thanks!

  • It worked Martin!  Now I have to create my storage units.  Thanks a million!!!

    You rock!!