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 > SVCENAME: What do you put there?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-11-11, 02:32
dr_te_z dr_te_z is offline
Registered User
 
Join Date: Jan 2009
Location: Zoetermeer, Holland
Posts: 555
SVCENAME: What do you put there?

The 'IBM standard' way of working is a logical name. That same name can be found in the '/etc/services' file and a tcp-ip portnumber is assigned there. I'm afraid this is concidered the 'neat & correct' way to configure.

You can also put the portnumber directly in the SVCENAME yourself and override the '/etc/services' file. For me, as a DBA, this looks better. You control everything yourself and you do not have to bother those other guys if you do not have enough authorities for that file. Also, when you configure the db2-clients, you cannot use that logical name and have to use the actual portnumber anyway, so....

Can anyone explain the added value when you configure like a good boy and go thru the '/etc/services' file?
Reply With Quote
  #2 (permalink)  
Old 05-11-11, 08:15
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
TCP ports are not something DBA should control, and /etc/services contents are more important than you might think.

You can use same symbolic names on the clients as well, provided that /etc/services files on these clients have the same entries for the service name.

Last edited by n_i; 05-11-11 at 13:12.
Reply With Quote
  #3 (permalink)  
Old 05-11-11, 11:04
nvk@vhv nvk@vhv is offline
Registered User
 
Join Date: Jan 2010
Posts: 294
Hi,

i use the Portnumber in SCVENAME, but i also maintain the /etc/services. For me it's easier just to look up dbm cfg compared to search etc/services (especially on windows).

Since we use a lot of JAVA-Applications it's easier for the Developers to use Portnumbers aswell.
We have dedicated DB2-Servers, so there's no other Applications that may interfere with the TCP-Ports.
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