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

NBU Master Media Server Merging

Created: 20 Apr 2010 • Updated: 23 May 2010 | 19 comments
This issue has been solved. See solution.

Dear All,

i have one NBU Master/Media/Emm 6.5.4 on SUN Sparc, Solaris 5.10

i want to add a Media Server to the existing environment?

i was looking in to the other forums related to this? but got no specific solution/method ?

kindly correct me, if i am wrong?
what i got from the previous forums, on the other machine which i want to make a Media Server , i do a ./install of NBU setup and continue with that.

Comments 19 CommentsJump to latest comment

sushil.gulati's picture

Hi Shakil,

Adding a media server to an existing environment will be identical to adding a media server to a freshly built environemnt as far installation procedure is concerned, so you can safely follow the media server installation method mentioned in Installation guide (Technote - 290199). Just make sure that you keep PBX media handy (as you do with any new Unix/Solaris/Linux server) and you point this installation to correct Master/EMM server.

However the difference will be with your planning which consists (few on top of my head)

> Load sharing to be done with other/existing media servers.
> Configuration like Storage Unit Groups etc(if any) will have to be updated with this new media server.
> Client policies have to be distributed in order to achieve the goal of adding a new media server.

> etc, If any

 

Marianne's picture

I agree with all of the above. Installation of media server is the same as installation of master server. The only difference is the response to questions at the end of the installation (Unix). Provide master server hostname as EMM server and Master server (answer 'n' when asked if this is master server).
Ensure that you have the appropriate media server license key - If media server will only backup itself, you need Enterprise Client license. If it will backup clients on the network, you need a NetBackup Enterprise Server license as well as robotic tape drive license if you will be backing up to tape. If you will be sharing tape drives, add SSO license.
Before you start installation, ensure forward and reverse hostname lookup in both directions. Easiest to add /etc/hosts entries. Also add media server to SERVER list on Master:
# nbemmcmd -addhost -machinename <newmediasrvname> -machinetype media -masterserver <yourmastersrbvname> -operatingsystem solaris -netbackupversion 6.5.x
If media server will be backing up network clients, add SERVER entry through Host Properties to all clients.
Again, ensure forward and reverse name lookup.
Ensure backup device(s) are visible and usable at O/S level before adding to NBU.
Next, configure devices for media server (disk or tape) through master server GUI, add storage unit, config policies....

Hope I've remembered everything...

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

Andy Welburn's picture

Installing NetBackup media server software on UNIX
http://seer.entsupport.symantec.com/docs/316373.htm

DOCUMENTATION: How to use the "nbemmcmd -addhost" command to add a media server to a VERITAS NetBackup (tm) 6.0 environment.
http://seer.entsupport.symantec.com/docs/279049.htm

And also there is a section on "Adding a media server" in:
Veritas NetBackup (tm) 6.5 Administrator's Guide for UNIX and Linux, Volume 2
http://seer.entsupport.symantec.com/docs/290202.htm

and a small section on how "to register a media server" in:
Veritas NetBackup (tm) 6.5 Administrator's Guide for UNIX and Linux, Volume 1
http://seer.entsupport.symantec.com/docs/290201.htm

The latter strangely refers back to Volume 2:
"The following procedure assumes that all other steps to add a media server are accomplished. For the procedures, see “Adding a media server” in the NetBackup Administrator’s Guide, Volume II."

Shakil Qureshi's picture

Dear all,

i did it like this way, does it sounds good.   Master Server Name (pdbabckup) and the desired Media Server name (ddbbackup)
--> installed NBU Setup for Media Server.
--> the entries on which it has prompted me are
1)
Would you like to use "ddbbackup" as the configured
name of the NetBackup server? [y,n] (y) n

Enter the name of the NetBackup server: pdbbackup

Is pdbbackup the master server? [y,n] (y)
Do you have any media servers? [y,n] (n) y                 //(is this entry correct, as i do not have any media Server but i am going to add ?)
 
Enter the fully qualified name of a media server (q to quit): ddbbackup          
Enter the fully qualified name of a media server (q to quit): q
2)
Enter the Enterprise Media Manager server (default: pdbbackup):

3)
then added entry in the Master's bp.conf file
SERVER = ddbbackup
4)
restarted both Master and media services

5)
is there anything else... which i need to do?
and what about the command
nbemmcmd -addhost -machinename ........................................................

should i run this command.. i think this command is for NBU 6.0  but i have NBU 6.5.4

kinldy suggest?  and also the next things to follow ?

AttachmentSize
nbu media installation.txt 6.87 KB

Regards,

Shakil Qureshi
Technical Consultant

Shakil Qureshi's picture

Whether i didnot run the command
For UNIX Media servers:


# cd /usr/openv/netbackup/bin/admincmd

# nbemmcmd -addhost -machinename <hostname> -machinetype <type> -masterserver <master_hostname> -operatingsystem <os> -netbackupversion <version>

but still i can see Media Server in the NBU Console.  Kindly suggest ?

PIC 1,2,3, 4 and 5

1.jpg 2.jpg 3.jpg 4.jpg 5.jpg

Regards,

Shakil Qureshi
Technical Consultant

Marianne's picture

Installation of media server was incorrect:

Would you like to use "ddbbackup" as the configured
name of the NetBackup server? [y,n] (y) n

Enter the name of the NetBackup server: pdbbackup

Is pdbbackup the master server? [y,n] (y)

The 1st answer should have been Y
Would you like to use "ddbbackup" as the configured
name of the NetBackup server? [y,n] (y)  y

The question after the y answer would have been:
Is ddbbackup the master server? [y,n] (y)  n

It would then prompt you for the name of the master server...

You might be able to fix everything by editing bp.conf on the media server.

The entries should look like this:

SERVER = pdbbackup
SERVER = ddbbackup
CLIENT_NAME = ddbbackup

Also check bp.conf entries on master. Should look like this:

SERVER = pdbbackup
SERVER = ddbbackup
CLIENT_NAME = pdbbackup

The fact that you manually added SERVER entry to master's bp.conf and restarted NBU was enough. The nbemmcmd command can be used in a 24x7 environment where you cannot stop/start NBU on the master.

Restart NBU on Master and Media after confirming that all bp.conf entries are correct.

Also verify on media server that emm server entry is correct (set to master server):
/usr/openv/volmgr/bin/vmglob -get_gdbhost

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

SOLUTION
Shakil Qureshi's picture

okay.. let me again perform the Media Server installation.

and will update u in short time.
i have installed Media Server before... i am getting error 59, when trying to take backup with Media Server's Storage volume.

Regards,

Shakil Qureshi
Technical Consultant

Shakil Qureshi's picture

now i did it like this...

-->
Would you like to use "ddbbackup" as the configured
name of the NetBackup server? [y,n] (y)

Is ddbbackup the master server? [y,n] (y) n

What is the fully qualified name of the master server? pdbbackup

Enter the Enterprise Media Manager server (default: pdbbackup):
---->
updating media server to 6.5.4
        NB_6.5.4 *
        NB_CLT_6.5.4 *
        NB_JAV_6.5.4 *                           (Question: i have added bmr,bbs,oracle etc other patches to Master Server, do i need it in Media as well)

After the media server installation...
following is the out put of bp.conf of media Server:
SERVER = pdbbackup
SERVER = ddbbackup
CLIENT_NAME = ddbbackup
EMMSERVER = pdbbackup

following is the out put of bp.conf of Master Server:
SERVER = pdbbackup
SERVER = ddbbackup    (added entry manually)
CLIENT_NAME = pdbbackup
EMMSERVER = pdbbackup
VXDBMS_NB_DATA = /usr/openv/db/data
VERBOSE = 5

the output of the command on the Media Server is
/usr/openv/volmgr/bin/vmglob -get_gdbhost
pdbbackup

stop and restarted NBU Services..

let me check it by taking backup of client.. via Media Server Storage volume and will update you.

Regards,

Shakil Qureshi
Technical Consultant

Shakil Qureshi's picture

while trying to take backup of a client, and also added entry in the /etc/hosts of the client, n media Server as well.
i am getting the following error
"access to client was not allowed (59) "

kindly suggest ?

Regards,

Shakil Qureshi
Technical Consultant

Shakil Qureshi's picture

backup becomes sucessfull,, when i use the available_storage that was configured with Master Server (pdbbackup)

backup Fails,, when i use the available_storage that was configured with the Media Server (ddbbackup)

i was doing google, but no sucess.

suggestions please.

Regards,

Shakil Qureshi
Technical Consultant

Shakil Qureshi's picture

Do we need to add an entry in the bp.conf of the Client  as well ?

Regards,

Shakil Qureshi
Technical Consultant

Marianne's picture

Did you add the new media server as SERVER to the client that you are backing up?
Did you add the new media server to /etc/hosts on the client?
Can the client resolve the media server's IP address back to the server name?

Create bpcd log on client.
From media server, test connectivity using :
bptestbpcd -client <client_name>

Check bpcd log for incoming connection from media server IP address.
Next you will see the client trying to resolve IP address to a hostname.
Once a hostname is found for the incoming address, NBU compares the hostname with SERVER entries in it's own bp.conf. If that process is unsuccessful, you see status 59.
(Detailed explanation of status 59 in NetBackup Troubleshooting Guide as well as Troubleshooter in Activity Monitor)

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

Shakil Qureshi's picture

Dear,

i had tried lot of tech notes, then i did one thing myself to add entry of Media Server in the bp.conf file.

in Windows,


HKEY_LOCAL_MACHINE\Software\VERITAS\NetBackup\CurrentVersion\Config\Server

HKEY_LOCAL_MACHINE\Software\VERITAS\NetBackup\CurrentVersion\Config\Client_Name

in Unix clients,
/usr/openv/netbackup/bp.conf

i used the available_storage of Media Server
then it backed up sucessfully, and restoring. (confirmed it by looking the disk space of Media Server) but restoring only on one condition.
in NBU console, --> backup archive and restore ---> Server use for backup and restore (pdbbackup)

when i provide pdbabckup it restores sucessfully,  if i use ddbackup. it fails by "cannot connect on socket"error 25.

is Media Server working well, or not ? or does it restores filesystem like this ?

Regards,

Shakil Qureshi
Technical Consultant

DeanA's picture

Rather than manually editing the client's registry to add the new media server, you can do this using the Admin Console or JAVA Console.

Click Hosts > Clients, then double click the client. Under the Servers tab, you can click the Add button to add the new media server to the client's configuration.

Marianne's picture

Restore GUI is not very informative about the Server entry.
The Server name specified in Restore GUI must be the name of the server where the images database can be found, which is ALWAYS the master. The reason why you have the option of changing the Server name in the GUI, is for systems like my own desktop where I can connect to both our own in-house master as well as my lab master.

The Master server will find the image to restore from and send the restore request to the media server that performed the backup.

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

Shakil Qureshi's picture

thats Kool.... so my file system backup/restores are sucesfull.

i would also perform a NBU BMR using Media Server as well.

one quick question. as i have only installed these 3 on media Server.
        NB_6.5.4 *
        NB_CLT_6.5.4 *
        NB_JAV_6.5.4 * 

for doing a BMR of linux or windows.... do i need to install BMR on media Server ? or  Master would provide this functionality ?

Regards,

Shakil Qureshi
Technical Consultant

Marianne's picture

Glad to hear that your media server is working fine!!
There are 3 BMR components:
BMR master - can only go on master server and stores BMR backup components as part of EMM database.
BMR boot server - you need one per O/S environvent (e.g, one Solaris boot server for Solaris Clients, one Linux Boot Server for Linux clients, one Windows, etc). Boot server can be installed on a media server or client.
BMR client - software installed with normal client & media server software.

In other words, if you want to make the new media server a BMR boot server, you need to install that software on it.Otherwise nothing else needed.
You also only need database agents on the media server if there is a database installed on that particular media server and you want to use the agent to do a local hot database backup.

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

Shakil Qureshi's picture

kindly correct me if i am wrong ....

--> i did a BMR restore from the Storage of Master Server(pdbabckup) sucessfully.

After the BMR, system was up, i took a full BMR backup on the Storage of Media Server.

--> Again performed a BMR, without any prompting it has restored from the Storage of Media Server.

i think, while performing BMR, there is no need to add any package of BMR to Media Server. Master provides this functionality.

Regards,

Shakil Qureshi
Technical Consultant

Marianne's picture

Correct.
If you don't need to config the media server as BBS (already done on your master), there is no need for any additional software on your new media server.

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