Db2 backup on aix
Hi,
We are running SAP on AIX 5.3 AND db2 udb 8.2.3. We have taken full offline backup from OS level. e.g. /usr, /sapmnt, /usr/sap/trans, /home, /db2/<SID>, /db2/log_dir etc. May i restore the backup on another server without installing DB2 software? and run the SAP? or do we need to re-install DB2 & SAP again and then restore the database backup?
Please guide.
-SN
Hi Jennifer,
it is much easier and less error prone to do a system copy with the build in DB2 backup and restore commands. Copying DB2 by copying files from one server to the other should only be done by experienced DB2 administrators and in most cases there is no need to do this. For example using the wrong OS tools may create sparse allocated DB2 container files and can create unexpected error situations.
The DB2 V8 software installer on AIX uses the OS installer. The DB2 V8 software is installed under /opt and the /db2/db2<sid>/sqllib directory contains links to this directory. Therefore it is not enough to copy the /usr/sap ; /sapmnt and /db2 directories. With DB2 V8 the software installtion directory is fixed. With DB2 V9+ the software can be installed in any directory and as a default new SAPINST versions install the DB2 software under /db2/db2<sid> .
To do a cold copy of DB2 you may also need to use the db2inidb and db2relocated tools ( mostly used for split mirror copies ), especially if you want to rename your dbsid. You can find more information about those tools in the DB2 docu. The SAP utility brdb6brt ( note 867914 ) may also provide some help.
Regards
Frank
Similar Messages
-
Error in installing MySap 2004s SR1 with DB2 and IBM AIX.
Hello Gurus,
I am installing MySap 2004s SR1 with DB2 and IBM AIX.
I am facing the following error :
<b><i>ERROR 2006-11-08 18:33:01
MDB-01101 Installed Software Level '08.02.0002' is insufficient for this installation ...</i></b>
<b><i>ERROR 2006-11-08 18:33:01
MUT-03025 Caught ESAPinstException in Modulecall: ESAPinstException: error text undefined.
ERROR 2006-11-08 18:33:01
FCO-00011 The step DB6CheckSoftwareLevel with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_GetSidNoProfiles|ind|ind|ind|ind|1|0|NW_getDBInfo|ind|ind|ind|ind|2|0|NW_DB6_Initialize_Db_Software_Info|ind|ind|ind|ind|3|0|DB6CheckSoftwareLevel was executed with status ERROR .</i></b>
As this occered in the phase "Install JCE Policy".
I have even tried to get the latest version But I am not succesfull.
Please help.
Regards,
Chandra Sekhar Reddy.Dear Dirk,
Thanks once again I have installed FP12 and the error is gone.
But here I have one more error triggered, Here I am pasting the log.
Please help me.
<i><b>ERROR 2006-11-08 22:02:36
FSH-00006 Return value of function getgrnam(dbdevmnt) is The process does not exist..
ERROR 2006-11-08 22:02:36
MUT-03025 Caught ESyException in Modulecall: ESAPinstException: error text undefined.
ERROR 2006-11-08 22:02:36
FCO-00011 The step createAccounts with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_Users_Create_Do|ind|ind|ind|ind|4|0|createAccounts was executed with status ERROR .</b></i>
Please help me out.
Thanks,
Chandra Sekhar Reddy. -
Dear experts,
your help required.
i'm new to DB2, i can handel MS_sql.
recendlty my company is running SAP on DB2 (windows 2003 server)
i'm unbale to find the init<SID>.db2/db6 to check and adjust the parameters.
if there is any configuration file (to adjust/configure tape drive) please let me know .
main 2 problems are :-
i need to archive the log (now it is 80%) to disk and tape.
*it is very help full,if you can give the syntax that has to typed in command line.
how to increase the size of archive log ?
how important it is to preserve the archived log ?
*how to put the label for archived log to disc or tape drive ?
and about tape drive backup:-
*i'm unable to take backup.
here is the steps that i had tried, to take backup or initialize the tape in drive.
H:\IBM\SQLLIB\BIN>db2 backup db to
.\tape0
SQL0104N An unexpected token "
.\tape0" was found following "TO". Expected
tokens may include: "USER". SQLSTATE=42601
H:\IBM\SQLLIB\BIN>
H:\IBM\SQLLIB\BIN>db2 backup db to
.\tape0
SQL0104N An unexpected token "
.\tape0" was found following "TO". Expected
tokens may include: "USER". SQLSTATE=42601
H:\IBM\SQLLIB\BIN>db2 rewind tape
.\tape0
SQL0104N An unexpected token "
.\tape0" was found following "TAPE".
Expected tokens may include: "END-OF-STATEMENT". SQLSTATE=42601
H:\IBM\SQLLIB\BIN>db2 REWIND TAPE
.\TAPE0
SQL0104N An unexpected token "
.\TAPE0" was found following "TAPE".
Expected tokens may include: "END-OF-STATEMENT". SQLSTATE=42601
H:\IBM\SQLLIB\BIN>db2 initialize tape
.\TAPE0
SQL0104N An unexpected token "
.\TAPE0" was found following "TAPE".
Expected tokens may include: "END-OF-STATEMENT". SQLSTATE=42601
H:\IBM\SQLLIB\BIN>LOGARCHMETH1
'LOGARCHMETH1' is not recognized as an internal or external command,
operable program or batch file.
H:\IBM\SQLLIB\BIN>db2tapemgr
Parameter error. Reason: "DBT2120N No operation is specified.".
Incorrect syntax. Correct the syntax and reissue the command.
db2tapemgr [DATABASE database-alias]
[ON DBPARTITIONNUM db-partition-number]
{{{{STORE | DOUBLE STORE}[Store-Option-Clause]|
RETRIEVE [Retrieve-Option-Clause]|
SHOW TAPE HEADER tape-device}
[USING blocksize][EJECT]}|
EJECT TAPE tape-device|
DELETE TAPE LABEL tape-label|
QUERY [For-Rollforward-Clause]} [TRACE]
Store-Option-Clause:
ON tape-device [TAPE LABEL tape-label]
[ALL LOGS|n LOGS][FORCE]
Retrieve-Option-Clause:
{[For-Rollforward-Clause]
FROM tape-device[TO directory]|
{ALL LOGS|LOGS n TO m}
FROM tape-device[TO directory]|
HISTORY FILE
FROM tape-device TO directory }
For-Rollforward-Clause:
FOR ROLLFORWARD
TO {END OF LOGS|isotime [USING LOCAL|GMT TIME]}
[USING HISTORY FILE history-file]
DBT2008N db2tapemgr failed with errors.
H:\IBM\SQLLIB\BIN>
H:\IBM\SQLLIB\BIN>db2tapemgr db prd store on
.\tape0
DBT2065I Using database partition "NODE0000".
DBT2071I Using the automatic generated tape-label "PRD20070712193141".
Scanning history.
DBT2016I No log files found for processing.
DBT2006I db2tapemgr completed successfully.
H:\IBM\SQLLIB\BIN>
i request all experts to help me out in this basic step/configuration.
it would be very help full to the freshers.
Thanking you all,
by
RaghavDear experts,
your help required.
i'm new to DB2, i can handel MS_sql.
recendlty my company is running SAP on DB2 (windows 2003 server)
i'm unbale to find the init<SID>.db2/db6 to check and adjust the parameters.
if there is any configuration file (to adjust/configure tape drive) please let me know .
main 2 problems are :-
i need to archive the log (now it is 80%) to disk and tape.
*it is very help full,if you can give the syntax that has to typed in command line.
how to increase the size of archive log ?
how important it is to preserve the archived log ?
*how to put the label for archived log to disc or tape drive ?
and about tape drive backup:-
*i'm unable to take backup.
here is the steps that i had tried, to take backup or initialize the tape in drive.
H:\IBM\SQLLIB\BIN>db2 backup db to
.\tape0
SQL0104N An unexpected token "
.\tape0" was found following "TO". Expected
tokens may include: "USER". SQLSTATE=42601
H:\IBM\SQLLIB\BIN>
H:\IBM\SQLLIB\BIN>db2 backup db to
.\tape0
SQL0104N An unexpected token "
.\tape0" was found following "TO". Expected
tokens may include: "USER". SQLSTATE=42601
H:\IBM\SQLLIB\BIN>db2 rewind tape
.\tape0
SQL0104N An unexpected token "
.\tape0" was found following "TAPE".
Expected tokens may include: "END-OF-STATEMENT". SQLSTATE=42601
H:\IBM\SQLLIB\BIN>db2 REWIND TAPE
.\TAPE0
SQL0104N An unexpected token "
.\TAPE0" was found following "TAPE".
Expected tokens may include: "END-OF-STATEMENT". SQLSTATE=42601
H:\IBM\SQLLIB\BIN>db2 initialize tape
.\TAPE0
SQL0104N An unexpected token "
.\TAPE0" was found following "TAPE".
Expected tokens may include: "END-OF-STATEMENT". SQLSTATE=42601
H:\IBM\SQLLIB\BIN>LOGARCHMETH1
'LOGARCHMETH1' is not recognized as an internal or external command,
operable program or batch file.
H:\IBM\SQLLIB\BIN>db2tapemgr
Parameter error. Reason: "DBT2120N No operation is specified.".
Incorrect syntax. Correct the syntax and reissue the command.
db2tapemgr [DATABASE database-alias]
[ON DBPARTITIONNUM db-partition-number]
{{{{STORE | DOUBLE STORE}[Store-Option-Clause]|
RETRIEVE [Retrieve-Option-Clause]|
SHOW TAPE HEADER tape-device}
[USING blocksize][EJECT]}|
EJECT TAPE tape-device|
DELETE TAPE LABEL tape-label|
QUERY [For-Rollforward-Clause]} [TRACE]
Store-Option-Clause:
ON tape-device [TAPE LABEL tape-label]
[ALL LOGS|n LOGS][FORCE]
Retrieve-Option-Clause:
{[For-Rollforward-Clause]
FROM tape-device[TO directory]|
{ALL LOGS|LOGS n TO m}
FROM tape-device[TO directory]|
HISTORY FILE
FROM tape-device TO directory }
For-Rollforward-Clause:
FOR ROLLFORWARD
TO {END OF LOGS|isotime [USING LOCAL|GMT TIME]}
[USING HISTORY FILE history-file]
DBT2008N db2tapemgr failed with errors.
H:\IBM\SQLLIB\BIN>
H:\IBM\SQLLIB\BIN>db2tapemgr db prd store on
.\tape0
DBT2065I Using database partition "NODE0000".
DBT2071I Using the automatic generated tape-label "PRD20070712193141".
Scanning history.
DBT2016I No log files found for processing.
DBT2006I db2tapemgr completed successfully.
H:\IBM\SQLLIB\BIN>
i request all experts to help me out in this basic step/configuration.
it would be very help full to the freshers.
Thanking you all,
by
Raghav -
SQL2025N error in db2 backup to SAMBA filesystem
Hi,
we have mounted an external disk in our linux system using SAMBA.
The db2 backup offline fails with this error message:
ERRORMESSAGE: Error -2025 in dmdb6bkp.c(1498):
SQL2025N An I/O error "4" occurred on media
"/BACKUP/APPS/HP2.0.db2hp2.NODE0000.CATN0000.20080425130153.001".
All users (sidadm, db2sid, sapsid ) have read/write permissions in the filesystem /BACKUP. This filesystem has not file size limited.
In the db2diag.log these errors appear.
2008-04-25-13.22.55.404908+120 E66661757G394 LEVEL: Info
PID : 24014 TID : 2987636400 PROC : db2agent (HP2) 0
INSTANCE: db2hp2 NODE : 000 DB : HP2
APPHDL : 0-7 APPID: *LOCAL.db2hp2.080425112250
AUTHID : HP2ADM
FUNCTION: DB2 UDB, database utilities, sqlubSetupJobControl, probe:1391
MESSAGE : Starting an offline db backup.
2008-04-25-13.22.55.470988+120 E66662152G524 LEVEL: Warning (OS)
PID : 24029 TID : 2987636400 PROC : db2med.24014.0 0
INSTANCE: db2hp2 NODE : 000
FUNCTION: DB2 UDB, oper system services, sqloopenp, probe:150
MESSAGE : ZRC=0x860F0004=-2045837308=SQLO_DGFL "general failure (DD)"
DIA8402C A disk error has occurred.
CALLED : OS, -, chmod OSERR: EPERM (1)
DATA #1 : File name, 62 bytes
/BACKUP/APPS/HP2.0.db2hp2.NODE0000.CATN0000.20080425132255.001
2008-04-25-13.22.55.476804+120 E66664510G892 LEVEL: Severe
PID : 24014 TID : 2987636400 PROC : db2agent (HP2) 0
INSTANCE: db2hp2 NODE : 000 DB : HP2
APPHDL : 0-7 APPID: *LOCAL.db2hp2.080425112250
AUTHID : HP2ADM
FUNCTION: DB2 UDB, database utilities, sqlubMWResponse, probe:1041
MESSAGE : SQL2025N An I/O error "" occurred on media "".
DATA #1 : SQLCA, PD_DB2_TYPE_SQLCA, 136 bytes
sqlcaid : SQLCA sqlcabc: 136 sqlcode: -2025 sqlerrml: 64
sqlerrmc: 4 /BACKUP/APPS/HP2.0.db2hp2.NODE0000.CATN0000.20080425132255.001
Versions:
Operating system : SUSE Linux Enterprise Server 10 (i586)
VERSION = 10
Database: DB6 9.1.3
SAP kernel: 7.0 patch 133
Best regards and thanks in advance.Hi,
thanks for the suggestion, but all permissions are ok.
The db2 user is in usbshare group:
drwxrwxr-x 1 root usbshare 0 2008-04-28 10:00 APPS.
We cannot use NFS, the disk is not in a system, it's an external disk connected directly to the network.
Regards and thanks for the replies.
Sonia.
Edited by: Soporte IBM on Apr 28, 2008 1:22 PM
Finally we fixed this problem.
The problem was the user owner in this filesystem, the owner must be db2<sid>.
Edited by: Soporte IBM on Apr 29, 2008 4:03 PM -
Dear Expert,
We tried backup verification using TSM script and get the result successfully. Now, we plan to perform backup verification using db2 command, our questions are:
1. Which command and option could be used that we can rely on?
2. Which the valid one to verify backup, using TSM or DB2 command?
Thanks in advance.
Kind Regards,
RudiHi,
I tried using command db2adutl as follows:
- db2adutl verify full taken at 20090405103108 database <dbname>, showed the following:
Warning: There are no file spaces created by DB2 on the ADSM server
Warning: No DB2 backup images found in ADSM for any alias.
- db2adutl query full db <dbname> nodename <nodename>, showed the same as above:
Warning: There are no file spaces created by DB2 on the ADSM server
Warning: No DB2 backup images found in ADSM for any alias.
Please advice.
Thanks and Regards,
Rudi -
Hi Gurus,
I have a source system which is ECC6 running on Windows Server 2008 & DB2 9.7 FP2 database. I want to build or copy the exact system to diffrent office. I have done a fulloffline backup on the server. The target system will be suselinux and same database which is DB9.7FP2.
So i have install a ECC6 system on the target system with same System ID,Hostname as the sourse system. . I am not sure what to do next. Please guide me how to restore the database using the full offline backup that i done on the sourse system.
Basically i am just doing a system copy but using the backup restore method.Hi,
Assuming you're performing system copy by using db2 backup/restore method.
If you would like to take a complete set of (online) backup image which you can restore, rollforward and bring the db into consistent state, you can use "INCLUDE LOGS" option of db2 backup command.
The backup image would include the range of log files required to restore and roll forward this image to some consistent point in time with this option.
On the other hand, you can specify a path to be searched for required logs during recovery. There's an option "OVERFLOW LOG PATH" for rollforward command.
For this issue u will get more information for below link
http://publib.boulder.ibm.com/infocenter/db2luw/v8/index.jsp
REgards,
K.Ramamoorthy -
DB2 backup excluding one table
Hello all,
We have AIX 5.3 and DB2 9.1 for our CRM 2007 server. There is a table which contains CVV number. Is it possible to take the backup by excluding that table. Are there any tools that would help in taking backup excluding the table containing CVV number.
Best Regards,
Ninada) You can encrypt the cvv column only - either using db2's encrypt function or encrypting the data before it hits the database.
b) If you have to exclude only CVV numbers, instead of dropping the entire table, you can consider setting the cvv value to null after exporting the data. after the backup completes, you can re-import the cvv data.
This approach is expensive and may take long time. In addition, you will not be able to insert new data into the table for the backup duration
c) You can consider setting up a nickname (reference to a remote table in a different database) for the entire table or the cvv column only. You need not take a backup of this database.
HTH -
Hi All,
We are trying to take backup of our Quality system form operating system to tape. But it is always giving below error:
SQL2031W Warning! Please mount the target or source media on device "/dev/rmt0"
If we tried to schedule it from DB13 then it gives below error:
ArchiveLog:Parameter error. Reason: "DBT2113N Device "/dev/rmt0" is a rewind device."
This is a new tape. As far as I know we don't need to initialize tape on AIX.
But if we are taking OS backup on same tape address and tape, it is successful.
Please find below the system information:
SID: GEQ
OS: AIX 6.1
Database: DB2 9.1 Fix pack 7
Tape address:/dev/rmt0
Please suggest.
Thanks
SunnyHi,
> Please ensure that the db2tapemgr program is executed as the user
> db2<db2sid> and not the <sid>adm user.
>
Yes, I am running with db2<sid> user only.
> Also to check what tape devices are available, you can perform the
> following as root:
>
>
> Type:
> smitty devices
> Select -> Tape Drive
> -> Change / Show Characteristics of
> a Tape Drive
> -> The tape device
>
rmt0 Available 02-00-02 IBM 3580 Ultrium Tape Drive (FCP) . So, tape device is available.
> Could you check firstly the tape device used
> in the ON option must be a non-rewind tape device?
>
I don't think it is a rewind type because OS backup is running fine on this tape device.
> If yes, please check the following notes and apply them if they match your release.
> Then rerun the backup via DB13.
>
> 1327732 DB6: Option is set incorrectly for tape archiving in DB13
> 1355260 DB6: Option is set incorrectly for tape archiving in DB13
Corrections involved in both of these notes is delivered in SAP_BASIS 701 SP5 and I am already on that. So, it does not match my case.
Thanks
Sunny -
How to take remote disk backup on AIX
Dear All,
I want to take a disk backup of our Development system. I will take the backup on an USB external HDD
which is connected to a Windows XP system. Both the Windows XP and DEV system are on same local network. The external HDD has NTFS file system and has been shared. The server is on AIX 5.3 with oracle 10.2.0.1 with SAP ECC 6.0. Since I am new to AIX Operating System and have little knowledge about AIX, I am unable to access the shared disk in my AIX box. Once I will able to access the shared disk in the AIX system i.e. in the Development server and then only I can configure the corresponding file at SAP level and could take the backup. Please help me how to access the corresponding shared disk from AIX and what configuration I have to do at SAP level for taking disk backup.
Regards
SamirHi 844795,
See this thread:
Re: Backup of OCR and voting disk
The fastest way to find your answer in the forum is to use the forum search.
https://forums.oracle.com/forums/search.jspa?threadID=&q=backup+votedisk&objID=c140&dateRange=last90days&userID=&numResults=15&rankBy=10001
Cheers,
Levi Pereira
It's good etiquette, when your question has been answered to mark it as answered, and mark posts as "correct" or "helpful". Read about
Edited by: Levi Pereira on Nov 21, 2011 2:41 PM # This reply was to user 844795. -
Error in installing MySap 2004s Sp1 with DB2 and IBM AIX.
Hello Gurus,
I am Installing the MySap 2004s Sp1. I have installed DB2 and when I started the sap installation with sapinst, it is triggering an error immediately and installition termination.
Below is the log.
<i>Starting GuiServer using:
/usr/java14/bin/java -cp /tmp/sapinst_exe.393398.1162972548/JAR/instgui.jar:/tmp
/sapinst_exe.393398.1162972548/JAR/inqmyxml.jar -Djava.security.egd=file:/dev/ur
andom SDTServer config=jar:sdtserver.xml guiport=21212 sapinsthost=localhost sap
instport=21200 guistart=true
load resource pool /cddumps/Master/IM_AIX_PPC64/resourcepool.xml
guiengine: no GUI connected; waiting for a connection on host camlindev001, port
21200 to continue with the installation
guiengine: login in process.
iauxsysex.c:316: child 372768 has crashed. Executable directory is /tmp/sapinst_
exe.393398.1162972548. Contact Support.
iaextract.c:814: child has signaled an exec error. Keeping directory /tmp/sapins
t_exe.393398.1162972548</i>
<b>I have got the sapnote : 851251 SAP NetWeaver 2004s Installation on UNIX</b>
In which it is saying to ignore the error.
But I am not able to proceed with the installation.
Please help me out from this.
Regards,
Chandra Sekhar Reddy.Hello,
are you installing on AIX? Please check the root environment. ulimit -a. Limit parameter should be
#64-Bit-SAP (for SAP Kernel 7.0, also the user root needs this environment)
#Soft FILE size
#Soft CPU time
#Soft DATA segment
#Soft STACK size
#Soft CORE file size
#Hard FILE size
#Hard CPU time
#Hard DATA segment
#Hard STACK size
#Hard CORE file size
Regards,
Alexander Türk -
Hi Experts,
Recently Quality refresh has been done, now I am scheduling online backup through DB13. But I am getting below error,
Job started
Step 001 started (program RSDBAJOB, variant &0000000001261, user ID BASISADM)
Execute logical command DB6_DBBACKUP On host GIL-devqas1
Parameters:PRD ONLINE TO /dev/rmt0 BUFFERS 0 BUFFERSIZE 0 PARALLELISM 0 INCLUDE LOGS
Job started
Step 001 started (program RSDBAJOB, variant &0000000001277, user ID BASISADM)
Execute logical command DB6_DBBACKUP On host GIL-devqas1
Parameters:QAS ONLINE TO /dev/rmt0 BUFFERS 0 BUFFERSIZE 0 PARALLELISM 0 INCLUDE LOGS
set connect partition: 0
Making database backup...
Database = PRD
Backup Mode = FULL
Backup Options= ONLINE
+ INCLUDE LOGS
Buffer size = AUTOMATIC
buffers = AUTOMATIC*
Parallelism = AUTOMATIC
numLocations = 1
location[0] = /dev/rmt0
util priority = 0
ERRORMESSAGE: Error -1013 in dmdb6bkp.c(1498):
SQL1013N The database alias name or database name "PRD" could not be
found.
External program terminated with exit code 2
DB6_DBBACKUP returned error status E
Job finished
set connect partition: 0
Making database backup...
Database = QAS
Backup Mode = FULL
Backup Options= ONLINE
+ INCLUDE LOGS
Buffer size = AUTOMATIC
buffers = AUTOMATIC*
Parallelism = AUTOMATIC
numLocations = 1
location[0] = /dev/rmt0
util priority = 0
ERRORMESSAGE: Error -901 in dmdb6bkp.c(1498):
SQL1013N The database alias name or database name "PRD" could not be found
Even db2diag.log file not contains any message, it is showing 1KB. As per this error message it is searching for PRD database but it is QA server. Please help me how to resolve this issue.
Thanks and Regards,
Sampath Kumar.SHi Siva,
Please find the result for that query (db2 list db directory)
GIL-devqas1:db2qas 1> db2 list db directory
System Database Directory
Number of entries in the directory = 1
Database 1 entry:
Database alias = QAS
Database name = QAS
Local database directory = /db2/QAS
Database release level = c.00
Comment =
Directory entry type = Indirect
Catalog database partition number = 0
Alternate server hostname =
Alternate server port number =
GIL-devqas1:db2qas 2>
Thanks & Regards,
Sampath -
hello,
I have a problem with the full online backup on a DB2 system
I get the fallowing error:
ERRORMESSAGE: Error -2048 in dmdb6bkp.c(1498):
SQL2048N An error occurred while accessing object "0". Reason code:
"6".
I cannot get any clue of the cause of the error from the log. I have also searched for SAP notes but did not find anything.
Can anyone help me in solving this issue?
Regards,
dalmiHello Dalmi,
as per the documentation on this error code:
http://publib.boulder.ibm.com/infocenter/db2luw/v9r5/index.jsp?topic=/com.ibm.db2.luw.messages.sql.doc/doc/msql02048n.html
SQL2048N
An error occurred while accessing object object. Reason code: reason-code.
Explanation
An error occurred while accessing an object during the processing of a database utility. The following is a list of reason codes:
6
The object being accessed is a table space and either the table space is in such a state that the operation is not allowed or one or more containers of the table space is not available. (LIST TABLESPACES will list the current table space state.) Examples of such states are: quiesced, offline.
What is the output of db2 list tablespaces show detail
State 0x0000 should mean they are all normal and should be accessible.
If not, check the output of db2 list applications show detail
check if an application si trying to perform a backup of a tablespace that migth have set them to an offline state.
regards,
paul -
Hi All,
I am trying to schedule db2 oline backup through db13 (Database base backup Vendor Library) facing below error. Please advise on below issue.
05.05.2015
03:20:06
Backup_TSM:Parameter UTIL_IMPACT_PRIORITY has been set to "UTIL_IMPACT_PRIORITY 2"
05.05.2015
03:20:06
Backup_TSM:Parameter DEDUP_DEVICE has not been set
05.05.2015
03:20:06
Backup_TSM:Parameter OPTIONS has not been set
05.05.2015
03:20:06
Backup_TSM:Parameter NUMBER_SESSIONS has been set to " 1"
05.05.2015
03:20:06
Backup_TSM:System is deactivated in system configuration; nojob dispatching possible
05.05.2015
03:20:06
Exception CX_DB6_CON in program CL_DBA_JOB====================CP / CL_DBA_JOB====================CM00K at line Warning with retu
05.05.2015
03:20:06
Backup_TSM:Exception CX_DBA_JOB in class CL_DBA_JOB method IF_DBA_JOB~RUN line 11
05.05.2015
03:20:06
Backup_TSM: Kernel Error ID:
05.05.2015
03:20:06
Backup_TSM: WP ID: 12
05.05.2015
03:20:06
Backup_TSM: WP PID: 24051918
Regards,
RajHi Hope the below Url and stuff might help you. http://scn.sap.com/thread/3154248 Within TSM there is an "Options" file that has default parameters such as , SERVER NAME, COM/METHOD, which is TCPIP, TCPPORT, TCPSERVERADDRESS, NODENAME, PASSWORDACCESS , etc. When TSM runs, the first thing it does is read the options file, otherwise the reault is the dump you received. Your best bet is find the directory for TSM, the options file is in there, then add your system information accordingly. You can find sample options files out there to give you some guidance. Cheers, Sharma
-
DB2 9.1/AIX FP7 installation problem
Hi, All
I have problem with installation of v9.1 Fixpack 7 on V9.1.2
The installFixPack utility is hang on Step1 with error :
The DB2 installer detects that DAS "dasusr1" is still active. Stop the DAS and rerun the command again.
I try to stop DAS :
sapqas1# pwd
/opt/IBM/db2/V9.1/das/bin
sapqas1# ./db2admin stop
SQL4410W The DB2 Administration Server is not active.
DB2 instances completely down and no other DB2 processes is presented in the system.
II reboot the AIX LPAR, but this error still the same after rerun installFixPack
For this error moment in db2dasdiag.log is presented next rows :
2009-07-28-21.51.59.511478+240 I83368A210 LEVEL: Error
PID : 205304 TID : 1
FUNCTION: DB2 Tools, DB2 administration server, dasRootInit, probe:10
DATA #1 : Sint32, 4 bytes
-2079391743
2009-07-28-21.52.01.511716+240 I83579A210 LEVEL: Error
PID : 205304 TID : 1
FUNCTION: DB2 Tools, DB2 administration server, db2dasSearchDscvInit, probe:30
DATA #1 : Sint32, 4 bytes
13
2009-07-28-21.52.01.511800+240 I83790A201 LEVEL: Error
PID : 205304 TID : 1
FUNCTION: DB2 Tools, DB2 administration server, dasRootInit, probe:60
DATA #1 : Sint32, 4 bytes
-1
2009-07-28-21.52.01.511858+240 I83992A201 LEVEL: Error
PID : 205304 TID : 1
FUNCTION: DB2 Tools, DB2 administration server, rrm_main, probe:90
DATA #1 : Sint32, 4 bytes
-3020
On the same AIX LPAR is installed SolMan instance (with its own DB2 copy on /usr/sap/<SID>/db2_910). And it is succesfully updated with FP7.
How i can fix this error ?
Thank'sHello Dmitry,
Based on the info you provided the fixpak install is failing with an error that the DAS instance is still running even after you successfully issued db2admin stop. what we can do instead is drop the DAS before the upgrade, then recreate it afterward. To drop the DAS, issue the following as root:
dasdrop
http://publib.boulder.ibm.com/infocenter/db2luw/v9/index.jsp?topic=/com.ibm.db2.udb.admin.doc/doc/r0009176.htm
http://publib.boulder.ibm.com/infocenter/db2luw/v9/topic/com.ibm.db2.udb.admin.doc/doc/t0005177.htm
Then after the upgrade finishes, you can recreate the DAS with the following as root:
dascrt -u dasusr1
http://publib.boulder.ibm.com/infocenter/db2luw/v9/index.jsp?topic=/com.ibm.db2.udb.admin.doc/doc/r0009177.htm
http://publib.boulder.ibm.com/infocenter/db2luw/v9/index.jsp?topic=/com.ibm.db2.udb.admin.doc/doc/t0004960.htm
Best Regards,
Adam Wilson
SAP Development Support
IBM Toronto Lab -
Hi Experts,
Can anybody tell me how to take the backup and restoration of DB2 version 9.x what backup parameter i have to change for taking backup on TAPE or DISK.
ThanksHi kumarraju,
you just have to specify:
e.g.
backup db <dbsid> to /tmp
or
backup db <dbsid> to /dev/rmt0 or something
For details refer to the DB2 online doku at:
http://publib.boulder.ibm.com/infocenter/db2luw/v9/index.jsp?topic=/com.ibm.db2.udb.doc/welcome.htm
search for "backup database" and you will see the complete
syntax diagram of the backup command
Maybe you are looking for
-
Raw material stock report with vendor wise
Dear all , Can any one tell me , How do I get stock report only on " VENDOR " wise . The purpose is , I've multiple souces for one Material , I need analyse the available inventory with vendor wise. Pl.s help Thanks in Advance Sekhar
-
I am having trouble uninstalling my CS2 Premium software. Can anybody help?
-
Standart report sorting with HTML expression in it
hi, got a query with report links like +'<_a href="f?p=&APP_ID.:26:&APP_SESSION.:::26:P26_YEAR,P26_MONTH,P26_BACK,P26_STATUS,P26_PROJECT:&P22_YEAR.,&P22_MONTH.,22,0,'||id||'">'||saved||'</_a>'+ with 'saved' being a numeric value, report column sortin
-
Unable to activate namespace while using external defintions for mapping.
Hi, In my scenario, am using XSD's imported as External defintions as my req and res message types. In the message interface the req and res namespace of the imported XSD's are different to the one in which the rest of the objects are created. Now, w
-
How is a unix command executed in Java? What is the syntax?