Forum Discussion

Oyvind_Sonderby's avatar
13 years ago

EMM status: NDMP credentials are not defined in EMM

Hello

I have problem with backup of NAS. The NAS is connected directly to a tapedrive, that is under control of Netbackup 7.
If I type nbemmcmd -listhost -verbose, I see the host.

When I start the job, the job fail with status 2006, EMM status: NDMP credentials are not defined in EMM

  • Please cancel...!! I was able to resolve this problem. It was actually a error in the host name. The correct host name should be fs00L, not Fs03L as I was told.

    Sorry for taking you time....

  • In order to better understand the issue, I think we need some more details on your setup.

    Have you also configured the tape definition for the filer? Do you have a storage unit using the filer?

    Does the policy use the correct storage unit?

    This problem can occur when the wrong media server tries to log on to the filer with the NDMP credentials. Do you use global credentials or per server?

    /A

  • Hello, and thx for your fast reply.

    Have you also configured the tape definition for the filer?
    - I'm not shure what a filer is ???

    Do you have a storage unit using the filer?
    - I'm not shure what a filer is ???

    Does the policy use the correct storage unit?
    - Yes

    This problem can occur when the wrong media server tries to log on to the filer with the NDMP credentials. Do you use global credentials or per server?
    - Don't use global credentials

    I also attach I a screenshot:

  • >> Have you also configured the tape definition for the filer?
    > - I'm not shure what a filer is ???

    A filer is just another name for a NAS server.

    So we would need to understand what the NDMP storage unit is configured as.

    Please provide the output from following commands;

    vmoprcmd

    nbemmcmd -listhosts -verbose

    bpstulist -U

    bppllist Nas_Fs03L -U

    tpconfig -dnh -all_hosts

     

    /A

  • Hello again. Thanx for helping out. We have always beeing backing up the NAS fs00. But the NAS have different VDM's

    Here is all the outputs:

     

    vmoprcmd:

    Drive Name               Label   Ready  RecMID  ExtMID  Wr.Enbl.  Type
        Host                       DrivePath                            Stat
    ========================================================================
    IBM.ULTRIUM-TD4.000      No      No                     No        hcart3
        ba01                       {5,0,2,0}                            TLD

    IBM.ULTRIUM-TD4.001      No      No                     No        hcart3
        ba01                       {5,0,3,0}                            TLD

    IBM.ULTRIUM-TD4.002      No      No                     No        hcart3
        ba01                       {5,0,1,0}                            TLD

    IBM.ULTRIUM-TD4.003      No      No                     No        hcart3
        ba01                       c32t0l0 (fs00)                       TLD

     

     

     

     

    D:\Veritas\NetBackup\bin\admincmd>nbemmcmd -listhosts -verbose
    NBEMMCMD, Version:7.1
    The following hosts were found:
    ba01
            MachineName = "ba01"
            FQName = "ba01.frstad.local"
            MachineDescription = ""
            MachineNbuType = server (6)
    ba01
            ClusterName = ""
            MachineName = "ba01"
            FQName = "ba01.frstad.local"
            GlobalDriveSeed = "VEND:#.:PROD:#.:IDX"
            LocalDriveSeed = ""
            MachineDescription = ""
            MachineFlags = 0x6
            MachineNbuType = master (3)
            MachineState = active for tape and disk jobs (14)
            NetBackupVersion = 7.1.0.0 (710000)
            OperatingSystem = windows (11)
            ScanAbility = 5
    fs00
            MachineName = "fs00"
            FQName = "fs00.frstad.local"
            MachineDescription = ""
            MachineFlags = 0
            MachineNbuType = ndmp (2)
    FS00L
            MachineName = "FS00L"
            FQName = "fs00l.frstad.local"
            MachineDescription = ""
            MachineFlags = 0
            MachineNbuType = ndmp (2)
    adm13
            MachineName = "adm13"
            FQName = "adm13.frstad.local"
            MachineDescription = ""
            MachineNbuType = virtual_machine (10)
    10.1.4.10
            MachineName = "10.1.4.10"
            FQName = "10.1.4.10"
            MachineDescription = ""
            MachineFlags = 0
            MachineNbuType = ndmp (2)
    fs03l
            MachineName = "fs03l"
            FQName = "fs03l.fredrikstad.kommune.no"
            MachineDescription = ""
            MachineFlags = 0
            MachineNbuType = ndmp (2)
    Command completed successfully.

     

     

     

    D:\Veritas\NetBackup\bin\admincmd>bpstulist -U

    Label:                ba01-hcart3-robot-tld-0
    Storage Unit Type:    Media Manager
    Host Connection:      ba01
    Number of Drives:     3
    On Demand Only:       no
    Max MPX/drive:        1
    Density:              hcart3 - 1/2 Inch Cartridge 3
    Robot Type/Number:    TLD / 0
    Max Fragment Size:    1048576 MB

    Label:                TLD
    Storage Unit Type:    Media Manager
    Host Connection:      ba01
    Number of Drives:     3
    On Demand Only:       yes
    Max MPX/drive:        1
    Density:              hcart3 - 1/2 Inch Cartridge 3
    Robot Type/Number:    TLD / 0
    Max Fragment Size:    1048576 MB

    Label:                NDMP
    Storage Unit Type:    NDMP
    Host Connection:      ba01
    Number of Drives:     1
    On Demand Only:       no
    Max MPX/drive:        1
    Density:              hcart3 - 1/2 Inch Cartridge 3
    Robot Type/Number:    TLD / 0
    Max Fragment Size:    1048576 MB
    NDMP attach host:     fs00

    Label:                ba01-disk-staging-unit-1
    Storage Unit Type:    Disk
    Storage Unit Subtype: Basic (1)
    Host Connection:      ba01
    Concurrent Jobs:      10
    On Demand Only:       yes
    Max MPX:              1
    Path:                 "M:\bstage1"
    Max Fragment Size:    2000 MB
    Stage data:           yes
    Block Sharing:        no
    High Water Mark:      100
    Low Water Mark:       80
    Ok On Root:           yes

    Label:                ba01-disk-staging-unit-2
    Storage Unit Type:    Disk
    Storage Unit Subtype: Basic (1)
    Host Connection:      ba01
    Concurrent Jobs:      10
    On Demand Only:       yes
    Max MPX:              1
    Path:                 "N:\bstage2"
    Max Fragment Size:    2000 MB
    Stage data:           yes
    Block Sharing:        no
    High Water Mark:      100
    Low Water Mark:       80
    Ok On Root:           yes

    Label:                ba01-disk-staging-unit-3
    Storage Unit Type:    Disk
    Storage Unit Subtype: Basic (1)
    Host Connection:      ba01
    Concurrent Jobs:      10
    On Demand Only:       yes
    Max MPX:              1
    Path:                 "O:\bstage3"
    Max Fragment Size:    2000 MB
    Stage data:           no
    Block Sharing:        no
    High Water Mark:      100
    Low Water Mark:       80
    Ok On Root:           yes

    Label:                ba01-disk-staging-unit-4
    Storage Unit Type:    Disk
    Storage Unit Subtype: Basic (1)
    Host Connection:      ba01
    Concurrent Jobs:      10
    On Demand Only:       yes
    Max MPX:              1
    Path:                 "P:\bstage4"
    Max Fragment Size:    2000 MB
    Stage data:           no
    Block Sharing:        no
    High Water Mark:      100
    Low Water Mark:       80
    Ok On Root:           yes

    Label:                ba01-disk-staging-unit-5
    Storage Unit Type:    Disk
    Storage Unit Subtype: Basic (1)
    Host Connection:      ba01
    Concurrent Jobs:      10
    On Demand Only:       yes
    Max MPX:              1
    Path:                 "Q:\bstage5"
    Max Fragment Size:    2000 MB
    Stage data:           no
    Block Sharing:        no
    High Water Mark:      100
    Low Water Mark:       80
    Ok On Root:           yes

    Label:                ba01-disk-staging-unit-6
    Storage Unit Type:    Disk
    Storage Unit Subtype: Basic (1)
    Host Connection:      ba01
    Concurrent Jobs:      10
    On Demand Only:       yes
    Max MPX:              1
    Path:                 "R:\bstage6"
    Max Fragment Size:    2000 MB
    Stage data:           no
    Block Sharing:        no
    High Water Mark:      100
    Low Water Mark:       80
    Ok On Root:           yes

    Label:                ba01-disk-staging-unit-7
    Storage Unit Type:    Disk
    Storage Unit Subtype: Basic (1)
    Host Connection:      ba01
    Concurrent Jobs:      10
    On Demand Only:       yes
    Max MPX:              1
    Path:                 "S:\bstage7"
    Max Fragment Size:    524288 MB
    Stage data:           no
    Block Sharing:        no
    High Water Mark:      98
    Low Water Mark:       80
    Ok On Root:           no

    Label:                ba01-disk-staging-unit-8
    Storage Unit Type:    Disk
    Storage Unit Subtype: Basic (1)
    Host Connection:      ba01
    Concurrent Jobs:      10
    On Demand Only:       yes
    Max MPX:              1
    Path:                 "T:\bstage8"
    Max Fragment Size:    524288 MB
    Stage data:           no
    Block Sharing:        no
    High Water Mark:      98
    Low Water Mark:       80
    Ok On Root:           no

    Label:                ba01-disk-staging-unit-9
    Storage Unit Type:    Disk
    Storage Unit Subtype: Basic (1)
    Host Connection:      ba01
    Concurrent Jobs:      10
    On Demand Only:       yes
    Max MPX:              1
    Path:                 "U:\bstage9"
    Max Fragment Size:    524288 MB
    Stage data:           no
    Block Sharing:        no
    High Water Mark:      98
    Low Water Mark:       80
    Ok On Root:           no

    Label:                ba01-disk-staging-unit-10
    Storage Unit Type:    Disk
    Storage Unit Subtype: Basic (1)
    Host Connection:      ba01
    Concurrent Jobs:      10
    On Demand Only:       yes
    Max MPX:              1
    Path:                 "V:\bstage10"
    Max Fragment Size:    524288 MB
    Stage data:           no
    Block Sharing:        no
    High Water Mark:      98
    Low Water Mark:       80
    Ok On Root:           no

    D:\Veritas\NetBackup\bin\admincmd>

     

     

     

    D:\Veritas\NetBackup\bin\admincmd>bppllist Nas_Fs03L -U
    ------------------------------------------------------------

    Policy Name:       Nas_Fs03L

      Policy Type:         NDMP
      Active:              yes
      Effective date:      09/06/2007 12:57:02
      Mult. Data Streams:  no
      Client Encrypt:      no
      Checkpoint:          no
      Policy Priority:     0
      Max Jobs/Policy:     Unlimited
      Disaster Recovery:   0
      Collect BMR info:    no
      Residence:           NDMP
      Volume Pool:         NDMP_Backups
      Server Group:        *ANY*
      Keyword:             (none specified)
      Data Classification:       -
      Residence is Storage Lifecycle Policy:    no
      Application Discovery:      no
      Discovery Lifetime:      0 seconds

      Granular Restore Info:  no
      Ignore Client Direct:  no
      HW/OS/Client:  NDMP          NDMP          fs00

      Include:  SET TYPE = tar
                SET HIST = y
                /root_vdm_4/Lukket/Hk-apps

      Schedule:          full
        Type:            Full Backup
        Frequency:       every 4 days
        Maximum MPX:     1
        Synthetic:       0
        PFI Recovery:    0
        Retention Level: 3 (1 month)
        Number Copies:   1
        Fail on Error:   0
        Residence:       (specific storage unit not required)
        Volume Pool:     (same as policy volume pool)
        Server Group:    (same as specified for policy)
        Residence is Storage Lifecycle Policy:     0
        Daily Windows:
              onsdag     21:00:00  -->  onsdag     22:00:00

     

     

     

    D:\Veritas\Volmgr\bin>tpconfig -dnh -all_hosts
    ==============================================================================
    Media Server:                   ba01
    NDMP Host Name:                 fs00
    User Id:                        ndmp <Filer>
    ==============================================================================

     

     

     

     

  • Please cancel...!! I was able to resolve this problem. It was actually a error in the host name. The correct host name should be fs00L, not Fs03L as I was told.

    Sorry for taking you time....