If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > converting appl id to ip address in partitioned environment

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-18-09, 09:41
azs0309 azs0309 is offline
Registered User
 
Join Date: Jan 2008
Posts: 88
converting appl id to ip address in partitioned environment

Hi Folks,
does anyone has any idea how to convert this application id into ip address,protocol used is TCP/IP only

Application ID = 003C2FF0.CF6C.F3C2F9C6C1F0

The problem is that it starts with 00 and its conversion into decimal is also 00, so I do not know any ip address starting with 00 , so m a bit sceptical.

I think it has something to do with partitioning.

Thanks in advance
Ajay
Reply With Quote
  #2 (permalink)  
Old 02-18-09, 10:43
nick.ncs nick.ncs is offline
Registered User
 
Join Date: May 2007
Location: somewhere in dbforums
Posts: 221
try
Code:
select inbound_comm_address from table(snapshot_appl('sample',-1)) as t
where sample is the name of your database.....

However there is one drawback.... for local connections it'll display LOCAL.Instancename instead of I.P.
__________________
IBM Certified Database Associate, DB2 9 for LUW

Last edited by nick.ncs; 02-18-09 at 11:18.
Reply With Quote
  #3 (permalink)  
Old 02-18-09, 10:48
stolze stolze is offline
Registered User
 
Join Date: Jan 2007
Location: Jena, Germany
Posts: 2,662
How did you get this application ID (which SQL statement)?
__________________
Knut Stolze
IBM DB2 Analytics Accelerator
IBM Germany Research & Development
Reply With Quote
  #4 (permalink)  
Old 02-19-09, 01:02
azs0309 azs0309 is offline
Registered User
 
Join Date: Jan 2008
Posts: 88
Stolze,

I got it by snapshot for application agnetid

And the table snapshot function is not working as well...
Reply With Quote
  #5 (permalink)  
Old 02-19-09, 01:15
stolze stolze is offline
Registered User
 
Join Date: Jan 2007
Location: Jena, Germany
Posts: 2,662
Could you be a bit more specific and show us the SQL statements and also demonstrate what you mean by "not working"? The exact output would be helpful. And as usual, please state the DB2 version and platform you are using.
__________________
Knut Stolze
IBM DB2 Analytics Accelerator
IBM Germany Research & Development
Reply With Quote
  #6 (permalink)  
Old 02-19-09, 01:39
nick.ncs nick.ncs is offline
Registered User
 
Join Date: May 2007
Location: somewhere in dbforums
Posts: 221
Quote:
Originally Posted by stolze
And as usual, please state the DB2 version and platform you are using.
This seems to be a pretty common feature now.

Can the Admin do something like compulsorily ask the user to input the following fields for every new post -
DB2 Version
OS Version

This would definitely stop half the to and fro in the posts....
__________________
IBM Certified Database Associate, DB2 9 for LUW
Reply With Quote
  #7 (permalink)  
Old 02-19-09, 03:34
azs0309 azs0309 is offline
Registered User
 
Join Date: Jan 2008
Posts: 88
yuup nick...

my mistake...
DB2 version is 8.1 fix pak 14 and OS is AIX..

when I used table functions it started giving me ADM11000E DB2 is unable to create or attach to the memory segment used for fenced routine communications.
Error
Reply With Quote
  #8 (permalink)  
Old 02-19-09, 09:07
nick.ncs nick.ncs is offline
Registered User
 
Join Date: May 2007
Location: somewhere in dbforums
Posts: 221
Quote:
Originally Posted by stolze
Could you be a bit more specific and show us the SQL statements and also demonstrate what you mean by "not working"? The exact output would be helpful.
Please state this.... maybe we can help you out then.
__________________
IBM Certified Database Associate, DB2 9 for LUW
Reply With Quote
  #9 (permalink)  
Old 02-25-09, 19:21
db2girl db2girl is offline
∞∞∞∞∞∞
 
Join Date: Aug 2008
Location: Toronto, Canada
Posts: 1,816
Re: ADM11000E

Some built-in functions are fenced. The error indicates that db2 was unable to attach to the segment used for fenced mode communications. With 32-bit architecture on AIX, db shared memory will be attached in a set of contiguous segments and can occupy up to 8 segments. The location of fenced mode segment is not at a fixed address and it's determined based on your setting (this is done to allow more room for db shared memory set). You'll get this error if the segment is already in use. To resolve the error, db shared memory allocation needs to be reduced (ie. reduce bufferpools). This limitation goes away with 64-bit.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On