Forum Discussion

rookie11's avatar
rookie11
Moderator
2 months ago

Media server is currently not connected to master server

master server [RHEL6] NBU version 8.3.0.1 , media server is NBU appliance (apdp01). 

restore job - Aug 4, 2024 8:44:02 PM - Error nbjm (pid=6086) NBU status: 2027, EMM status: Media server is not active
Aug 4, 2024 8:44:02 PM - requesting resource  @aaaae
Aug 4, 2024 8:44:02 PM - Error nbjm (pid=6086) NBU status: 2027, EMM status: Media server is not active
Aug 4, 2024 8:44:02 PM - Error nbjm (pid=6086) NBU status: 2027, EMM status: Media server is not active

catalog job - waiting resource @aaaae. Waiting for resources. 
          Reason: Media server is currently not connected to master server, Media server: apdp01, 
          Robot Type(Number): NONE(0), Media ID: N/A, Drive Name: N/A, 
          Volume Pool: N/A, Storage Unit: N/A, Drive Scan Host: N/A, 
          Disk Pool: N/A, Disk Volume: N/A                                                                                                              Media server is currently not connected to master server (apdp01)

NBU GUI - devices - media servers (offline)

putty session [root@master admincmd]# ./bptestbpcd -client apdp01 -verbose
PEER_NAME = master
HOST_NAME = apdd01
<16>bptestbpcd main: Function ConnectToBPCD(apdd01) failed: 7625
<16>bptestbpcd main: A SSL socket connect failed
<16>bptestbpcd main: A SSL connect failed. Status: 1 Msg: certificate verify failed
: 7625
A SSL socket connect failed

i need this connected to master server to perform pending restore and run catalog backup job. Kindly help

  • Netbackup media processes isn't running on apdp01.  -- yes.

    Have you restarted the services on apdp01 ?  -- service recycle done 

    I think running nbemmcmd -getemmserver on a media server it will fail --  let me check this on different DC

    • L_BR's avatar
      L_BR
      Level 5

      In your very first reply, you ran nbcertcmd -getcacertificate. Perhaps I missed it but did you re-issue a token as well? 

  • I may be wrong, but I think running nbemmcmd -getemmserver on a media server it will fail, since it's not a master server.

    I still suspect communication is broken between master and media server, use tcpdump or wireshark to verify.
    or
    Netbackup media processes isn't running on apdp01.

    Have you restarted the services on apdp01 ?

  • apdp01:/usr/openv/netbackup/bin/admincmd # ./nbemmcmd -getemmserver
    NBEMMCMD, Version: 8.2
    Failed to initialize EMM connection

    i ran nbemmcmd -getemmserver on master server.  
    [root@master admincmd]# ./nbemmcmd -getemmserver
    NBEMMCMD, Version: 8.3.0.1
    These hosts were found in this domain: apdp01, apdp02, apdp03, master 
    Checking with the host "apdp01"...
    Checking with the host "apdp02"...
    Checking with the host "apdp03"...

    nthing... it is not connecting to any media server\NBU appliance


    apdp01:/usr/openv/netbackup/bin # ./nbcertcmd -checkclockskew
    The current host clock is in sync with the master server.

  • Does this relate to your issue; https://www.veritas.com/support/en_US/article.100046043

  • master to media and media to master ping is happening successfully. Hence no network connectivity issue.
    i went through this technote https://www.veritas.com/support/en_US/article.100039943

    ran these on media server

    apdp01:/usr/openv/netbackup/bin # ./nbcertcmd -getCACertificate
    Authenticity of root certificate cannot be established.
    The SHA1 fingerprint of root certificate is 68:6B:13:A1:12:20:75:AA:1D:0C:CB:8C:9F:04:94:EE:A8:B8:9B:5C.
    Are you sure you want to continue using this certificate ? (y/n): y
    The validation of root certificate fingerprint is successful.
    NetBackup CA certificate is successfully stored from the master server .

    apdp01:/usr/openv/netbackup/bin # ./nbcertcmd -listCACertDetails
          Subject Name : /CN=nbatd/OU=root@master.aonnet.aon.net/O=vx
            Start Date : Nov 30 03:19:28 2016 GMT
           Expiry Date : Nov 25 04:34:28 2036 GMT
      SHA1 Fingerprint : 68:6B:13:A1:12:20:75:AA:1D:0C:CB:8C:9F:04:94:EE:A8:B8:9B:5C
    Operation completed successfully.

    recheck on media server

    apdp01:/usr/openv/netbackup/bin # ./bpclntcmd -pn -verbose
    A SSL connect failed. Status: 1 Msg: sslv3 alert certificate expired
    : 7625
    Can't connect to host master: cannot connect on socket (25)

  • Hi rookie11 

    Are the Netbackup services running on apdp01 ?

    Looks like network connectivity is missing.

    What about ping to apdp01 ?

    How to Start and Stop NetBackup Processes manually on NetBackup Appliance

    https://www.veritas.com/support/en_US/article.100038055

    • rookie11's avatar
      rookie11
      Moderator

      master to media and media to master ping is happening successfully. Hence no network connectivity issue.
      i went through this technote https://www.veritas.com/support/en_US/article.100039943


      apdp01:/usr/openv/netbackup/bin # ./nbcertcmd -getCACertificate
      Authenticity of root certificate cannot be established.
      The SHA1 fingerprint of root certificate is 68:6B:13:A1:12:20:75:AA:1D:0C:CB:8C:9F:04:94:EE:A8:B8:9B:5C.
      Are you sure you want to continue using this certificate ? (y/n): y
      The validation of root certificate fingerprint is successful.
      NetBackup CA certificate is successfully stored from the master server .

      apdp01:/usr/openv/netbackup/bin # ./nbcertcmd -listCACertDetails
            Subject Name : /CN=nbatd/OU=root@master.aonnet.aon.net/O=vx
              Start Date : Nov 30 03:19:28 2016 GMT
             Expiry Date : Nov 25 04:34:28 2036 GMT
        SHA1 Fingerprint : 68:6B:13:A1:12:20:75:AA:1D:0C:CB:8C:9F:04:94:EE:A8:B8:9B:5C
      Operation completed successfully.

      apdp01:/usr/openv/netbackup/bin # ./bpclntcmd -pn -verbose
      A SSL connect failed. Status: 1 Msg: sslv3 alert certificate expired
      : 7625
      Can't connect to host master: cannot connect on socket (25)                                                                            despite above steps-

      [root@master admincmd]# ./bptestbpcd -client apdp01 -verbose
      PEER_NAME = master
      HOST_NAME = apdp01
      <16>bptestbpcd main: Function ConnectToBPCD(apdp01) failed: 7625
      <16>bptestbpcd main: A SSL socket connect failed
      <16>bptestbpcd main: A SSL connect failed. Status: 1 Msg: certificate verify failed
      : 7625
      A SSL socket connect failed