Simulating NetBackup Vault

classic Classic list List threaded Threaded
16 messages Options
Reply | Threaded
Open this post in threaded view
|

Simulating NetBackup Vault

Director
Hi,

We are new to MHVTL and we have found it a great tool to simulate changes in the netbackup environment before actually implementing it to prod.

We want to simulate the following:
1. Backup to tape
2. Run vault policy to duplicate, create catalog and eject the tapes
3. send to tapes to offsite location
4. inject tapes to the library in the offsite location
5. recover catalog to the DR site
6. restore Backup

Is there someone who has already tried this? Is this possible using MHVTL>
Reply | Threaded
Open this post in threaded view
|

Re: Simulating NetBackup Vault

Mark Harvey
Administrator
All of the above is possible (and more)..

To simulate a library MAP, use 'vtlcmd xx list|open|close|empty map'
Copy the virtual media /opt/mhvtl/<barcode> to the offsite server.
Use 'vtlcmd XX open|load|close map' at the other end to simulate opening, inserting, closing MAP port

Sent from my iPad

On Jul 23, 2013, at 18:55, "Director [via mhVTL - A Linux Virtual Tape Library]" <[hidden email]> wrote:

Hi,

We are new to MHVTL and we have found it a great tool to simulate changes in the netbackup environment before actually implementing it to prod.

We want to simulate the following:
1. Backup to tape
2. Run vault policy to duplicate, create catalog and eject the tapes
3. send to tapes to offsite location
4. inject tapes to the library in the offsite location
5. recover catalog to the DR site
6. restore Backup

Is there someone who has already tried this? Is this possible using MHVTL>



If you reply to this email, your message will be added to the discussion below:
http://mhvtl-a-linux-virtual-tape-library.966029.n3.nabble.com/Simulating-NetBackup-Vault-tp4025486.html
To start a new topic under mhVTL - A Linux Virtual Tape Library, email [hidden email]
To unsubscribe from mhVTL - A Linux Virtual Tape Library, click here.
NAML
Regards from Australia
Mark Harvey
Reply | Threaded
Open this post in threaded view
|

Re: Simulating NetBackup Vault

Director
Thanks Mark! we'll give it a try.
 
 
Thanks and Warmest Regards,
Ferdinand C. Escolar, ECE, MCSE+S

Technical Manager
______________________
Global Sapphire Inc.
Tel No.:      (+63 2)7592456
Fax No.:     (+63 2)7592455
Mobile No.:(+63 917)5025009
E-mail:       [hidden email]


From: Mark Harvey [via mhVTL - A Linux Virtual Tape Library] <[hidden email]>
To: Director <[hidden email]>
Sent: Tuesday, July 23, 2013 5:53 PM
Subject: Re: Simulating NetBackup Vault

All of the above is possible (and more)..

To simulate a library MAP, use 'vtlcmd xx list|open|close|empty map'
Copy the virtual media /opt/mhvtl/<barcode> to the offsite server.
Use 'vtlcmd XX open|load|close map' at the other end to simulate opening, inserting, closing MAP port

Sent from my iPad

On Jul 23, 2013, at 18:55, "Director [via mhVTL - A Linux Virtual Tape Library]" <[hidden email]> wrote:

Hi,

We are new to MHVTL and we have found it a great tool to simulate changes in the netbackup environment before actually implementing it to prod.

We want to simulate the following:
1. Backup to tape
2. Run vault policy to duplicate, create catalog and eject the tapes
3. send to tapes to offsite location
4. inject tapes to the library in the offsite location
5. recover catalog to the DR site
6. restore Backup

Is there someone who has already tried this? Is this possible using MHVTL>



If you reply to this email, your message will be added to the discussion below:
http://mhvtl-a-linux-virtual-tape-library.966029.n3.nabble.com/Simulating-NetBackup-Vault-tp4025486.html
To start a new topic under mhVTL - A Linux Virtual Tape Library, email [hidden email]
To unsubscribe from mhVTL - A Linux Virtual Tape Library, click here.
NAML
Regards from Australia
Mark Harvey



If you reply to this email, your message will be added to the discussion below:
http://mhvtl-a-linux-virtual-tape-library.966029.n3.nabble.com/Simulating-NetBackup-Vault-tp4025486p4025487.html
To unsubscribe from Simulating NetBackup Vault, click here.
NAML


Reply | Threaded
Open this post in threaded view
|

Re: Simulating NetBackup Vault

paul.jan
Hi Mark,

I'm using Netbackup to simulate VTL. I tried to copy the media /opt/mhvtl/barcode/ to another location of tape library /opt/mhvtl/90 and scan the tape in Netbackup. But the media doesn't appear.

What are the steps to move the media to another libarary? I'm currently using mhvtl 1.4.8-c896449

Thanks.
Reply | Threaded
Open this post in threaded view
|

Re: Simulating NetBackup Vault

Mark Harvey
Administrator
vtlcmd 90 open map
vtlcmd 90 load map <barcode>
vtlcmd 90 close map

vmupdate -rt tld -rn 0 -empty_map -use_barcode_rules



Sent from my iPhone

On 05/09/2013, at 17:33, "paul.jan [via mhVTL - A Linux Virtual Tape Library]" <[hidden email]> wrote:

Hi Mark,

I'm using Netbackup to simulate VTL. I tried to copy the media /opt/mhvtl/barcode/ to another location of tape library /opt/mhvtl/90 and scan the tape in Netbackup. But the media doesn't appear.

What are the steps to move the media to another libarary? I'm currently using mhvtl 1.4.8-c896449

Thanks.


If you reply to this email, your message will be added to the discussion below:
http://mhvtl-a-linux-virtual-tape-library.966029.n3.nabble.com/Simulating-NetBackup-Vault-tp4025486p4025540.html
To start a new topic under mhVTL - A Linux Virtual Tape Library, email [hidden email]
To unsubscribe from mhVTL - A Linux Virtual Tape Library, click here.
NAML
Regards from Australia
Mark Harvey
Reply | Threaded
Open this post in threaded view
|

Re: Simulating NetBackup Vault

paul.jan
Thanks Mark it works. :-)
Reply | Threaded
Open this post in threaded view
|

Re: Simulating NetBackup Vault

paul.jan
In reply to this post by Mark Harvey
Hi Mark,

I successfully moved the tape to the other library but the problem is when i tried to import the tape it says "cannot read media header, may not be Netbackup media or is corrupted"

Here's the steps i did:

Eject the tape from Netbackup console
copy /opt/mhvtl/<barcode>
vtlcmd # open, load and open command
vmupdate -rt tld -rn 0 -media_empty -update_barcode_rules
import the tape (failed)

Is there any steps i miss?

Thanks.
Reply | Threaded
Open this post in threaded view
|

Re: Simulating NetBackup Vault

Mark Harvey
Administrator
Can you supply the output of "dump_tape -f <barcode>"

On both source & destination copy pls

Sent from my iPhone

On 09/09/2013, at 13:11, "paul.jan [via mhVTL - A Linux Virtual Tape Library]" <[hidden email]> wrote:

Hi Mark,

I successfully moved the tape to the other library but the problem is when i tried to import the tape it says "cannot read media header, may not be Netbackup media or is corrupted"

Here's the steps i did:

Eject the tape from Netbackup console
copy /opt/mhvtl/<barcode>
vtlcmd # open, load and open command
vmupdate -rt tld -rn 0 -media_empty -update_barcode_rules
import the tape (failed)

Is there any steps i miss?

Thanks.



If you reply to this email, your message will be added to the discussion below:
http://mhvtl-a-linux-virtual-tape-library.966029.n3.nabble.com/Simulating-NetBackup-Vault-tp4025486p4025544.html
To start a new topic under mhVTL - A Linux Virtual Tape Library, email [hidden email]
To unsubscribe from mhVTL - A Linux Virtual Tape Library, click here.
NAML
Regards from Australia
Mark Harvey
Reply | Threaded
Open this post in threaded view
|

Re: Simulating NetBackup Vault

paul.jan
Here's the output

Source:

[root@vtlsvr1 mhvtl]# dump_tape -f I00056L5
Media density code: 0x58
Media type code   : 0x0b
Media description : Ultrium 5/16T
Tape Capacity     : 524288000
Media             : read-write
Remaining Tape Capacity : 524220180
Total num of filemarks: 2
Hdr: lzoCompressed data(0b), sz     84/1024  , Blk No.: 0, data 0
Hdr:         Filemark(03), sz             0, Blk No.: 1, data 84
Hdr: lzoCompressed data(0b), sz    149/1024  , Blk No.: 2, data 84
Hdr: lzoCompressed data(0b), sz  21057/65536 , Blk No.: 3, data 233
Hdr: lzoCompressed data(0b), sz  24672/65536 , Blk No.: 4, data 21290
Hdr: lzoCompressed data(0b), sz  21739/52224 , Blk No.: 5, data 45962
Hdr:         Filemark(03), sz             0, Blk No.: 6, data 67701
Hdr: lzoCompressed data(0b), sz    119/1024  , Blk No.: 7, data 67701
Hdr:      End of Data(05), sz             0, Blk No.: 8, data 67820

Destination:

[root@vtlsvr1 90]# dump_tape -f I00056L5
Media density code: 0x58
Media type code   : 0x0b
Media description : Ultrium 5/16T
Tape Capacity     : 524288000
Media             : read-write
Remaining Tape Capacity : 524220180
Total num of filemarks: 2
Hdr: lzoCompressed data(0b), sz     84/1024  , Blk No.: 0, data 0
Hdr:         Filemark(03), sz             0, Blk No.: 1, data 84
Hdr: lzoCompressed data(0b), sz    149/1024  , Blk No.: 2, data 84
Hdr: lzoCompressed data(0b), sz  21057/65536 , Blk No.: 3, data 233
Hdr: lzoCompressed data(0b), sz  24672/65536 , Blk No.: 4, data 21290
Hdr: lzoCompressed data(0b), sz  21739/52224 , Blk No.: 5, data 45962
Hdr:         Filemark(03), sz             0, Blk No.: 6, data 67701
Hdr: lzoCompressed data(0b), sz    119/1024  , Blk No.: 7, data 67701
Hdr:      End of Data(05), sz             0, Blk No.: 8, data 67820

Thanks

Reply | Threaded
Open this post in threaded view
|

Re: Simulating NetBackup Vault

Mark Harvey
Administrator
This looks valid...

Any chance of 'tar'ing up the virtual media and either uploading to this forum or emailing me directly ?

Sent from my iPad

On Sep 9, 2013, at 14:20, "paul.jan [via mhVTL - A Linux Virtual Tape Library]" <[hidden email]> wrote:

Here's the output

Source:

[root@vtlsvr1 mhvtl]# dump_tape -f I00056L5
Media density code: 0x58
Media type code   : 0x0b
Media description : Ultrium 5/16T
Tape Capacity     : 524288000
Media             : read-write
Remaining Tape Capacity : 524220180
Total num of filemarks: 2
Hdr: lzoCompressed data(0b), sz     84/1024  , Blk No.: 0, data 0
Hdr:         Filemark(03), sz             0, Blk No.: 1, data 84
Hdr: lzoCompressed data(0b), sz    149/1024  , Blk No.: 2, data 84
Hdr: lzoCompressed data(0b), sz  21057/65536 , Blk No.: 3, data 233
Hdr: lzoCompressed data(0b), sz  24672/65536 , Blk No.: 4, data 21290
Hdr: lzoCompressed data(0b), sz  21739/52224 , Blk No.: 5, data 45962
Hdr:         Filemark(03), sz             0, Blk No.: 6, data 67701
Hdr: lzoCompressed data(0b), sz    119/1024  , Blk No.: 7, data 67701
Hdr:      End of Data(05), sz             0, Blk No.: 8, data 67820

Destination:

[root@vtlsvr1 90]# dump_tape -f I00056L5
Media density code: 0x58
Media type code   : 0x0b
Media description : Ultrium 5/16T
Tape Capacity     : 524288000
Media             : read-write
Remaining Tape Capacity : 524220180
Total num of filemarks: 2
Hdr: lzoCompressed data(0b), sz     84/1024  , Blk No.: 0, data 0
Hdr:         Filemark(03), sz             0, Blk No.: 1, data 84
Hdr: lzoCompressed data(0b), sz    149/1024  , Blk No.: 2, data 84
Hdr: lzoCompressed data(0b), sz  21057/65536 , Blk No.: 3, data 233
Hdr: lzoCompressed data(0b), sz  24672/65536 , Blk No.: 4, data 21290
Hdr: lzoCompressed data(0b), sz  21739/52224 , Blk No.: 5, data 45962
Hdr:         Filemark(03), sz             0, Blk No.: 6, data 67701
Hdr: lzoCompressed data(0b), sz    119/1024  , Blk No.: 7, data 67701
Hdr:      End of Data(05), sz             0, Blk No.: 8, data 67820

Thanks




If you reply to this email, your message will be added to the discussion below:
http://mhvtl-a-linux-virtual-tape-library.966029.n3.nabble.com/Simulating-NetBackup-Vault-tp4025486p4025546.html
To start a new topic under mhVTL - A Linux Virtual Tape Library, email [hidden email]
To unsubscribe from mhVTL - A Linux Virtual Tape Library, click here.
NAML
Regards from Australia
Mark Harvey
Reply | Threaded
Open this post in threaded view
|

Re: Simulating NetBackup Vault

paul.jan
Please see attached file as requested.

Thanks.paul.jan_virtual_media.rar
Reply | Threaded
Open this post in threaded view
|

Re: Simulating NetBackup Vault

Mark Harvey
Administrator
Many thanks. I'll look at this tomorrow morning (about 14 hrs time)

Sent from my iPhone

On 09/09/2013, at 15:11, "paul.jan [via mhVTL - A Linux Virtual Tape Library]" <[hidden email]> wrote:

Please see attached file as requested.

Thanks.paul.jan_virtual_media.rar


If you reply to this email, your message will be added to the discussion below:
http://mhvtl-a-linux-virtual-tape-library.966029.n3.nabble.com/Simulating-NetBackup-Vault-tp4025486p4025548.html
To start a new topic under mhVTL - A Linux Virtual Tape Library, email [hidden email]
To unsubscribe from mhVTL - A Linux Virtual Tape Library, click here.
NAML
Regards from Australia
Mark Harvey
Reply | Threaded
Open this post in threaded view
|

Re: Simulating NetBackup Vault

paul.jan
Thank Mark. :-)
Reply | Threaded
Open this post in threaded view
|

Re: Simulating NetBackup Vault

Mark Harvey
Administrator
The phase I & II import were successful. As the image contained bits of a windows file system, is this backup via a windows media server ? If so, how is it connected to the mhVTL ?

Can you supply bptm log (verbose 5) during the import. 

Sent from my iPhone

On 09/09/2013, at 16:13, "paul.jan [via mhVTL - A Linux Virtual Tape Library]" <[hidden email]> wrote:

Thank Mark. :-)


If you reply to this email, your message will be added to the discussion below:
http://mhvtl-a-linux-virtual-tape-library.966029.n3.nabble.com/Simulating-NetBackup-Vault-tp4025486p4025550.html
To start a new topic under mhVTL - A Linux Virtual Tape Library, email [hidden email]
To unsubscribe from mhVTL - A Linux Virtual Tape Library, click here.
NAML
Regards from Australia
Mark Harvey
Reply | Threaded
Open this post in threaded view
|

Re: Simulating NetBackup Vault

paul.jan

Hi Mark,

I sucessfully import and restore the tape yesterday. I just found some technote on symantec regarding nbrbutil command. Im still figuring out how this command works.

Thanks.

On Sep 10, 2013 4:13 AM, "Mark Harvey [via mhVTL - A Linux Virtual Tape Library]" <[hidden email]> wrote:
The phase I & II import were successful. As the image contained bits of a windows file system, is this backup via a windows media server ? If so, how is it connected to the mhVTL ?

Can you supply bptm log (verbose 5) during the import. 

Sent from my iPhone

On 09/09/2013, at 16:13, "paul.jan [via mhVTL - A Linux Virtual Tape Library]" <[hidden email]> wrote:

Thank Mark. :-)


If you reply to this email, your message will be added to the discussion below:
http://mhvtl-a-linux-virtual-tape-library.966029.n3.nabble.com/Simulating-NetBackup-Vault-tp4025486p4025550.html
To start a new topic under mhVTL - A Linux Virtual Tape Library, email [hidden email]
To unsubscribe from mhVTL - A Linux Virtual Tape Library, click here.
NAML
Regards from Australia
Mark Harvey



If you reply to this email, your message will be added to the discussion below:
http://mhvtl-a-linux-virtual-tape-library.966029.n3.nabble.com/Simulating-NetBackup-Vault-tp4025486p4025551.html
To unsubscribe from Simulating NetBackup Vault, click here.
NAML
Reply | Threaded
Open this post in threaded view
|

Re: Simulating NetBackup Vault

Mark Harvey
Administrator
Hi Mark,

I sucessfully import and restore the tape yesterday. I just found some technote on symantec regarding nbrbutil command. Im still figuring out how this command works.
Good news regarding successful import & restore.
I would strongly recommend reviewing your NetBackup config and defining "Media ID generation rule" as per best practice.

'nbrbutil' is one of those dangerous commands..

If at all possible - don't use (except the "-dump" option) while backups/restores/duplications/(anything really) is going on.
And if the system is idle - it's safer to restart daemons anyway..
Regards from Australia
Mark Harvey