473,379 Members | 1,222 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,379 software developers and data experts.

Transaction failed under DPF

VMK
Hi guys,
while creating tablespace at one of the participating node am facing
the below error.

db2 =CREATE TABLESPACE ts0401k IN DATABASE PARTITION GROUP dpg1
PAGESIZE 4k MANAGED BY SYSTEM USING ('/dpf/data_4k') ON NODES(1)
DB21034E The command was processed as an SQL statement because it was
not a
valid Command Line Processor command. During SQL processing it
returned:
SQL0903N COMMIT statement failed, transaction rolled back. Reason
code: "2".
SQLSTATE=40504
------------------------------------------------------------>>>

When i execute the same for node(0) it works fine.

db2 =CREATE TABLESPACE TBS04K IN DATABASE PARTITION GROUP DPG0
PAGESIZE 4K MANAGED BY SYSTEM USING ('/dpf/data_4k/') ON NODES (0)
DB20000I The SQL command completed successfully.


The communication between the nodes successfull...
Only when i try to create a tablespace or table on the node1 am facing
the above error.
Here is my environment for both the systems

================================================== =============
db2set -all
[i] DB2COMM=tcpip
[g] DB2ADMINSERVER=db2das
================================================== =============

================================================== =============
db2 list node directory

Node Directory

Number of entries in the directory = 2

Node 1 entry:

Node name = DPF1
Comment =
Directory entry type = LOCAL
Protocol = TCPIP
Hostname = 192.168.10.2
Service name = 50000

Node 2 entry:

Node name = DPF2
Comment =
Directory entry type = LOCAL
Protocol = TCPIP
Hostname = 192.168.10.3
Service name = 50000
================================================== =============

================================================== =============
db2nodes.cfg
0 RH9-DPF-1 0
1 RH9-DPF-2 0
================================================== =============

================================================== =============
..rhosts
RH9-DPF-1 db2inst1
RH9-DPF-2 db2inst1
================================================== =============

================================================== =============
cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
# 127.0.0.1 RH9-DPF-1 localhost.localdomain localhost
192.168.10.2 RH9-DPF-1
192.168.10.3 RH9-DPF-2
================================================== =============

================================================== =============
db2 list dbpartitionnums

DATABASE PARTITION NUMBER
----------------------------
0
1
================================================== =============

================================================== =============
db2 list database partition groups

DATABASE PARTITION GROUP
----------------------------
DPG0
DPG01
DPG1
IBMCATGROUP
IBMDEFAULTGROUP
================================================== =============


Guys any clues ???

Best regards
VMK

Oct 28 '06 #1
0 1598

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: TZoner | last post by:
1) Can one find the location of the 'Transaction Log' at: <Hard Disk>\Program Files\Microsoft SQL Server\MSSQL\Data\MyDb_Log.ldf? 2) Is it safe to delete it, as SQL will create a new Transaction...
0
by: DotNetJunkies User | last post by:
I am writing a distributed transaction code. My current scenario include a client database(Suppose client- having 4 main database) which can be installed anywhere which would connect to a public...
7
by: Abdul-Wahid Paterson | last post by:
Hi, I have had a site working for the last 2 years and have had no problems until at the weekend I replace my database server with a newer one. The database migration went like a dream and I had...
6
by: JohnO | last post by:
Hi Folks, I have an update trigger that fails (it inserts an audit table record) in some circumstances. This is causing the triggering transaction to fail and roll back. Is there any way to...
3
by: Ori | last post by:
Hi, I have a wired problem. I have a code block in my code (ASPX file) which I need to force it to be transactional. I'm doing the following: 1. for each one of the items
2
by: ruben | last post by:
Hi: After upgrading 7.4.2 to 7.4.5 quite smoothly in a Red Hat 8.0 box, we are having intermitent issues with certain online PHP transactions, returning this error: "Warning: pg_exec() query...
6
by: Crash | last post by:
C# VS 2003 ..Net Framework V1.1 SP1 SQL Server 2000 SP3 Enterprise Library June 2005 I'm working with some code {not of my creation} that performs the following sequence of actions: - Open...
2
by: Dan Kelley | last post by:
I have 2 services, ServiceA and ServiceB. Certain user driven functions require ServiceA to perform some DB tasks, before sending a request to ServiceB to perform some additional tasks. If ServiceB...
4
by: wizard | last post by:
Hello dear friends, I am writing a small program to test transactions in php. But when I try to simulate an error condition during transaction, my php script aborts. It does rollback work, but...
3
by: FeelLikeANut | last post by:
I have the code below. First there is a transaction where I select data. I wrapped it in an explicit transaction because in my real program I run a couple different selects. Nevertheless, the...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.