Start a Conversation

Unsolved

This post is more than 5 years old

C

2832

August 1st, 2012 10:00

two symcli client and one symapi database

I want to know if there is anyway where I cna point two different symcli clients to one symcli server.

9 Legend

 • 

20.4K Posts

August 1st, 2012 11:00

i don't see why not

1 Rookie

 • 

32 Posts

August 1st, 2012 11:00

How can I do that, I have a local symapi database and one remote symapi database.

how can I ask the local symcli to use both of them?

1 Rookie

 • 

32 Posts

August 1st, 2012 12:00

I dont see how cna I specify tw servers here.

I tried below but it is not working.

SYMAPI_SECURE -  TCPIP  lm-hsstora-p01r  168.147.243.116  2707  SECURE
SYMAPI_SERVER  -  TCPIP  lm-hsstor-t01p  10.94.18.51  2707  ANY 

9 Legend

 • 

20.4K Posts

August 1st, 2012 12:00

i thought you have two clients that you want to point to one symcli server

9 Legend

 • 

20.4K Posts

August 1st, 2012 12:00

on the client you set the variable "set SYMCLI_CONNECT=SYMAPI_SERVER" (Windows) and modify netcnfg file

#                                                                         #
# SYMAPI_SERVER  -  TCPIP  node001  WWW.XXX.YYY.ZZZ  2707  -              #
# SYMAPI_SECURE  -  TCPIP  node001  WWW.XXX.YYY.ZZZ  2707  SECURE         #

SYMAPI_SERVER  -  TCPIP yoursmapiserver   2707

859 Posts

August 2nd, 2012 03:00

Well there is no straight way to do this but I can suggest a workaround.

1) Create two entries in the netcnfg file, just like you have it .

SYMAPI_SECURE -  TCPIP  lm-hsstora-p01r  168.147.243.116  2707  SECURE

SYMAPI_SERVER  -  TCPIP  lm-hsstor-t01p  10.94.18.51  2707  ANY

2) Write two batch file to change the SYMCLI_CONNECT=SYMAPI_SECURE and other batch file to change SYMCLI_CONNECT=SYMAPI_SERVER

3) In case Symapi server 168.147.243.116 is not accessible, you can run the batch file to point the symcli to Symapi_server and when 10.94.18.51 is not available, point to SYMAPI_SECURE service.

You cant point to both the services at same time. Hope this helps


regards,

Saurabh


No Events found!

Top