[Logo] Terracotta Discussion Forums (LEGACY READ-ONLY ARCHIVE)
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
[Expert]
Help Understanding NAP and how it works  XML
Forum Index -> General
Author Message
BbUiDgZ

neo

Joined: 07/15/2008 08:09:39
Messages: 2
Offline

First thing, im not a developer. But would like to help our develpment team setup terracotta for our smartfox servers. so far we have had terracotta running in dev mode, works great. we would like to run test NAP but there is a few basic things im not understanding.

In "production mode" the terracotta clients take the configuration from the servers. How do i get the tc-config to load when the servers start? How will the clients know where to take configuration from?

i have took from the sample config and changed to suit my own host names etc..

Can anyone point me in the right direction?

hhuynh

cherubim

Joined: 06/16/2006 11:54:06
Messages: 761
Offline

When you start TC server, point it to the tc-config.xml
Code:
 bin/start-tc-server.sh -f /path/to/tc-config.xml
 


For the clients, set -Dtc.config to a comma separated list of server:dsoport.
Code:
 bin/dso-java.sh -Dtc.config=server1:9510,server2:9510
 


BbUiDgZ

neo

Joined: 07/15/2008 08:09:39
Messages: 2
Offline

Thanks,

we're running on win2k3 servers but i think this is the information we need. I'll try these startup parameters on the wrapper config
 
Forum Index -> General
Go to:   
Powered by JForum 2.1.7 © JForum Team