cancel
Showing results for 
Search instead for 
Did you mean: 

Media Server

H_Sharma
Level 6

Hello Experts,

We have the below enviornment.

1:- Master Server:- Windows 2008 R2 (Physical) 7.6

2:- Media Server:- Solaris 11 (Virtual)

3:-Media Serer :- Solaris 11 (Virtual)

4:- 300+ Clients with Windows and Solaris

Only 1 tape library with 1 robot.

We are taking backups through our master server means storage units are on enterprise master server. One day our both the two media servers were down still backups were happening as storage units were on master. So below are the queries.

1:- I need to understand the role of media server as we are doing backups without media server? I am very much confused with the role of media server.

2:-  do we need to install drivers for library on these 2 media servers. SSO is already there. I tried to check the devices attached to the solaris media server through prtdiag -v command and could not find any drives attached/anything on these virtual media servers?

3:- How to install the media server steps if we make one more media server on virtual solaris server? 

4:- Do we just need to install media server software on the O/S and it works as media server or any other configuration such as robot/drives drivers etc needs to be  configured on a media server?

Thanks,

1 ACCEPTED SOLUTION

Accepted Solutions

Andrew_Madsen
Level 6
Partner

By default when you install a master serve you install a media server on the same machine. So you are doing backups with a media server (the only way you can do backups) since the master server is doing double duty as a master / media server. Typically people do not use the media server on the master server if there are other media servers in the environment.

View solution in original post

13 REPLIES 13

RonCaplinger
Level 6

If your media servers are virtual, then you cannot use physical tape drives and robots with them.  That would be why your physical master server is the only one controlling tape drives and robots.  Do not bother installing library or tape drivers on your virtual media servers.

However, virtual media servers *can* be used with disk storage units.  If you are using disk storage, your current configuration makes some sense. If you are not using disk storage units with the media servers, then those media servers are likely not doing anything at all and I would recommend you contact a NetBackup specialist to evaluate your current backup environment before continuing any further.

Installing a new media server is covered in the NetBackup manuals.  In short: after OS install, you need to connect or zone your storage devices, whether disk or tape, to the media server and ensure the OS can see and communicate with the storage hardware (this is not a Netbackup function, NetBackup communicates with the OS, and if the OS can't see the storage, NetBackup won't be able to see it, either).  Then install the NetBackup server software, configure the storage, and define the storage units to NetBackup.

The full steps for configuring a new media server are too lengthy to simply type in a forum post.  I would highly recommend you attend a NetBackup training class before attempting to install a new server into your environment.

Andrew_Madsen
Level 6
Partner

By default when you install a master serve you install a media server on the same machine. So you are doing backups with a media server (the only way you can do backups) since the master server is doing double duty as a master / media server. Typically people do not use the media server on the master server if there are other media servers in the environment.

mph999
Level 6
Employee Accredited

The posts above really cover most main points.

The virtual media servers won't work with tape, this is due to a vmware limitation, not NBU. 

The simplest way to think about the server roles is this. 

Media server - takes the data from the clients and directs it to storage.

Master - manages the running of jobs, and holds the catalog

Ok, that is somewhat simplified, but it's ok for a high level understanding. 

H_Sharma
Level 6

Hi Thanks for prompt support. So as these Virtual Media servers dont have tape drives attached.

1:What configuration would have done to these? As you say we can notuse physical tape drives and robots with

them. Only  Media server software installation on these virtual servers? I am confused how are these working

as media servers as we can not attach physical tape drives and robots to them?

2:-If I create a storage unit on master server and take backup with the 2 media servers backups are running fine. So are these working as Media servers?

3:- If i run vmoprcmd -d ds on these media servers these show me drives same as I can see on master server?

mph999
Level 6
Employee Accredited

If all your backups are going to tape and you have no disk storage on the virtual media servers, then indeed, it sounds like they are not doing anything.

As mentioned, it is not possible to have tape on virtual servers, due to a limit in the virtulization.

Marianne
Level 6
Partner    VIP    Accredited Certified

My 2c:

If your master server is also a media server, you WILL have a minimum of 3 storage units:

1 for master, 1 for each media server. 

Storage units can be grouped in storage unit group. If policies point to storage unit group and one or more media server is down, backups will still run on the master server.

If any policy points to a storage unit for a media server that is down, the backup will fail. Although the config is stored on the master server, the media server with the devices needs to be up and running - no way media server STU can work if media server is down.

You did not say what kind of Solaris virtualization is used. Here tape devices are actually supported on local zones. See this TN for additional steps on getting sg driver to work.

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

H_Sharma
Level 6
what i understood is. 1:- My master server is also working as media server as tapws drives are attaced to it. 2- if any of the 2 solaris server are down these are not impacting my backup as i could change the storage unit. 3:- we can not physicallt attach tape drives to virtal server. What i didnot understand. We have 2 solaris server vm based on Ldoms. we call these media servers. in master server 3 storage units are there one for master 2 for 2 media servers. sometimes we change the storage unit and backup gets successful. 1- As per suggestion we cannot install drives/hardware to these virtual media server. still i could not see any drives robots in Os level however vmoprcmd shows drivers states so my query is when somebody had configured these as media server what would he have done to make these media server? 2- somebody told me media server backs up itself what does it mean? 3- How come these media servers are showing vmoprcmd -d ds states as hardware is not attached to these? I am very much confused in my environment, pls help i beleive i could not make u understand properly :(

RonCaplinger
Level 6

I don't have an answer to your first question, we never set up our tape dirves in that manner.  marianne's post indicated that the tape drives *can* be connected in Solaris Zone virtualization, see the Technote she linked to in her post above.

A media server may back itself up to any storage attached to it.  Since you seem to have a path to the tape drives maped from your media servers to your master, then they are able to back up any NFS mount that is defined to them to the tape drives physically connected to the master server.

And that means that your third question is answered by what I just posted, I would think.  It's confusing to me, too!

Now a bigger problem: you previously posted in another thread that you have 8 tape drives.  A single Solaris server couldn't possibly stream data fast enough to all 8 tape drives at once to keep them from shoe-shining the tapes.  Even though you have two virtual media servers that can also write to those tape drives, the way they are configured is likely slowing the backup data:

from the client --> across the network --> to the media server --> back across the network --> to the master server --> across the fiber channel path --> to the tape drives.

An ideal situation would be:

from the client --> across the network --> to the media server --> across the fiber channel path --> to the tape drives.

You likely have some very slow throughput to your tape drives, if any more than one or two are running backup at the same time. Few physical servers are capable of sending more than 2 or 3 streams of data fast enough to fiber channel connected tape drives.  And my experience with Solaris is that it is far, FAR slower than a Linux or Windows based server when dealing with a lot of I/O across the various devices. 

Marianne
Level 6
Partner    VIP    Accredited Certified

There is no way the Solaris media servers can have Media Manager STUs without devices directly or SAN attached.

Please show us output of '/usr/openv/volmgr/bin/tpconfig -l' on the 2 media servers.

H_Sharma
Level 6

Hi Mariaane,

Pls find

tpconfig -l

Device Robot Drive       Robot                    Drive     Device         Second
Type     Num Index  Type DrNum Status  Comment    Name      Path           Device Path
robot      0    -    TLD    -       -  -          -         TNMMNETBKP04P
  drive    -    0 hcart3    1      UP  -          Drive000  /dev/rmt/1cbn
  drive    -    1 hcart3    2      UP  -          Drive002  /dev/rmt/2cbn
  drive    -    2 hcart3    3      UP  -          Drive001  /dev/rmt/0cbn
  drive    -    3 hcart3    4      UP  -          Drive003  /dev/rmt/3cbn
  drive    -    4 hcart3    5      UP  -          Drive004  /dev/rmt/7cbn
  drive    -    5 hcart3    6      UP  -          Drive007  /dev/rmt/4cbn
  drive    -    6 hcart3    7      UP  -          Drive005  /dev/rmt/6cbn
  drive    -    7 hcart3    8      UP  -          Drive006  /dev/rmt/5cbn

Marianne
Level 6
Partner    VIP    Accredited Certified
The '/dev/rmt' device names show that the Solaris media server have tape drives that are directly SAN or SCSI attached. Robot control is on another media server. Perfectly supported as per the TN that I have posted above.

H_Sharma
Level 6

Hi Marianne,

Sorry for the wrong information i had provided you. I was not aware of that.

My understanding was we have to install drives drivers on each media and master server. But i came to know that we dont need to install library drives drivers on any master/media server. That part is done by zoning from storage team. 

So it means device drivers or robot drivers are recognized by OS itself automatically on windows or other Unix based server?We dont need to install drivers for Drives or Robot drives.

Pls correct me if i am wrong 

Marianne
Level 6
Partner    VIP    Accredited Certified

On Windows, no drivers are needed for robots (Medium changer). The Windows Medium Changer driver works fine for all types of robots.
You need to install vendor drivers for tape drives on Windows media servers.

On Solaris, no drivers are needed for tape drives or robots.
For tape drives, the tape drivers are included in Solaris st (scsi tape) driver. But NBU sg driver is needed for tape as well. sg driver for robot is ONLY needed when Solaris media server is robot control host.

In a shared environment, only ONE media server can be robot control host, so no need to zone the robot to all media servers.

If you need more information about device config in SSO environment, please see 'About the Shared Storage Option':
NetBackup Administrator's Guide, Volume II