Friday, July 15, 2011

Legato/EMC Networker: Repairing bogus expiration date on backup tape volumes

When using Legato/EMC Networker, occasionally happens that due some error in one or more save sets that are suited on one volume, expiration date of that volume is bogus (not according the retention time of the saveset that have biggest retention time).

So in order to fix this situation GUI will not offer you a proper way to do it. Therefore you have to do some typing by executing networker cli commands:

1. From the GUI (same can be done from cli, but it will not be mentioned here) take a note of the Volume name that have bogus expiration date

2. List the savesets that are suited on that volume by entering following cli command:

# mminfo -p -q "volume=volume_name"

From this list, take a note of the ssid number/name of the affecting saveset which have improper retention date.

3. Change the date of "bogus" saveset to corespond to your retention policy

# nsrmm -S ssid -e "mm/dd/yyyy 23:59:59" -w "mm/dd/yyyy 23:59:59"

Repeat this step if multiple savesets have bogus retention time.

At the end, when all savesets from that Volume have correct retention time, go back to GUI and check if problem with expiration date is solved. If not, repeat step #2 and check if you have missed some Save set with bogus retention time.


Monday, July 11, 2011

If ORACLE IAS Report server won't start

If you tried everything and still you cannot start reports service on you Oracle IAS - assuming that you did not made any configuration change, then following should help you:

opmnctl stopall
cd $ORACLE_HOME\reports\server\
mv repXXXXXXX.dat repXXXXXXX.dat.old (where XXX is the name of your reports server)
opmnctl startall

If this *.dat file somehow became inconsistent or corrupted, then IAS Reports server fail to start. Simple delete or renaming of old dat file will solve the problem. After restarting with opmnctl, appropriate dat file will be re-generated.