Video Screencast Help
Symantec to Separate Into Two Focused, Industry-Leading Technology Companies. Learn more.

solution = restore to remote site

Created: 11 Jan 2013 • Updated: 25 Jan 2013 | 53 comments
This issue has been solved. See solution.

Hi there,

This would be my first post.

I have scenario whereby i need to restore my data to new remote site. Basically need simple solution to complete restore by this weekend - super urgent task.

Primary site setup;

Master server = Windows 2008 Server R2

Media Server = IBM AIX 7.1

Tape library = Quantum scalar i80 with (4 units LTO Ulrium5 tape drives)

Veritas Netbackup version = Symantec Netbackup version 7.1

Remote site setup;

Unix server (IBM server)

Tape drives = IBM LTO Ultrium 5

Appreciated feedback & solution from you all.

Thank you in advance.

Comments 53 CommentsJump to latest comment

RamNagalla's picture

hi,

you have 2 ways to compleate the restore

1) Import of catalogs

2) with out Import

 

ofr Import option, you need to find the list of tapes that are having the data  , move those tapes to the destination Master server and start the Phase 1 and 2 of Imports and then start restore. its time taking process 

see the below T/N for import Porcess

http://www.symantec.com/business/support/index?pag...

 

for sencond option:-

along with moving the tapes phycisally to the destination , you need to copy the catalogs form source master to desintation master , and then start the restore

its a pretty quick process.

check the below doc for detail info

http://eval.symantec.com/mktginfo/products/White_P...

 

SOLUTION
imra2013's picture

Hi Nagalla,

Great ! thanks for both solution for me to choose.

I will need to digest and choose what suits me.

Both have pro & con, 1st solution looks easy but time consuming.

2nd solution might not suits me coz I have AIX server at remote site (while at primary site, My master server is Windows). But I have windows server at remote site but not connect to tape drive. Can I setup that windows server as master server without physically connect to tape drive ?

My goal is to restore the data to AIX server at remote site. Data size = 900 GB.

Any luck ?

regards

Imra

RamNagalla's picture

yes,

you can setup windows as Master server and use AIX as media server (as its connected with tape drive ) in remote site,and  then use second option.

and you can do the restore anywhere you want as a client.

Mark_Solutions's picture

Can I assume that the link between the sites is not enough to duplicate all data across?

If not then the best way (provided that the sites are isolated from each other) would be to have create a Windows Master at the remote site (must have same name and NetBackup installed to same drive letter and location and of same patch level) and then do a catalog restore to it.

If the media server at the remote site also has the same name as the one on the live site then it will make things really easy, otherwise you will need to change ownership of all media once you have done the catalog restore so that you remote site media server can do the restores

Also be careful when setting up the library on the remote site as it will need to read barcode labels in the same way and you will also need to make sure the barcode rules and Media ID Genration rules work the same as the production site so that you do not get any media id conflicts

Good Luck!

Authorised Symantec Consultant

Don't forget to "Mark as Solution" if someones advice has solved your issue - and please bring back the Thumbs Up!!.

Imra_backup's picture

HI Nagalla & Mark,

Sorry for late reply as I was busy during weekend. Lucky for me the installation was postpone to this week.

Thank you both for your reply & recommendation, anyway below few things stuck in my mind.

 

Nagalla,

Yes I would choose 2nd option (after discussion with my team)

 

Mark,

Yes indeed link was the bottleneck. I will configure master server (Windows) at remote site similar to live site. But currently propose media server at remote site have different name compared to live site (and cannot be change ..So will this affect/complicate my task

Appreciated if you just summarize 'catalog restore' , bullet point will do.

For tape barcode, remote site will be single tape drive (LTO Ultrium5) direct connect to AIX (media) server and using SAS cable. While at live site, tape library connect to SAN switch (fibre connectivity) with 4 units LTO Ultrium tape drive. I hope this will be straight forward things.

Hope this clarifies, thank you in advance.

 

 

Imra_backup's picture

Hi Nagalla,

Quick one, on page 3 (2nd option=recovery without import), could you elaborate below;

On the recovery site, perform the following steps

7. Merge the copied images into the catalog

Appreciated your reply.

Thanks.

 

 

RamNagalla's picture

hi,

its the keeping the catalogs in destination master , that you copied from source site(from step 5) to the location 

/usr/openv/netbackup/db/images/<client name>

Marianne's picture

Simply copy them into correct client folder under ...\netbackup\db\images.

Latest version of Recover Without Import doc:

http://www.symantec.com/docs/TECH28722

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

Imra_backup's picture

Hi Nagalla & Marianne,

Ooh OK understand the words.

Many THANKS !

Mark_Solutions's picture

If the Master at the remote site has to have a different name then you cannot do a catalog restore so your only options are to do the "recover without import" or to use de-dupe on both sites and then use AIR to replicate your backups across (far easier than trying to do everything with a standalone tape drive!)

Authorised Symantec Consultant

Don't forget to "Mark as Solution" if someones advice has solved your issue - and please bring back the Thumbs Up!!.

Imra_backup's picture

Hi Mark,

Sorry for late reply. I have setup Master at remote site similar to live site. But now i have few issues;

1. I got status 46 = server not allowed access. When try to connect to my Media Server (ibm aix) from my Master Server at remote site.

Remote site setup;

Master server = Windows Server 2008R2 Svr

Media Server = IBM AIX V7.1

Tape Drive = IBM 3580 Ultrium5 Tape drive - direct connect to Media Server (SAS connection)

My question, how to add Media Server in Master Server ?

FYI I have add Master Server name in bp.conf file (at media server) and add in Media Server IP address in Master Server hosts file. Ping was OK, vice versa between master & media server. I reckon this could be connection issue. Please assist/advice.

2. Unable to launch jnbSA from Media Server: Basically on issue No X11 DISPLAY variable was set. But I'll try try to resolve this issue by myself, checking on forum etc. But if you have solution for this issue, do let me know ...

THANK YOU IN ADVANCE.

Marianne's picture

how to add Media Server in Master Server ?

Host Properties -> Server -> Additional Servers -> Add
Restart NBU on Master server

Unable to launch jnbSA from Media Server

ALL management/config/restore can be done from GUI on the Windows master. 
Why do you need the Java GUI on the media server?
Similar forum discussion: https://www-secure.symantec.com/connect/forums/could-no-start-gui-client-console-client-backup-and-restore

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

Imra_backup's picture

Hi Marianne,

have try & successfully add Media Server but still not appear in Media Server list in host properties.

Even after restart all NBU services & restart master server still Media Server not appear. What possibly could be so complicated. Not to mention catalog restore afterwards. Would appreciated your assist...

Agree with you, will manage from Master Server. Thanks for quick respond.

 

 

 

RamNagalla's picture

 still not appear in Media Server list in host properties.

 

did you add the Media server info into EMM server, ?

if not use below commnd in master server to add the Media server into EMM

 

/usr/openv/netbackup/bin/admincmd/nbemmcmd -addhost -machinename <mediaservername> -machinetype media -netbackupversion 6.5.6 -operatingsystem <OS> -masterserver <masterserverName>

 

what is the status 46 = server not allowed acces, does it resolved?

its a name resolution issue or bp.conf entiries issue in media server

did your media servre bp.conf have the Master server entry and does it able to resolve master name and IP address

.

 

Marianne's picture

Did you add all required licenses on Media Server?
Enterprise Server
Library Based Tape drives

Did you run Device Config Wizard for Media server?
Media Server name will only appear in Host Properties Media Server list once a Storage Unit exists for the Media server (although STU is only used for backups, not restores).

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

Imra_backup's picture

hi Nagalla,

now able to add media server from commnad line you fwd. thanks.

But failed when try adding tape drive (device coinfig wizard) - could not connect to vmd on host status 70

status code 46 no more already - overlook the /etc/hosts file in Master server

Already add Master server entry in Media server bp.conf file

 

Hi Marianne,

License already taking care off in Media server

Problem to run device config media manager due to vmd status 70.

Pls assist. Thank you in advance.

 

Marianne's picture

Please post output of these commands on master server:
nbemmcmd -listhosts -verbose
nbemmcmd -getemmserver

On media server:
bpps -x
cat /usr/openv/netbackup/bp.conf

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

Imra_backup's picture

Hi Marianne,

Here you go as requested - followed in order

 

C:\Program Files\Veritas\NetBackup\bin>cd admincmd

C:\Program Files\Veritas\NetBackup\bin\admincmd>nbemmcmd -listhosts -verbose
NBEMMCMD, Version:7.1
The following hosts were found:
backupserver
        MachineName = "backupserver"
        FQName = "backupserver"
        MachineDescription = ""
        MachineNbuType = server (6)
backupserver
        ClusterName = ""
        MachineName = "backupserver"
        FQName = "backupserver"
        GlobalDriveSeed = "VEND:#.:PROD:#.:IDX"
        LocalDriveSeed = ""
        MachineDescription = ""
        MachineFlags = 0x17
        MachineNbuType = master (3)
        MachineState = active for disk jobs (12)
        NetBackupVersion = 7.1.0.0 (710000)
        OperatingSystem = windows (11)
        ScanAbility = 5
ibmdb3
        ClusterName = ""
        MachineName = "ibmdb3"
        FQName = "ibmdb3"
        LocalDriveSeed = ""
        MachineDescription = ""
        MachineFlags = 0
        MachineNbuType = media (1)
        MachineState = active for disk jobs (12)
        MasterServerName = "backupserver"
        NetBackupVersion = 7.1.0.0 (710000)
        OperatingSystem = rs6000 (5)
        ScanAbility = 5
Command completed successfully.

C:\Program Files\Veritas\NetBackup\bin\admincmd>

> NetBackup Bare Metal Restore Master Server
> NetBackup Bare Metal Restore Master Server -- STOPPED
> NetBackup Service Monitor
> NetBackup Service Monitor -- STOPPED
> NetBackup Agent Request Server
> NetBackup Agent Request Server -- STOPPED
> NetBackup Storage Lifecycle Manager
> NetBackup Storage Lifecycle Manager -- STOPPED
> NetBackup Key Management Service
> NetBackup Key Management Service -- STOPPED
> NetBackup Vault Manager
> NetBackup Vault Manager -- STOPPED
> NetBackup Service Layer
> NetBackup Service Layer -- STOPPED
> NetBackup Policy Execution Manager
> NetBackup Policy Execution Manager -- STOPPED
> NetBackup Job Manager
> NetBackup Job Manager -- STOPPED
> NetBackup Request Daemon
> NetBackup Request Daemon -- STOPPED
> NetBackup Compatibility Service
> NetBackup Compatibility Service -- STOPPED
> NetBackup Database Manager
> NetBackup Database Manager -- STOPPED
> NetBackup Audit Manager
> NetBackup Audit Manager -- STOPPED
> NetBackup Authorization
> NetBackup Authorization -- DISABLED
> NetBackup Authentication
> NetBackup Authentication -- DISABLED
> NetBackup Deduplication Engine
> NetBackup Deduplication Engine -- STOPPED
> NetBackup Deduplication Manager
> NetBackup Deduplication Manager -- STOPPED
> NetBackup Remote Manager and Monitor Service
> NetBackup Remote Manager and Monitor Service -- STOPPED
> NetBackup Device Manager
> NetBackup Device Manager -- STOPPED
> NetBackup Volume Manager
> NetBackup Volume Manager -- STOPPED
> NetBackup Resource Broker
> NetBackup Resource Broker -- STOPPED
> NetBackup Enterprise Media Manager
> NetBackup Enterprise Media Manager -- STOPPED
> NetBackup Relational Database Manager
> NetBackup Relational Database Manager -- STOPPED
> NetBackup Event Manager
> NetBackup Event Manager -- STOPPED
> NetBackup SAN Client Fibre Transport Service
> NetBackup SAN Client Fibre Transport Service -- STOPPED
> NetBackup Client Service
> NetBackup Client Service -- STOPPED
> NetBackup Legacy Client Service
> NetBackup Legacy Client Service -- STOPPED
> NetBackup Legacy Network Service
> NetBackup Legacy Network Service -- STOPPED

Shutdown completed successfully.

C:\Program Files\Veritas\NetBackup\bin>bpup -f -v

NetBackup 7.1 -- Startup Utility

Starting services
> NetBackup Legacy Network Service
> NetBackup Legacy Network Service -- STARTED
> NetBackup Legacy Client Service
> NetBackup Legacy Client Service -- STARTED
> NetBackup Client Service
> NetBackup Client Service -- STARTED
> NetBackup SAN Client Fibre Transport Service
> NetBackup SAN Client Fibre Transport Service -- STARTED
> NetBackup Event Manager
> NetBackup Event Manager -- STARTED
> NetBackup Relational Database Manager
> NetBackup Relational Database Manager -- STARTED
> NetBackup Enterprise Media Manager
> NetBackup Enterprise Media Manager -- STARTED
> NetBackup Resource Broker
> NetBackup Resource Broker -- STARTED
> NetBackup Volume Manager
> NetBackup Volume Manager -- STARTED
> NetBackup Device Manager
> NetBackup Device Manager -- STARTED
> NetBackup Remote Manager and Monitor Service
> NetBackup Remote Manager and Monitor Service -- STARTED
> NetBackup Deduplication Manager
> NetBackup Deduplication Manager -- NOT STARTED
> NetBackup Deduplication Engine
> NetBackup Deduplication Engine -- NOT STARTED
> NetBackup Authentication
> NetBackup Authentication -- DISABLED
> NetBackup Authorization
> NetBackup Authorization -- DISABLED
> NetBackup Audit Manager
> NetBackup Audit Manager -- STARTED
> NetBackup Database Manager
> NetBackup Database Manager -- STARTED
> NetBackup Compatibility Service
> NetBackup Compatibility Service -- STARTED
> NetBackup Request Daemon
> NetBackup Request Daemon -- STARTED
> NetBackup Job Manager
> NetBackup Job Manager -- STARTED
> NetBackup Policy Execution Manager
> NetBackup Policy Execution Manager -- STARTED
> NetBackup Service Layer
> NetBackup Service Layer -- STARTED
> NetBackup Vault Manager
> NetBackup Vault Manager -- STARTED
> NetBackup Key Management Service
> NetBackup Key Management Service -- STARTED
> NetBackup Storage Lifecycle Manager
> NetBackup Storage Lifecycle Manager -- STARTED
> NetBackup Agent Request Server
> NetBackup Agent Request Server -- STARTED
> NetBackup Service Monitor
> NetBackup Service Monitor -- STARTED
> NetBackup Bare Metal Restore Master Server
> NetBackup Bare Metal Restore Master Server -- STARTED
> NetBackup Bare Metal Restore Boot Server
> NetBackup Bare Metal Restore Boot Server -- STARTED
Start up of one or more services failed.

C:\Program Files\Veritas\NetBackup\bin>bpdown -f -v

NetBackup 7.1 -- Shutdown Utility

Shutting down services
> NetBackup Bare Metal Restore Boot Server
> NetBackup Bare Metal Restore Boot Server -- STOPPED
> NetBackup Bare Metal Restore Master Server
> NetBackup Bare Metal Restore Master Server -- STOPPED
> NetBackup Service Monitor
> NetBackup Service Monitor -- STOPPED
> NetBackup Agent Request Server
> NetBackup Agent Request Server -- STOPPED
> NetBackup Storage Lifecycle Manager
> NetBackup Storage Lifecycle Manager -- STOPPED
> NetBackup Key Management Service
> NetBackup Key Management Service -- STOPPED
> NetBackup Vault Manager
> NetBackup Vault Manager -- STOPPED
> NetBackup Service Layer
> NetBackup Service Layer -- STOPPED
> NetBackup Policy Execution Manager
> NetBackup Policy Execution Manager -- STOPPED
> NetBackup Job Manager
> NetBackup Job Manager -- STOPPED
> NetBackup Request Daemon
> NetBackup Request Daemon -- STOPPED
> NetBackup Compatibility Service
> NetBackup Compatibility Service -- STOPPED
> NetBackup Database Manager
> NetBackup Database Manager -- STOPPED
> NetBackup Audit Manager
> NetBackup Audit Manager -- STOPPED
> NetBackup Authorization
> NetBackup Authorization -- DISABLED
> NetBackup Authentication
> NetBackup Authentication -- DISABLED
> NetBackup Deduplication Engine
> NetBackup Deduplication Engine -- STOPPED
> NetBackup Deduplication Manager
> NetBackup Deduplication Manager -- STOPPED
> NetBackup Remote Manager and Monitor Service
> NetBackup Remote Manager and Monitor Service -- STOPPED
> NetBackup Device Manager
> NetBackup Device Manager -- STOPPED
> NetBackup Volume Manager
> NetBackup Volume Manager -- STOPPED
> NetBackup Resource Broker
> NetBackup Resource Broker -- STOPPED
> NetBackup Enterprise Media Manager
> NetBackup Enterprise Media Manager -- STOPPED
> NetBackup Relational Database Manager
> NetBackup Relational Database Manager -- STOPPED
> NetBackup Event Manager
> NetBackup Event Manager -- STOPPED
> NetBackup SAN Client Fibre Transport Service
> NetBackup SAN Client Fibre Transport Service -- STOPPED
> NetBackup Client Service
> NetBackup Client Service -- STOPPED
> NetBackup Legacy Client Service
> NetBackup Legacy Client Service -- STOPPED
> NetBackup Legacy Network Service
> NetBackup Legacy Network Service -- STOPPED

Shutdown completed successfully.

C:\Program Files\Veritas\NetBackup\bin>bpup -f -v

NetBackup 7.1 -- Startup Utility

Starting services
> NetBackup Legacy Network Service
> NetBackup Legacy Network Service -- STARTED
> NetBackup Legacy Client Service
> NetBackup Legacy Client Service -- STARTED
> NetBackup Client Service
> NetBackup Client Service -- STARTED
> NetBackup SAN Client Fibre Transport Service
> NetBackup SAN Client Fibre Transport Service -- STARTED
> NetBackup Event Manager
> NetBackup Event Manager -- STARTED
> NetBackup Relational Database Manager
> NetBackup Relational Database Manager -- STARTED
> NetBackup Enterprise Media Manager
> NetBackup Enterprise Media Manager -- STARTED
> NetBackup Resource Broker
> NetBackup Resource Broker -- STARTED
> NetBackup Volume Manager
> NetBackup Volume Manager -- STARTED
> NetBackup Device Manager
> NetBackup Device Manager -- STARTED
> NetBackup Remote Manager and Monitor Service
> NetBackup Remote Manager and Monitor Service -- STARTED
> NetBackup Deduplication Manager
> NetBackup Deduplication Manager -- NOT STARTED
> NetBackup Deduplication Engine
> NetBackup Deduplication Engine -- NOT STARTED
> NetBackup Authentication
> NetBackup Authentication -- DISABLED
> NetBackup Authorization
> NetBackup Authorization -- DISABLED
> NetBackup Audit Manager
> NetBackup Audit Manager -- STARTED
> NetBackup Database Manager
> NetBackup Database Manager -- STARTED
> NetBackup Compatibility Service
> NetBackup Compatibility Service -- STARTED
> NetBackup Request Daemon
> NetBackup Request Daemon -- STARTED
> NetBackup Job Manager
> NetBackup Job Manager -- STARTED
> NetBackup Policy Execution Manager
> NetBackup Policy Execution Manager -- STARTED
> NetBackup Service Layer
> NetBackup Service Layer -- STARTED
> NetBackup Vault Manager
> NetBackup Vault Manager -- STARTED
> NetBackup Key Management Service
> NetBackup Key Management Service -- STARTED
> NetBackup Storage Lifecycle Manager
> NetBackup Storage Lifecycle Manager -- STARTED
> NetBackup Agent Request Server
> NetBackup Agent Request Server -- STARTED
> NetBackup Service Monitor
> NetBackup Service Monitor -- STARTED
> NetBackup Bare Metal Restore Master Server
> NetBackup Bare Metal Restore Master Server -- STARTED
> NetBackup Bare Metal Restore Boot Server
> NetBackup Bare Metal Restore Boot Server -- STARTED
Start up of one or more services failed.

C:\Program Files\Veritas\NetBackup\bin>
C:\Program Files\Veritas\NetBackup\bin>
C:\Program Files\Veritas\NetBackup\bin>nbemmcmd -listhosts -verbose
'nbemmcmd' is not recognized as an internal or external command,
operable program or batch file.

C:\Program Files\Veritas\NetBackup\bin>cd admincmd

C:\Program Files\Veritas\NetBackup\bin\admincmd>nbemmcmd -listhosts -verbose
NBEMMCMD, Version:7.1
The following hosts were found:
backupserver
        MachineName = "backupserver"
        FQName = "backupserver"
        MachineDescription = ""
        MachineNbuType = server (6)
backupserver
        ClusterName = ""
        MachineName = "backupserver"
        FQName = "backupserver"
        GlobalDriveSeed = "VEND:#.:PROD:#.:IDX"
        LocalDriveSeed = ""
        MachineDescription = ""
        MachineFlags = 0x17
        MachineNbuType = master (3)
        MachineState = active for disk jobs (12)
        NetBackupVersion = 7.1.0.0 (710000)
        OperatingSystem = windows (11)
        ScanAbility = 5
ibmdb3
        ClusterName = ""
        MachineName = "ibmdb3"
        FQName = "ibmdb3"
        LocalDriveSeed = ""
        MachineDescription = ""
        MachineFlags = 0
        MachineNbuType = media (1)
        MachineState = active for disk jobs (12)
        MasterServerName = "backupserver"
        NetBackupVersion = 7.1.0.0 (710000)
        OperatingSystem = rs6000 (5)
        ScanAbility = 5
Command completed successfully.

C:\Program Files\Veritas\NetBackup\bin\admincmd>

root@ibmdb3:>./bpps -x
NB Processes
------------
    root  6881308        1   0 15:18:23      -  0:00 /usr/openv/netbackup/bin/nbrb
    root  9633872        1   0 15:18:17      -  0:00 /usr/openv/netbackup/bin/bpcd -standalone
    root 10092704        1   0 15:18:24      -  0:14 /usr/openv/netbackup/bin/nbsl
    root 10420354        1   0 15:18:39      -  0:00 /usr/openv/netbackup/bin/nbsvcmon
    root 12452040        1   0 15:18:17      -  0:00 /usr/openv/netbackup/bin/vnetd -standalone
    root 12779716        1   0 15:18:23      -  0:02 /usr/openv/netbackup/bin/nbemm
    root 12976184        1   0 15:18:23      -  0:00 /usr/openv/netbackup/bin/bpcompatd
    root 13172806        1   0 15:18:24      -  0:00 /usr/openv/netbackup/bin/nbrmms
    root 13697224        1   0 15:18:17      -  0:20 /usr/openv/db//bin/NB_dbsrv @/usr/openv/var/global/server.conf @/usr/openv/var/global/databases.conf -hn 7

MM Processes
------------

Shared Symantec Processes
-------------------------
    root  7471358        1   0 11:33:52      -  0:00 /opt/VRTSpbx/bin/pbx_exchange
root@ibmdb3:>

SERVER = BACKUPSERVER
SERVER = ibmdb3
CLIENT_NAME = ibmdb3
CONNECT_OPTIONS = localhost 1 0 2
USE_VXSS = PROHIBITED
VXSS_SERVICE_TYPE = INTEGRITYANDCONFIDENTIALITY
EMMSERVER = ibmdb3
HOST_CACHE_TTL = 3600
VXDBMS_NB_DATA = /usr/openv/db/data
MEDIA_SERVER = ibmdb3
 

Looking forward your reply, many thanks.

 

Imra_backup's picture

Hi Marianne,

Sorry I have wrongly paste the stop/start netbackup services just now (in my recent post)

 

Imra_backup's picture

Sorry Marianne,

I forgot to attached 'nbemmcmd -getemmserver' output.

C:\Program Files\Veritas\NetBackup\bin\admincmd>nbemmcmd -getemmserver
NBEMMCMD, Version:7.1
These hosts were found in this domain: backupserver, ibmdb3

Checking with the host "backupserver"...
Checking with the host "ibmdb3"...

Server Type    Host Version        Host Name                     EMM Server

MASTER         7.1                 backupserver                  backupserver

MEDIA          7.1                 ibmdb3                        ibmdb3

One or more hosts had mismatched EMM Servers.
The consistency check either failed or was incomplete.
Command did not complete successfully.

Marianne's picture

You have installed the Media server as its own EMM server instead of specifying the master as EMM server.

Try this:

Stop NBU on media server
Change 'EMMSERVER = ibmdb3' in bp.conf to 'EMMSERVER = BACKUPSERVER'

Start NBU.

You can also run nbemmcmd -setemmserver on the master.

Run all the commands above and verify output.

PS: WHY do you have Master server name in upper case on the media server? Best to stick to same case.

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

Imra_backup's picture

Hi Marianne,

Here you go, new output after amend bp.conf

Please post output of these commands on master server:
nbemmcmd -listhosts -verbose
nbemmcmd -getemmserver

On media server:
bpps -x
cat /usr/openv/netbackup/bp.conf

C:\Program Files\Veritas\NetBackup\bin\admincmd>nbemmcmd -listhosts -verbose
NBEMMCMD, Version:7.1
The following hosts were found:
backupserver
        MachineName = "backupserver"
        FQName = "backupserver"
        MachineDescription = ""
        MachineNbuType = server (6)
backupserver
        ClusterName = ""
        MachineName = "backupserver"
        FQName = "backupserver"
        GlobalDriveSeed = "VEND:#.:PROD:#.:IDX"
        LocalDriveSeed = ""
        MachineDescription = ""
        MachineFlags = 0x17
        MachineNbuType = master (3)
        MachineState = active for disk jobs (12)
        NetBackupVersion = 7.1.0.0 (710000)
        OperatingSystem = windows (11)
        ScanAbility = 5
ibmdb3
        ClusterName = ""
        MachineName = "ibmdb3"
        FQName = "ibmdb3"
        LocalDriveSeed = ""
        MachineDescription = ""
        MachineFlags = 0
        MachineNbuType = media (1)
        MachineState = active for disk jobs (12)
        MasterServerName = "backupserver"
        NetBackupVersion = 7.1.0.0 (710000)
        OperatingSystem = rs6000 (5)
        ScanAbility = 5
Command completed successfully.

C:\Program Files\Veritas\NetBackup\bin\admincmd>nbemmcmd -getemmserver
NBEMMCMD, Version:7.1
These hosts were found in this domain: backupserver, ibmdb3

Checking with the host "backupserver"...
Checking with the host "ibmdb3"...

Server Type    Host Version        Host Name                     EMM Server

MASTER         7.1                 backupserver                  backupserver

MEDIA          7.1                 ibmdb3                        ibmdb3

One or more hosts had mismatched EMM Servers.
The consistency check either failed or was incomplete.
Command did not complete successfully.

C:\Program Files\Veritas\NetBackup\bin\admincmd>nbemmcmd -listhosts verbose
NBEMMCMD, Version:7.1
There is no value associated with the command option
Usage:
nbemmcmd -listhosts [-brief] [-verbose] [-parsable]
    [emmname <string>] [-emmport <unsigned integer]
    [-list_snap_vault_filers -machinename <string>]
    [-list_snap_vault_media_servers -masterserver <string>]
    [-list_sts_hosts -machinename <string>]
    [-list_sts_media_servers -masterserver <string>]
    [-list_app_clusters -masterserver <string>]
    [-list_servers_in_emm_cluster -clustername <string>]
    [-list_servers_in_app_cluster -clustername <string>]
    [-nbservers [-masterserver <string>]]
    [-display_server -machinename <string> -machinetype <api | app_cluster | cli
ent | cluster | disk_array | master | media | ndmp | remote_master | replication
_target | virtual_machine>]
    [-netbackupversion <<level>.<major level>.<minor level>>]]
Command did not complete successfully.

C:\Program Files\Veritas\NetBackup\bin\admincmd>nbemmcmd -listhosts -verbose
NBEMMCMD, Version:7.1
The following hosts were found:
backupserver
        MachineName = "backupserver"
        FQName = "backupserver"
        MachineDescription = ""
        MachineNbuType = server (6)
backupserver
        ClusterName = ""
        MachineName = "backupserver"
        FQName = "backupserver"
        GlobalDriveSeed = "VEND:#.:PROD:#.:IDX"
        LocalDriveSeed = ""
        MachineDescription = ""
        MachineFlags = 0x17
        MachineNbuType = master (3)
        MachineState = active for disk jobs (12)
        NetBackupVersion = 7.1.0.0 (710000)
        OperatingSystem = windows (11)
        ScanAbility = 5
ibmdb3
        ClusterName = ""
        MachineName = "ibmdb3"
        FQName = "ibmdb3"
        LocalDriveSeed = ""
        MachineDescription = ""
        MachineFlags = 0x17
        MachineNbuType = media (1)
        MachineState = not reachable by master (4)
        MasterServerName = "backupserver"
        NetBackupVersion = 7.1.0.0 (710000)
        OperatingSystem = rs6000 (5)
        ScanAbility = 5
Command completed successfully.

C:\Program Files\Veritas\NetBackup\bin\admincmd>nbemmcmd -getemmserver
NBEMMCMD, Version:7.1
These hosts were found in this domain: backupserver, ibmdb3

Checking with the host "backupserver"...
Checking with the host "ibmdb3"...

Server Type    Host Version        Host Name                     EMM Server

MASTER         7.1                 backupserver                  backupserver

MEDIA          7.1                 ibmdb3                        BACKUPSERVER

Command completed successfully.

root@ibmdb3:>./bpps -x
NB Processes
------------
    root  4194454        1   0 16:30:47      -  0:00 /usr/openv/netbackup/bin/nbsl
    root  6488290        1   0 16:30:46      -  0:00 /usr/openv/netbackup/bin/vnetd -standalone
    root  9175200        1   0 16:30:47      -  0:00 /usr/openv/netbackup/bin/nbrmms
    root 12452044        1   0 16:30:46      -  0:00 /usr/openv/netbackup/bin/bpcd -standalone
    root 12583054  9175200   0 16:31:02      -  0:00 /usr/openv/netbackup/bin/admincmd/bpstsinfo -DPSPROXY
    root 12648468        1   0 16:30:49      -  0:00 /usr/openv/netbackup/bin/nbsvcmon
    root 13566092        1   0 16:30:46      -  0:00 /usr/openv/netbackup/bin/bpcompatd

MM Processes
------------
    root 14352394        1   0 16:30:46      -  0:00 vmd

Shared Symantec Processes
-------------------------
    root  7471358        1   0 11:33:52      -  0:00 /opt/VRTSpbx/bin/pbx_exchange

SERVER = BACKUPSERVER
SERVER = ibmdb3
CLIENT_NAME = ibmdb3
CONNECT_OPTIONS = localhost 1 0 2
USE_VXSS = PROHIBITED
VXSS_SERVICE_TYPE = INTEGRITYANDCONFIDENTIALITY
EMMSERVER = BACKUPSERVER
HOST_CACHE_TTL = 3600
VXDBMS_NB_DATA = /usr/openv/db/data
MEDIA_SERVER = ibmdb3

Hope this helps

 

Imra_backup's picture

Hi Marianne,

Everything looks ok now, i can detect tape drive in ibmdb3 (my media server) and have successfully create storage unit. Now, as you know my goal is to restore data that I have backup last week. i have bring the tape here at remote site.

So appreciated your assist from here - to perform restore to ibmdb3(media server) ...thank you in advance

Imra_backup's picture

Hi Marianne,

i have start restore but got small error. Appreciated to check below;

1/17/2013 5:31:10 PM - media 0030L5 required
1/17/2013 5:31:18 PM - restoring image ibmdb1_1358031600
1/17/2013 5:31:33 PM - requesting resource 0030L5
1/17/2013 5:31:34 PM - Error nbjm(pid=4164) NBU status: 95, EMM status: Media does not exist    
1/17/2013 5:31:34 PM - Error nbjm(pid=4164) NBU status: 95, EMM status: Media does not exist    
1/17/2013 5:31:35 PM - restored image ibmdb1_1358031600 - (requested media id is not assigned to this host in the EMM database(95)); restore time 00:00:17
1/17/2013 5:31:36 PM - Warning bprd(pid=4496) Restore must be resumed prior to first image expiration on 2/12/2013 3:00:00 PM
1/17/2013 5:31:37 PM - end Restore; elapsed time: 00:00:35
invalid error number(2826)

Marianne's picture

See my post below about Media Id Generation,

Verify that robot can see all 8 characters of the barcode and not only 1st 6.

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

Marianne's picture

You now need to go back to Recovery Without Import doc....

Images have already been copied to DR master, right?

You now need to put the tapes in the robot and Inventory NBU.

Ensure Media Ids are in the same format as production site - If production robot and server was configured to use 1st 6 characters of barcode, ensure same config at DR. Same if last 6 characters are used at Prod. (Lots of posts here and also in Admin Guide - search for Media ID Generation.)

Add Media Host override entries for Prod media servers to force restores to DR media server.

Ensure all DR clients have SERVER entries for media server and that forward and reverse lookup works properly.

Use BAR GUI to restore - remember to select original client as source client and DR client as destination.

Ensure ALL of these logs exist for troubleshooting:

On master: bprd (restart NBU Request Manager service after creating folder)
On media server: bptm and bpbrm
On destination clients: bpcd and tar

Good luck!!

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

Imra_backup's picture

Hi Marianne,

Thanks, I overlook on the inventory robot.

When I run inventory robot, i got =cannot connect to robotic software daemon (42)

Check in symantec forum they ask me to delete vmd.lock (in /usr/openv/volmgr/misc) but it didn't work.

Can please assist me this morning...almost there ....

Thank you in advance.

 

Marianne's picture

Almost there?

When I look at your opening post and yesterday's post, I realize that we're back at square one.....

 

Remote site setup;

Unix server (IBM server)

Tape drives = IBM LTO Ultrium 5

and

Everything looks ok now, i can detect tape drive in ibmdb3 (my media server)

You never mentioned any robot?
IBM or non-IBM robot?

If non-IBM robot, are you familiar with the steps in Device Config Guide to install ovpass driver and mkdev to create device name for the robot? (You should ideally have a documented procedure since you are using Quantum robot at your production site). If not, please download above manual and go through steps in AIX chapter to config the robot.

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

Imra_backup's picture

Hi Marianne,

Thanks again. Sorry it should be IBM robot. But my IBM server at remote side already load with atape driver, version 12.5.9.0. In the device config guide I didn't see steps to config IBM robot. I think the challenge now to add robotic path in Netbackup. Thats why netbackup cannot communicate with IBM tape drive attached to my media server - no robotic path define in robot device column.

Pls advice. Thanks

 

Imra_backup's picture

Hi Marianne,

Sorry I'm confused.

I don't think so my IBM tape drive need to define robot in Netbackup rite..(really sorry if this not correct.)

Or is it Netbackup need to define as a robot in order to initiate backup/restore task to the tape drive.

Please advice..I'm confused now.....

Marianne's picture

Please have another look at device config at your main site - you will see that robot is defined in NBU with OS device name and that tape drives are configured with their positions inside the robot. You need this to enable automatic tape mounts and robot inventory.

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

Marianne's picture

Please go through Device Config Guide steps to ensure that OS can see robot and that OS has device name for the robot.

 

*** PS - Apologies if I'm not very helpful today - busy day ahead...

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

Imra_backup's picture

Hi Marianne,
FYI OS already can see tape drive and OS has define name for it (as below)

root@ibmdb3:>lsdev -Cc tape
root@ibmdb3:>rmt0 Available 04-00-00 IBM 3580 Ultrium Tape Drive (SAS)

Also NBU already with OS device name and that tape drives are configured with their
positions inside the robot. Attached screenshot - tape drive properties

Another on in robot setting (as attached), should it be robot control by a remote host or else ?

Please advice.
many thanks.

tape drive - inside tape library.png robot setting.png
Marianne's picture

Where is the robot physically connected to?

Please show output of 'scan' as well as 'tpconfig -l' on master and media server (in ...volmgr\bin)

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

Imra_backup's picture

Hi Marianne,

As requested. Do Netbackup support tape drive with SAS connection ?

Master Server (Windows)
C:\Program Files\Veritas\Volmgr\bin>tpconfig -l
Device Robot Drive       Robot                    Drive  Device
Type     Num Index  Type DrNum Status  Comment    Name  Path

C:\Program Files\Veritas\Volmgr\bin>robtest
No robots are configured

Media Server (IBM)
root@ibmdb3:>./tpconfig -l
Device Robot Drive       Robot                    Drive                Device
Type     Num Index  Type DrNum Status  Comment    Name                 Path
robot      0    -    TLD    -       -  -          -                    REMOTE
drive      -    0 hcart2    -      UP  -          IBM.ULT3580-TD5.000  /dev/rmt0.1
 

Marianne's picture

You forgot to show output of 'scan' on master and media server.
We still don't know where the robot is physically connected.

Above output shows that robot is NOT configured on the master.

Media server otput shows a robot on the media server controlled by a remote host.
Tape drive on media server is not in a robot ( not indented under the robot and no robot position number).
Output from cmd does not match your screenshot - why would that be?

lsdev output shows a tape drive - no robot.

Have you gone through the AIX chapter in Device Config Guide yet?

Do Netbackup support tape drive with SAS connection ? 

Yes, depending on robot make/model and tape drive make/model.
We still don't know which make/model tape library is at your remote site. (You have only told us about the Quantum scalar i80 at primary site.)
Please find your tape library in NetBackup 7 Hardware Compatibility List (HCL)

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

Imra_backup's picture

Hi Marianne,

Sorry forgot to attached 'scan' output - both master & media server.

But one thing for sure tape drive connect to my Media Server (which is the IBM AIX server)

Let me recap my Master Server is Windows 2008 R2 Server without tape drive/library attached.

Yes indeed robot was not configured in Master (after perform robtest command).And also lsdev in AIX Server shows only tape. Is that mean no need for me to configure robot in netbackup (as AIX only detect IBM tape drive)

Ok no tape library in remote SITE and  model = IBM Ultrium 3580. yes have gone through AIX chapter and all i can see setting & create netbackup device file only for fiber & SCSI connection.

In HCL list netbackup only support up to ultrium 4 for model ibm 3580, means i need to have l

 

latest drivers etc.Please advice. thank you .

Marianne's picture

NBU and OS sees tape drive fine - so should be OK.

Standalone tape drive means you need someone at remote site to manually insert tape in drive when restore jobs asks for tape mount.

Please delete robot from remote site config and restart NBU on master and media server.

Because you cannot do robot inventory to add media-id's to NBU at remote site, you will have to manually add all media id's needed for restore(s). You can use the GUI or vmadd from cmd. Remember that media density must match tape drive's density (hcart2).

Once this is done, you should be able to kick off first restore. When restore prompts for media to be loaded, insert tape in drive.

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

Imra_backup's picture

Hi Marianne,

Ooh ok, now very crystal clear now - different between standalone drives & robot control.

I will do necessary and let you know the outcome.

Just quick one, what IF the tape already insert on the tape drive. Can I start restore now (I will try to remote from home, caused the tape already inside the drive)

Again THANK YOU.

 

Marianne's picture

Has tape been added in Media section of the GUI?

Does 'vmoprcmd -d' on media server 'see' correct internal label?

If so, you can start the restore.
(I'm holding thumbs....)

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

Imra_backup's picture

Hi Marianne,

Restore has initiated & right now pending action (user intervention, i guess somebody must put the tape inside the tape drive - eventhough the tape is currently inside the drive. Maybe eject & put back to the drive.

vmoprcmd command looks ok..correct media label ID. Hope its OK,  i will continue on Moday to proper put in tape to drives.

Many thanks Marianne, will keep you updated.

 

Marianne's picture

Please share 'vmoprcmd -d' command output as well as all text in Activity monitor.

 

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

Imra_backup's picture

Hi Marianne,

It works !!  Many thanks for your utmost support.

So for next restore at remote site, checklist would be as follows;

1. Copy backup images from live site, Master Server

2. Restore backup image into remote site Master Server

3. Add media to Netbackup (I'm using GUI)

4. Add Media Host override entries for Prod media servers to force restores to DR media server - OK this only set ONCE in 'Host properties'

5. Start Restore:

Hope this is it (please do add if I mist out..)

RamNagalla's picture

yes,

please mark Marianne post as Soultion, it will give small reward for her Utmost support.

Marianne's picture

Sorry Imra,

I've missed yesterday's post....

Yes - your steps look good. 
The device config was (hopefully) a once-off.

I'm curious to see which post you will mark as Solution!
Remember to login as Imra2013 to mark solution.

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

Imra_backup's picture

Hi Marianne,

Sorry, how to logon as Imra2013 ?

I'm currently using Imra_backup, can't see sign out button :)

 

RamNagalla's picture

hi,

see the below screenshot

click on Accout-->signout

 

then login as Imra2013 by providing user name and Passwd 

 

 

Marianne's picture

48 replies (this one will be 49) and still no solution??

Must be new record.
Nagalla's very first reply should have been the solution!

I can no longer read or reply to this thread on my mobile - simply running out of memory because of the length?

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

imra2013's picture

Sorry Marianne,

I just dont know how to close this, where to click to mark this solution ?

imra2013's picture

sorry sorry, click already - mark as solution.

Marianne's picture

So - now you mark your own post that has NOTHING to do with the actual issue as Solution???

The idea with Solutions is that someone who finds this post, can click on the 'See solution' link at the top of the screen and be taken straight to the Solution....

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

imra2013's picture

Hi Marianne,

So sorry, I shall click to correct solution.