Start a Conversation

Unsolved

1 Message

2204

October 23rd, 2018 07:00

Help on how to backup the media database and client indexes to a single tape for DR purposes

I'm preparing our backup environment for an external DR environment.

I'm running networker version v8.2.4 on a windows server 2008 R2. Our external DR environment has the same physical infrastructure and also same OS version and same hostnames for clients and the networker server.

During previous DR testings on this external environment, we were using the scanner command to scan the tapes and rebuild the media database and indexes, but this is taking 2 days or more to complete.

EMC Networker Disaster Recovery Guide suggests I should backup the media database and client indexes to a single tape, so I could restore them on the networker server on DR environment (since I'm using same OS version and same hostname).

To do so, I need to add this routine (backup the media database and client indexes to a single tape) to my weekly backup job, but I don't how to do it via emc networkker management console interface. These are the steps suggested on the guide:


To back up the NetWorker servers:

1. Make a full backup of the source server by running the following:

savegrp -l full -c nw_servername -G group_name

where group_name identifies the group containing the server with the save set all.

2. Before removing the NetWorker software from the source server, save all indexes

and bootstraps as level full on a single tape for the default pool.

3. If the source server was previously setup to use a pool, rather than the default to

save the indexes and bootstrap, temporarily disable that pool.

4. Put one instance of each client in a group called TEST to do a full backup of

indexes of all clients and bootstrap. To save the indexes and bootstraps, enter this

command:

# savegrp -l full -O -G TEST

Note: The group name is case-sensitive.

2.4K Posts

October 24th, 2018 04:00

With respect to the correct pool: it does not really matter - you can use any tape pool.

If you have the media label to another pool but Default, NW will ask you to create that pool (AFAIR).

Just create it (the parameters do not really matter because you will overwrite them with the bootstrap data).

######

Actually, the best method is to run "savegrp -l full -O -G " where is pointing to the savegroup which runs to backup your NW server. As stated, ensure that each client is a member of this group.

This avoids the need to reconfigure your system just for this purpose.

For instance, you could setup a group called ALL and add each client to this group.

Set Autostart to disabled so that you can trigger the group manually.

NW 9.x has a special policy/workflow for that purpose.

And do not forget that the CFI information is a 'nice-to-have' set of data but it is not mandatory. Once you got the bootstrap (the media index) back, NW knows where these backups are located and he will help you recovering them.

But the bootstrap (the media db) is mandatory to be able to run new backups.

263 Posts

October 24th, 2018 07:00

I'm running networker version v8.2.4 on a windows server 2008 R2. Our external DR environment has the same physical infrastructure and also same OS version and same hostnames for clients and the networker server.

Does this DR site have the same networking setup? 

If your production environment depend on DNS for name resolution, are the DR's DNS servers all populated with the same host info as the production server?

If the DR's DNS is not setup, does each of the DR NetWorker hosts all have their local host file populated with the needed hosts and ip. addresses?

Many people performing DR tests has encountered seeing the NetWorker server starting up the NetWorker server application very slow or even appear hung because host name lookup was not defined at the DR site.  The lookup happens because when nsrd is started, it reads the nsrdb database, and then afterwards when nsrmmdbd opens and reads the media database.  In both cases, essentially, if it finds a hostname (or FQDN), it will perform a name lookup for its IP address.  And if it fails, it will retry a few times before finally giving up.

This behavior can also happen in production sites if the name lookup service is unavailable when NetWorker server is started.

The more hosts that are not resolvable, the longer the NetWorker server startup will take.

During previous DR testings on this external environment, we were using the scanner command to scan the tapes and rebuild the media database and indexes, but this is taking 2 days or more to complete.


In a pure DR scenario, after installing NetWorker in the DR server, you need to locate the volume that has the most recent NetWorker bootstrap backup.  And if you have the ssid of that most recent bootstrap, then even better.  With that, then all you have to do is to create the NetWorker device that can read that volume, put that volume into that device, and (prior to nw 9) run mmrecov.  After that, you stop nw, make an online backup copy of res.R and mm, replace res with res.R, then restart NetWorker and complete the recovery.  Note: after the recovery is complete, you should also scan that same bootstrap tape.

If you only know the volume that has the most recent bootstrap, then load the tape and use "scanner -m" so that it can catalog the tape.  "mminfo -avot (volume)" will then tell you what is on the tape, and you can then find the bootstrap info from that output.

If you do not know which volume has the most recent bootstrap, then unfortunately you will need to scan each volume until you locate it.  You should only need to scan tapes until the bootstrap is located.

After the bootstrap is recovered, you can then recover some or all of the client file index using: "nsrck -L7".

EMC Networker Disaster Recovery Guide suggests I should backup the media database and client indexes to a single tape...

Ideally that would be convenient for DR purposes, so that all you would need is minimal set of tapes to recall for recovery.  This can be achieved by creating a pool to store index and bootstrap backups.  To create a set of volumes that will contain the bootstrap and index:

- label a new tape with the pool you will use to hold the bootstrap

- load that new tape so that new tape will be used

- create a NetWorker Group that has all the clients that you want to backup their client file indexes.  Or just add the clients used for the DR testing.

- backup the bootstrap and indexes with:  savegrp -O -l full -b (pool) (Group)

The "savegrp -O" will backup the client file index databases first before finally backing up the bootstrap.

In a pure DR scenario, you would need to rebuild your NetWorker server, and possibly your networking infrastructure.  For your DR testing, I would recommend creating a text file containing all the hostnames and ip's in your NetWorker environment.  Save that file to a memory stick, and bring it along to the DR site.

263 Posts

October 24th, 2018 20:00

Correction on .. backup the bootstrap and indexes with:  savegrp -O -l full -b (pool) (Group)

The command is actually: savegrp -O -l full  (Group)


To get the index and bootstrap backups to be written to a specific pool, you would need to create or modify a pool to have the following properties, and then label a volume with that pool.

name: Index;

pool type: Backup;

save sets:

                bootstrap

                index:*

levels: ;

For complete and specific details, please look at:

How to save the index to a separate pool?

https://community.emc.com/docs/DOC-22523

No Events found!

Top