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 > Informix > preparing sqlhost file for communication between two servwers.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-23-07, 09:37
ravi_pentakota ravi_pentakota is offline
Registered User
 
Join Date: Dec 2005
Posts: 8
preparing sqlhost file for communication between two servwers.

Use the following information to answer the question:

- A database server called serv1 is located on a host machine called beijing1.
- A database server called serv2 is located on a machine called shanghai1.
- The beijing1 machine supports TCP/IP using TLI and the shanghai1 machine supports TCP/IP using sockets.

In order for the two servers to establish a TCP/IP communication link, which of the following sqlhosts entries are required?


A.
Entries required in sqlhosts file on BOTH beijing1 and shanghai1:
~serv1 ontlitcp beijing1 serv1
~serv2 onsoctcp shanghai1 serv2

B.
Entries required in sqlhosts file on BOTH beijing1 and shanghai1:
~serv1 onsoctcp beijing1 serv1
~serv2 ontlitcp shanghai1 serv2

C.
Entries required in sqlhosts file on beijing1:
~serv1 ontlitcp beijing1 serv1
~serv2 ontlitcp shanghai1 serv2
~Entries required in sqlhosts file on shanghai1:
~serv1 onsoctcp beijing1 serv1
~serv2 onsoctcp shanghai1 serv2

D.
Entries required in sqlhosts file on beijing1:
~serv1 onsoctcp beijing1 serv1
~serv2 onsoctcp shanghai1 serv2
~Entries required in sqlhosts file on shanghai1:
~serv1 ontlitcp beijing1 serv1
~serv2 ontlitcp shanghai1 serv2
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