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