Tuesday, January 19, 2010

Hey Sendtoshailesh.Oraclesecurebackup, I forgot to mention...

Dear Sendtoshailesh.Oraclesecurebackup,

Oops!! I forgot to invite you to Just Dial's Lucky Referrer Contest.

The last month's winners have won Samsung-LCD TV, Viao Laptop, Nokia phone and Ipods.

Why don't you give it a shot? It took me just 2 minutes to play.

You could be the next winner. Please click on the link www.justdial.com/contest.

Best of Luck,
Shailesh Mishra


Click Here to unsubscribe.

Thursday, January 7, 2010

Dear Sendtoshailesh.Oraclesecurebackup, Just Dial is now on Facebook

Dear Sendtoshailesh.Oraclesecurebackup,

Your support is what drives us. Now, become a fan of Just Dial on Facebook.

Check out the Top 5 JD Trends in major cities of India.

A true democratic trend of top movies, restaurants; brands of TV, laptop, cell phone, cars and a lot more that we will bring out from time to time. Starting with "What women are searching for on Just Dial".

Be a part of the ever growing fan base of Just Dial.

Please click on the link below, log into your Facebook account and click on 'become a Fan' button.

Please Click here to become a Fan of Just Dial on Facebook

Thanks,
Team Just Dial


Click here to Unsubscribe.

Monday, November 30, 2009

Dear Sendtoshailesh.Oraclesecurebackup, If you can't find it in google try JUSTDIAL.COM

Dear Sendtoshailesh.Oraclesecurebackup,

I strongly recommend this website www.justdial.com. It's a world class local search service & I've always found anything I've ever wanted.

You can find info on any company, product, or service in over 240 cities in India.

You can also call them up 24x7, on phone (69999999), a local call in 240 Indian cities.

Ask for anything, you'll get the info on the phone and/or by SMS within 30 secs, and this service is absolutely FREE!

For a change, it's an original Indian idea and an Indian company with world class service, and with a vision to spread all over the world.

Be a proud Indian and forward this to every Indian you know.

Best Wishes,
Shailesh Mishra


Click Here to unsubscribe.

Sunday, May 3, 2009

common mistake in OSB installation: Prerequisite

Prerequisites for Installing Oracle Secure Backup on Linux and UNIX
The prerequisites for installing Oracle Secure Backup on Linux and UNIX
operating
systems are:
¦ Each host must have a network connection with a static IP address and run
TCP/IP (Transmission Control Protocol/Internet Protocol).
¦ The uncompress utility must be installed on your system.

Note: If the uncompress utility is not installed on your system, then
you can create an uncompress symbolic link pointing to the gunzip
utility with the following command:
ln -s /bin/gunzip uncompress

¦ You must have the Small Computer System Interface (SCSI) parameters
for each
tape drive and tape library attached to your Linux or UNIX media server. You
can determine them using the procedures described in Appendix C,
"Determining
Linux and UNIX SCSI Parameters". You need this information when creating a
device special file for each tape device.
¦ You must be able to log in to each host with root privileges to
perform the
installation.

Monday, April 27, 2009

Cleaning a Tape Drive using Oracle Secure Backup

Oracle Secure Backup (OSB) provides a reliable, centralized tape backup management solution which can be used to protect file system data as well as Oracle Database files. For Oracle Recovery Manager (RMAN) users, the Oracle Secure Backup SBT interface enables you to use the RMAN to back up and restore Oracle Database files to and from tape. Oracle Secure Backup supports nearly all tape drives and tape libraries in Storage Area Network (SAN) and Small Computer System Interface (SCSI) environments.

Oracle Secure Backup provides the ability to perform automatic tape drive cleaning as well as the option to manually clean a tape drive. The following article provides a brief overview of the tape cleaning functionality built into OSB.

After importing a cleaning cartridge to the tape library, you need to inform OSB that the media just inserted is not a data volume but rather a cleaning tape. Inserting a cleaning cartridge and performing an inventory through OSB while not indicating to OSB that a cleaning cartridge was inserted will result in OSB thinking the new media is a normal data tape. If you were to attempt a tape cleaning operation, the following errors would occur:

ob> clean --drive tape1 --force --use 8
Error: can't execute command - specified element does not hold a cleaning tape

ob> clean --drive tape1 --force
Error: can't execute command - could not find a usable cleaning tape

Import the cleaning cartridge into a vacant storage element (i.e. storage element 8). Next, notify OSB of the newly imported cleaning cartridge, using the insertvol command. In my example, I already used the cleaning tape once on another drive so I indicate --uses 1

ob> insertvol --library lib1 clean --uses 1 --maxuses 15 8


Manually Cleaning a Tape Drive
Use the clean command in obtool to request a manual cleaning be performed on the selected tape drive. The --force option will force the tape to be cleaned. If there is a tape loaded in the tape drive, then selecting this option unloads the tape, loads the cleaning tape, cleans the tape drive, and then reloads the tape that was originally in the tape drive.

Import the cleaning cartridge into a vacant storage element (i.e. storage element 8). In my example, I already used the cleaning tape once on another drive so I indicate --uses 1

ob> insertvol --library lib1 clean --uses 1 --maxuses 15 8

ob> lsvol --library lib1
Inventory of library lib1:
in 1: volume RMAN-TESTDB1-MF-000006, 83909632 kb remaining, content manages reuse
in 2: volume RMAN-TESTDB1-MF-000004, 87050240 kb remaining, content manages reuse
in 3: occupied
in 4: occupied
in 5: occupied
in 6: occupied
in 7: occupied
in 8: cleaning tape: 1 use, 14 remaining

ob> clean --drive tape1 --force --use 8

ob> lsvol --library lib1
Inventory of library lib1:
in 1: volume RMAN-TESTDB1-MF-000006, 83909632 kb remaining, content manages reuse
in 2: volume RMAN-TESTDB1-MF-000004, 87050240 kb remaining, content manages reuse
in 3: occupied
in 4: occupied
in 5: occupied
in 6: occupied
in 7: occupied
Configuring Automatic Tape Drive Cleaning
Oracle Secure Backup allows you to configure a tape library to automatically perform a type drive cleaning whenever a tape drive reports that it needs cleaning or when a specified usage time has elapsed.

Use the --autoclean option of the mkdev or chdev commands of obtool to configure the library to perform automatic cleaning. When the autoclean option is set to yes, the cleaning cycle is initiated either when a tape drive reports that it needs cleaning or when a specified usage time has elapsed. Oracle Secure Backup checks for cleaning requirements when a cartridge is either loaded into or unloaded from a tape drive. If at that time a cleaning is required, then Oracle Secure Backup performs the following steps:

  1. Loads a cleaning cartridge
  2. Waits for the cleaning cycle to complete
  3. Replaces the cleaning cartridge in its original storage element
  4. Continues with the requested load or unload

The following example queries the tape library configuration for lib1. As you can see, the autoclean option is not currently set:

ob> lsdev --type library --long lib1
lib1:
Device type: library
Model: [none]
Serial number: [none]
In service: yes
Debug mode: no
Barcode reader: default (hardware-selected)
Barcodes required: no
Auto clean: no
Clean interval: (not set)
Clean using emptiest: no
Ejection type: auto
Min writable volumes: 0
UUID: 89064982-0df2-102c-8f89-00146cc1a7c7
Attachment 1:
Host: packmule
Raw device: /dev/sg0
To enable automatic tape drive cleaning, use the chdev option:
ob> chdev --type library --autoclean yes --cleanemptiest no lib1
Another query on the tape library device shows that auto-cleaning is enabled:
ob> lsdev --type library --long lib1
lib1:
Device type: library
Model: [none]
Serial number: [none]
In service: yes
Debug mode: no
Barcode reader: default (hardware-selected)
Barcodes required: no
Auto clean: yes
Clean interval: (not set)
Clean using emptiest: no
Ejection type: auto
Min writable volumes: 0
UUID: 89064982-0df2-102c-8f89-00146cc1a7c7
Attachment 1:
Host: packmule


Raw device: /dev/sg0
In addition to simply enabling auto-cleaning, OSB allows you to specify two other options:

--cleanemptiest/-E {yes | no}

Specifies which cleaning tape to use. This option is useful when a tape library contains multiple cleaning tapes. The default value of yes specifies the emptiest cleaning tape, which causes cleaning tapes to round robin as cleanings are required. The no value specifies that obtool should use the least used cleaning tape, which uses each cleaning tape until it is exhausted, then uses the next cleaning tape until it is exhausted, and so forth.

--cleaninterval/-i {duration | off}

Specifies whether there should be a cleaning interval, and if so, the duration of the interval. The default is off. The duration is the interval of time a tape drive is used before a cleaning cycle begins. If automatic tape drive cleaning is enabled, then duration indicates the interval between cleaning cycles. For tape drives that do not report cleaning requirements, you can specify a cleaning interval, for example, 30days.

in 8: cleaning tape: 2 uses, 13 remaining