Visit Counter

Sunday, November 15, 2015

Oracle 12c Database Upgrade 12.1.0.1 to 12.1.0.2



Oracle Linux 6    (64-bit)
---------------------------------------------------
Upgrade 12.1.0.1 to 12.1.0.2



I installed 12.1.0.2 binary under /ora/oracle/app/product/12.1.0.2/db_home2 folder

 Also I performed full database backup before upgrade, in case of any disaster.

Go to new installed binary home under< ORACLE_HOME>/bin and run database upgrade assistance.

$ ./dbua





















































































































































 

Sunday, November 8, 2015

Netbackup does not utilize a tape drive and fails with error "EMM staus: No drives are available"




Problem

Problem occurs when NetBackup fails to utilize the tape drive and tape drives show available in device monitor.

Error Message

NBU status: 800, EMM status: No drives are available

Cause

Run /usr/openv/volmgr/bin/tpconfig -emm_dev_list
For drive in question see Flags attribute:
Flags:                         1073741952
The drives flag was 1073741952 which in hexadecimal is 40000080
From LTItypes.h:
#define MM_RESTART_LTID 0x40000000 /* a device configuration change has occurred on the emm server, and this host's daemons should be restarted */

Solution

In order to resolve this issue clear the flag or restart ltid on all media servers sharing the tape drive if vmoprcmd does not clear the flag.
Perform following command to clear the flag :
vmoprcmd -reset_ltid_restarted_bit -h <host name>
Location :
Unix : /usr/openv/volmgr/bin/
Windows : Program Files\Veritas\Volmgr\bin

No drives are available (2001)


Problem
Backup job failed with status code 2001

Error Message

9/17/2010 11:57:57 AM - requesting resource yow-netbackup01-hcart-robot-tld-2-yow-nas1
9/17/2010 11:57:57 AM - requesting resource yow-netbackup01.NBU_CLIENT.MAXJOBS.yow-nas1
9/17/2010 11:57:57 AM - requesting resource yow-netbackup01.NBU_POLICY.MAXJOBS.YOW-NAS1
9/17/2010 11:57:57 AM - Error nbjm(pid=2016) NBU status: 2001, EMM status: No drives are available  No drives are available(2001)

Cause

Incompatible Drive Type
Drive Type= HCART3
Media Type =HCART

Solution

Change the Drive Type to match the Media Type


Applies To
Windows 2003
NetBackup 6.5.5